diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4d224c89795..217a7c6b859 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,16 @@
+Release v1.33.10 (2020-07-22)
+===
+
+### Service Client Updates
+* `service/medialive`: Updates service API and documentation
+ * The AWS Elemental MediaLive APIs and SDKs now support the ability to get thumbnails for MediaLive devices that are attached or not attached to a channel. Previously, this thumbnail feature was available only on the console.
+* `service/quicksight`: Updates service API, documentation, and paginators
+ * New API operations - GetSessionEmbedUrl, CreateNamespace, DescribeNamespace, ListNamespaces, DeleteNamespace, DescribeAccountSettings, UpdateAccountSettings, CreateAccountCustomization, DescribeAccountCustomization, UpdateAccountCustomization, DeleteAccountCustomization. Modified API operations to support custom permissions restrictions - RegisterUser, UpdateUser, UpdateDashboardPermissions
+
+### SDK Enhancements
+* `example/aws/request/httptrace`: Update example with more metrics ([#3436](https://github.com/aws/aws-sdk-go/pull/3436))
+ * Updates the tracing example to include additional metrics such as SDKs request handlers, and support multiple request attempts.
+
Release v1.33.9 (2020-07-21)
===
diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md
index 1d65d7c80c1..8a1927a39ca 100644
--- a/CHANGELOG_PENDING.md
+++ b/CHANGELOG_PENDING.md
@@ -1,7 +1,5 @@
### SDK Features
### SDK Enhancements
-* `example/aws/request/httptrace`: Update example with more metrics ([#3436](https://github.com/aws/aws-sdk-go/pull/3436))
- * Updates the tracing example to include additional metrics such as SDKs request handlers, and support multiple request attempts.
### SDK Bugs
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index bc5fb73f91c..12c0ad2338f 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -2539,6 +2539,7 @@ var awsPartition = partition{
"firehose": service{
Endpoints: endpoints{
+ "af-south-1": endpoint{},
"ap-east-1": endpoint{},
"ap-northeast-1": endpoint{},
"ap-northeast-2": endpoint{},
@@ -2548,6 +2549,7 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
+ "eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
@@ -4128,6 +4130,7 @@ var awsPartition = partition{
"ca-central-1": endpoint{},
"eu-central-1": endpoint{},
"eu-north-1": endpoint{},
+ "eu-south-1": endpoint{},
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
diff --git a/aws/version.go b/aws/version.go
index c0b9b28f6d3..b4dd253cd8c 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.33.9"
+const SDKVersion = "1.33.10"
diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json
index 9168d730a29..0ba7e6768fd 100644
--- a/models/apis/medialive/2017-10-14/api-2.json
+++ b/models/apis/medialive/2017-10-14/api-2.json
@@ -675,6 +675,43 @@
}
]
},
+ "DescribeInputDeviceThumbnail": {
+ "name": "DescribeInputDeviceThumbnail",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/inputDevices/{inputDeviceId}/thumbnailData",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "DescribeInputDeviceThumbnailRequest"
+ },
+ "output": {
+ "shape": "DescribeInputDeviceThumbnailResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
+ },
+ {
+ "shape": "InternalServerErrorException"
+ },
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ }
+ ]
+ },
"DescribeInputSecurityGroup": {
"name": "DescribeInputSecurityGroup",
"http": {
@@ -1952,13 +1989,11 @@
},
"AribDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"AribSourceSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"AudioChannelMapping": {
"type": "structure",
@@ -2026,7 +2061,7 @@
"locationName": "codecSettings"
},
"LanguageCode": {
- "shape": "__stringMin3Max3",
+ "shape": "__stringMin1Max35",
"locationName": "languageCode"
},
"LanguageCodeControl": {
@@ -2906,8 +2941,7 @@
},
"ColorSpacePassthroughSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"ConflictException": {
"type": "structure",
@@ -3453,8 +3487,7 @@
},
"DeleteInputResponse": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"DeleteInputSecurityGroupRequest": {
"type": "structure",
@@ -3471,8 +3504,7 @@
},
"DeleteInputSecurityGroupResponse": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"DeleteMultiplexProgramRequest": {
"type": "structure",
@@ -3677,8 +3709,7 @@
},
"DeleteScheduleResponse": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"DeleteTagsRequest": {
"type": "structure",
@@ -3835,6 +3866,55 @@
}
}
},
+ "DescribeInputDeviceThumbnailRequest": {
+ "type": "structure",
+ "members": {
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ },
+ "Accept": {
+ "shape": "AcceptHeader",
+ "location": "header",
+ "locationName": "accept"
+ }
+ },
+ "required": [
+ "InputDeviceId",
+ "Accept"
+ ]
+ },
+ "DescribeInputDeviceThumbnailResponse": {
+ "type": "structure",
+ "members": {
+ "Body": {
+ "shape": "InputDeviceThumbnail",
+ "locationName": "body"
+ },
+ "ContentType": {
+ "shape": "ContentType",
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "ContentLength": {
+ "shape": "__long",
+ "location": "header",
+ "locationName": "Content-Length"
+ },
+ "ETag": {
+ "shape": "__string",
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "LastModified": {
+ "shape": "__timestamp",
+ "location": "header",
+ "locationName": "Last-Modified"
+ }
+ },
+ "payload": "Body"
+ },
"DescribeInputRequest": {
"type": "structure",
"members": {
@@ -4651,13 +4731,11 @@
},
"EmbeddedDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"EmbeddedPlusScte20DestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"EmbeddedScte20Detection": {
"type": "string",
@@ -4689,8 +4767,7 @@
},
"Empty": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"EncoderSettings": {
"type": "structure",
@@ -5273,7 +5350,7 @@
"locationName": "parDenominator"
},
"ParNumerator": {
- "shape": "__integer",
+ "shape": "__integerMin1",
"locationName": "parNumerator"
},
"Profile": {
@@ -6179,8 +6256,7 @@
},
"ImmediateModeScheduleActionStartSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"Input": {
"type": "structure",
@@ -6741,10 +6817,7 @@
"shape": "__listOf__string",
"locationName": "urlPath"
}
- },
- "required": [
- "InputAttachmentNameReference"
- ]
+ }
},
"InputResolution": {
"type": "string",
@@ -7990,8 +8063,7 @@
},
"MediaPackageOutputSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"Mp2CodingMode": {
"type": "string",
@@ -8181,8 +8253,7 @@
},
"MultiplexGroupSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"MultiplexMediaConnectOutputDestinationSettings": {
"type": "structure",
@@ -8764,8 +8835,7 @@
},
"PassThroughSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"PauseStateScheduleActionSettings": {
"type": "structure",
@@ -8904,13 +8974,11 @@
},
"Rec601Settings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"Rec709Settings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"RemixSettings": {
"type": "structure",
@@ -9147,8 +9215,7 @@
},
"RtmpCaptionInfoDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"RtmpGroupSettings": {
"type": "structure",
@@ -9296,8 +9363,7 @@
},
"ScheduleDeleteResultModel": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"ScheduleDescribeResultModel": {
"type": "structure",
@@ -9324,8 +9390,7 @@
},
"Scte20PlusEmbeddedDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"Scte20SourceSettings": {
"type": "structure",
@@ -9342,8 +9407,7 @@
},
"Scte27DestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"Scte27SourceSettings": {
"type": "structure",
@@ -9664,8 +9728,7 @@
},
"SmpteTtDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"StandardHlsSettings": {
"type": "structure",
@@ -10074,8 +10137,7 @@
},
"TeletextDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
},
"TeletextSourceSettings": {
"type": "structure",
@@ -10899,8 +10961,23 @@
},
"WebvttDestinationSettings": {
"type": "structure",
- "members": {
- }
+ "members": {}
+ },
+ "AcceptHeader": {
+ "type": "string",
+ "enum": [
+ "image/jpeg"
+ ]
+ },
+ "ContentType": {
+ "type": "string",
+ "enum": [
+ "image/jpeg"
+ ]
+ },
+ "InputDeviceThumbnail": {
+ "type": "blob",
+ "streaming": true
},
"__boolean": {
"type": "boolean"
@@ -11456,6 +11533,11 @@
"min": 1,
"max": 256
},
+ "__stringMin1Max35": {
+ "type": "string",
+ "min": 1,
+ "max": 35
+ },
"__stringMin32Max32": {
"type": "string",
"min": 32,
@@ -11483,6 +11565,9 @@
"__timestampUnix": {
"type": "timestamp",
"timestampFormat": "unixTimestamp"
+ },
+ "__timestamp": {
+ "type": "timestamp"
}
}
-}
+}
\ No newline at end of file
diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json
index f1dc96d4246..e7e25a3dd11 100644
--- a/models/apis/medialive/2017-10-14/docs-2.json
+++ b/models/apis/medialive/2017-10-14/docs-2.json
@@ -20,6 +20,7 @@
"DescribeChannel": "Gets details about a channel",
"DescribeInput": "Produces details about an input",
"DescribeInputDevice": "Gets the details for the input device",
+ "DescribeInputDeviceThumbnail": "Get the latest thumbnail data for the input device.",
"DescribeInputSecurityGroup": "Produces a summary of an Input Security Group",
"DescribeMultiplex": "Gets details about a multiplex.",
"DescribeMultiplexProgram": "Get the details for a program in a multiplex.",
@@ -134,10 +135,13 @@
"AudioCodecSettings$Ac3Settings": null
}
},
+ "AcceptHeader": {
+ "base": "Accept Header",
+ "refs": {}
+ },
"AccessDenied": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"AfdSignaling": {
"base": "Afd Signaling",
@@ -328,13 +332,11 @@
},
"BadGatewayException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"BadRequestException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"BatchScheduleActionCreateRequest": {
"base": "A list of schedule actions to create (in a request) or that have been created (in a response).",
@@ -362,13 +364,11 @@
},
"BatchUpdateScheduleRequest": {
"base": "A request to create actions (add actions to the schedule), delete actions (remove actions from the schedule), or both create and delete actions.",
- "refs": {
- }
+ "refs": {}
},
"BatchUpdateScheduleResult": {
"base": "Results of a batch schedule update.",
- "refs": {
- }
+ "refs": {}
},
"BlackoutSlate": {
"base": "Blackout Slate",
@@ -479,8 +479,7 @@
},
"ChannelConfigurationValidationError": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ChannelEgressEndpoint": {
"base": null,
@@ -510,53 +509,43 @@
},
"ConflictException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateChannel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateChannelResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateInput": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateInputResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateInputSecurityGroupResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateMultiplex": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateMultiplexProgram": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateMultiplexProgramResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"CreateMultiplexResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"DeviceSettingsSyncState": {
"base": "The status of the action to synchronize the device configuration. If you change the configuration of the input device (for example, the maximum bitrate), MediaLive sends the new data to the device. The device might not update itself immediately. SYNCED means the device has updated its configuration. SYNCING means that it has not updated its configuration.",
@@ -759,8 +748,7 @@
},
"Empty": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"EncoderSettings": {
"base": "Encoder Settings",
@@ -839,8 +827,7 @@
},
"ForbiddenException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"FrameCaptureGroupSettings": {
"base": "Frame Capture Group Settings",
@@ -868,8 +855,7 @@
},
"GatewayTimeoutException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"GlobalConfiguration": {
"base": "Global Configuration",
@@ -1102,7 +1088,7 @@
"H265RateControlMode": {
"base": "H265 Rate Control Mode",
"refs": {
- "H265Settings$RateControlMode": "Rate control mode.\n\nQVBR: Quality will match the specified quality level except when it is constrained by the\nmaximum bitrate. Recommended if you or your viewers pay for bandwidth.\n\nCBR: Quality varies, depending on the video complexity. Recommended only if you distribute\nyour assets to devices that cannot handle variable bitrates."
+ "H265Settings$RateControlMode": "Rate control mode.\n\nQVBR: Quality will match the specified quality level except when it is constrained by the\nmaximum bitrate. Recommended if you or your viewers pay for bandwidth.\n\nCBR: Quality varies, depending on the video complexity. Recommended only if you distribute\nyour assets to devices that cannot handle variable bitrates.\n\nMultiplex: This rate control mode is only supported (and is required) when the video is being\ndelivered to a MediaLive Multiplex in which case the rate control configuration is controlled\nby the properties within the Multiplex Program."
}
},
"H265ScanType": {
@@ -1428,8 +1414,7 @@
},
"InputDevice": {
"base": "An input device.",
- "refs": {
- }
+ "refs": {}
},
"InputDeviceActiveInput": {
"base": "The source at the input device that is currently active.",
@@ -1445,8 +1430,7 @@
},
"InputDeviceConfigurationValidationError": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"InputDeviceConfiguredInput": {
"base": "The source to activate (use) from the input device.",
@@ -1615,8 +1599,7 @@
},
"InputSecurityGroupWhitelistRequest": {
"base": "Request of IPv4 CIDR addresses to whitelist in a security group.",
- "refs": {
- }
+ "refs": {}
},
"InputSettings": {
"base": "Live Event input parameters. There can be multiple inputs in a single Live Event.",
@@ -1702,18 +1685,15 @@
},
"InternalServerErrorException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"InternalServiceError": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"InvalidRequest": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"KeyProviderSettings": {
"base": "Key Provider Settings",
@@ -1729,48 +1709,39 @@
},
"LimitExceeded": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ListChannelsResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ListInputDevicesResultModel": {
"base": "The list of input devices owned by the AWS account.",
- "refs": {
- }
+ "refs": {}
},
"ListInputSecurityGroupsResultModel": {
"base": "Result of input security group list request",
- "refs": {
- }
+ "refs": {}
},
"ListInputsResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ListMultiplexProgramsResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ListMultiplexesResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ListOfferingsResultModel": {
"base": "ListOfferings response",
- "refs": {
- }
+ "refs": {}
},
"ListReservationsResultModel": {
"base": "ListReservations response",
- "refs": {
- }
+ "refs": {}
},
"LogLevel": {
"base": "The log level the user wants for their channel.",
@@ -2001,8 +1972,7 @@
},
"MultiplexConfigurationValidationError": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"MultiplexGroupSettings": {
"base": "Multiplex Group Settings",
@@ -2132,8 +2102,7 @@
},
"NotFoundException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"Offering": {
"base": "Reserved resources available for purchase",
@@ -2242,13 +2211,11 @@
},
"PurchaseOffering": {
"base": "PurchaseOffering request",
- "refs": {
- }
+ "refs": {}
},
"PurchaseOfferingResultModel": {
"base": "PurchaseOffering response",
- "refs": {
- }
+ "refs": {}
},
"Rec601Settings": {
"base": "Rec601 Settings",
@@ -2335,13 +2302,11 @@
},
"ResourceConflict": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"ResourceNotFound": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"RtmpCacheFullBehavior": {
"base": "Rtmp Cache Full Behavior",
@@ -2399,13 +2364,11 @@
},
"ScheduleDeleteResultModel": {
"base": "Result of a schedule deletion.",
- "refs": {
- }
+ "refs": {}
},
"ScheduleDescribeResultModel": {
"base": "Results of a schedule describe.",
- "refs": {
- }
+ "refs": {}
},
"Scte20Convert608To708": {
"base": "Scte20 Convert608 To708",
@@ -2661,8 +2624,7 @@
},
"TagsModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"TeletextDestinationSettings": {
"base": "Teletext Destination Settings",
@@ -2708,8 +2670,7 @@
},
"TooManyRequestsException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"TtmlDestinationSettings": {
"base": "Ttml Destination Settings",
@@ -2749,73 +2710,59 @@
},
"UnprocessableEntityException": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateChannel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateChannelClass": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateChannelResultModel": {
"base": "The updated channel's description.",
- "refs": {
- }
+ "refs": {}
},
"UpdateInput": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateInputDevice": {
"base": "Updates an input device.",
- "refs": {
- }
+ "refs": {}
},
"UpdateInputResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateInputSecurityGroupResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateMultiplex": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateMultiplexProgram": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateMultiplexProgramResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateMultiplexResultModel": {
"base": null,
- "refs": {
- }
+ "refs": {}
},
"UpdateReservation": {
"base": "UpdateReservation request",
- "refs": {
- }
+ "refs": {}
},
"UpdateReservationResultModel": {
"base": "UpdateReservation response",
- "refs": {
- }
+ "refs": {}
},
"ValidationError": {
"base": null,
@@ -2939,7 +2886,6 @@
"ChannelSummary$PipelinesRunningCount": "The number of currently healthy pipelines.",
"DvbSubDestinationSettings$ShadowXOffset": "Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.",
"DvbSubDestinationSettings$ShadowYOffset": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.",
- "H264Settings$ParNumerator": "Pixel Aspect Ratio numerator.",
"InputDeviceConfigurableSettings$MaxBitrate": "The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.",
"InputDeviceHdSettings$Height": "The height of the video source, in pixels.",
"InputDeviceHdSettings$MaxBitrate": "The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.",
@@ -3165,6 +3111,7 @@
"H264Settings$FramerateDenominator": "Framerate denominator.",
"H264Settings$FramerateNumerator": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.",
"H264Settings$ParDenominator": "Pixel Aspect Ratio denominator.",
+ "H264Settings$ParNumerator": "Pixel Aspect Ratio numerator.",
"H265Settings$FramerateNumerator": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.",
"H265Settings$ParDenominator": "Pixel Aspect Ratio denominator.",
"H265Settings$ParNumerator": "Pixel Aspect Ratio numerator.",
@@ -3805,6 +3752,7 @@
"M3u8Settings$Scte35Pid": "Packet Identifier (PID) of the SCTE-35 stream in the transport stream. Can be entered as a decimal or hexadecimal value.",
"M3u8Settings$TimedMetadataPid": "Packet Identifier (PID) of the timed metadata stream in the transport stream. Can be entered as a decimal or hexadecimal value. Valid values are 32 (or 0x20)..8182 (or 0x1ff6).",
"M3u8Settings$VideoPid": "Packet Identifier (PID) of the elementary video stream in the transport stream. Can be entered as a decimal or hexadecimal value.",
+ "InputDeviceThumbnail$Body": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive.",
"MediaConnectFlow$FlowArn": "The unique ARN of the MediaConnect Flow being used as a source.",
"MediaConnectFlowRequest$FlowArn": "The ARN of the MediaConnect Flow that you want to use as a source.",
"MsSmoothGroupSettings$AcquisitionPointId": "The ID to include in each message in the sparse track. Ignored if sparseTrackType is NONE.",
@@ -3913,6 +3861,12 @@
"DvbSdtSettings$ServiceProviderName": "The service provider name placed in the serviceDescriptor in the Service Description Table. Maximum length is 256 characters."
}
},
+ "__stringMin1Max35": {
+ "base": null,
+ "refs": {
+ "AudioDescription$LanguageCode": "RFC 5646 language code representing the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input."
+ }
+ },
"__stringMin32Max32": {
"base": null,
"refs": {
@@ -3929,7 +3883,6 @@
"__stringMin3Max3": {
"base": null,
"refs": {
- "AudioDescription$LanguageCode": "Indicates the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input.",
"CaptionLanguageMapping$LanguageCode": "Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)"
}
},
@@ -3940,4 +3893,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json
index 1edcee17e9d..d1f61566fb1 100644
--- a/models/apis/quicksight/2018-04-01/api-2.json
+++ b/models/apis/quicksight/2018-04-01/api-2.json
@@ -28,6 +28,24 @@
{"shape":"InternalFailureException"}
]
},
+ "CreateAccountCustomization":{
+ "name":"CreateAccountCustomization",
+ "http":{
+ "method":"POST",
+ "requestUri":"/accounts/{AwsAccountId}/customizations"
+ },
+ "input":{"shape":"CreateAccountCustomizationRequest"},
+ "output":{"shape":"CreateAccountCustomizationResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceExistsException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"CreateDashboard":{
"name":"CreateDashboard",
"http":{
@@ -159,6 +177,27 @@
{"shape":"InternalFailureException"}
]
},
+ "CreateNamespace":{
+ "name":"CreateNamespace",
+ "http":{
+ "method":"POST",
+ "requestUri":"/accounts/{AwsAccountId}"
+ },
+ "input":{"shape":"CreateNamespaceRequest"},
+ "output":{"shape":"CreateNamespaceResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"LimitExceededException"},
+ {"shape":"ResourceExistsException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"CreateTemplate":{
"name":"CreateTemplate",
"http":{
@@ -236,6 +275,23 @@
{"shape":"InternalFailureException"}
]
},
+ "DeleteAccountCustomization":{
+ "name":"DeleteAccountCustomization",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/accounts/{AwsAccountId}/customizations"
+ },
+ "input":{"shape":"DeleteAccountCustomizationRequest"},
+ "output":{"shape":"DeleteAccountCustomizationResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"DeleteDashboard":{
"name":"DeleteDashboard",
"http":{
@@ -339,6 +395,24 @@
{"shape":"InternalFailureException"}
]
},
+ "DeleteNamespace":{
+ "name":"DeleteNamespace",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}"
+ },
+ "input":{"shape":"DeleteNamespaceRequest"},
+ "output":{"shape":"DeleteNamespaceResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"DeleteTemplate":{
"name":"DeleteTemplate",
"http":{
@@ -421,6 +495,7 @@
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceUnavailableException"}
]
@@ -433,6 +508,41 @@
},
"input":{"shape":"DeleteUserByPrincipalIdRequest"},
"output":{"shape":"DeleteUserByPrincipalIdResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
+ "DescribeAccountCustomization":{
+ "name":"DescribeAccountCustomization",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/customizations"
+ },
+ "input":{"shape":"DescribeAccountCustomizationRequest"},
+ "output":{"shape":"DescribeAccountCustomizationResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
+ "DescribeAccountSettings":{
+ "name":"DescribeAccountSettings",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/settings"
+ },
+ "input":{"shape":"DescribeAccountSettingsRequest"},
+ "output":{"shape":"DescribeAccountSettingsResponse"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"InvalidParameterValueException"},
@@ -591,6 +701,23 @@
{"shape":"InternalFailureException"}
]
},
+ "DescribeNamespace":{
+ "name":"DescribeNamespace",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces/{Namespace}"
+ },
+ "input":{"shape":"DescribeNamespaceRequest"},
+ "output":{"shape":"DescribeNamespaceResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"DescribeTemplate":{
"name":"DescribeTemplate",
"http":{
@@ -707,6 +834,7 @@
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceUnavailableException"}
]
@@ -733,6 +861,26 @@
{"shape":"InternalFailureException"}
]
},
+ "GetSessionEmbedUrl":{
+ "name":"GetSessionEmbedUrl",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/session-embed-url"
+ },
+ "input":{"shape":"GetSessionEmbedUrlRequest"},
+ "output":{"shape":"GetSessionEmbedUrlResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceExistsException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"QuickSightUserNotFoundException"},
+ {"shape":"SessionLifetimeInMinutesInvalidException"},
+ {"shape":"UnsupportedUserEditionException"},
+ {"shape":"InternalFailureException"}
+ ]
+ },
"ListDashboardVersions":{
"name":"ListDashboardVersions",
"http":{
@@ -888,6 +1036,25 @@
{"shape":"InternalFailureException"}
]
},
+ "ListNamespaces":{
+ "name":"ListNamespaces",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/namespaces"
+ },
+ "input":{"shape":"ListNamespacesRequest"},
+ "output":{"shape":"ListNamespacesResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InvalidNextTokenException"},
+ {"shape":"PreconditionNotMetException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -1021,6 +1188,7 @@
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceUnavailableException"}
]
@@ -1039,6 +1207,7 @@
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"InvalidNextTokenException"},
+ {"shape":"PreconditionNotMetException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceUnavailableException"}
]
@@ -1113,6 +1282,40 @@
{"shape":"InternalFailureException"}
]
},
+ "UpdateAccountCustomization":{
+ "name":"UpdateAccountCustomization",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/accounts/{AwsAccountId}/customizations"
+ },
+ "input":{"shape":"UpdateAccountCustomizationRequest"},
+ "output":{"shape":"UpdateAccountCustomizationResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
+ "UpdateAccountSettings":{
+ "name":"UpdateAccountSettings",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/accounts/{AwsAccountId}/settings"
+ },
+ "input":{"shape":"UpdateAccountSettingsRequest"},
+ "output":{"shape":"UpdateAccountSettingsResponse"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalFailureException"},
+ {"shape":"ResourceUnavailableException"}
+ ]
+ },
"UpdateDashboard":{
"name":"UpdateDashboard",
"http":{
@@ -1391,6 +1594,7 @@
{"shape":"InvalidParameterValueException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
+ {"shape":"PreconditionNotMetException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceUnavailableException"}
]
@@ -1406,6 +1610,21 @@
"error":{"httpStatusCode":401},
"exception":true
},
+ "AccountCustomization":{
+ "type":"structure",
+ "members":{
+ "DefaultTheme":{"shape":"Arn"}
+ }
+ },
+ "AccountSettings":{
+ "type":"structure",
+ "members":{
+ "AccountName":{"shape":"String"},
+ "Edition":{"shape":"Edition"},
+ "DefaultNamespace":{"shape":"Namespace"},
+ "NotificationEmail":{"shape":"String"}
+ }
+ },
"ActionList":{
"type":"list",
"member":{"shape":"String"},
@@ -1704,6 +1923,39 @@
"type":"string",
"pattern":"^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+"
},
+ "CreateAccountCustomizationRequest":{
+ "type":"structure",
+ "required":[
+ "AwsAccountId",
+ "AccountCustomization"
+ ],
+ "members":{
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"querystring",
+ "locationName":"namespace"
+ },
+ "AccountCustomization":{"shape":"AccountCustomization"}
+ }
+ },
+ "CreateAccountCustomizationResponse":{
+ "type":"structure",
+ "members":{
+ "AwsAccountId":{"shape":"AwsAccountId"},
+ "Namespace":{"shape":"Namespace"},
+ "AccountCustomization":{"shape":"AccountCustomization"},
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"CreateColumnsOperation":{
"type":"structure",
"required":["Columns"],
@@ -1985,6 +2237,39 @@
}
}
},
+ "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":[
@@ -2556,6 +2841,32 @@
"member":{"shape":"DecimalParameter"},
"max":100
},
+ "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"
+ }
+ }
+ },
"DeleteDashboardRequest":{
"type":"structure",
"required":[
@@ -2766,6 +3077,35 @@
}
}
},
+ "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":[
@@ -2989,6 +3329,62 @@
"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":{
+ "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"
+ }
+ }
+ },
"DescribeDashboardPermissionsRequest":{
"type":"structure",
"required":[
@@ -3293,6 +3689,36 @@
}
}
},
+ "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":[
@@ -3564,10 +3990,22 @@
"type":"list",
"member":{"shape":"Double"}
},
+ "Edition":{
+ "type":"string",
+ "enum":[
+ "STANDARD",
+ "ENTERPRISE"
+ ]
+ },
"EmbeddingUrl":{
"type":"string",
"sensitive":true
},
+ "EntryPoint":{
+ "type":"string",
+ "max":1000,
+ "min":1
+ },
"ErrorInfo":{
"type":"structure",
"members":{
@@ -3707,6 +4145,43 @@
"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"}
+ }
+ },
"Group":{
"type":"structure",
"members":{
@@ -3806,6 +4281,10 @@
"type":"list",
"member":{"shape":"IdentityName"}
},
+ "IdentityStore":{
+ "type":"string",
+ "enum":["QUICKSIGHT"]
+ },
"IdentityType":{
"type":"string",
"enum":[
@@ -4422,6 +4901,40 @@
}
}
},
+ "ListNamespacesRequest":{
+ "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"
+ }
+ }
+ },
+ "ListNamespacesResponse":{
+ "type":"structure",
+ "members":{
+ "Namespaces":{"shape":"Namespaces"},
+ "NextToken":{"shape":"String"},
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["ResourceArn"],
@@ -4873,6 +5386,45 @@
"max":64,
"pattern":"^[a-zA-Z0-9._-]*$"
},
+ "NamespaceError":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"NamespaceErrorType"},
+ "Message":{"shape":"String"}
+ }
+ },
+ "NamespaceErrorType":{
+ "type":"string",
+ "enum":[
+ "PERMISSION_DENIED",
+ "INTERNAL_SERVICE_ERROR"
+ ]
+ },
+ "NamespaceInfoV2":{
+ "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.*"
@@ -5066,7 +5618,8 @@
"location":"uri",
"locationName":"Namespace"
},
- "UserName":{"shape":"UserName"}
+ "UserName":{"shape":"UserName"},
+ "CustomPermissionsName":{"shape":"RoleName"}
}
},
"RegisterUserResponse":{
@@ -5185,6 +5738,12 @@
"min":1,
"pattern":"[\\w\\-]+"
},
+ "RoleName":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "pattern":"^[a-zA-Z0-9+=,.@_-]+$"
+ },
"RoleSessionName":{
"type":"string",
"max":64,
@@ -5211,6 +5770,7 @@
"PermissionPolicy"
],
"members":{
+ "Namespace":{"shape":"Namespace"},
"Arn":{"shape":"Arn"},
"PermissionPolicy":{"shape":"RowLevelPermissionPolicy"}
}
@@ -5820,6 +6380,65 @@
}
}
},
+ "UpdateAccountCustomizationRequest":{
+ "type":"structure",
+ "required":[
+ "AwsAccountId",
+ "AccountCustomization"
+ ],
+ "members":{
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "Namespace":{
+ "shape":"Namespace",
+ "location":"querystring",
+ "locationName":"namespace"
+ },
+ "AccountCustomization":{"shape":"AccountCustomization"}
+ }
+ },
+ "UpdateAccountCustomizationResponse":{
+ "type":"structure",
+ "members":{
+ "AwsAccountId":{"shape":"AwsAccountId"},
+ "Namespace":{"shape":"Namespace"},
+ "AccountCustomization":{"shape":"AccountCustomization"},
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
+ "UpdateAccountSettingsRequest":{
+ "type":"structure",
+ "required":[
+ "AwsAccountId",
+ "DefaultNamespace"
+ ],
+ "members":{
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "DefaultNamespace":{"shape":"Namespace"},
+ "NotificationEmail":{"shape":"String"}
+ }
+ },
+ "UpdateAccountSettingsResponse":{
+ "type":"structure",
+ "members":{
+ "RequestId":{"shape":"String"},
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ }
+ }
+ },
"UpdateDashboardPermissionsRequest":{
"type":"structure",
"required":[
@@ -6405,7 +7024,9 @@
"locationName":"Namespace"
},
"Email":{"shape":"String"},
- "Role":{"shape":"UserRole"}
+ "Role":{"shape":"UserRole"},
+ "CustomPermissionsName":{"shape":"RoleName"},
+ "UnapplyCustomPermissions":{"shape":"Boolean"}
}
},
"UpdateUserResponse":{
@@ -6444,7 +7065,8 @@
"Role":{"shape":"UserRole"},
"IdentityType":{"shape":"IdentityType"},
"Active":{"shape":"Boolean"},
- "PrincipalId":{"shape":"String"}
+ "PrincipalId":{"shape":"String"},
+ "CustomPermissionsName":{"shape":"RoleName"}
}
},
"UserList":{
diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json
index 82300a17ed7..f3d5f474a04 100644
--- a/models/apis/quicksight/2018-04-01/docs-2.json
+++ b/models/apis/quicksight/2018-04-01/docs-2.json
@@ -3,6 +3,7 @@
"service": "
Amazon QuickSight is a fully managed, serverless business intelligence service for the AWS Cloud that makes it easy to extend data and insights to every user in your organization. This API reference contains documentation for a programming interface that you can use to manage Amazon QuickSight.
", "operations": { "CancelIngestion": "Cancels an ongoing ingestion of data into SPICE.
", + "CreateAccountCustomization": "Creates a customization for the Amazon QuickSight subscription associated with your AWS account.
", "CreateDashboard": "Creates a dashboard from a template. To first create a template, see the CreateTemplate API operation.
A dashboard is an entity in QuickSight that identifies QuickSight reports, created from analyses. You can share QuickSight dashboards. With the right permissions, you can create scheduled email reports from them. The CreateDashboard
, DescribeDashboard
, and ListDashboardsByUser
API operations act on the dashboard entity. If you have the correct permissions, you can create a dashboard from a template that exists in a different AWS account.
Creates a dataset.
", "CreateDataSource": "Creates a data source.
", @@ -10,22 +11,27 @@ "CreateGroupMembership": "Adds an Amazon QuickSight user to an Amazon QuickSight group.
", "CreateIAMPolicyAssignment": "Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy will be assigned to specified groups or users of Amazon QuickSight. The users and groups need to be in the same namespace.
", "CreateIngestion": "Creates and starts a new SPICE ingestion on a dataset
Any ingestions operating on tagged datasets inherit the same tags automatically for use in access control. For an example, see How do I create an IAM policy to control access to Amazon EC2 resources using tags? in the AWS Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
", + "CreateNamespace": "(Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.
A namespace allows you to isolate the QuickSight users and groups that are registered for that namespace. Users that access the namespace can share assets only with other users or groups in the same namespace. They can't see users and groups in other namespaces. You can create a namespace after your AWS account is subscribed to QuickSight. The namespace must be unique within the AWS account. By default, there is a limit of 100 namespaces per AWS account. To increase your limit, create a ticket with AWS Support.
", "CreateTemplate": "Creates a template from an existing QuickSight analysis or template. You can use the resulting template to create a dashboard.
A template is an entity in QuickSight that encapsulates the metadata required to create an analysis and that you can use to create s dashboard. A template adds a layer of abstraction by using placeholders to replace the dataset associated with the 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.
", "CreateTemplateAlias": "Creates a template alias for a template.
", "CreateTheme": "Creates a theme.
A theme is set of configuration options for color and layout. Themes apply to analyses and dashboards. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.
", "CreateThemeAlias": "Creates a theme alias for a theme.
", + "DeleteAccountCustomization": "Deletes customizations for the QuickSight subscription on your AWS account.
", "DeleteDashboard": "Deletes a dashboard.
", "DeleteDataSet": "Deletes a dataset.
", "DeleteDataSource": "Deletes the data source permanently. This action breaks all the datasets that reference the deleted data source.
", "DeleteGroup": "Removes a user group from Amazon QuickSight.
", "DeleteGroupMembership": "Removes a user from a group so that the user is no longer a member of the group.
", "DeleteIAMPolicyAssignment": "Deletes an existing IAM policy assignment.
", + "DeleteNamespace": "Deletes a namespace and the users and groups that are associated with the namespace. This is an asynchronous process. Assets including dashboards, analyses, datasets and data sources are not deleted. To delete these assets, you use the APIs for the relevant asset.
", "DeleteTemplate": "Deletes a template.
", "DeleteTemplateAlias": "Deletes the item that the specified template alias points to. If you provide a specific alias, you delete the version of the template that the alias points to.
", "DeleteTheme": "Deletes a theme.
", "DeleteThemeAlias": "Deletes the version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.
", "DeleteUser": "Deletes the Amazon QuickSight user that is associated with the identity of the AWS Identity and Access Management (IAM) user or role that's making the call. The IAM user isn't deleted as a result of this call.
", "DeleteUserByPrincipalId": "Deletes a user identified by its principal ID.
", + "DescribeAccountCustomization": "Describes the customizations associated with your AWS account.
", + "DescribeAccountSettings": "Describes the settings that were used when your QuickSight subscription was first created in this AWS Account.
", "DescribeDashboard": "Provides a summary for a dashboard.
", "DescribeDashboardPermissions": "Describes read and write permissions for a dashboard.
", "DescribeDataSet": "Describes a dataset.
", @@ -35,6 +41,7 @@ "DescribeGroup": "Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
", "DescribeIAMPolicyAssignment": "Describes an existing IAM policy assignment, as specified by the assignment name.
", "DescribeIngestion": "Describes a SPICE ingestion.
", + "DescribeNamespace": "Describes the current namespace.
", "DescribeTemplate": "Describes a template's metadata.
", "DescribeTemplateAlias": "Describes the template alias for a template.
", "DescribeTemplatePermissions": "Describes read and write permissions on a template.
", @@ -43,6 +50,7 @@ "DescribeThemePermissions": "Describes the read and write permissions for a theme.
", "DescribeUser": "Returns information about a user, given the user name.
", "GetDashboardEmbedUrl": "Generates a URL and authorization code that you can embed in your web server code. Before you use this command, make sure that you have configured the dashboards and permissions.
Currently, you can use GetDashboardEmbedURL
only from the server, not from the user's browser. The following rules apply to the combination of URL and authorization code:
They must be used together.
They can be used one time only.
They are valid for 5 minutes after you run this command.
The resulting user session is valid for 10 hours.
For more information, see Embedding Amazon QuickSight Dashboards in the Amazon QuickSight User Guide or Embedding Amazon QuickSight Dashboards in the Amazon QuickSight API Reference.
", + "GetSessionEmbedUrl": "Generates a session URL and authorization code that you can embed in your web server code.
", "ListDashboardVersions": "Lists all the versions of the dashboards in the QuickSight subscription.
", "ListDashboards": "Lists dashboards in an AWS account.
", "ListDataSets": "Lists all of the datasets belonging to the current AWS account in an AWS Region.
The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/*
.
Lists IAM policy assignments in the current Amazon QuickSight account.
", "ListIAMPolicyAssignmentsForUser": "Lists all the IAM policy assignments, including the Amazon Resource Names (ARNs) for the IAM policies assigned to the specified user and group or groups that the user belongs to.
", "ListIngestions": "Lists the history of SPICE ingestions for a dataset.
", + "ListNamespaces": "Lists the namespaces for the specified AWS account.
", "ListTagsForResource": "Lists the tags assigned to a resource.
", "ListTemplateAliases": "Lists all the aliases of a template.
", "ListTemplateVersions": "Lists all the versions of the templates in the current Amazon QuickSight account.
", @@ -65,6 +74,8 @@ "SearchDashboards": "Searchs for dashboards that belong to a user.
", "TagResource": "Assigns one or more tags (key-value pairs) to the specified QuickSight resource.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource
operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
You can associate as many as 50 tags with a resource. QuickSight supports tagging on data set, data source, dashboard, and template.
Tagging for QuickSight works in a similar way to tagging for other AWS services, except for the following:
You can't use tags to track AWS costs for QuickSight. This restriction is because QuickSight costs are based on users and SPICE capacity, which aren't taggable resources.
QuickSight doesn't currently support the Tag Editor for AWS Resource Groups.
Removes a tag or tags from a resource.
", + "UpdateAccountCustomization": "Updates customizations associated with the QuickSight subscription on your AWS account.
", + "UpdateAccountSettings": "Updates the settings for the Amazon QuickSight subscription in your AWS Account.
", "UpdateDashboard": "Updates a dashboard in an AWS account.
", "UpdateDashboardPermissions": "Updates read and write permissions on a dashboard.
", "UpdateDashboardPublishedVersion": "Updates the published version of a dashboard.
", @@ -88,6 +99,22 @@ "refs": { } }, + "AccountCustomization": { + "base": "The customizations associated with your AWS account for QuickSight.
", + "refs": { + "CreateAccountCustomizationRequest$AccountCustomization": "The customizations you're adding to the QuickSight subscription for the AWS account. For example, you could add a default theme by setting AccountCustomization
to the midnight theme (DefaultTheme=\"arn:aws:quicksight::aws:theme/MIDNIGHT\"
) or to a custom theme (DefaultTheme=\"arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639\"
).
The customizations you're adding to the QuickSight subscription for the AWS account.
", + "DescribeAccountCustomizationResponse$AccountCustomization": "The customizations associated with QuickSight.
", + "UpdateAccountCustomizationRequest$AccountCustomization": "The customizations you want to update in QuickSight.
", + "UpdateAccountCustomizationResponse$AccountCustomization": "The customizations associated with your QuickSight subscription.
" + } + }, + "AccountSettings": { + "base": "The QuickSight settings associated with your AWS account.
", + "refs": { + "DescribeAccountSettingsResponse$AccountSettings": "The settings associated with the QuickSight subscription associated with this AWS account. This information includes the edition of Amazon QuickSight that you subscribed to (Standard or Enterprise) and the notification email for the QuickSight subscription. The QuickSight console, the QuickSight subscription is sometimes referred to as a QuickSight \"account\" even though it is technically not an account, but a subscription in your AWS account.
" + } + }, "ActionList": { "base": null, "refs": { @@ -141,6 +168,7 @@ "Arn": { "base": null, "refs": { + "AccountCustomization$DefaultTheme": "The default theme for this QuickSight subscription.
", "ActiveIAMPolicyAssignment$PolicyArn": "The Amazon Resource Name (ARN) of the resource.
", "CancelIngestionResponse$Arn": "The Amazon Resource Name (ARN) for the data ingestion.
", "CreateDashboardRequest$ThemeArn": "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 AWS account where you create the dashboard.
", @@ -152,6 +180,7 @@ "CreateIAMPolicyAssignmentRequest$PolicyArn": "The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.
", "CreateIAMPolicyAssignmentResponse$PolicyArn": "The ARN for the IAM policy that is applied to the QuickSight users and groups specified in this assignment.
", "CreateIngestionResponse$Arn": "The Amazon Resource Name (ARN) for the data ingestion.
", + "CreateNamespaceResponse$Arn": "The ARN of the QuickSight namespace you created.
", "CreateTemplateResponse$Arn": "The ARN for the template.
", "CreateTemplateResponse$VersionArn": "The ARN for the template, including the version information of the first version.
", "CreateThemeResponse$Arn": "The Amazon Resource Name (ARN) for the theme.
", @@ -182,11 +211,13 @@ "DescribeTemplatePermissionsResponse$TemplateArn": "The Amazon Resource Name (ARN) of the template.
", "DescribeThemePermissionsResponse$ThemeArn": "The Amazon Resource Name (ARN) of the theme.
", "GetDashboardEmbedUrlRequest$UserArn": "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.
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.
The Amazon Resource Name (ARN) for the group.
", "GroupMember$Arn": "The Amazon Resource Name (ARN) for the group member (user).
", "IAMPolicyAssignment$PolicyArn": "The Amazon Resource Name (ARN) for the IAM policy.
", "Ingestion$Arn": "The Amazon Resource Name (ARN) of the resource.
", "ListTagsForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
", + "NamespaceInfoV2$Arn": "The namespace ARN.
", "RelationalTable$DataSourceArn": "The Amazon Resource Name (ARN) for the data source.
", "RowLevelPermissionDataSet$Arn": "The Amazon Resource Name (ARN) of the permission dataset.
", "S3Source$DataSourceArn": "The amazon Resource Name (ARN) for the data source.
", @@ -260,6 +291,8 @@ "base": null, "refs": { "CancelIngestionRequest$AwsAccountId": "The AWS account ID.
", + "CreateAccountCustomizationRequest$AwsAccountId": "The ID for the AWS account that you want to customize QuickSight for.
", + "CreateAccountCustomizationResponse$AwsAccountId": "The ID for the AWS account that you want to customize QuickSight for.
", "CreateDashboardRequest$AwsAccountId": "The ID of the AWS account where you want to create the dashboard.
", "CreateDataSetRequest$AwsAccountId": "The AWS account ID.
", "CreateDataSourceRequest$AwsAccountId": "The AWS account ID.
", @@ -267,22 +300,28 @@ "CreateGroupRequest$AwsAccountId": "The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "CreateIAMPolicyAssignmentRequest$AwsAccountId": "The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.
", "CreateIngestionRequest$AwsAccountId": "The AWS account ID.
", + "CreateNamespaceRequest$AwsAccountId": "The ID for the AWS account that you want to create the QuickSight namespace in.
", "CreateTemplateAliasRequest$AwsAccountId": "The ID of the AWS account that contains the template that you creating an alias for.
", "CreateTemplateRequest$AwsAccountId": "The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "CreateThemeAliasRequest$AwsAccountId": "The ID of the AWS account that contains the theme for the new theme alias.
", "CreateThemeRequest$AwsAccountId": "The ID of the AWS account where you want to store the new theme.
", + "DeleteAccountCustomizationRequest$AwsAccountId": "The ID for the AWS account that you want to delete QuickSight customizations from.
", "DeleteDashboardRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're deleting.
", "DeleteDataSetRequest$AwsAccountId": "The AWS account ID.
", "DeleteDataSourceRequest$AwsAccountId": "The AWS account ID.
", "DeleteGroupMembershipRequest$AwsAccountId": "The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "DeleteGroupRequest$AwsAccountId": "The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "DeleteIAMPolicyAssignmentRequest$AwsAccountId": "The AWS account ID where you want to delete the IAM policy assignment.
", + "DeleteNamespaceRequest$AwsAccountId": "The ID for the AWS account that you want to delete the QuickSight namespace from.
", "DeleteTemplateAliasRequest$AwsAccountId": "The ID of the AWS account that contains the item to delete.
", "DeleteTemplateRequest$AwsAccountId": "The ID of the AWS account that contains the template that you're deleting.
", "DeleteThemeAliasRequest$AwsAccountId": "The ID of the AWS account that contains the theme alias to delete.
", "DeleteThemeRequest$AwsAccountId": "The ID of the AWS account that contains the theme that you're deleting.
", "DeleteUserByPrincipalIdRequest$AwsAccountId": "The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "DeleteUserRequest$AwsAccountId": "The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", + "DescribeAccountCustomizationRequest$AwsAccountId": "The ID for the AWS account that you want to describe QuickSight customizations for.
", + "DescribeAccountCustomizationResponse$AwsAccountId": "The ID for the AWS account that you want to describe QuickSight customizations for.
", + "DescribeAccountSettingsRequest$AwsAccountId": "The ID for the AWS account that contains the QuickSight namespaces that you want to list.
", "DescribeDashboardPermissionsRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're describing permissions for.
", "DescribeDashboardRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're describing.
", "DescribeDataSetPermissionsRequest$AwsAccountId": "The AWS account ID.
", @@ -292,6 +331,7 @@ "DescribeGroupRequest$AwsAccountId": "The ID for the AWS account that the group is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "DescribeIAMPolicyAssignmentRequest$AwsAccountId": "The ID of the AWS account that contains the assignment that you want to describe.
", "DescribeIngestionRequest$AwsAccountId": "The AWS account ID.
", + "DescribeNamespaceRequest$AwsAccountId": "The ID for the AWS account that contains the QuickSight namespace that you want to describe.
", "DescribeTemplateAliasRequest$AwsAccountId": "The ID of the AWS account that contains the template alias that you're describing.
", "DescribeTemplatePermissionsRequest$AwsAccountId": "The ID of the AWS account that contains the template that you're describing.
", "DescribeTemplateRequest$AwsAccountId": "The ID of the AWS account that contains the template that you're describing.
", @@ -299,6 +339,7 @@ "DescribeThemePermissionsRequest$AwsAccountId": "The ID of the AWS account that contains the theme that you're describing.
", "DescribeUserRequest$AwsAccountId": "The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "GetDashboardEmbedUrlRequest$AwsAccountId": "The ID for the AWS account that contains the dashboard that you're embedding.
", + "GetSessionEmbedUrlRequest$AwsAccountId": "The ID for the AWS account that contains the QuickSight session that you're embedding.
", "IAMPolicyAssignment$AwsAccountId": "The AWS account ID.
", "ListDashboardVersionsRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're listing versions for.
", "ListDashboardsRequest$AwsAccountId": "The ID of the AWS account that contains the dashboards that you're listing.
", @@ -309,6 +350,7 @@ "ListIAMPolicyAssignmentsForUserRequest$AwsAccountId": "The ID of the AWS account that contains the assignments.
", "ListIAMPolicyAssignmentsRequest$AwsAccountId": "The ID of the AWS account that contains these IAM policy assignments.
", "ListIngestionsRequest$AwsAccountId": "The AWS account ID.
", + "ListNamespacesRequest$AwsAccountId": "The ID for the AWS account that contains the QuickSight namespaces that you want to list.
", "ListTemplateAliasesRequest$AwsAccountId": "The ID of the AWS account that contains the template aliases that you're listing.
", "ListTemplateVersionsRequest$AwsAccountId": "The ID of the AWS account that contains the templates that you're listing.
", "ListTemplatesRequest$AwsAccountId": "The ID of the AWS account that contains the templates that you're listing.
", @@ -319,6 +361,9 @@ "ListUsersRequest$AwsAccountId": "The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "RegisterUserRequest$AwsAccountId": "The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account.
", "SearchDashboardsRequest$AwsAccountId": "The ID of the AWS account that contains the user whose dashboards you're searching for.
", + "UpdateAccountCustomizationRequest$AwsAccountId": "The ID for the AWS account that you want to update QuickSight customizations for.
", + "UpdateAccountCustomizationResponse$AwsAccountId": "The ID for the AWS account that you want to update QuickSight customizations for.
", + "UpdateAccountSettingsRequest$AwsAccountId": "The ID for the AWS account that contains the QuickSight namespaces that you want to list.
", "UpdateDashboardPermissionsRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard whose permissions you're updating.
", "UpdateDashboardPublishedVersionRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're updating.
", "UpdateDashboardRequest$AwsAccountId": "The ID of the AWS account that contains the dashboard that you're updating.
", @@ -353,6 +398,7 @@ "base": null, "refs": { "SslProperties$DisableSsl": "A Boolean option to control whether SSL should be disabled.
", + "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.
" } @@ -526,6 +572,16 @@ "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.
A transform operation that creates calculated columns. Columns created in one such operation form a lexical closure.
", "refs": { @@ -602,6 +658,16 @@ "refs": { } }, + "CreateNamespaceRequest": { + "base": null, + "refs": { + } + }, + "CreateNamespaceResponse": { + "base": null, + "refs": { + } + }, "CreateTemplateAliasRequest": { "base": null, "refs": { @@ -945,6 +1011,16 @@ "Parameters$DecimalParameters": "Decimal parameters.
" } }, + "DeleteAccountCustomizationRequest": { + "base": null, + "refs": { + } + }, + "DeleteAccountCustomizationResponse": { + "base": null, + "refs": { + } + }, "DeleteDashboardRequest": { "base": null, "refs": { @@ -1005,6 +1081,16 @@ "refs": { } }, + "DeleteNamespaceRequest": { + "base": null, + "refs": { + } + }, + "DeleteNamespaceResponse": { + "base": null, + "refs": { + } + }, "DeleteTemplateAliasRequest": { "base": null, "refs": { @@ -1071,6 +1157,26 @@ "UploadSettings$Delimiter": "The delimiter between values in the file.
" } }, + "DescribeAccountCustomizationRequest": { + "base": null, + "refs": { + } + }, + "DescribeAccountCustomizationResponse": { + "base": null, + "refs": { + } + }, + "DescribeAccountSettingsRequest": { + "base": null, + "refs": { + } + }, + "DescribeAccountSettingsResponse": { + "base": null, + "refs": { + } + }, "DescribeDashboardPermissionsRequest": { "base": null, "refs": { @@ -1161,6 +1267,16 @@ "refs": { } }, + "DescribeNamespaceRequest": { + "base": null, + "refs": { + } + }, + "DescribeNamespaceResponse": { + "base": null, + "refs": { + } + }, "DescribeTemplateAliasRequest": { "base": null, "refs": { @@ -1254,10 +1370,23 @@ "DecimalParameter$Values": "Values.
" } }, + "Edition": { + "base": null, + "refs": { + "AccountSettings$Edition": "The edition of QuickSight that you're currently subscribed to.
" + } + }, "EmbeddingUrl": { "base": null, "refs": { - "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 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.
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 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.
A single-use URL that you can put into your server-side web page to embed your QuickSight session. This URL is valid for 5 minutes. The API 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.
The entry point for the embedded session.
" } }, "ErrorInfo": { @@ -1334,6 +1463,16 @@ "refs": { } }, + "GetSessionEmbedUrlRequest": { + "base": null, + "refs": { + } + }, + "GetSessionEmbedUrlResponse": { + "base": null, + "refs": { + } + }, "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. Currently, an Amazon QuickSight subscription can't contain more than 500 Amazon QuickSight groups.
", "refs": { @@ -1492,6 +1631,14 @@ "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
.
Specifies the type of your user identity directory. Currently, this supports users with an identity type of QUICKSIGHT
.
The identity store used for the namespace.
" + } + }, "IdentityType": { "base": null, "refs": { @@ -1726,6 +1873,16 @@ "refs": { } }, + "ListNamespacesRequest": { + "base": null, + "refs": { + } + }, + "ListNamespacesResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -1892,6 +2049,7 @@ "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.
", @@ -1912,16 +2070,26 @@ "Namespace": { "base": null, "refs": { + "AccountSettings$DefaultNamespace": "The default QuickSight namespace for your AWS account.
", + "CreateAccountCustomizationRequest$Namespace": "The namespace associated with the customization that you're creating.
", + "CreateAccountCustomizationResponse$Namespace": "The namespace associated with the customization you're creating.
", "CreateGroupMembershipRequest$Namespace": "The namespace. Currently, you should set this to default
.
The namespace. Currently, you should set this to default
.
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 namespace associated with the customization that you're deleting.
", "DeleteGroupMembershipRequest$Namespace": "The namespace. Currently, you should set this to default
.
The namespace. Currently, you should set this to default
.
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
.
The namespace. Currently, you should set this to default
.
The namespace associated with the customization that you're describing.
", + "DescribeAccountCustomizationResponse$Namespace": "The namespace associated with the customization that you're describing.
", "DescribeGroupRequest$Namespace": "The namespace. Currently, you should set this to default
.
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
.
The namespace. Currently, you should set this to default
.
The namespace. Currently, you should set this to default
.
The namespace for the assignments.
", "ListUserGroupsRequest$Namespace": "The namespace. Currently, you should set this to default
.
The namespace. Currently, you should set this to default
.
The name of the error.
", "RegisterUserRequest$Namespace": "The namespace. Currently, you should set this to default
.
The namespace associated with the row-level permissions dataset.
", + "UpdateAccountCustomizationRequest$Namespace": "The namespace associated with the customization that you're updating.
", + "UpdateAccountCustomizationResponse$Namespace": "The namespace associated with the customization that you're updating.
", + "UpdateAccountSettingsRequest$DefaultNamespace": "The default namespace for this AWS Account. Currently, the default is default
. IAM users who register for the first time with QuickSight provide an email that becomes associated with the default namespace.
The namespace. Currently, you should set this to default
.
The namespace of the assignment.
", "UpdateUserRequest$Namespace": "The namespace. Currently, you should set this to default
.
Errors that occur during namespace creation.
", + "refs": { + "NamespaceInfoV2$NamespaceError": "An error that occured 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, AWS Region, creation status, and identity store. DescribeNamespace
also works for namespaces that are in the process of being created. For incomplete namespaces, this API lists the namespace error types and messages associated with the creation process.
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 actions.
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 AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.
" + } + }, "NonEmptyString": { "base": null, "refs": { @@ -2298,6 +2503,14 @@ "UpdateThemeResponse$ThemeId": "The ID for the theme.
" } }, + "RoleName": { + "base": null, + "refs": { + "RegisterUserRequest$CustomPermissionsName": "(Enterprise edition only) The name of the custom permissions profile that you want to assign to this user. Currently, custom permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API to assign the named set of permissions to a QuickSight user.
Customizing permissions in the QuickSight UI allows you to control a user's access to the following operations:
QuickSight custom permissions are applied through IAM policies. Therefore, they override the permissions typically granted by assigning QuickSight users to one of the default security cohorts (admin, author, reader) in QuickSight.
This feature is available only to QuickSight Enterprise edition subscriptions that use SAML 2.0-Based Federation for Single Sign-On (SSO).
", + "UpdateUserRequest$CustomPermissionsName": "The name of the custom permissions profile that you want to assign to this user. Currently, custom permissions profile names are assigned to permissions profiles in the QuickSight console. You use this API to assign the named set of permissions to a QuickSight user.
", + "User$CustomPermissionsName": "The custom permissions profile associated with this user.
" + } + }, "RoleSessionName": { "base": null, "refs": { @@ -2368,7 +2581,8 @@ "SessionLifetimeInMinutes": { "base": null, "refs": { - "GetDashboardEmbedUrlRequest$SessionLifetimeInMinutes": "How many minutes the session is valid. The session lifetime must be 15-600 minutes.
" + "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.
" } }, "SessionLifetimeInMinutesInvalidException": { @@ -2431,6 +2645,7 @@ "base": null, "refs": { "CancelIngestionResponse$Status": "The HTTP status of the request.
", + "CreateAccountCustomizationResponse$Status": "The HTTP status of the request.
", "CreateDashboardResponse$Status": "The HTTP status of the request.
", "CreateDataSetResponse$Status": "The HTTP status of the request.
", "CreateDataSourceResponse$Status": "The HTTP status of the request.
", @@ -2438,22 +2653,27 @@ "CreateGroupResponse$Status": "The HTTP status of the request.
", "CreateIAMPolicyAssignmentResponse$Status": "The HTTP status of the request.
", "CreateIngestionResponse$Status": "The HTTP status of the request.
", + "CreateNamespaceResponse$Status": "The HTTP status of the request.
", "CreateTemplateAliasResponse$Status": "The HTTP status of the request.
", "CreateTemplateResponse$Status": "The HTTP status of the request.
", "CreateThemeAliasResponse$Status": "The HTTP status of the request.
", "CreateThemeResponse$Status": "The HTTP status of the request.
", + "DeleteAccountCustomizationResponse$Status": "The HTTP status of the request.
", "DeleteDashboardResponse$Status": "The HTTP status of the request.
", "DeleteDataSetResponse$Status": "The HTTP status of the request.
", "DeleteDataSourceResponse$Status": "The HTTP status of the request.
", "DeleteGroupMembershipResponse$Status": "The HTTP status of the request.
", "DeleteGroupResponse$Status": "The HTTP status of the request.
", "DeleteIAMPolicyAssignmentResponse$Status": "The HTTP status of the request.
", + "DeleteNamespaceResponse$Status": "The HTTP status of the request.
", "DeleteTemplateAliasResponse$Status": "The HTTP status of the request.
", "DeleteTemplateResponse$Status": "The HTTP status of the request.
", "DeleteThemeAliasResponse$Status": "The HTTP status of the request.
", "DeleteThemeResponse$Status": "The HTTP status of the request.
", "DeleteUserByPrincipalIdResponse$Status": "The HTTP status of the request.
", "DeleteUserResponse$Status": "The HTTP status of the request.
", + "DescribeAccountCustomizationResponse$Status": "The HTTP status of the request.
", + "DescribeAccountSettingsResponse$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.
", @@ -2463,6 +2683,7 @@ "DescribeGroupResponse$Status": "The HTTP status of the request.
", "DescribeIAMPolicyAssignmentResponse$Status": "The HTTP status of the request.
", "DescribeIngestionResponse$Status": "The HTTP status of the request.
", + "DescribeNamespaceResponse$Status": "The HTTP status of the request.
", "DescribeTemplateAliasResponse$Status": "The HTTP status of the request.
", "DescribeTemplatePermissionsResponse$Status": "The HTTP status of the request.
", "DescribeTemplateResponse$Status": "The HTTP status of the request.
", @@ -2471,6 +2692,7 @@ "DescribeThemeResponse$Status": "The HTTP status of the request.
", "DescribeUserResponse$Status": "The HTTP status of the request.
", "GetDashboardEmbedUrlResponse$Status": "The HTTP status of the request.
", + "GetSessionEmbedUrlResponse$Status": "The HTTP status of the request.
", "ListDashboardVersionsResponse$Status": "The HTTP status of the request.
", "ListDashboardsResponse$Status": "The HTTP status of the request.
", "ListDataSetsResponse$Status": "The HTTP status of the request.
", @@ -2480,6 +2702,7 @@ "ListIAMPolicyAssignmentsForUserResponse$Status": "The HTTP status of the request.
", "ListIAMPolicyAssignmentsResponse$Status": "The HTTP status of the request.
", "ListIngestionsResponse$Status": "The HTTP status of the request.
", + "ListNamespacesResponse$Status": "The HTTP status of the request.
", "ListTagsForResourceResponse$Status": "The HTTP status of the request.
", "ListTemplateAliasesResponse$Status": "The HTTP status of the request.
", "ListTemplateVersionsResponse$Status": "The HTTP status of the request.
", @@ -2493,6 +2716,8 @@ "SearchDashboardsResponse$Status": "The HTTP status of the request.
", "TagResourceResponse$Status": "The HTTP status of the request.
", "UntagResourceResponse$Status": "The HTTP status of the request.
", + "UpdateAccountCustomizationResponse$Status": "The HTTP status of the request.
", + "UpdateAccountSettingsResponse$Status": "The HTTP status of the request.
", "UpdateDashboardPermissionsResponse$Status": "The HTTP status of the request.
", "UpdateDashboardPublishedVersionResponse$Status": "The HTTP status of the request.
", "UpdateDashboardResponse$Status": "The HTTP status of the request.
", @@ -2516,6 +2741,8 @@ "refs": { "AccessDeniedException$Message": null, "AccessDeniedException$RequestId": "The AWS request ID for this request.
", + "AccountSettings$AccountName": "The name associated with the QuickSight subscription in your AWS account.
", + "AccountSettings$NotificationEmail": "The main notification email for your QuickSight subscription.
", "ActionList$member": null, "ColumnGroupColumnSchema$Name": "The name of the column group's column schema.
", "ColumnGroupSchema$Name": "The name of the column group schema.
", @@ -2526,6 +2753,7 @@ "ConcurrentUpdatingException$RequestId": null, "ConflictException$Message": null, "ConflictException$RequestId": "The AWS request ID for this request.
", + "CreateAccountCustomizationResponse$RequestId": "The AWS request ID for this operation.
", "CreateDashboardResponse$RequestId": "The AWS request ID for this operation.
", "CreateDataSetResponse$RequestId": "The AWS request ID for this operation.
", "CreateDataSourceResponse$RequestId": "The AWS request ID for this operation.
", @@ -2533,6 +2761,8 @@ "CreateGroupResponse$RequestId": "The AWS request ID for this operation.
", "CreateIAMPolicyAssignmentResponse$AssignmentId": "The ID for the assignment.
", "CreateIAMPolicyAssignmentResponse$RequestId": "The AWS request ID for this operation.
", + "CreateNamespaceResponse$CapacityRegion": "The AWS 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.
", + "CreateNamespaceResponse$RequestId": "The AWS request ID for this operation.
", "CreateTemplateAliasResponse$RequestId": "The AWS request ID for this operation.
", "CreateTemplateResponse$RequestId": "The AWS request ID for this operation.
", "CreateThemeAliasResponse$RequestId": "The AWS request ID for this operation.
", @@ -2540,12 +2770,14 @@ "DashboardSearchFilter$Value": "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\"
.
Placeholder.
", "DataSourceErrorInfo$Message": "Error message.
", + "DeleteAccountCustomizationResponse$RequestId": "The AWS request ID for this operation.
", "DeleteDashboardResponse$RequestId": "The AWS request ID for this operation.
", "DeleteDataSetResponse$RequestId": "The AWS request ID for this operation.
", "DeleteDataSourceResponse$RequestId": "The AWS request ID for this operation.
", "DeleteGroupMembershipResponse$RequestId": "The AWS request ID for this operation.
", "DeleteGroupResponse$RequestId": "The AWS request ID for this operation.
", "DeleteIAMPolicyAssignmentResponse$RequestId": "The AWS request ID for this operation.
", + "DeleteNamespaceResponse$RequestId": "The AWS request ID for this operation.
", "DeleteTemplateAliasResponse$RequestId": "The AWS request ID for this operation.
", "DeleteTemplateResponse$RequestId": "The AWS request ID for this operation.
", "DeleteThemeAliasResponse$RequestId": "The AWS request ID for this operation.
", @@ -2553,6 +2785,8 @@ "DeleteUserByPrincipalIdRequest$PrincipalId": "The principal ID of the user.
", "DeleteUserByPrincipalIdResponse$RequestId": "The AWS request ID for this operation.
", "DeleteUserResponse$RequestId": "The AWS request ID for this operation.
", + "DescribeAccountCustomizationResponse$RequestId": "The AWS request ID for this operation.
", + "DescribeAccountSettingsResponse$RequestId": "The AWS request ID for this operation.
", "DescribeDashboardPermissionsResponse$RequestId": "The AWS request ID for this operation.
", "DescribeDashboardResponse$RequestId": "The AWS request ID for this operation.
", "DescribeDataSetPermissionsResponse$RequestId": "The AWS request ID for this operation.
", @@ -2561,9 +2795,10 @@ "DescribeDataSourceResponse$RequestId": "The AWS request ID for this operation.
", "DescribeGroupResponse$RequestId": "The AWS request ID for this operation.
", "DescribeIAMPolicyAssignmentResponse$RequestId": "The AWS request ID for this operation.
", + "DescribeNamespaceResponse$RequestId": "The AWS request ID for this operation.
", "DescribeTemplateAliasResponse$RequestId": "The AWS request ID for this operation.
", "DescribeTemplatePermissionsResponse$RequestId": "The AWS request ID for this operation.
", - "DescribeTemplateResponse$RequestId": null, + "DescribeTemplateResponse$RequestId": "The AWS request ID for this operation.
", "DescribeThemeAliasResponse$RequestId": "The AWS request ID for this operation.
", "DescribeThemePermissionsResponse$RequestId": "The AWS request ID for this operation.
", "DescribeThemeResponse$RequestId": "The AWS request ID for this operation.
", @@ -2571,6 +2806,7 @@ "DomainNotWhitelistedException$Message": null, "DomainNotWhitelistedException$RequestId": "The AWS request ID for this request.
", "GetDashboardEmbedUrlResponse$RequestId": "The AWS request ID for this operation.
", + "GetSessionEmbedUrlResponse$RequestId": "The AWS request ID for this operation.
", "Group$PrincipalId": "The principal ID of the group.
", "IAMPolicyAssignment$AssignmentId": "Assignment ID.
", "IdentityMap$key": null, @@ -2608,6 +2844,9 @@ "ListIAMPolicyAssignmentsRequest$NextToken": "The token for the next set of results, or null if there are no more results.
", "ListIAMPolicyAssignmentsResponse$NextToken": "The token for the next set of results, or null if there are no more results.
", "ListIAMPolicyAssignmentsResponse$RequestId": "The AWS request ID for this operation.
", + "ListNamespacesRequest$NextToken": "A pagination token that can be used in a subsequent request.
", + "ListNamespacesResponse$NextToken": "A pagination token that can be used in a subsequent request.
", + "ListNamespacesResponse$RequestId": "The AWS request ID for this operation.
", "ListTagsForResourceResponse$RequestId": "The AWS request ID for this operation.
", "ListTemplateAliasesRequest$NextToken": "The token for the next set of results, or null if there are no more results.
", "ListTemplateAliasesResponse$RequestId": "The AWS request ID for this operation.
", @@ -2633,6 +2872,8 @@ "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 AWS request ID for this operation.
", + "NamespaceError$Message": "The message for the error.
", + "NamespaceInfoV2$CapacityRegion": "The namespace AWS Region.
", "PreconditionNotMetException$Message": null, "PreconditionNotMetException$RequestId": "The AWS request ID for this request.
", "ProjectedColumnList$member": null, @@ -2660,6 +2901,9 @@ "UnsupportedUserEditionException$Message": null, "UnsupportedUserEditionException$RequestId": "The AWS request ID for this request.
", "UntagResourceResponse$RequestId": "The AWS request ID for this operation.
", + "UpdateAccountCustomizationResponse$RequestId": "The AWS request ID for this operation.
", + "UpdateAccountSettingsRequest$NotificationEmail": "Email address used to send notifications regarding administration of QuickSight.
", + "UpdateAccountSettingsResponse$RequestId": "The AWS request ID for this operation.
", "UpdateDashboardPermissionsResponse$RequestId": "The AWS request ID for this operation.
", "UpdateDashboardPublishedVersionResponse$RequestId": "The AWS request ID for this operation.
", "UpdateDashboardResponse$RequestId": "The AWS request ID for this operation.
", @@ -2731,6 +2975,7 @@ "CreateDashboardRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
", "CreateDataSetRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.
", "CreateDataSourceRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
", + "CreateNamespaceRequest$Tags": "The tags that you want to associate with the namespace that you're creating.
", "CreateTemplateRequest$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
", "CreateThemeRequest$Tags": "A map of the key-value pairs for the resource tag or tags that you want to add to the resource.
", "ListTagsForResourceResponse$Tags": "Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.
", @@ -3055,6 +3300,26 @@ "refs": { } }, + "UpdateAccountCustomizationRequest": { + "base": null, + "refs": { + } + }, + "UpdateAccountCustomizationResponse": { + "base": null, + "refs": { + } + }, + "UpdateAccountSettingsRequest": { + "base": null, + "refs": { + } + }, + "UpdateAccountSettingsResponse": { + "base": null, + "refs": { + } + }, "UpdateDashboardPermissionsRequest": { "base": null, "refs": { @@ -3341,6 +3606,7 @@ "base": null, "refs": { "BorderStyle$Show": "The option to enable display of borders for visuals.
", + "DescribeAccountCustomizationRequest$Resolved": "The status of the creation of the customization. This is an asynchronous process. A status of CREATED
means that your customization is ready to use.
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.
", "GutterStyle$Show": "This Boolean value controls whether to display a gutter space between sheet tiles.
", diff --git a/models/apis/quicksight/2018-04-01/paginators-1.json b/models/apis/quicksight/2018-04-01/paginators-1.json index c6285c2b18c..8992eaa7ba5 100644 --- a/models/apis/quicksight/2018-04-01/paginators-1.json +++ b/models/apis/quicksight/2018-04-01/paginators-1.json @@ -25,6 +25,11 @@ "output_token": "NextToken", "limit_key": "MaxResults" }, + "ListNamespaces": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListTemplateAliases": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index ea5cdd95568..c38adcf899d 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2401,6 +2401,7 @@ }, "firehose" : { "endpoints" : { + "af-south-1" : { }, "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, @@ -2410,6 +2411,7 @@ "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, @@ -3945,6 +3947,7 @@ "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, diff --git a/service/medialive/api.go b/service/medialive/api.go index a2dffa5719b..073d9243da2 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -4,6 +4,8 @@ package medialive import ( "fmt" + "io" + "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" @@ -1639,6 +1641,96 @@ func (c *MediaLive) DescribeInputDeviceWithContext(ctx aws.Context, input *Descr return out, req.Send() } +const opDescribeInputDeviceThumbnail = "DescribeInputDeviceThumbnail" + +// DescribeInputDeviceThumbnailRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInputDeviceThumbnail 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 DescribeInputDeviceThumbnail for more information on using the DescribeInputDeviceThumbnail +// 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 DescribeInputDeviceThumbnailRequest method. +// req, resp := client.DescribeInputDeviceThumbnailRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail +func (c *MediaLive) DescribeInputDeviceThumbnailRequest(input *DescribeInputDeviceThumbnailInput) (req *request.Request, output *DescribeInputDeviceThumbnailOutput) { + op := &request.Operation{ + Name: opDescribeInputDeviceThumbnail, + HTTPMethod: "GET", + HTTPPath: "/prod/inputDevices/{inputDeviceId}/thumbnailData", + } + + if input == nil { + input = &DescribeInputDeviceThumbnailInput{} + } + + output = &DescribeInputDeviceThumbnailOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInputDeviceThumbnail API operation for AWS Elemental MediaLive. +// +// Get the latest thumbnail data for the input device. +// +// 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 Elemental MediaLive's +// API operation DescribeInputDeviceThumbnail for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail +func (c *MediaLive) DescribeInputDeviceThumbnail(input *DescribeInputDeviceThumbnailInput) (*DescribeInputDeviceThumbnailOutput, error) { + req, out := c.DescribeInputDeviceThumbnailRequest(input) + return out, req.Send() +} + +// DescribeInputDeviceThumbnailWithContext is the same as DescribeInputDeviceThumbnail with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInputDeviceThumbnail 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 *MediaLive) DescribeInputDeviceThumbnailWithContext(ctx aws.Context, input *DescribeInputDeviceThumbnailInput, opts ...request.Option) (*DescribeInputDeviceThumbnailOutput, error) { + req, out := c.DescribeInputDeviceThumbnailRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeInputSecurityGroup = "DescribeInputSecurityGroup" // DescribeInputSecurityGroupRequest generates a "aws/request.Request" representing the @@ -5246,9 +5338,10 @@ type AudioDescription struct { // Audio codec settings. CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` - // Indicates the language of the audio output track. Only used if languageControlMode - // is useConfigured, or there is no ISO 639 language code specified in the input. - LanguageCode *string `locationName:"languageCode" min:"3" type:"string"` + // RFC 5646 language code representing the language of the audio output track. + // Only used if languageControlMode is useConfigured, or there is no ISO 639 + // language code specified in the input. + LanguageCode *string `locationName:"languageCode" min:"1" type:"string"` // Choosing followInput will cause the ISO 639 language code of the output to // follow the ISO 639 language code of the input. The languageCode will be used @@ -5288,8 +5381,8 @@ func (s *AudioDescription) Validate() error { if s.AudioSelectorName == nil { invalidParams.Add(request.NewErrParamRequired("AudioSelectorName")) } - if s.LanguageCode != nil && len(*s.LanguageCode) < 3 { - invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 3)) + if s.LanguageCode != nil && len(*s.LanguageCode) < 1 { + invalidParams.Add(request.NewErrParamMinLen("LanguageCode", 1)) } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) @@ -9307,6 +9400,113 @@ func (s *DescribeInputDeviceOutput) SetType(v string) *DescribeInputDeviceOutput return s } +type DescribeInputDeviceThumbnailInput struct { + _ struct{} `type:"structure"` + + // Accept Header + // + // Accept is a required field + Accept *string `location:"header" locationName:"accept" type:"string" required:"true" enum:"AcceptHeader"` + + // InputDeviceId is a required field + InputDeviceId *string `location:"uri" locationName:"inputDeviceId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeInputDeviceThumbnailInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputDeviceThumbnailInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInputDeviceThumbnailInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInputDeviceThumbnailInput"} + if s.Accept == nil { + invalidParams.Add(request.NewErrParamRequired("Accept")) + } + if s.InputDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("InputDeviceId")) + } + if s.InputDeviceId != nil && len(*s.InputDeviceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputDeviceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccept sets the Accept field's value. +func (s *DescribeInputDeviceThumbnailInput) SetAccept(v string) *DescribeInputDeviceThumbnailInput { + s.Accept = &v + return s +} + +// SetInputDeviceId sets the InputDeviceId field's value. +func (s *DescribeInputDeviceThumbnailInput) SetInputDeviceId(v string) *DescribeInputDeviceThumbnailInput { + s.InputDeviceId = &v + return s +} + +type DescribeInputDeviceThumbnailOutput struct { + _ struct{} `type:"structure" payload:"Body"` + + Body io.ReadCloser `locationName:"body" type:"blob"` + + ContentLength *int64 `location:"header" locationName:"Content-Length" type:"long"` + + ContentType *string `location:"header" locationName:"Content-Type" type:"string" enum:"ContentType"` + + ETag *string `location:"header" locationName:"ETag" type:"string"` + + LastModified *time.Time `location:"header" locationName:"Last-Modified" type:"timestamp"` +} + +// String returns the string representation +func (s DescribeInputDeviceThumbnailOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeInputDeviceThumbnailOutput) GoString() string { + return s.String() +} + +// SetBody sets the Body field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetBody(v io.ReadCloser) *DescribeInputDeviceThumbnailOutput { + s.Body = v + return s +} + +// SetContentLength sets the ContentLength field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetContentLength(v int64) *DescribeInputDeviceThumbnailOutput { + s.ContentLength = &v + return s +} + +// SetContentType sets the ContentType field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetContentType(v string) *DescribeInputDeviceThumbnailOutput { + s.ContentType = &v + return s +} + +// SetETag sets the ETag field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetETag(v string) *DescribeInputDeviceThumbnailOutput { + s.ETag = &v + return s +} + +// SetLastModified sets the LastModified field's value. +func (s *DescribeInputDeviceThumbnailOutput) SetLastModified(v time.Time) *DescribeInputDeviceThumbnailOutput { + s.LastModified = &v + return s +} + type DescribeInputInput struct { _ struct{} `type:"structure"` @@ -11998,7 +12198,7 @@ type H264Settings struct { ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` // Pixel Aspect Ratio numerator. - ParNumerator *int64 `locationName:"parNumerator" type:"integer"` + ParNumerator *int64 `locationName:"parNumerator" min:"1" type:"integer"` // H.264 Profile. Profile *string `locationName:"profile" type:"string" enum:"H264Profile"` @@ -12101,6 +12301,9 @@ func (s *H264Settings) Validate() error { if s.ParDenominator != nil && *s.ParDenominator < 1 { invalidParams.Add(request.NewErrParamMinValue("ParDenominator", 1)) } + if s.ParNumerator != nil && *s.ParNumerator < 1 { + invalidParams.Add(request.NewErrParamMinValue("ParNumerator", 1)) + } if s.QvbrQualityLevel != nil && *s.QvbrQualityLevel < 1 { invalidParams.Add(request.NewErrParamMinValue("QvbrQualityLevel", 1)) } @@ -12518,7 +12721,10 @@ type H265Settings struct { // when it is constrained by themaximum bitrate. Recommended if you or your // viewers pay for bandwidth.CBR: Quality varies, depending on the video complexity. // Recommended only if you distributeyour assets to devices that cannot handle - // variable bitrates. + // variable bitrates.Multiplex: This rate control mode is only supported (and + // is required) when the video is beingdelivered to a MediaLive Multiplex in + // which case the rate control configuration is controlledby the properties + // within the Multiplex Program. RateControlMode *string `locationName:"rateControlMode" type:"string" enum:"H265RateControlMode"` // Sets the scan type of the output to progressive or top-field-first interlaced. @@ -14861,9 +15067,7 @@ type InputPrepareScheduleActionSettings struct { // The name of the input attachment that should be prepared by this action. // If no name is provided, the action will stop the most recent prepare (if // any) when activated. - // - // InputAttachmentNameReference is a required field - InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string" required:"true"` + InputAttachmentNameReference *string `locationName:"inputAttachmentNameReference" type:"string"` // Settings to let you create a clip of the file input, in order to set up the // input to ingest only a portion of the file. @@ -14889,9 +15093,6 @@ func (s InputPrepareScheduleActionSettings) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *InputPrepareScheduleActionSettings) Validate() error { invalidParams := request.ErrInvalidParams{Context: "InputPrepareScheduleActionSettings"} - if s.InputAttachmentNameReference == nil { - invalidParams.Add(request.NewErrParamRequired("InputAttachmentNameReference")) - } if s.InputClippingSettings != nil { if err := s.InputClippingSettings.Validate(); err != nil { invalidParams.AddNested("InputClippingSettings", err.(request.ErrInvalidParams)) @@ -23817,6 +24018,12 @@ const ( Ac3MetadataControlUseConfigured = "USE_CONFIGURED" ) +// Accept Header +const ( + // AcceptHeaderImageJpeg is a AcceptHeader enum value + AcceptHeaderImageJpeg = "image/jpeg" +) + // Afd Signaling const ( // AfdSignalingAuto is a AfdSignaling enum value @@ -24078,6 +24285,11 @@ const ( ChannelStateUpdateFailed = "UPDATE_FAILED" ) +const ( + // ContentTypeImageJpeg is a ContentType enum value + ContentTypeImageJpeg = "image/jpeg" +) + // The status of the action to synchronize the device configuration. If you // change the configuration of the input device (for example, the maximum bitrate), // MediaLive sends the new data to the device. The device might not update itself diff --git a/service/medialive/medialiveiface/interface.go b/service/medialive/medialiveiface/interface.go index 6c818db9d39..c770a4c42f9 100644 --- a/service/medialive/medialiveiface/interface.go +++ b/service/medialive/medialiveiface/interface.go @@ -132,6 +132,10 @@ type MediaLiveAPI interface { DescribeInputDeviceWithContext(aws.Context, *medialive.DescribeInputDeviceInput, ...request.Option) (*medialive.DescribeInputDeviceOutput, error) DescribeInputDeviceRequest(*medialive.DescribeInputDeviceInput) (*request.Request, *medialive.DescribeInputDeviceOutput) + DescribeInputDeviceThumbnail(*medialive.DescribeInputDeviceThumbnailInput) (*medialive.DescribeInputDeviceThumbnailOutput, error) + DescribeInputDeviceThumbnailWithContext(aws.Context, *medialive.DescribeInputDeviceThumbnailInput, ...request.Option) (*medialive.DescribeInputDeviceThumbnailOutput, error) + DescribeInputDeviceThumbnailRequest(*medialive.DescribeInputDeviceThumbnailInput) (*request.Request, *medialive.DescribeInputDeviceThumbnailOutput) + DescribeInputSecurityGroup(*medialive.DescribeInputSecurityGroupInput) (*medialive.DescribeInputSecurityGroupOutput, error) DescribeInputSecurityGroupWithContext(aws.Context, *medialive.DescribeInputSecurityGroupInput, ...request.Option) (*medialive.DescribeInputSecurityGroupOutput, error) DescribeInputSecurityGroupRequest(*medialive.DescribeInputSecurityGroupInput) (*request.Request, *medialive.DescribeInputSecurityGroupOutput) diff --git a/service/quicksight/api.go b/service/quicksight/api.go index a8d643131c5..27b560dc0c1 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -110,6 +110,108 @@ func (c *QuickSight) CancelIngestionWithContext(ctx aws.Context, input *CancelIn return out, req.Send() } +const opCreateAccountCustomization = "CreateAccountCustomization" + +// CreateAccountCustomizationRequest generates a "aws/request.Request" representing the +// client's request for the CreateAccountCustomization 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 CreateAccountCustomization for more information on using the CreateAccountCustomization +// 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 CreateAccountCustomizationRequest method. +// req, resp := client.CreateAccountCustomizationRequest(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/CreateAccountCustomization +func (c *QuickSight) CreateAccountCustomizationRequest(input *CreateAccountCustomizationInput) (req *request.Request, output *CreateAccountCustomizationOutput) { + op := &request.Operation{ + Name: opCreateAccountCustomization, + HTTPMethod: "POST", + HTTPPath: "/accounts/{AwsAccountId}/customizations", + } + + if input == nil { + input = &CreateAccountCustomizationInput{} + } + + output = &CreateAccountCustomizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateAccountCustomization API operation for Amazon QuickSight. +// +// Creates a customization for the Amazon QuickSight subscription associated +// with your AWS 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 QuickSight's +// API operation CreateAccountCustomization for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceExistsException +// The resource specified already exists. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization +func (c *QuickSight) CreateAccountCustomization(input *CreateAccountCustomizationInput) (*CreateAccountCustomizationOutput, error) { + req, out := c.CreateAccountCustomizationRequest(input) + return out, req.Send() +} + +// CreateAccountCustomizationWithContext is the same as CreateAccountCustomization with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAccountCustomization 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) CreateAccountCustomizationWithContext(ctx aws.Context, input *CreateAccountCustomizationInput, opts ...request.Option) (*CreateAccountCustomizationOutput, error) { + req, out := c.CreateAccountCustomizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateDashboard = "CreateDashboard" // CreateDashboardRequest generates a "aws/request.Request" representing the @@ -855,6 +957,125 @@ func (c *QuickSight) CreateIngestionWithContext(ctx aws.Context, input *CreateIn return out, req.Send() } +const opCreateNamespace = "CreateNamespace" + +// CreateNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the CreateNamespace 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 CreateNamespace for more information on using the CreateNamespace +// 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 CreateNamespaceRequest method. +// req, resp := client.CreateNamespaceRequest(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/CreateNamespace +func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput) { + op := &request.Operation{ + Name: opCreateNamespace, + HTTPMethod: "POST", + HTTPPath: "/accounts/{AwsAccountId}", + } + + if input == nil { + input = &CreateNamespaceInput{} + } + + output = &CreateNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateNamespace API operation for Amazon QuickSight. +// +// (Enterprise edition only) Creates a new namespace for you to use with Amazon +// QuickSight. +// +// A namespace allows you to isolate the QuickSight users and groups that are +// registered for that namespace. Users that access the namespace can share +// assets only with other users or groups in the same namespace. They can't +// see users and groups in other namespaces. You can create a namespace after +// your AWS account is subscribed to QuickSight. The namespace must be unique +// within the AWS account. By default, there is a limit of 100 namespaces per +// AWS account. To increase your limit, create a ticket with AWS Support. +// +// 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 CreateNamespace for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * LimitExceededException +// A limit is exceeded. +// +// * ResourceExistsException +// The resource specified already exists. +// +// * PreconditionNotMetException +// One or more preconditions aren't met. +// +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace +func (c *QuickSight) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error) { + req, out := c.CreateNamespaceRequest(input) + return out, req.Send() +} + +// CreateNamespaceWithContext is the same as CreateNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See CreateNamespace 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) CreateNamespaceWithContext(ctx aws.Context, input *CreateNamespaceInput, opts ...request.Option) (*CreateNamespaceOutput, error) { + req, out := c.CreateNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateTemplate = "CreateTemplate" // CreateTemplateRequest generates a "aws/request.Request" representing the @@ -1291,6 +1512,104 @@ func (c *QuickSight) CreateThemeAliasWithContext(ctx aws.Context, input *CreateT return out, req.Send() } +const opDeleteAccountCustomization = "DeleteAccountCustomization" + +// DeleteAccountCustomizationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAccountCustomization 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 DeleteAccountCustomization for more information on using the DeleteAccountCustomization +// 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 DeleteAccountCustomizationRequest method. +// req, resp := client.DeleteAccountCustomizationRequest(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/DeleteAccountCustomization +func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCustomizationInput) (req *request.Request, output *DeleteAccountCustomizationOutput) { + op := &request.Operation{ + Name: opDeleteAccountCustomization, + HTTPMethod: "DELETE", + HTTPPath: "/accounts/{AwsAccountId}/customizations", + } + + if input == nil { + input = &DeleteAccountCustomizationInput{} + } + + output = &DeleteAccountCustomizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteAccountCustomization API operation for Amazon QuickSight. +// +// Deletes customizations for the QuickSight subscription on your AWS 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 QuickSight's +// API operation DeleteAccountCustomization for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization +func (c *QuickSight) DeleteAccountCustomization(input *DeleteAccountCustomizationInput) (*DeleteAccountCustomizationOutput, error) { + req, out := c.DeleteAccountCustomizationRequest(input) + return out, req.Send() +} + +// DeleteAccountCustomizationWithContext is the same as DeleteAccountCustomization with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAccountCustomization 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) DeleteAccountCustomizationWithContext(ctx aws.Context, input *DeleteAccountCustomizationInput, opts ...request.Option) (*DeleteAccountCustomizationOutput, error) { + req, out := c.DeleteAccountCustomizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDashboard = "DeleteDashboard" // DeleteDashboardRequest generates a "aws/request.Request" representing the @@ -1884,44 +2203,148 @@ func (c *QuickSight) DeleteIAMPolicyAssignmentWithContext(ctx aws.Context, input return out, req.Send() } -const opDeleteTemplate = "DeleteTemplate" +const opDeleteNamespace = "DeleteNamespace" -// DeleteTemplateRequest generates a "aws/request.Request" representing the -// client's request for the DeleteTemplate operation. The "output" return +// DeleteNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the DeleteNamespace 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 DeleteTemplate for more information on using the DeleteTemplate +// See DeleteNamespace for more information on using the DeleteNamespace // 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 DeleteTemplateRequest method. -// req, resp := client.DeleteTemplateRequest(params) +// // Example sending a request using the DeleteNamespaceRequest method. +// req, resp := client.DeleteNamespaceRequest(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/DeleteTemplate -func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace +func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) { op := &request.Operation{ - Name: opDeleteTemplate, + Name: opDeleteNamespace, HTTPMethod: "DELETE", - HTTPPath: "/accounts/{AwsAccountId}/templates/{TemplateId}", + HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}", } if input == nil { - input = &DeleteTemplateInput{} + input = &DeleteNamespaceInput{} } - output = &DeleteTemplateOutput{} + output = &DeleteNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteNamespace API operation for Amazon QuickSight. +// +// Deletes a namespace and the users and groups that are associated with the +// namespace. This is an asynchronous process. Assets including dashboards, +// analyses, datasets and data sources are not deleted. To delete these assets, +// you use the APIs for the relevant asset. +// +// 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 DeleteNamespace for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * PreconditionNotMetException +// One or more preconditions aren't met. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace +func (c *QuickSight) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) { + req, out := c.DeleteNamespaceRequest(input) + return out, req.Send() +} + +// DeleteNamespaceWithContext is the same as DeleteNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteNamespace 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) DeleteNamespaceWithContext(ctx aws.Context, input *DeleteNamespaceInput, opts ...request.Option) (*DeleteNamespaceOutput, error) { + req, out := c.DeleteNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTemplate = "DeleteTemplate" + +// DeleteTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTemplate 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 DeleteTemplate for more information on using the DeleteTemplate +// 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 DeleteTemplateRequest method. +// req, resp := client.DeleteTemplateRequest(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/DeleteTemplate +func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) { + op := &request.Operation{ + Name: opDeleteTemplate, + HTTPMethod: "DELETE", + HTTPPath: "/accounts/{AwsAccountId}/templates/{TemplateId}", + } + + if input == nil { + input = &DeleteTemplateInput{} + } + + output = &DeleteTemplateOutput{} req = c.newRequest(op, input, output) return } @@ -2355,6 +2778,9 @@ func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Req // * ThrottlingException // Access is throttled. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -2453,6 +2879,9 @@ func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipal // * ThrottlingException // Access is throttled. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -2481,6 +2910,203 @@ func (c *QuickSight) DeleteUserByPrincipalIdWithContext(ctx aws.Context, input * return out, req.Send() } +const opDescribeAccountCustomization = "DescribeAccountCustomization" + +// DescribeAccountCustomizationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAccountCustomization 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 DescribeAccountCustomization for more information on using the DescribeAccountCustomization +// 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 DescribeAccountCustomizationRequest method. +// req, resp := client.DescribeAccountCustomizationRequest(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/DescribeAccountCustomization +func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountCustomizationInput) (req *request.Request, output *DescribeAccountCustomizationOutput) { + op := &request.Operation{ + Name: opDescribeAccountCustomization, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/customizations", + } + + if input == nil { + input = &DescribeAccountCustomizationInput{} + } + + output = &DescribeAccountCustomizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAccountCustomization API operation for Amazon QuickSight. +// +// Describes the customizations associated with your AWS 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 QuickSight's +// API operation DescribeAccountCustomization for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization +func (c *QuickSight) DescribeAccountCustomization(input *DescribeAccountCustomizationInput) (*DescribeAccountCustomizationOutput, error) { + req, out := c.DescribeAccountCustomizationRequest(input) + return out, req.Send() +} + +// DescribeAccountCustomizationWithContext is the same as DescribeAccountCustomization with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAccountCustomization 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) DescribeAccountCustomizationWithContext(ctx aws.Context, input *DescribeAccountCustomizationInput, opts ...request.Option) (*DescribeAccountCustomizationOutput, error) { + req, out := c.DescribeAccountCustomizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeAccountSettings = "DescribeAccountSettings" + +// DescribeAccountSettingsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeAccountSettings 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 DescribeAccountSettings for more information on using the DescribeAccountSettings +// 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 DescribeAccountSettingsRequest method. +// req, resp := client.DescribeAccountSettingsRequest(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/DescribeAccountSettings +func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettingsInput) (req *request.Request, output *DescribeAccountSettingsOutput) { + op := &request.Operation{ + Name: opDescribeAccountSettings, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/settings", + } + + if input == nil { + input = &DescribeAccountSettingsInput{} + } + + output = &DescribeAccountSettingsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeAccountSettings API operation for Amazon QuickSight. +// +// Describes the settings that were used when your QuickSight subscription was +// first created in this AWS 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 QuickSight's +// API operation DescribeAccountSettings for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings +func (c *QuickSight) DescribeAccountSettings(input *DescribeAccountSettingsInput) (*DescribeAccountSettingsOutput, error) { + req, out := c.DescribeAccountSettingsRequest(input) + return out, req.Send() +} + +// DescribeAccountSettingsWithContext is the same as DescribeAccountSettings with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeAccountSettings 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) DescribeAccountSettingsWithContext(ctx aws.Context, input *DescribeAccountSettingsInput, opts ...request.Option) (*DescribeAccountSettingsOutput, error) { + req, out := c.DescribeAccountSettingsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeDashboard = "DescribeDashboard" // DescribeDashboardRequest generates a "aws/request.Request" representing the @@ -3357,32 +3983,130 @@ func (c *QuickSight) DescribeIngestionWithContext(ctx aws.Context, input *Descri return out, req.Send() } -const opDescribeTemplate = "DescribeTemplate" +const opDescribeNamespace = "DescribeNamespace" -// DescribeTemplateRequest generates a "aws/request.Request" representing the -// client's request for the DescribeTemplate operation. The "output" return +// DescribeNamespaceRequest generates a "aws/request.Request" representing the +// client's request for the DescribeNamespace 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 DescribeTemplate for more information on using the DescribeTemplate +// See DescribeNamespace for more information on using the DescribeNamespace // 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 DescribeTemplateRequest method. -// req, resp := client.DescribeTemplateRequest(params) +// // Example sending a request using the DescribeNamespaceRequest method. +// req, resp := client.DescribeNamespaceRequest(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/DescribeTemplate +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace +func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) { + op := &request.Operation{ + Name: opDescribeNamespace, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/namespaces/{Namespace}", + } + + if input == nil { + input = &DescribeNamespaceInput{} + } + + output = &DescribeNamespaceOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeNamespace API operation for Amazon QuickSight. +// +// Describes the current namespace. +// +// 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 DescribeNamespace for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace +func (c *QuickSight) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) { + req, out := c.DescribeNamespaceRequest(input) + return out, req.Send() +} + +// DescribeNamespaceWithContext is the same as DescribeNamespace with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeNamespace 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) DescribeNamespaceWithContext(ctx aws.Context, input *DescribeNamespaceInput, opts ...request.Option) (*DescribeNamespaceOutput, error) { + req, out := c.DescribeNamespaceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeTemplate = "DescribeTemplate" + +// DescribeTemplateRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTemplate 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 DescribeTemplate for more information on using the DescribeTemplate +// 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 DescribeTemplateRequest method. +// req, resp := client.DescribeTemplateRequest(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/DescribeTemplate func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) { op := &request.Operation{ Name: opDescribeTemplate, @@ -4024,6 +4748,9 @@ func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request // * ThrottlingException // Access is throttled. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -4192,6 +4919,120 @@ func (c *QuickSight) GetDashboardEmbedUrlWithContext(ctx aws.Context, input *Get return out, req.Send() } +const opGetSessionEmbedUrl = "GetSessionEmbedUrl" + +// GetSessionEmbedUrlRequest generates a "aws/request.Request" representing the +// client's request for the GetSessionEmbedUrl 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 GetSessionEmbedUrl for more information on using the GetSessionEmbedUrl +// 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 GetSessionEmbedUrlRequest method. +// req, resp := client.GetSessionEmbedUrlRequest(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/GetSessionEmbedUrl +func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) (req *request.Request, output *GetSessionEmbedUrlOutput) { + op := &request.Operation{ + Name: opGetSessionEmbedUrl, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/session-embed-url", + } + + if input == nil { + input = &GetSessionEmbedUrlInput{} + } + + output = &GetSessionEmbedUrlOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetSessionEmbedUrl API operation for Amazon QuickSight. +// +// Generates a session URL and authorization code that you can embed in your +// web server code. +// +// 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 GetSessionEmbedUrl for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceExistsException +// The resource specified already exists. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * UserNotFoundException +// 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. +// +// * SessionLifetimeInMinutesInvalidException +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. +// +// * 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 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/GetSessionEmbedUrl +func (c *QuickSight) GetSessionEmbedUrl(input *GetSessionEmbedUrlInput) (*GetSessionEmbedUrlOutput, error) { + req, out := c.GetSessionEmbedUrlRequest(input) + return out, req.Send() +} + +// GetSessionEmbedUrlWithContext is the same as GetSessionEmbedUrl with the addition of +// the ability to pass a context and additional request options. +// +// See GetSessionEmbedUrl 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) GetSessionEmbedUrlWithContext(ctx aws.Context, input *GetSessionEmbedUrlInput, opts ...request.Option) (*GetSessionEmbedUrlOutput, error) { + req, out := c.GetSessionEmbedUrlRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListDashboardVersions = "ListDashboardVersions" // ListDashboardVersionsRequest generates a "aws/request.Request" representing the @@ -5374,58 +6215,64 @@ func (c *QuickSight) ListIngestionsPagesWithContext(ctx aws.Context, input *List return p.Err() } -const opListTagsForResource = "ListTagsForResource" +const opListNamespaces = "ListNamespaces" -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return +// ListNamespacesRequest generates a "aws/request.Request" representing the +// client's request for the ListNamespaces 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 ListNamespaces for more information on using the ListNamespaces // 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 ListNamespacesRequest method. +// req, resp := client.ListNamespacesRequest(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/ListTagsForResource -func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces +func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) { op := &request.Operation{ - Name: opListTagsForResource, + Name: opListNamespaces, HTTPMethod: "GET", - HTTPPath: "/resources/{ResourceArn}/tags", + HTTPPath: "/accounts/{AwsAccountId}/namespaces", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, } if input == nil { - input = &ListTagsForResourceInput{} + input = &ListNamespacesInput{} } - output = &ListTagsForResourceOutput{} + output = &ListNamespacesOutput{} req = c.newRequest(op, input, output) return } -// ListTagsForResource API operation for Amazon QuickSight. +// ListNamespaces API operation for Amazon QuickSight. // -// Lists the tags assigned to a resource. +// Lists the namespaces for the specified AWS 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 QuickSight's -// API operation ListTagsForResource for usage and error information. +// API operation ListNamespaces for usage and error information. // // Returned Error Types: // * AccessDeniedException @@ -5444,67 +6291,223 @@ func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) // * ThrottlingException // Access is throttled. // +// * InvalidNextTokenException +// The NextToken value isn't valid. +// +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource -func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces +func (c *QuickSight) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) { + req, out := c.ListNamespacesRequest(input) return out, req.Send() } -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// ListNamespacesWithContext is the same as ListNamespaces 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 ListNamespaces 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) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) +func (c *QuickSight) ListNamespacesWithContext(ctx aws.Context, input *ListNamespacesInput, opts ...request.Option) (*ListNamespacesOutput, error) { + req, out := c.ListNamespacesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListTemplateAliases = "ListTemplateAliases" - -// ListTemplateAliasesRequest generates a "aws/request.Request" representing the -// client's request for the ListTemplateAliases 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 ListTemplateAliases for more information on using the ListTemplateAliases -// API call, and error handling. +// ListNamespacesPages iterates over the pages of a ListNamespaces operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. // -// 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. +// See ListNamespaces method for more information on how to use this operation. // +// Note: This operation can generate multiple requests to a service. // -// // Example sending a request using the ListTemplateAliasesRequest method. -// req, resp := client.ListTemplateAliasesRequest(params) +// // Example iterating over at most 3 pages of a ListNamespaces operation. +// pageNum := 0 +// err := client.ListNamespacesPages(params, +// func(page *quicksight.ListNamespacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +func (c *QuickSight) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error { + return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListNamespacesPagesWithContext same as ListNamespacesPages except +// it takes a Context and allows setting request options on the pages. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases -func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) { - op := &request.Operation{ - Name: opListTemplateAliases, - HTTPMethod: "GET", - HTTPPath: "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", +// 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) ListNamespacesPagesWithContext(ctx aws.Context, input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListNamespacesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListNamespacesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListNamespacesOutput), !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/quicksight-2018-04-01/ListTagsForResource +func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/resources/{ResourceArn}/tags", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon QuickSight. +// +// Lists the tags assigned to a 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 QuickSight's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// * 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. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ThrottlingException +// Access is throttled. +// +// * InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource +func (c *QuickSight) 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 *QuickSight) 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 opListTemplateAliases = "ListTemplateAliases" + +// ListTemplateAliasesRequest generates a "aws/request.Request" representing the +// client's request for the ListTemplateAliases 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 ListTemplateAliases for more information on using the ListTemplateAliases +// 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 ListTemplateAliasesRequest method. +// req, resp := client.ListTemplateAliasesRequest(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/ListTemplateAliases +func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) { + op := &request.Operation{ + Name: opListTemplateAliases, + HTTPMethod: "GET", + HTTPPath: "/accounts/{AwsAccountId}/templates/{TemplateId}/aliases", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", }, } @@ -6311,6 +7314,9 @@ func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *req // * ThrottlingException // Access is throttled. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -6412,6 +7418,9 @@ func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Reque // * InvalidNextTokenException // The NextToken value isn't valid. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -6919,62 +7928,67 @@ func (c *QuickSight) UntagResourceWithContext(ctx aws.Context, input *UntagResou return out, req.Send() } -const opUpdateDashboard = "UpdateDashboard" +const opUpdateAccountCustomization = "UpdateAccountCustomization" -// UpdateDashboardRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDashboard operation. The "output" return +// UpdateAccountCustomizationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAccountCustomization 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 UpdateDashboard for more information on using the UpdateDashboard +// See UpdateAccountCustomization for more information on using the UpdateAccountCustomization // 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 UpdateDashboardRequest method. -// req, resp := client.UpdateDashboardRequest(params) +// // Example sending a request using the UpdateAccountCustomizationRequest method. +// req, resp := client.UpdateAccountCustomizationRequest(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/UpdateDashboard -func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization +func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCustomizationInput) (req *request.Request, output *UpdateAccountCustomizationOutput) { op := &request.Operation{ - Name: opUpdateDashboard, + Name: opUpdateAccountCustomization, HTTPMethod: "PUT", - HTTPPath: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + HTTPPath: "/accounts/{AwsAccountId}/customizations", } if input == nil { - input = &UpdateDashboardInput{} + input = &UpdateAccountCustomizationInput{} } - output = &UpdateDashboardOutput{} + output = &UpdateAccountCustomizationOutput{} req = c.newRequest(op, input, output) return } -// UpdateDashboard API operation for Amazon QuickSight. +// UpdateAccountCustomization API operation for Amazon QuickSight. // -// Updates a dashboard in an AWS account. +// Updates customizations associated with the QuickSight subscription on your +// AWS 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 QuickSight's -// API operation UpdateDashboard for usage and error information. +// API operation UpdateAccountCustomization for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. +// * 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. // // * InvalidParameterValueException // One or more parameters has a value that isn't valid. @@ -6982,99 +7996,97 @@ func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *r // * ResourceNotFoundException // One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. -// -// * LimitExceededException -// A limit is exceeded. -// -// * 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 QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// * ThrottlingException +// Access is throttled. // // * InternalFailureException // An internal failure occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard -func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) { - req, out := c.UpdateDashboardRequest(input) +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization +func (c *QuickSight) UpdateAccountCustomization(input *UpdateAccountCustomizationInput) (*UpdateAccountCustomizationOutput, error) { + req, out := c.UpdateAccountCustomizationRequest(input) return out, req.Send() } -// UpdateDashboardWithContext is the same as UpdateDashboard with the addition of +// UpdateAccountCustomizationWithContext is the same as UpdateAccountCustomization with the addition of // the ability to pass a context and additional request options. // -// See UpdateDashboard for details on how to use this API operation. +// See UpdateAccountCustomization 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) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) { - req, out := c.UpdateDashboardRequest(input) +func (c *QuickSight) UpdateAccountCustomizationWithContext(ctx aws.Context, input *UpdateAccountCustomizationInput, opts ...request.Option) (*UpdateAccountCustomizationOutput, error) { + req, out := c.UpdateAccountCustomizationRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDashboardPermissions = "UpdateDashboardPermissions" +const opUpdateAccountSettings = "UpdateAccountSettings" -// UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDashboardPermissions operation. The "output" return +// UpdateAccountSettingsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateAccountSettings 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 UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions +// See UpdateAccountSettings for more information on using the UpdateAccountSettings // 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 UpdateDashboardPermissionsRequest method. -// req, resp := client.UpdateDashboardPermissionsRequest(params) +// // Example sending a request using the UpdateAccountSettingsRequest method. +// req, resp := client.UpdateAccountSettingsRequest(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/UpdateDashboardPermissions -func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings +func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) { op := &request.Operation{ - Name: opUpdateDashboardPermissions, + Name: opUpdateAccountSettings, HTTPMethod: "PUT", - HTTPPath: "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", + HTTPPath: "/accounts/{AwsAccountId}/settings", } if input == nil { - input = &UpdateDashboardPermissionsInput{} + input = &UpdateAccountSettingsInput{} } - output = &UpdateDashboardPermissionsOutput{} + output = &UpdateAccountSettingsOutput{} req = c.newRequest(op, input, output) return } -// UpdateDashboardPermissions API operation for Amazon QuickSight. +// UpdateAccountSettings API operation for Amazon QuickSight. // -// Updates read and write permissions on a dashboard. +// Updates the settings for the Amazon QuickSight subscription in your AWS 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 QuickSight's -// API operation UpdateDashboardPermissions for usage and error information. +// API operation UpdateAccountSettings for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. +// * 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. // // * InvalidParameterValueException // One or more parameters has a value that isn't valid. @@ -7082,44 +8094,238 @@ func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPer // * ResourceNotFoundException // One or more resources can't be found. // -// * 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 QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. -// -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// * ThrottlingException +// Access is throttled. // // * InternalFailureException // An internal failure occurred. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions -func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) { - req, out := c.UpdateDashboardPermissionsRequest(input) +// * ResourceUnavailableException +// This resource is currently unavailable. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings +func (c *QuickSight) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) { + req, out := c.UpdateAccountSettingsRequest(input) return out, req.Send() } -// UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of +// UpdateAccountSettingsWithContext is the same as UpdateAccountSettings with the addition of // the ability to pass a context and additional request options. // -// See UpdateDashboardPermissions for details on how to use this API operation. +// See UpdateAccountSettings 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) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) { - req, out := c.UpdateDashboardPermissionsRequest(input) +func (c *QuickSight) UpdateAccountSettingsWithContext(ctx aws.Context, input *UpdateAccountSettingsInput, opts ...request.Option) (*UpdateAccountSettingsOutput, error) { + req, out := c.UpdateAccountSettingsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion" +const opUpdateDashboard = "UpdateDashboard" -// UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateDashboardPublishedVersion operation. The "output" return +// UpdateDashboardRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDashboard 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 UpdateDashboard for more information on using the UpdateDashboard +// 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 UpdateDashboardRequest method. +// req, resp := client.UpdateDashboardRequest(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/UpdateDashboard +func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) { + op := &request.Operation{ + Name: opUpdateDashboard, + HTTPMethod: "PUT", + HTTPPath: "/accounts/{AwsAccountId}/dashboards/{DashboardId}", + } + + if input == nil { + input = &UpdateDashboardInput{} + } + + output = &UpdateDashboardOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDashboard API operation for Amazon QuickSight. +// +// Updates a dashboard in an AWS 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 QuickSight's +// API operation UpdateDashboard for usage and error information. +// +// Returned Error Types: +// * ThrottlingException +// Access is throttled. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * LimitExceededException +// A limit is exceeded. +// +// * 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 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/UpdateDashboard +func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) { + req, out := c.UpdateDashboardRequest(input) + return out, req.Send() +} + +// UpdateDashboardWithContext is the same as UpdateDashboard with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDashboard 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) UpdateDashboardWithContext(ctx aws.Context, input *UpdateDashboardInput, opts ...request.Option) (*UpdateDashboardOutput, error) { + req, out := c.UpdateDashboardRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDashboardPermissions = "UpdateDashboardPermissions" + +// UpdateDashboardPermissionsRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDashboardPermissions 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 UpdateDashboardPermissions for more information on using the UpdateDashboardPermissions +// 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 UpdateDashboardPermissionsRequest method. +// req, resp := client.UpdateDashboardPermissionsRequest(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/UpdateDashboardPermissions +func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) { + op := &request.Operation{ + Name: opUpdateDashboardPermissions, + HTTPMethod: "PUT", + HTTPPath: "/accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", + } + + if input == nil { + input = &UpdateDashboardPermissionsInput{} + } + + output = &UpdateDashboardPermissionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateDashboardPermissions API operation for Amazon QuickSight. +// +// Updates read and write permissions on a dashboard. +// +// 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 UpdateDashboardPermissions for usage and error information. +// +// Returned Error Types: +// * ThrottlingException +// Access is throttled. +// +// * InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// * ResourceNotFoundException +// One or more resources can't be found. +// +// * 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 QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// * ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// * InternalFailureException +// An internal failure occurred. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions +func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) { + req, out := c.UpdateDashboardPermissionsRequest(input) + return out, req.Send() +} + +// UpdateDashboardPermissionsWithContext is the same as UpdateDashboardPermissions with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateDashboardPermissions 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) UpdateDashboardPermissionsWithContext(ctx aws.Context, input *UpdateDashboardPermissionsInput, opts ...request.Option) (*UpdateDashboardPermissionsOutput, error) { + req, out := c.UpdateDashboardPermissionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion" + +// UpdateDashboardPublishedVersionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateDashboardPublishedVersion operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // @@ -8510,6 +9716,9 @@ func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Req // * ThrottlingException // Access is throttled. // +// * PreconditionNotMetException +// One or more preconditions aren't met. +// // * InternalFailureException // An internal failure occurred. // @@ -8601,6 +9810,81 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// The customizations associated with your AWS account for QuickSight. +type AccountCustomization struct { + _ struct{} `type:"structure"` + + // The default theme for this QuickSight subscription. + DefaultTheme *string `type:"string"` +} + +// String returns the string representation +func (s AccountCustomization) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountCustomization) GoString() string { + return s.String() +} + +// SetDefaultTheme sets the DefaultTheme field's value. +func (s *AccountCustomization) SetDefaultTheme(v string) *AccountCustomization { + s.DefaultTheme = &v + return s +} + +// The QuickSight settings associated with your AWS account. +type AccountSettings struct { + _ struct{} `type:"structure"` + + // The name associated with the QuickSight subscription in your AWS account. + AccountName *string `type:"string"` + + // The default QuickSight namespace for your AWS account. + DefaultNamespace *string `type:"string"` + + // The edition of QuickSight that you're currently subscribed to. + Edition *string `type:"string" enum:"Edition"` + + // The main notification email for your QuickSight subscription. + NotificationEmail *string `type:"string"` +} + +// String returns the string representation +func (s AccountSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AccountSettings) GoString() string { + return s.String() +} + +// SetAccountName sets the AccountName field's value. +func (s *AccountSettings) SetAccountName(v string) *AccountSettings { + s.AccountName = &v + return s +} + +// SetDefaultNamespace sets the DefaultNamespace field's value. +func (s *AccountSettings) SetDefaultNamespace(v string) *AccountSettings { + s.DefaultNamespace = &v + return s +} + +// SetEdition sets the Edition field's value. +func (s *AccountSettings) SetEdition(v string) *AccountSettings { + s.Edition = &v + return s +} + +// SetNotificationEmail sets the NotificationEmail field's value. +func (s *AccountSettings) SetNotificationEmail(v string) *AccountSettings { + s.NotificationEmail = &v + return s +} + // The active AWS Identity and Access Management (IAM) policy assignment. type ActiveIAMPolicyAssignment struct { _ struct{} `type:"structure"` @@ -9508,29 +10792,156 @@ func (s *ConflictException) RequestID() string { return s.RespMetadata.RequestID } -// A transform operation that creates calculated columns. Columns created in -// one such operation form a lexical closure. -type CreateColumnsOperation struct { +type CreateAccountCustomizationInput struct { _ struct{} `type:"structure"` - // Calculated columns to create. + // The customizations you're adding to the QuickSight subscription for the AWS + // account. For example, you could add a default theme by setting AccountCustomization + // to the midnight theme (DefaultTheme="arn:aws:quicksight::aws:theme/MIDNIGHT") + // or to a custom theme (DefaultTheme="arn:aws:quicksight:us-west-2:111122223333:theme/bdb844d0-0fe9-4d9d-b520-0fe602d93639"). // - // Columns is a required field - Columns []*CalculatedColumn `min:"1" type:"list" required:"true"` + // AccountCustomization is a required field + AccountCustomization *AccountCustomization `type:"structure" required:"true"` + + // The ID for the AWS account that you want to customize QuickSight for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace associated with the customization that you're creating. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` } // String returns the string representation -func (s CreateColumnsOperation) String() string { +func (s CreateAccountCustomizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateColumnsOperation) 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 *CreateColumnsOperation) Validate() error { +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 invalidParams.Len() > 0 { + return invalidParams + } + 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 +} + +type CreateAccountCustomizationOutput struct { + _ struct{} `type:"structure"` + + // The customizations you're adding to the QuickSight subscription for the AWS + // account. + AccountCustomization *AccountCustomization `type:"structure"` + + // The ID for the AWS account that you want to customize QuickSight for. + AwsAccountId *string `min:"12" type:"string"` + + // The namespace associated with the customization you're creating. + Namespace *string `type:"string"` + + // The AWS 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 +func (s CreateAccountCustomizationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *CreateAccountCustomizationOutput) SetAwsAccountId(v string) *CreateAccountCustomizationOutput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *CreateAccountCustomizationOutput) SetNamespace(v string) *CreateAccountCustomizationOutput { + s.Namespace = &v + return s +} + +// SetRequestId sets the RequestId field's value. +func (s *CreateAccountCustomizationOutput) SetRequestId(v string) *CreateAccountCustomizationOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *CreateAccountCustomizationOutput) SetStatus(v int64) *CreateAccountCustomizationOutput { + 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 +func (s CreateColumnsOperation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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")) @@ -10984,6 +12395,181 @@ func (s *CreateIngestionOutput) SetStatus(v int64) *CreateIngestionOutput { return s } +type CreateNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS account that you want to create the 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 +func (s CreateNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 QuickSight namespace you created. + Arn *string `type:"string"` + + // The AWS 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 actions. + 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 AWS 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 +func (s CreateNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` @@ -13450,52 +15036,38 @@ func (s *DecimalParameter) SetValues(v []*float64) *DecimalParameter { return s } -type DeleteDashboardInput struct { +type DeleteAccountCustomizationInput struct { _ struct{} `type:"structure"` - // The ID of the AWS account that contains the dashboard that you're deleting. + // The ID for the AWS account that you want to delete QuickSight customizations + // from. // // 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"` + // The namespace associated with the customization that you're deleting. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` } // String returns the string representation -func (s DeleteDashboardInput) String() string { +func (s DeleteAccountCustomizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteDashboardInput) GoString() string { +func (s DeleteAccountCustomizationInput) 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"} +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 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 @@ -13504,22 +15076,119 @@ func (s *DeleteDashboardInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *DeleteDashboardInput) SetAwsAccountId(v string) *DeleteDashboardInput { +func (s *DeleteAccountCustomizationInput) SetAwsAccountId(v string) *DeleteAccountCustomizationInput { s.AwsAccountId = &v return s } -// SetDashboardId sets the DashboardId field's value. -func (s *DeleteDashboardInput) SetDashboardId(v string) *DeleteDashboardInput { - s.DashboardId = &v +// SetNamespace sets the Namespace field's value. +func (s *DeleteAccountCustomizationInput) SetNamespace(v string) *DeleteAccountCustomizationInput { + s.Namespace = &v return s } -// SetVersionNumber sets the VersionNumber field's value. -func (s *DeleteDashboardInput) SetVersionNumber(v int64) *DeleteDashboardInput { - s.VersionNumber = &v - return s -} +type DeleteAccountCustomizationOutput struct { + _ struct{} `type:"structure"` + + // The AWS 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 +func (s DeleteAccountCustomizationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 DeleteDashboardInput struct { + _ struct{} `type:"structure"` + + // The ID of the AWS 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 +func (s DeleteDashboardInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` @@ -14140,6 +15809,97 @@ func (s *DeleteIAMPolicyAssignmentOutput) SetStatus(v int64) *DeleteIAMPolicyAss return s } +type DeleteNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS account that you want to delete the 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 +func (s DeleteNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 AWS 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 +func (s DeleteNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` @@ -14850,23 +16610,232 @@ type DeleteUserOutput struct { } // String returns the string representation -func (s DeleteUserOutput) String() string { +func (s DeleteUserOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` + + // The ID for the AWS account that you want to describe QuickSight customizations + // for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace associated with the customization that you're describing. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` + + // The status of the creation of the customization. This is an asynchronous + // process. A status of CREATED means that your customization is ready to use. + Resolved *bool `location:"querystring" locationName:"resolved" type:"boolean"` +} + +// String returns the string representation +func (s DescribeAccountCustomizationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 customizations associated with QuickSight. + AccountCustomization *AccountCustomization `type:"structure"` + + // The ID for the AWS account that you want to describe QuickSight customizations + // for. + AwsAccountId *string `min:"12" type:"string"` + + // The namespace associated with the customization that you're describing. + Namespace *string `type:"string"` + + // The AWS 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 +func (s DescribeAccountCustomizationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 +} + +// 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"` + + // The ID for the AWS account that contains the QuickSight namespaces 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 +func (s DescribeAccountSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 settings associated with the QuickSight subscription associated with + // this AWS account. This information includes the edition of Amazon QuickSight + // that you subscribed to (Standard or Enterprise) and the notification email + // for the QuickSight subscription. The QuickSight console, the QuickSight subscription + // is sometimes referred to as a QuickSight "account" even though it is technically + // not an account, but a subscription in your AWS account. + AccountSettings *AccountSettings `type:"structure"` + + // The AWS 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 +func (s DescribeAccountSettingsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteUserOutput) GoString() string { +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 *DeleteUserOutput) SetRequestId(v string) *DeleteUserOutput { +func (s *DescribeAccountSettingsOutput) SetRequestId(v string) *DescribeAccountSettingsOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *DeleteUserOutput) SetStatus(v int64) *DeleteUserOutput { +func (s *DescribeAccountSettingsOutput) SetStatus(v int64) *DescribeAccountSettingsOutput { s.Status = &v return s } @@ -15900,6 +17869,110 @@ func (s *DescribeIngestionOutput) SetStatus(v int64) *DescribeIngestionOutput { return s } +type DescribeNamespaceInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS account that contains the 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 +func (s DescribeNamespaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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, AWS Region, creation status, and identity + // store. DescribeNamespace also works for namespaces that are in the process + // of being created. For incomplete namespaces, this API lists the namespace + // error types and messages associated with the creation process. + Namespace *NamespaceInfoV2 `type:"structure"` + + // The AWS 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 +func (s DescribeNamespaceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` @@ -16108,6 +18181,7 @@ func (s *DescribeTemplateInput) SetVersionNumber(v int64) *DescribeTemplateInput type DescribeTemplateOutput struct { _ struct{} `type:"structure"` + // The AWS request ID for this operation. RequestId *string `type:"string"` // The HTTP status of the request. @@ -16972,36 +19046,189 @@ func (s *GeoSpatialColumnGroup) SetName(v string) *GeoSpatialColumnGroup { return s } -type GetDashboardEmbedUrlInput struct { +type GetDashboardEmbedUrlInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS 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 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:"IdentityType"` + + // 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"` + + // 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. + UserArn *string `location:"querystring" locationName:"user-arn" type:"string"` +} + +// String returns the string representation +func (s GetDashboardEmbedUrlInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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.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 +} + +// 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 +} + +// 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 +} + +// 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 +} + +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 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 *string `type:"string" sensitive:"true"` + + // The AWS 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 +func (s GetDashboardEmbedUrlOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` - // The ID for the AWS account that contains the dashboard that you're embedding. + // The ID for the AWS account that contains the QuickSight session 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 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:"IdentityType"` - - // 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"` + // The entry point for the embedded session. + 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"` - // 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: @@ -17016,32 +19243,26 @@ type GetDashboardEmbedUrlInput struct { } // String returns the string representation -func (s GetDashboardEmbedUrlInput) String() string { +func (s GetSessionEmbedUrlInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDashboardEmbedUrlInput) GoString() string { +func (s GetSessionEmbedUrlInput) 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"} +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.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.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)) @@ -17054,54 +19275,36 @@ func (s *GetDashboardEmbedUrlInput) Validate() error { } // SetAwsAccountId sets the AwsAccountId field's value. -func (s *GetDashboardEmbedUrlInput) SetAwsAccountId(v string) *GetDashboardEmbedUrlInput { +func (s *GetSessionEmbedUrlInput) SetAwsAccountId(v string) *GetSessionEmbedUrlInput { 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 -} - -// SetResetDisabled sets the ResetDisabled field's value. -func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput { - s.ResetDisabled = &v +// 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 *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput { +func (s *GetSessionEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetSessionEmbedUrlInput { s.SessionLifetimeInMinutes = &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 { +func (s *GetSessionEmbedUrlInput) SetUserArn(v string) *GetSessionEmbedUrlInput { s.UserArn = &v return s } -type GetDashboardEmbedUrlOutput struct { +type GetSessionEmbedUrlOutput 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 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. + // A single-use URL that you can put into your server-side web page to embed + // your QuickSight session. This URL is valid for 5 minutes. The API 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 *string `type:"string" sensitive:"true"` // The AWS request ID for this operation. @@ -17112,29 +19315,29 @@ type GetDashboardEmbedUrlOutput struct { } // String returns the string representation -func (s GetDashboardEmbedUrlOutput) String() string { +func (s GetSessionEmbedUrlOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s GetDashboardEmbedUrlOutput) GoString() string { +func (s GetSessionEmbedUrlOutput) GoString() string { return s.String() } // SetEmbedUrl sets the EmbedUrl field's value. -func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput { +func (s *GetSessionEmbedUrlOutput) SetEmbedUrl(v string) *GetSessionEmbedUrlOutput { s.EmbedUrl = &v return s } // SetRequestId sets the RequestId field's value. -func (s *GetDashboardEmbedUrlOutput) SetRequestId(v string) *GetDashboardEmbedUrlOutput { +func (s *GetSessionEmbedUrlOutput) SetRequestId(v string) *GetSessionEmbedUrlOutput { s.RequestId = &v return s } // SetStatus sets the Status field's value. -func (s *GetDashboardEmbedUrlOutput) SetStatus(v int64) *GetDashboardEmbedUrlOutput { +func (s *GetSessionEmbedUrlOutput) SetStatus(v int64) *GetSessionEmbedUrlOutput { s.Status = &v return s } @@ -19170,6 +21373,121 @@ func (s *ListIngestionsOutput) SetStatus(v int64) *ListIngestionsOutput { return s } +type ListNamespacesInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS account that contains the 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 pagination token that can be used in a subsequent request. + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` +} + +// String returns the string representation +func (s ListNamespacesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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 AWS account. The response includes + // the namespace ARN, name, AWS Region, notification email address, creation + // status, and identity store. + Namespaces []*NamespaceInfoV2 `type:"list"` + + // A pagination token that can be used in a subsequent request. + NextToken *string `type:"string"` + + // The AWS 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 +func (s ListNamespacesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +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"` @@ -20609,54 +22927,156 @@ func (s MySqlParameters) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s MySqlParameters) GoString() string { - return s.String() +// GoString returns the string representation +func (s MySqlParameters) 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)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + 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 + return s +} + +// Errors that occur during namespace creation. +type NamespaceError struct { + _ struct{} `type:"structure"` + + // The message for the error. + Message *string `type:"string"` + + // The error type. + Type *string `type:"string" enum:"NamespaceErrorType"` +} + +// String returns the string representation +func (s NamespaceError) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NamespaceError) GoString() string { + return s.String() +} + +// SetMessage sets the Message field's value. +func (s *NamespaceError) SetMessage(v string) *NamespaceError { + s.Message = &v + return s +} + +// SetType sets the Type field's value. +func (s *NamespaceError) SetType(v string) *NamespaceError { + s.Type = &v + return s +} + +// The error type. +type NamespaceInfoV2 struct { + _ struct{} `type:"structure"` + + // The namespace ARN. + Arn *string `type:"string"` + + // The namespace AWS Region. + CapacityRegion *string `type:"string"` + + // The creation status of a namespace that is not yet completely created. + CreationStatus *string `type:"string" enum:"NamespaceStatus"` + + // 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 occured when the namespace was created. + NamespaceError *NamespaceError `type:"structure"` +} + +// String returns the string representation +func (s NamespaceInfoV2) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NamespaceInfoV2) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *NamespaceInfoV2) SetArn(v string) *NamespaceInfoV2 { + s.Arn = &v + return s +} + +// SetCapacityRegion sets the CapacityRegion field's value. +func (s *NamespaceInfoV2) SetCapacityRegion(v string) *NamespaceInfoV2 { + s.CapacityRegion = &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 +// SetCreationStatus sets the CreationStatus field's value. +func (s *NamespaceInfoV2) SetCreationStatus(v string) *NamespaceInfoV2 { + s.CreationStatus = &v + return s } -// SetDatabase sets the Database field's value. -func (s *MySqlParameters) SetDatabase(v string) *MySqlParameters { - s.Database = &v +// SetIdentityStore sets the IdentityStore field's value. +func (s *NamespaceInfoV2) SetIdentityStore(v string) *NamespaceInfoV2 { + s.IdentityStore = &v return s } -// SetHost sets the Host field's value. -func (s *MySqlParameters) SetHost(v string) *MySqlParameters { - s.Host = &v +// SetName sets the Name field's value. +func (s *NamespaceInfoV2) SetName(v string) *NamespaceInfoV2 { + s.Name = &v return s } -// SetPort sets the Port field's value. -func (s *MySqlParameters) SetPort(v int64) *MySqlParameters { - s.Port = &v +// SetNamespaceError sets the NamespaceError field's value. +func (s *NamespaceInfoV2) SetNamespaceError(v *NamespaceError) *NamespaceInfoV2 { + s.NamespaceError = v return s } @@ -21297,6 +23717,30 @@ type RegisterUserInput struct { // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // (Enterprise edition only) The name of the custom permissions profile that + // you want to assign to this user. Currently, custom permissions profile names + // are assigned to permissions profiles in the QuickSight console. You use this + // API to assign the named set of permissions to a QuickSight user. + // + // Customizing permissions in the QuickSight UI allows you to control a user's + // access to the following operations: + // + // * + // + // * + // + // * + // + // * + // + // QuickSight custom permissions are applied through IAM policies. Therefore, + // they override the permissions typically granted by assigning QuickSight users + // to one of the default security cohorts (admin, author, reader) in QuickSight. + // + // This feature is available only to QuickSight Enterprise edition subscriptions + // that use SAML 2.0-Based Federation for Single Sign-On (SSO). + CustomPermissionsName *string `min:"1" type:"string"` + // The email address of the user that you want to register. // // Email is a required field @@ -21372,6 +23816,9 @@ func (s *RegisterUserInput) Validate() error { 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")) } @@ -21406,6 +23853,12 @@ func (s *RegisterUserInput) SetAwsAccountId(v string) *RegisterUserInput { 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 @@ -21944,6 +24397,9 @@ type RowLevelPermissionDataSet struct { // Arn is a required field Arn *string `type:"string" required:"true"` + // The namespace associated with the row-level permissions dataset. + Namespace *string `type:"string"` + // Permission policy. // // PermissionPolicy is a required field @@ -21982,6 +24438,12 @@ func (s *RowLevelPermissionDataSet) SetArn(v string) *RowLevelPermissionDataSet return s } +// SetNamespace sets the Namespace field's value. +func (s *RowLevelPermissionDataSet) SetNamespace(v string) *RowLevelPermissionDataSet { + s.Namespace = &v + return s +} + // SetPermissionPolicy sets the PermissionPolicy field's value. func (s *RowLevelPermissionDataSet) SetPermissionPolicy(v string) *RowLevelPermissionDataSet { s.PermissionPolicy = &v @@ -24544,6 +27006,230 @@ func (s *UntagResourceOutput) SetStatus(v int64) *UntagResourceOutput { return s } +type UpdateAccountCustomizationInput struct { + _ struct{} `type:"structure"` + + // The customizations you want to update in QuickSight. + // + // AccountCustomization is a required field + AccountCustomization *AccountCustomization `type:"structure" required:"true"` + + // The ID for the AWS account that you want to update QuickSight customizations + // for. + // + // AwsAccountId is a required field + AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + + // The namespace associated with the customization that you're updating. + Namespace *string `location:"querystring" locationName:"namespace" type:"string"` +} + +// String returns the string representation +func (s UpdateAccountCustomizationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountCustomizationInput) 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")) + } + 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 +} + +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *UpdateAccountCustomizationInput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationInput { + s.AccountCustomization = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountCustomizationInput) SetAwsAccountId(v string) *UpdateAccountCustomizationInput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *UpdateAccountCustomizationInput) SetNamespace(v string) *UpdateAccountCustomizationInput { + s.Namespace = &v + return s +} + +type UpdateAccountCustomizationOutput struct { + _ struct{} `type:"structure"` + + // The customizations associated with your QuickSight subscription. + AccountCustomization *AccountCustomization `type:"structure"` + + // The ID for the AWS account that you want to update QuickSight customizations + // for. + AwsAccountId *string `min:"12" type:"string"` + + // The namespace associated with the customization that you're updating. + Namespace *string `type:"string"` + + // The AWS 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 +func (s UpdateAccountCustomizationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountCustomizationOutput) GoString() string { + return s.String() +} + +// SetAccountCustomization sets the AccountCustomization field's value. +func (s *UpdateAccountCustomizationOutput) SetAccountCustomization(v *AccountCustomization) *UpdateAccountCustomizationOutput { + s.AccountCustomization = v + return s +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountCustomizationOutput) SetAwsAccountId(v string) *UpdateAccountCustomizationOutput { + s.AwsAccountId = &v + return s +} + +// SetNamespace sets the Namespace field's value. +func (s *UpdateAccountCustomizationOutput) SetNamespace(v string) *UpdateAccountCustomizationOutput { + s.Namespace = &v + return s +} + +// 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 *UpdateAccountCustomizationOutput) SetStatus(v int64) *UpdateAccountCustomizationOutput { + s.Status = &v + return s +} + +type UpdateAccountSettingsInput struct { + _ struct{} `type:"structure"` + + // The ID for the AWS account that contains the 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 default namespace for this AWS Account. Currently, the default is default. + // IAM users who register for the first time with QuickSight provide an email + // that becomes associated with the default namespace. + // + // DefaultNamespace is a required field + DefaultNamespace *string `type:"string" required:"true"` + + // Email address used to send notifications regarding administration of QuickSight. + NotificationEmail *string `type:"string"` +} + +// String returns the string representation +func (s UpdateAccountSettingsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountSettingsInput) 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"} + 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 +} + +// SetAwsAccountId sets the AwsAccountId field's value. +func (s *UpdateAccountSettingsInput) SetAwsAccountId(v string) *UpdateAccountSettingsInput { + s.AwsAccountId = &v + return s +} + +// SetDefaultNamespace sets the DefaultNamespace field's value. +func (s *UpdateAccountSettingsInput) SetDefaultNamespace(v string) *UpdateAccountSettingsInput { + s.DefaultNamespace = &v + return s +} + +// SetNotificationEmail sets the NotificationEmail field's value. +func (s *UpdateAccountSettingsInput) SetNotificationEmail(v string) *UpdateAccountSettingsInput { + s.NotificationEmail = &v + return s +} + +type UpdateAccountSettingsOutput struct { + _ struct{} `type:"structure"` + + // The AWS 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 +func (s UpdateAccountSettingsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateAccountSettingsOutput) GoString() string { + return s.String() +} + +// SetRequestId sets the RequestId field's value. +func (s *UpdateAccountSettingsOutput) SetRequestId(v string) *UpdateAccountSettingsOutput { + s.RequestId = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *UpdateAccountSettingsOutput) SetStatus(v int64) *UpdateAccountSettingsOutput { + s.Status = &v + return s +} + type UpdateDashboardInput struct { _ struct{} `type:"structure"` @@ -27082,6 +29768,12 @@ type UpdateUserInput struct { // AwsAccountId is a required field AwsAccountId *string `location:"uri" locationName:"AwsAccountId" min:"12" type:"string" required:"true"` + // The name of the custom permissions profile that you want to assign to this + // user. Currently, custom permissions profile names are assigned to permissions + // profiles in the QuickSight console. You use this API to assign the named + // set of permissions to a QuickSight user. + CustomPermissionsName *string `min:"1" type:"string"` + // The email address of the user that you want to update. // // Email is a required field @@ -27105,6 +29797,12 @@ type UpdateUserInput struct { // 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 @@ -27130,6 +29828,9 @@ func (s *UpdateUserInput) Validate() error { 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")) } @@ -27161,6 +29862,12 @@ func (s *UpdateUserInput) SetAwsAccountId(v string) *UpdateUserInput { return s } +// SetCustomPermissionsName sets the CustomPermissionsName field's value. +func (s *UpdateUserInput) SetCustomPermissionsName(v string) *UpdateUserInput { + s.CustomPermissionsName = &v + return s +} + // SetEmail sets the Email field's value. func (s *UpdateUserInput) SetEmail(v string) *UpdateUserInput { s.Email = &v @@ -27179,6 +29886,12 @@ func (s *UpdateUserInput) SetRole(v string) *UpdateUserInput { return s } +// SetUnapplyCustomPermissions sets the UnapplyCustomPermissions field's value. +func (s *UpdateUserInput) SetUnapplyCustomPermissions(v bool) *UpdateUserInput { + s.UnapplyCustomPermissions = &v + return s +} + // SetUserName sets the UserName field's value. func (s *UpdateUserInput) SetUserName(v string) *UpdateUserInput { s.UserName = &v @@ -27315,6 +30028,9 @@ type User struct { // The Amazon Resource Name (ARN) for the user. Arn *string `type:"string"` + // The custom permissions profile associated with this user. + CustomPermissionsName *string `min:"1" type:"string"` + // The user's email address. Email *string `type:"string"` @@ -27366,6 +30082,12 @@ func (s *User) SetArn(v string) *User { return s } +// SetCustomPermissionsName sets the CustomPermissionsName field's value. +func (s *User) SetCustomPermissionsName(v string) *User { + s.CustomPermissionsName = &v + return s +} + // SetEmail sets the Email field's value. func (s *User) SetEmail(v string) *User { s.Email = &v @@ -27673,6 +30395,14 @@ const ( DataSourceTypeTwitter = "TWITTER" ) +const ( + // EditionStandard is a Edition enum value + EditionStandard = "STANDARD" + + // EditionEnterprise is a Edition enum value + EditionEnterprise = "ENTERPRISE" +) + const ( // ExceptionResourceTypeUser is a ExceptionResourceType enum value ExceptionResourceTypeUser = "USER" @@ -27755,6 +30485,11 @@ const ( GeoSpatialDataRoleLatitude = "LATITUDE" ) +const ( + // IdentityStoreQuicksight is a IdentityStore enum value + IdentityStoreQuicksight = "QUICKSIGHT" +) + const ( // IdentityTypeIam is a IdentityType enum value IdentityTypeIam = "IAM" @@ -27964,6 +30699,31 @@ const ( JoinTypeRight = "RIGHT" ) +const ( + // NamespaceErrorTypePermissionDenied is a NamespaceErrorType enum value + NamespaceErrorTypePermissionDenied = "PERMISSION_DENIED" + + // NamespaceErrorTypeInternalServiceError is a NamespaceErrorType enum value + NamespaceErrorTypeInternalServiceError = "INTERNAL_SERVICE_ERROR" +) + +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" +) + const ( // ResourceStatusCreationInProgress is a ResourceStatus enum value ResourceStatusCreationInProgress = "CREATION_IN_PROGRESS" diff --git a/service/quicksight/quicksightiface/interface.go b/service/quicksight/quicksightiface/interface.go index 76dad288c12..9998d01bd6c 100644 --- a/service/quicksight/quicksightiface/interface.go +++ b/service/quicksight/quicksightiface/interface.go @@ -64,6 +64,10 @@ type QuickSightAPI interface { CancelIngestionWithContext(aws.Context, *quicksight.CancelIngestionInput, ...request.Option) (*quicksight.CancelIngestionOutput, error) CancelIngestionRequest(*quicksight.CancelIngestionInput) (*request.Request, *quicksight.CancelIngestionOutput) + CreateAccountCustomization(*quicksight.CreateAccountCustomizationInput) (*quicksight.CreateAccountCustomizationOutput, error) + CreateAccountCustomizationWithContext(aws.Context, *quicksight.CreateAccountCustomizationInput, ...request.Option) (*quicksight.CreateAccountCustomizationOutput, error) + CreateAccountCustomizationRequest(*quicksight.CreateAccountCustomizationInput) (*request.Request, *quicksight.CreateAccountCustomizationOutput) + CreateDashboard(*quicksight.CreateDashboardInput) (*quicksight.CreateDashboardOutput, error) CreateDashboardWithContext(aws.Context, *quicksight.CreateDashboardInput, ...request.Option) (*quicksight.CreateDashboardOutput, error) CreateDashboardRequest(*quicksight.CreateDashboardInput) (*request.Request, *quicksight.CreateDashboardOutput) @@ -92,6 +96,10 @@ type QuickSightAPI interface { CreateIngestionWithContext(aws.Context, *quicksight.CreateIngestionInput, ...request.Option) (*quicksight.CreateIngestionOutput, error) CreateIngestionRequest(*quicksight.CreateIngestionInput) (*request.Request, *quicksight.CreateIngestionOutput) + CreateNamespace(*quicksight.CreateNamespaceInput) (*quicksight.CreateNamespaceOutput, error) + CreateNamespaceWithContext(aws.Context, *quicksight.CreateNamespaceInput, ...request.Option) (*quicksight.CreateNamespaceOutput, error) + CreateNamespaceRequest(*quicksight.CreateNamespaceInput) (*request.Request, *quicksight.CreateNamespaceOutput) + CreateTemplate(*quicksight.CreateTemplateInput) (*quicksight.CreateTemplateOutput, error) CreateTemplateWithContext(aws.Context, *quicksight.CreateTemplateInput, ...request.Option) (*quicksight.CreateTemplateOutput, error) CreateTemplateRequest(*quicksight.CreateTemplateInput) (*request.Request, *quicksight.CreateTemplateOutput) @@ -108,6 +116,10 @@ type QuickSightAPI interface { CreateThemeAliasWithContext(aws.Context, *quicksight.CreateThemeAliasInput, ...request.Option) (*quicksight.CreateThemeAliasOutput, error) CreateThemeAliasRequest(*quicksight.CreateThemeAliasInput) (*request.Request, *quicksight.CreateThemeAliasOutput) + DeleteAccountCustomization(*quicksight.DeleteAccountCustomizationInput) (*quicksight.DeleteAccountCustomizationOutput, error) + DeleteAccountCustomizationWithContext(aws.Context, *quicksight.DeleteAccountCustomizationInput, ...request.Option) (*quicksight.DeleteAccountCustomizationOutput, error) + DeleteAccountCustomizationRequest(*quicksight.DeleteAccountCustomizationInput) (*request.Request, *quicksight.DeleteAccountCustomizationOutput) + DeleteDashboard(*quicksight.DeleteDashboardInput) (*quicksight.DeleteDashboardOutput, error) DeleteDashboardWithContext(aws.Context, *quicksight.DeleteDashboardInput, ...request.Option) (*quicksight.DeleteDashboardOutput, error) DeleteDashboardRequest(*quicksight.DeleteDashboardInput) (*request.Request, *quicksight.DeleteDashboardOutput) @@ -132,6 +144,10 @@ type QuickSightAPI interface { DeleteIAMPolicyAssignmentWithContext(aws.Context, *quicksight.DeleteIAMPolicyAssignmentInput, ...request.Option) (*quicksight.DeleteIAMPolicyAssignmentOutput, error) DeleteIAMPolicyAssignmentRequest(*quicksight.DeleteIAMPolicyAssignmentInput) (*request.Request, *quicksight.DeleteIAMPolicyAssignmentOutput) + DeleteNamespace(*quicksight.DeleteNamespaceInput) (*quicksight.DeleteNamespaceOutput, error) + DeleteNamespaceWithContext(aws.Context, *quicksight.DeleteNamespaceInput, ...request.Option) (*quicksight.DeleteNamespaceOutput, error) + DeleteNamespaceRequest(*quicksight.DeleteNamespaceInput) (*request.Request, *quicksight.DeleteNamespaceOutput) + DeleteTemplate(*quicksight.DeleteTemplateInput) (*quicksight.DeleteTemplateOutput, error) DeleteTemplateWithContext(aws.Context, *quicksight.DeleteTemplateInput, ...request.Option) (*quicksight.DeleteTemplateOutput, error) DeleteTemplateRequest(*quicksight.DeleteTemplateInput) (*request.Request, *quicksight.DeleteTemplateOutput) @@ -156,6 +172,14 @@ type QuickSightAPI interface { DeleteUserByPrincipalIdWithContext(aws.Context, *quicksight.DeleteUserByPrincipalIdInput, ...request.Option) (*quicksight.DeleteUserByPrincipalIdOutput, error) DeleteUserByPrincipalIdRequest(*quicksight.DeleteUserByPrincipalIdInput) (*request.Request, *quicksight.DeleteUserByPrincipalIdOutput) + DescribeAccountCustomization(*quicksight.DescribeAccountCustomizationInput) (*quicksight.DescribeAccountCustomizationOutput, error) + DescribeAccountCustomizationWithContext(aws.Context, *quicksight.DescribeAccountCustomizationInput, ...request.Option) (*quicksight.DescribeAccountCustomizationOutput, error) + DescribeAccountCustomizationRequest(*quicksight.DescribeAccountCustomizationInput) (*request.Request, *quicksight.DescribeAccountCustomizationOutput) + + DescribeAccountSettings(*quicksight.DescribeAccountSettingsInput) (*quicksight.DescribeAccountSettingsOutput, error) + DescribeAccountSettingsWithContext(aws.Context, *quicksight.DescribeAccountSettingsInput, ...request.Option) (*quicksight.DescribeAccountSettingsOutput, error) + DescribeAccountSettingsRequest(*quicksight.DescribeAccountSettingsInput) (*request.Request, *quicksight.DescribeAccountSettingsOutput) + DescribeDashboard(*quicksight.DescribeDashboardInput) (*quicksight.DescribeDashboardOutput, error) DescribeDashboardWithContext(aws.Context, *quicksight.DescribeDashboardInput, ...request.Option) (*quicksight.DescribeDashboardOutput, error) DescribeDashboardRequest(*quicksight.DescribeDashboardInput) (*request.Request, *quicksight.DescribeDashboardOutput) @@ -192,6 +216,10 @@ type QuickSightAPI interface { DescribeIngestionWithContext(aws.Context, *quicksight.DescribeIngestionInput, ...request.Option) (*quicksight.DescribeIngestionOutput, error) DescribeIngestionRequest(*quicksight.DescribeIngestionInput) (*request.Request, *quicksight.DescribeIngestionOutput) + DescribeNamespace(*quicksight.DescribeNamespaceInput) (*quicksight.DescribeNamespaceOutput, error) + DescribeNamespaceWithContext(aws.Context, *quicksight.DescribeNamespaceInput, ...request.Option) (*quicksight.DescribeNamespaceOutput, error) + DescribeNamespaceRequest(*quicksight.DescribeNamespaceInput) (*request.Request, *quicksight.DescribeNamespaceOutput) + DescribeTemplate(*quicksight.DescribeTemplateInput) (*quicksight.DescribeTemplateOutput, error) DescribeTemplateWithContext(aws.Context, *quicksight.DescribeTemplateInput, ...request.Option) (*quicksight.DescribeTemplateOutput, error) DescribeTemplateRequest(*quicksight.DescribeTemplateInput) (*request.Request, *quicksight.DescribeTemplateOutput) @@ -224,6 +252,10 @@ type QuickSightAPI interface { GetDashboardEmbedUrlWithContext(aws.Context, *quicksight.GetDashboardEmbedUrlInput, ...request.Option) (*quicksight.GetDashboardEmbedUrlOutput, error) GetDashboardEmbedUrlRequest(*quicksight.GetDashboardEmbedUrlInput) (*request.Request, *quicksight.GetDashboardEmbedUrlOutput) + GetSessionEmbedUrl(*quicksight.GetSessionEmbedUrlInput) (*quicksight.GetSessionEmbedUrlOutput, error) + GetSessionEmbedUrlWithContext(aws.Context, *quicksight.GetSessionEmbedUrlInput, ...request.Option) (*quicksight.GetSessionEmbedUrlOutput, error) + GetSessionEmbedUrlRequest(*quicksight.GetSessionEmbedUrlInput) (*request.Request, *quicksight.GetSessionEmbedUrlOutput) + ListDashboardVersions(*quicksight.ListDashboardVersionsInput) (*quicksight.ListDashboardVersionsOutput, error) ListDashboardVersionsWithContext(aws.Context, *quicksight.ListDashboardVersionsInput, ...request.Option) (*quicksight.ListDashboardVersionsOutput, error) ListDashboardVersionsRequest(*quicksight.ListDashboardVersionsInput) (*request.Request, *quicksight.ListDashboardVersionsOutput) @@ -275,6 +307,13 @@ type QuickSightAPI interface { ListIngestionsPages(*quicksight.ListIngestionsInput, func(*quicksight.ListIngestionsOutput, bool) bool) error ListIngestionsPagesWithContext(aws.Context, *quicksight.ListIngestionsInput, func(*quicksight.ListIngestionsOutput, bool) bool, ...request.Option) error + ListNamespaces(*quicksight.ListNamespacesInput) (*quicksight.ListNamespacesOutput, error) + ListNamespacesWithContext(aws.Context, *quicksight.ListNamespacesInput, ...request.Option) (*quicksight.ListNamespacesOutput, error) + ListNamespacesRequest(*quicksight.ListNamespacesInput) (*request.Request, *quicksight.ListNamespacesOutput) + + ListNamespacesPages(*quicksight.ListNamespacesInput, func(*quicksight.ListNamespacesOutput, bool) bool) error + ListNamespacesPagesWithContext(aws.Context, *quicksight.ListNamespacesInput, func(*quicksight.ListNamespacesOutput, bool) bool, ...request.Option) error + ListTagsForResource(*quicksight.ListTagsForResourceInput) (*quicksight.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *quicksight.ListTagsForResourceInput, ...request.Option) (*quicksight.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*quicksight.ListTagsForResourceInput) (*request.Request, *quicksight.ListTagsForResourceOutput) @@ -339,6 +378,14 @@ type QuickSightAPI interface { UntagResourceWithContext(aws.Context, *quicksight.UntagResourceInput, ...request.Option) (*quicksight.UntagResourceOutput, error) UntagResourceRequest(*quicksight.UntagResourceInput) (*request.Request, *quicksight.UntagResourceOutput) + UpdateAccountCustomization(*quicksight.UpdateAccountCustomizationInput) (*quicksight.UpdateAccountCustomizationOutput, error) + UpdateAccountCustomizationWithContext(aws.Context, *quicksight.UpdateAccountCustomizationInput, ...request.Option) (*quicksight.UpdateAccountCustomizationOutput, error) + UpdateAccountCustomizationRequest(*quicksight.UpdateAccountCustomizationInput) (*request.Request, *quicksight.UpdateAccountCustomizationOutput) + + UpdateAccountSettings(*quicksight.UpdateAccountSettingsInput) (*quicksight.UpdateAccountSettingsOutput, error) + UpdateAccountSettingsWithContext(aws.Context, *quicksight.UpdateAccountSettingsInput, ...request.Option) (*quicksight.UpdateAccountSettingsOutput, error) + UpdateAccountSettingsRequest(*quicksight.UpdateAccountSettingsInput) (*request.Request, *quicksight.UpdateAccountSettingsOutput) + UpdateDashboard(*quicksight.UpdateDashboardInput) (*quicksight.UpdateDashboardOutput, error) UpdateDashboardWithContext(aws.Context, *quicksight.UpdateDashboardInput, ...request.Option) (*quicksight.UpdateDashboardOutput, error) UpdateDashboardRequest(*quicksight.UpdateDashboardInput) (*request.Request, *quicksight.UpdateDashboardOutput)