
commonMain.aws.sdk.kotlin.services.quicksight.QuickSightClient.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.quicksight
import aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider
import aws.sdk.kotlin.runtime.auth.credentials.internal.borrow
import aws.sdk.kotlin.runtime.endpoint.AwsEndpointResolver
import aws.sdk.kotlin.runtime.region.resolveRegion
import aws.sdk.kotlin.services.quicksight.internal.DefaultEndpointResolver
import aws.sdk.kotlin.services.quicksight.model.*
import aws.smithy.kotlin.runtime.SdkClient
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.auth.awssigning.AwsSigner
import aws.smithy.kotlin.runtime.auth.awssigning.crt.CrtAwsSigner
import aws.smithy.kotlin.runtime.client.SdkLogMode
import aws.smithy.kotlin.runtime.config.SdkClientConfig
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
import aws.smithy.kotlin.runtime.http.endpoints.EndpointResolver
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.retries.RetryStrategy
import aws.smithy.kotlin.runtime.retries.StandardRetryStrategy
/**
* # Amazon QuickSight API Reference
* Amazon QuickSight is a fully managed, serverless business intelligence service for the Amazon Web Services 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.
*/
interface QuickSightClient : SdkClient {
override val serviceName: String
get() = "QuickSight"
/**
* QuickSightClient's configuration
*/
val config: Config
companion object {
operator fun invoke(block: Config.Builder.() -> Unit): QuickSightClient {
val config = Config.Builder().apply(block).build()
return DefaultQuickSightClient(config)
}
operator fun invoke(config: Config): QuickSightClient = DefaultQuickSightClient(config)
/**
* Construct a [QuickSightClient] by resolving the configuration from the current environment.
*/
suspend fun fromEnvironment(block: (Config.Builder.() -> Unit)? = null): QuickSightClient {
val builder = Config.Builder()
if (block != null) builder.apply(block)
builder.region = builder.region ?: resolveRegion()
return DefaultQuickSightClient(builder.build())
}
}
class Config private constructor(builder: Builder): HttpClientConfig, SdkClientConfig {
val credentialsProvider: CredentialsProvider = builder.credentialsProvider?.borrow() ?: DefaultChainCredentialsProvider()
val endpointResolver: AwsEndpointResolver = builder.endpointResolver ?: DefaultEndpointResolver()
override val httpClientEngine: HttpClientEngine? = builder.httpClientEngine
val region: String = requireNotNull(builder.region) { "region is a required configuration property" }
val retryStrategy: RetryStrategy = StandardRetryStrategy()
override val sdkLogMode: SdkLogMode = builder.sdkLogMode
val signer: AwsSigner = builder.signer ?: CrtAwsSigner
companion object {
inline operator fun invoke(block: Builder.() -> kotlin.Unit): Config = Builder().apply(block).build()
}
class Builder {
/**
* The AWS credentials provider to use for authenticating requests. If not provided a
* [aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider] instance will be used.
* NOTE: The caller is responsible for managing the lifetime of the provider when set. The SDK
* client will not close it when the client is closed.
*/
var credentialsProvider: CredentialsProvider? = null
/**
* Determines the endpoint (hostname) to make requests to. When not provided a default
* resolver is configured automatically. This is an advanced client option.
*/
var endpointResolver: AwsEndpointResolver? = null
/**
* Override the default HTTP client engine used to make SDK requests (e.g. configure proxy behavior, timeouts, concurrency, etc).
* NOTE: The caller is responsible for managing the lifetime of the engine when set. The SDK
* client will not close it when the client is closed.
*/
var httpClientEngine: HttpClientEngine? = null
/**
* AWS region to make requests to
*/
var region: String? = null
/**
* Configure events that will be logged. By default clients will not output
* raw requests or responses. Use this setting to opt-in to additional debug logging.
*
* This can be used to configure logging of requests, responses, retries, etc of SDK clients.
*
* **NOTE**: Logging of raw requests or responses may leak sensitive information! It may also have
* performance considerations when dumping the request/response body. This is primarily a tool for
* debug purposes.
*/
var sdkLogMode: SdkLogMode = SdkLogMode.Default
/**
* The implementation of AWS signer to use for signing requests
*/
var signer: AwsSigner? = null
@PublishedApi
internal fun build(): Config = Config(this)
}
}
/**
* Cancels an ongoing ingestion of data into SPICE.
*/
suspend fun cancelIngestion(input: CancelIngestionRequest): CancelIngestionResponse
/**
* Cancels an ongoing ingestion of data into SPICE.
*/
suspend fun cancelIngestion(block: CancelIngestionRequest.Builder.() -> Unit) = cancelIngestion(CancelIngestionRequest.Builder().apply(block).build())
/**
* Creates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, you can add a custom default theme by using the `CreateAccountCustomization` or `UpdateAccountCustomization` API operation. To further customize Amazon QuickSight by removing Amazon QuickSight sample assets and videos for all new users, see [Customizing Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html) in the *Amazon QuickSight User Guide.*
*
* You can create customizations for your Amazon Web Services account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace always override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the `DescribeAccountCustomization` API operation.
*
* Before you use the `CreateAccountCustomization` API operation to add a theme as the namespace default, make sure that you first share the theme with the namespace. If you don't share it with the namespace, the theme isn't visible to your users even if you make it the default theme. To check if the theme is shared, view the current permissions by using the ` DescribeThemePermissions ` API operation. To share the theme, grant permissions by using the ` UpdateThemePermissions ` API operation.
*/
suspend fun createAccountCustomization(input: CreateAccountCustomizationRequest): CreateAccountCustomizationResponse
/**
* Creates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, you can add a custom default theme by using the `CreateAccountCustomization` or `UpdateAccountCustomization` API operation. To further customize Amazon QuickSight by removing Amazon QuickSight sample assets and videos for all new users, see [Customizing Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/customizing-quicksight.html) in the *Amazon QuickSight User Guide.*
*
* You can create customizations for your Amazon Web Services account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace always override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the `DescribeAccountCustomization` API operation.
*
* Before you use the `CreateAccountCustomization` API operation to add a theme as the namespace default, make sure that you first share the theme with the namespace. If you don't share it with the namespace, the theme isn't visible to your users even if you make it the default theme. To check if the theme is shared, view the current permissions by using the ` DescribeThemePermissions ` API operation. To share the theme, grant permissions by using the ` UpdateThemePermissions ` API operation.
*/
suspend fun createAccountCustomization(block: CreateAccountCustomizationRequest.Builder.() -> Unit) = createAccountCustomization(CreateAccountCustomizationRequest.Builder().apply(block).build())
/**
* Creates an analysis in Amazon QuickSight.
*/
suspend fun createAnalysis(input: CreateAnalysisRequest): CreateAnalysisResponse
/**
* Creates an analysis in Amazon QuickSight.
*/
suspend fun createAnalysis(block: CreateAnalysisRequest.Builder.() -> Unit) = createAnalysis(CreateAnalysisRequest.Builder().apply(block).build())
/**
* Creates a dashboard from a template. To first create a template, see the ` CreateTemplate ` API operation.
*
* A dashboard is an entity in Amazon QuickSight that identifies Amazon QuickSight reports, created from analyses. You can share Amazon QuickSight dashboards. With the right permissions, you can create scheduled email reports from them. If you have the correct permissions, you can create a dashboard from a template that exists in a different Amazon Web Services account.
*/
suspend fun createDashboard(input: CreateDashboardRequest): CreateDashboardResponse
/**
* Creates a dashboard from a template. To first create a template, see the ` CreateTemplate ` API operation.
*
* A dashboard is an entity in Amazon QuickSight that identifies Amazon QuickSight reports, created from analyses. You can share Amazon QuickSight dashboards. With the right permissions, you can create scheduled email reports from them. If you have the correct permissions, you can create a dashboard from a template that exists in a different Amazon Web Services account.
*/
suspend fun createDashboard(block: CreateDashboardRequest.Builder.() -> Unit) = createDashboard(CreateDashboardRequest.Builder().apply(block).build())
/**
* Creates a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun createDataSet(input: CreateDataSetRequest): CreateDataSetResponse
/**
* Creates a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun createDataSet(block: CreateDataSetRequest.Builder.() -> Unit) = createDataSet(CreateDataSetRequest.Builder().apply(block).build())
/**
* Creates a data source.
*/
suspend fun createDataSource(input: CreateDataSourceRequest): CreateDataSourceResponse
/**
* Creates a data source.
*/
suspend fun createDataSource(block: CreateDataSourceRequest.Builder.() -> Unit) = createDataSource(CreateDataSourceRequest.Builder().apply(block).build())
/**
* Creates an empty shared folder.
*/
suspend fun createFolder(input: CreateFolderRequest): CreateFolderResponse
/**
* Creates an empty shared folder.
*/
suspend fun createFolder(block: CreateFolderRequest.Builder.() -> Unit) = createFolder(CreateFolderRequest.Builder().apply(block).build())
/**
* Adds an asset, such as a dashboard, analysis, or dataset into a folder.
*/
suspend fun createFolderMembership(input: CreateFolderMembershipRequest): CreateFolderMembershipResponse
/**
* Adds an asset, such as a dashboard, analysis, or dataset into a folder.
*/
suspend fun createFolderMembership(block: CreateFolderMembershipRequest.Builder.() -> Unit) = createFolderMembership(CreateFolderMembershipRequest.Builder().apply(block).build())
/**
* Creates an Amazon QuickSight group.
*
* The permissions resource is `arn:aws:quicksight:: :group/default/ `.
*
* The response is a group object.
*/
suspend fun createGroup(input: CreateGroupRequest): CreateGroupResponse
/**
* Creates an Amazon QuickSight group.
*
* The permissions resource is `arn:aws:quicksight:: :group/default/ `.
*
* The response is a group object.
*/
suspend fun createGroup(block: CreateGroupRequest.Builder.() -> Unit) = createGroup(CreateGroupRequest.Builder().apply(block).build())
/**
* Adds an Amazon QuickSight user to an Amazon QuickSight group.
*/
suspend fun createGroupMembership(input: CreateGroupMembershipRequest): CreateGroupMembershipResponse
/**
* Adds an Amazon QuickSight user to an Amazon QuickSight group.
*/
suspend fun createGroupMembership(block: CreateGroupMembershipRequest.Builder.() -> Unit) = createGroupMembership(CreateGroupMembershipRequest.Builder().apply(block).build())
/**
* Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
*/
suspend fun createIamPolicyAssignment(input: CreateIamPolicyAssignmentRequest): CreateIamPolicyAssignmentResponse
/**
* Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
*/
suspend fun createIamPolicyAssignment(block: CreateIamPolicyAssignmentRequest.Builder.() -> Unit) = createIamPolicyAssignment(CreateIamPolicyAssignmentRequest.Builder().apply(block).build())
/**
* Creates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time.
*
* 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?](http://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/) in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
*/
suspend fun createIngestion(input: CreateIngestionRequest): CreateIngestionResponse
/**
* Creates and starts a new SPICE ingestion for a dataset. You can manually refresh datasets in an Enterprise edition account 32 times in a 24-hour period. You can manually refresh datasets in a Standard edition account 8 times in a 24-hour period. Each 24-hour period is measured starting 24 hours before the current date and time.
*
* 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?](http://aws.amazon.com/premiumsupport/knowledge-center/iam-ec2-resource-tags/) in the Amazon Web Services Knowledge Center. Tags are visible on the tagged dataset, but not on the ingestion resource.
*/
suspend fun createIngestion(block: CreateIngestionRequest.Builder.() -> Unit) = createIngestion(CreateIngestionRequest.Builder().apply(block).build())
/**
* (Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.
*
* A namespace allows you to isolate the Amazon 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 Amazon Web Services account is subscribed to Amazon QuickSight. The namespace must be unique within the Amazon Web Services account. By default, there is a limit of 100 namespaces per Amazon Web Services account. To increase your limit, create a ticket with Amazon Web Services Support.
*/
suspend fun createNamespace(input: CreateNamespaceRequest): CreateNamespaceResponse
/**
* (Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.
*
* A namespace allows you to isolate the Amazon 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 Amazon Web Services account is subscribed to Amazon QuickSight. The namespace must be unique within the Amazon Web Services account. By default, there is a limit of 100 namespaces per Amazon Web Services account. To increase your limit, create a ticket with Amazon Web Services Support.
*/
suspend fun createNamespace(block: CreateNamespaceRequest.Builder.() -> Unit) = createNamespace(CreateNamespaceRequest.Builder().apply(block).build())
/**
* Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting template to create a dashboard.
*
* A *template* is an entity in Amazon 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.
*/
suspend fun createTemplate(input: CreateTemplateRequest): CreateTemplateResponse
/**
* Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting template to create a dashboard.
*
* A *template* is an entity in Amazon 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.
*/
suspend fun createTemplate(block: CreateTemplateRequest.Builder.() -> Unit) = createTemplate(CreateTemplateRequest.Builder().apply(block).build())
/**
* Creates a template alias for a template.
*/
suspend fun createTemplateAlias(input: CreateTemplateAliasRequest): CreateTemplateAliasResponse
/**
* Creates a template alias for a template.
*/
suspend fun createTemplateAlias(block: CreateTemplateAliasRequest.Builder.() -> Unit) = createTemplateAlias(CreateTemplateAliasRequest.Builder().apply(block).build())
/**
* 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](https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html) in the *Amazon QuickSight User Guide*.
*/
suspend fun createTheme(input: CreateThemeRequest): CreateThemeResponse
/**
* 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](https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html) in the *Amazon QuickSight User Guide*.
*/
suspend fun createTheme(block: CreateThemeRequest.Builder.() -> Unit) = createTheme(CreateThemeRequest.Builder().apply(block).build())
/**
* Creates a theme alias for a theme.
*/
suspend fun createThemeAlias(input: CreateThemeAliasRequest): CreateThemeAliasResponse
/**
* Creates a theme alias for a theme.
*/
suspend fun createThemeAlias(block: CreateThemeAliasRequest.Builder.() -> Unit) = createThemeAlias(CreateThemeAliasRequest.Builder().apply(block).build())
/**
* Deletes all Amazon QuickSight customizations in this Amazon Web Services Region for the specified Amazon Web Services account and Amazon QuickSight namespace.
*/
suspend fun deleteAccountCustomization(input: DeleteAccountCustomizationRequest): DeleteAccountCustomizationResponse
/**
* Deletes all Amazon QuickSight customizations in this Amazon Web Services Region for the specified Amazon Web Services account and Amazon QuickSight namespace.
*/
suspend fun deleteAccountCustomization(block: DeleteAccountCustomizationRequest.Builder.() -> Unit) = deleteAccountCustomization(DeleteAccountCustomizationRequest.Builder().apply(block).build())
/**
* Deletes an analysis from Amazon QuickSight. You can optionally include a recovery window during which you can restore the analysis. If you don't specify a recovery window value, the operation defaults to 30 days. Amazon QuickSight attaches a `DeletionTime` stamp to the response that specifies the end of the recovery window. At the end of the recovery window, Amazon QuickSight deletes the analysis permanently.
*
* At any time before recovery window ends, you can use the `RestoreAnalysis` API operation to remove the `DeletionTime` stamp and cancel the deletion of the analysis. The analysis remains visible in the API until it's deleted, so you can describe it but you can't make a template from it.
*
* An analysis that's scheduled for deletion isn't accessible in the Amazon QuickSight console. To access it in the console, restore it. Deleting an analysis doesn't delete the dashboards that you publish from it.
*/
suspend fun deleteAnalysis(input: DeleteAnalysisRequest): DeleteAnalysisResponse
/**
* Deletes an analysis from Amazon QuickSight. You can optionally include a recovery window during which you can restore the analysis. If you don't specify a recovery window value, the operation defaults to 30 days. Amazon QuickSight attaches a `DeletionTime` stamp to the response that specifies the end of the recovery window. At the end of the recovery window, Amazon QuickSight deletes the analysis permanently.
*
* At any time before recovery window ends, you can use the `RestoreAnalysis` API operation to remove the `DeletionTime` stamp and cancel the deletion of the analysis. The analysis remains visible in the API until it's deleted, so you can describe it but you can't make a template from it.
*
* An analysis that's scheduled for deletion isn't accessible in the Amazon QuickSight console. To access it in the console, restore it. Deleting an analysis doesn't delete the dashboards that you publish from it.
*/
suspend fun deleteAnalysis(block: DeleteAnalysisRequest.Builder.() -> Unit) = deleteAnalysis(DeleteAnalysisRequest.Builder().apply(block).build())
/**
* Deletes a dashboard.
*/
suspend fun deleteDashboard(input: DeleteDashboardRequest): DeleteDashboardResponse
/**
* Deletes a dashboard.
*/
suspend fun deleteDashboard(block: DeleteDashboardRequest.Builder.() -> Unit) = deleteDashboard(DeleteDashboardRequest.Builder().apply(block).build())
/**
* Deletes a dataset.
*/
suspend fun deleteDataSet(input: DeleteDataSetRequest): DeleteDataSetResponse
/**
* Deletes a dataset.
*/
suspend fun deleteDataSet(block: DeleteDataSetRequest.Builder.() -> Unit) = deleteDataSet(DeleteDataSetRequest.Builder().apply(block).build())
/**
* Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.
*/
suspend fun deleteDataSource(input: DeleteDataSourceRequest): DeleteDataSourceResponse
/**
* Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.
*/
suspend fun deleteDataSource(block: DeleteDataSourceRequest.Builder.() -> Unit) = deleteDataSource(DeleteDataSourceRequest.Builder().apply(block).build())
/**
* Deletes an empty folder.
*/
suspend fun deleteFolder(input: DeleteFolderRequest): DeleteFolderResponse
/**
* Deletes an empty folder.
*/
suspend fun deleteFolder(block: DeleteFolderRequest.Builder.() -> Unit) = deleteFolder(DeleteFolderRequest.Builder().apply(block).build())
/**
* Removes an asset, such as a dashboard, analysis, or dataset, from a folder.
*/
suspend fun deleteFolderMembership(input: DeleteFolderMembershipRequest): DeleteFolderMembershipResponse
/**
* Removes an asset, such as a dashboard, analysis, or dataset, from a folder.
*/
suspend fun deleteFolderMembership(block: DeleteFolderMembershipRequest.Builder.() -> Unit) = deleteFolderMembership(DeleteFolderMembershipRequest.Builder().apply(block).build())
/**
* Removes a user group from Amazon QuickSight.
*/
suspend fun deleteGroup(input: DeleteGroupRequest): DeleteGroupResponse
/**
* Removes a user group from Amazon QuickSight.
*/
suspend fun deleteGroup(block: DeleteGroupRequest.Builder.() -> Unit) = deleteGroup(DeleteGroupRequest.Builder().apply(block).build())
/**
* Removes a user from a group so that the user is no longer a member of the group.
*/
suspend fun deleteGroupMembership(input: DeleteGroupMembershipRequest): DeleteGroupMembershipResponse
/**
* Removes a user from a group so that the user is no longer a member of the group.
*/
suspend fun deleteGroupMembership(block: DeleteGroupMembershipRequest.Builder.() -> Unit) = deleteGroupMembership(DeleteGroupMembershipRequest.Builder().apply(block).build())
/**
* Deletes an existing IAM policy assignment.
*/
suspend fun deleteIamPolicyAssignment(input: DeleteIamPolicyAssignmentRequest): DeleteIamPolicyAssignmentResponse
/**
* Deletes an existing IAM policy assignment.
*/
suspend fun deleteIamPolicyAssignment(block: DeleteIamPolicyAssignmentRequest.Builder.() -> Unit) = deleteIamPolicyAssignment(DeleteIamPolicyAssignmentRequest.Builder().apply(block).build())
/**
* 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 API operations for the relevant asset.
*/
suspend fun deleteNamespace(input: DeleteNamespaceRequest): DeleteNamespaceResponse
/**
* 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 API operations for the relevant asset.
*/
suspend fun deleteNamespace(block: DeleteNamespaceRequest.Builder.() -> Unit) = deleteNamespace(DeleteNamespaceRequest.Builder().apply(block).build())
/**
* Deletes a template.
*/
suspend fun deleteTemplate(input: DeleteTemplateRequest): DeleteTemplateResponse
/**
* Deletes a template.
*/
suspend fun deleteTemplate(block: DeleteTemplateRequest.Builder.() -> Unit) = deleteTemplate(DeleteTemplateRequest.Builder().apply(block).build())
/**
* 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.
*/
suspend fun deleteTemplateAlias(input: DeleteTemplateAliasRequest): DeleteTemplateAliasResponse
/**
* 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.
*/
suspend fun deleteTemplateAlias(block: DeleteTemplateAliasRequest.Builder.() -> Unit) = deleteTemplateAlias(DeleteTemplateAliasRequest.Builder().apply(block).build())
/**
* Deletes a theme.
*/
suspend fun deleteTheme(input: DeleteThemeRequest): DeleteThemeResponse
/**
* Deletes a theme.
*/
suspend fun deleteTheme(block: DeleteThemeRequest.Builder.() -> Unit) = deleteTheme(DeleteThemeRequest.Builder().apply(block).build())
/**
* 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.
*/
suspend fun deleteThemeAlias(input: DeleteThemeAliasRequest): DeleteThemeAliasResponse
/**
* 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.
*/
suspend fun deleteThemeAlias(block: DeleteThemeAliasRequest.Builder.() -> Unit) = deleteThemeAlias(DeleteThemeAliasRequest.Builder().apply(block).build())
/**
* Deletes the Amazon QuickSight user that is associated with the identity of the 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.
*/
suspend fun deleteUser(input: DeleteUserRequest): DeleteUserResponse
/**
* Deletes the Amazon QuickSight user that is associated with the identity of the 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.
*/
suspend fun deleteUser(block: DeleteUserRequest.Builder.() -> Unit) = deleteUser(DeleteUserRequest.Builder().apply(block).build())
/**
* Deletes a user identified by its principal ID.
*/
suspend fun deleteUserByPrincipalId(input: DeleteUserByPrincipalIdRequest): DeleteUserByPrincipalIdResponse
/**
* Deletes a user identified by its principal ID.
*/
suspend fun deleteUserByPrincipalId(block: DeleteUserByPrincipalIdRequest.Builder.() -> Unit) = deleteUserByPrincipalId(DeleteUserByPrincipalIdRequest.Builder().apply(block).build())
/**
* Describes the customizations associated with the provided Amazon Web Services account and Amazon Amazon QuickSight namespace in an Amazon Web Services Region. The Amazon QuickSight console evaluates which customizations to apply by running this API operation with the `Resolved` flag included.
*
* To determine what customizations display when you run this command, it can help to visualize the relationship of the entities involved.
* + `Amazon Web Services account` - The Amazon Web Services account exists at the top of the hierarchy. It has the potential to use all of the Amazon Web Services Regions and Amazon Web Services Services. When you subscribe to Amazon QuickSight, you choose one Amazon Web Services Region to use as your home Region. That's where your free SPICE capacity is located. You can use Amazon QuickSight in any supported Amazon Web Services Region.
* + `Amazon Web Services Region` - In each Amazon Web Services Region where you sign in to Amazon QuickSight at least once, Amazon QuickSight acts as a separate instance of the same service. If you have a user directory, it resides in us-east-1, which is the US East (N. Virginia). Generally speaking, these users have access to Amazon QuickSight in any Amazon Web Services Region, unless they are constrained to a namespace. To run the command in a different Amazon Web Services Region, you change your Region settings. If you're using the CLI, you can use one of the following options:
* + Use [command line options](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html).
* + Use [named profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html).
* + Run `aws configure` to change your default Amazon Web Services Region. Use Enter to key the same settings for your keys. For more information, see [Configuring the CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
* + `Namespace` - A QuickSight namespace is a partition that contains users and assets (data sources, datasets, dashboards, and so on). To access assets that are in a specific namespace, users and groups must also be part of the same namespace. People who share a namespace are completely isolated from users and assets in other namespaces, even if they are in the same Amazon Web Services account and Amazon Web Services Region.
* + `Applied customizations` - Within an Amazon Web Services Region, a set of Amazon QuickSight customizations can apply to an Amazon Web Services account or to a namespace. Settings that you apply to a namespace override settings that you apply to an Amazon Web Services account. All settings are isolated to a single Amazon Web Services Region. To apply them in other Amazon Web Services Regions, run the `CreateAccountCustomization` command in each Amazon Web Services Region where you want to apply the same customizations.
*/
suspend fun describeAccountCustomization(input: DescribeAccountCustomizationRequest): DescribeAccountCustomizationResponse
/**
* Describes the customizations associated with the provided Amazon Web Services account and Amazon Amazon QuickSight namespace in an Amazon Web Services Region. The Amazon QuickSight console evaluates which customizations to apply by running this API operation with the `Resolved` flag included.
*
* To determine what customizations display when you run this command, it can help to visualize the relationship of the entities involved.
* + `Amazon Web Services account` - The Amazon Web Services account exists at the top of the hierarchy. It has the potential to use all of the Amazon Web Services Regions and Amazon Web Services Services. When you subscribe to Amazon QuickSight, you choose one Amazon Web Services Region to use as your home Region. That's where your free SPICE capacity is located. You can use Amazon QuickSight in any supported Amazon Web Services Region.
* + `Amazon Web Services Region` - In each Amazon Web Services Region where you sign in to Amazon QuickSight at least once, Amazon QuickSight acts as a separate instance of the same service. If you have a user directory, it resides in us-east-1, which is the US East (N. Virginia). Generally speaking, these users have access to Amazon QuickSight in any Amazon Web Services Region, unless they are constrained to a namespace. To run the command in a different Amazon Web Services Region, you change your Region settings. If you're using the CLI, you can use one of the following options:
* + Use [command line options](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html).
* + Use [named profiles](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html).
* + Run `aws configure` to change your default Amazon Web Services Region. Use Enter to key the same settings for your keys. For more information, see [Configuring the CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
* + `Namespace` - A QuickSight namespace is a partition that contains users and assets (data sources, datasets, dashboards, and so on). To access assets that are in a specific namespace, users and groups must also be part of the same namespace. People who share a namespace are completely isolated from users and assets in other namespaces, even if they are in the same Amazon Web Services account and Amazon Web Services Region.
* + `Applied customizations` - Within an Amazon Web Services Region, a set of Amazon QuickSight customizations can apply to an Amazon Web Services account or to a namespace. Settings that you apply to a namespace override settings that you apply to an Amazon Web Services account. All settings are isolated to a single Amazon Web Services Region. To apply them in other Amazon Web Services Regions, run the `CreateAccountCustomization` command in each Amazon Web Services Region where you want to apply the same customizations.
*/
suspend fun describeAccountCustomization(block: DescribeAccountCustomizationRequest.Builder.() -> Unit) = describeAccountCustomization(DescribeAccountCustomizationRequest.Builder().apply(block).build())
/**
* Describes the settings that were used when your Amazon QuickSight subscription was first created in this Amazon Web Services account.
*/
suspend fun describeAccountSettings(input: DescribeAccountSettingsRequest): DescribeAccountSettingsResponse
/**
* Describes the settings that were used when your Amazon QuickSight subscription was first created in this Amazon Web Services account.
*/
suspend fun describeAccountSettings(block: DescribeAccountSettingsRequest.Builder.() -> Unit) = describeAccountSettings(DescribeAccountSettingsRequest.Builder().apply(block).build())
/**
* Provides a summary of the metadata for an analysis.
*/
suspend fun describeAnalysis(input: DescribeAnalysisRequest): DescribeAnalysisResponse
/**
* Provides a summary of the metadata for an analysis.
*/
suspend fun describeAnalysis(block: DescribeAnalysisRequest.Builder.() -> Unit) = describeAnalysis(DescribeAnalysisRequest.Builder().apply(block).build())
/**
* Provides the read and write permissions for an analysis.
*/
suspend fun describeAnalysisPermissions(input: DescribeAnalysisPermissionsRequest): DescribeAnalysisPermissionsResponse
/**
* Provides the read and write permissions for an analysis.
*/
suspend fun describeAnalysisPermissions(block: DescribeAnalysisPermissionsRequest.Builder.() -> Unit) = describeAnalysisPermissions(DescribeAnalysisPermissionsRequest.Builder().apply(block).build())
/**
* Provides a summary for a dashboard.
*/
suspend fun describeDashboard(input: DescribeDashboardRequest): DescribeDashboardResponse
/**
* Provides a summary for a dashboard.
*/
suspend fun describeDashboard(block: DescribeDashboardRequest.Builder.() -> Unit) = describeDashboard(DescribeDashboardRequest.Builder().apply(block).build())
/**
* Describes read and write permissions for a dashboard.
*/
suspend fun describeDashboardPermissions(input: DescribeDashboardPermissionsRequest): DescribeDashboardPermissionsResponse
/**
* Describes read and write permissions for a dashboard.
*/
suspend fun describeDashboardPermissions(block: DescribeDashboardPermissionsRequest.Builder.() -> Unit) = describeDashboardPermissions(DescribeDashboardPermissionsRequest.Builder().apply(block).build())
/**
* Describes a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun describeDataSet(input: DescribeDataSetRequest): DescribeDataSetResponse
/**
* Describes a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun describeDataSet(block: DescribeDataSetRequest.Builder.() -> Unit) = describeDataSet(DescribeDataSetRequest.Builder().apply(block).build())
/**
* Describes the permissions on a dataset.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/data-set-id`.
*/
suspend fun describeDataSetPermissions(input: DescribeDataSetPermissionsRequest): DescribeDataSetPermissionsResponse
/**
* Describes the permissions on a dataset.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/data-set-id`.
*/
suspend fun describeDataSetPermissions(block: DescribeDataSetPermissionsRequest.Builder.() -> Unit) = describeDataSetPermissions(DescribeDataSetPermissionsRequest.Builder().apply(block).build())
/**
* Describes a data source.
*/
suspend fun describeDataSource(input: DescribeDataSourceRequest): DescribeDataSourceResponse
/**
* Describes a data source.
*/
suspend fun describeDataSource(block: DescribeDataSourceRequest.Builder.() -> Unit) = describeDataSource(DescribeDataSourceRequest.Builder().apply(block).build())
/**
* Describes the resource permissions for a data source.
*/
suspend fun describeDataSourcePermissions(input: DescribeDataSourcePermissionsRequest): DescribeDataSourcePermissionsResponse
/**
* Describes the resource permissions for a data source.
*/
suspend fun describeDataSourcePermissions(block: DescribeDataSourcePermissionsRequest.Builder.() -> Unit) = describeDataSourcePermissions(DescribeDataSourcePermissionsRequest.Builder().apply(block).build())
/**
* Describes a folder.
*/
suspend fun describeFolder(input: DescribeFolderRequest): DescribeFolderResponse
/**
* Describes a folder.
*/
suspend fun describeFolder(block: DescribeFolderRequest.Builder.() -> Unit) = describeFolder(DescribeFolderRequest.Builder().apply(block).build())
/**
* Describes permissions for a folder.
*/
suspend fun describeFolderPermissions(input: DescribeFolderPermissionsRequest): DescribeFolderPermissionsResponse
/**
* Describes permissions for a folder.
*/
suspend fun describeFolderPermissions(block: DescribeFolderPermissionsRequest.Builder.() -> Unit) = describeFolderPermissions(DescribeFolderPermissionsRequest.Builder().apply(block).build())
/**
* Describes the folder resolved permissions. Permissions consists of both folder direct permissions and the inherited permissions from the ancestor folders.
*/
suspend fun describeFolderResolvedPermissions(input: DescribeFolderResolvedPermissionsRequest): DescribeFolderResolvedPermissionsResponse
/**
* Describes the folder resolved permissions. Permissions consists of both folder direct permissions and the inherited permissions from the ancestor folders.
*/
suspend fun describeFolderResolvedPermissions(block: DescribeFolderResolvedPermissionsRequest.Builder.() -> Unit) = describeFolderResolvedPermissions(DescribeFolderResolvedPermissionsRequest.Builder().apply(block).build())
/**
* Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
*/
suspend fun describeGroup(input: DescribeGroupRequest): DescribeGroupResponse
/**
* Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
*/
suspend fun describeGroup(block: DescribeGroupRequest.Builder.() -> Unit) = describeGroup(DescribeGroupRequest.Builder().apply(block).build())
/**
* Use the `DescribeGroupMembership` operation to determine if a user is a member of the specified group. If the user exists and is a member of the specified group, an associated `GroupMember` object is returned.
*/
suspend fun describeGroupMembership(input: DescribeGroupMembershipRequest): DescribeGroupMembershipResponse
/**
* Use the `DescribeGroupMembership` operation to determine if a user is a member of the specified group. If the user exists and is a member of the specified group, an associated `GroupMember` object is returned.
*/
suspend fun describeGroupMembership(block: DescribeGroupMembershipRequest.Builder.() -> Unit) = describeGroupMembership(DescribeGroupMembershipRequest.Builder().apply(block).build())
/**
* Describes an existing IAM policy assignment, as specified by the assignment name.
*/
suspend fun describeIamPolicyAssignment(input: DescribeIamPolicyAssignmentRequest): DescribeIamPolicyAssignmentResponse
/**
* Describes an existing IAM policy assignment, as specified by the assignment name.
*/
suspend fun describeIamPolicyAssignment(block: DescribeIamPolicyAssignmentRequest.Builder.() -> Unit) = describeIamPolicyAssignment(DescribeIamPolicyAssignmentRequest.Builder().apply(block).build())
/**
* Describes a SPICE ingestion.
*/
suspend fun describeIngestion(input: DescribeIngestionRequest): DescribeIngestionResponse
/**
* Describes a SPICE ingestion.
*/
suspend fun describeIngestion(block: DescribeIngestionRequest.Builder.() -> Unit) = describeIngestion(DescribeIngestionRequest.Builder().apply(block).build())
/**
* Provides a summary and status of IP rules.
*/
suspend fun describeIpRestriction(input: DescribeIpRestrictionRequest): DescribeIpRestrictionResponse
/**
* Provides a summary and status of IP rules.
*/
suspend fun describeIpRestriction(block: DescribeIpRestrictionRequest.Builder.() -> Unit) = describeIpRestriction(DescribeIpRestrictionRequest.Builder().apply(block).build())
/**
* Describes the current namespace.
*/
suspend fun describeNamespace(input: DescribeNamespaceRequest): DescribeNamespaceResponse
/**
* Describes the current namespace.
*/
suspend fun describeNamespace(block: DescribeNamespaceRequest.Builder.() -> Unit) = describeNamespace(DescribeNamespaceRequest.Builder().apply(block).build())
/**
* Describes a template's metadata.
*/
suspend fun describeTemplate(input: DescribeTemplateRequest): DescribeTemplateResponse
/**
* Describes a template's metadata.
*/
suspend fun describeTemplate(block: DescribeTemplateRequest.Builder.() -> Unit) = describeTemplate(DescribeTemplateRequest.Builder().apply(block).build())
/**
* Describes the template alias for a template.
*/
suspend fun describeTemplateAlias(input: DescribeTemplateAliasRequest): DescribeTemplateAliasResponse
/**
* Describes the template alias for a template.
*/
suspend fun describeTemplateAlias(block: DescribeTemplateAliasRequest.Builder.() -> Unit) = describeTemplateAlias(DescribeTemplateAliasRequest.Builder().apply(block).build())
/**
* Describes read and write permissions on a template.
*/
suspend fun describeTemplatePermissions(input: DescribeTemplatePermissionsRequest): DescribeTemplatePermissionsResponse
/**
* Describes read and write permissions on a template.
*/
suspend fun describeTemplatePermissions(block: DescribeTemplatePermissionsRequest.Builder.() -> Unit) = describeTemplatePermissions(DescribeTemplatePermissionsRequest.Builder().apply(block).build())
/**
* Describes a theme.
*/
suspend fun describeTheme(input: DescribeThemeRequest): DescribeThemeResponse
/**
* Describes a theme.
*/
suspend fun describeTheme(block: DescribeThemeRequest.Builder.() -> Unit) = describeTheme(DescribeThemeRequest.Builder().apply(block).build())
/**
* Describes the alias for a theme.
*/
suspend fun describeThemeAlias(input: DescribeThemeAliasRequest): DescribeThemeAliasResponse
/**
* Describes the alias for a theme.
*/
suspend fun describeThemeAlias(block: DescribeThemeAliasRequest.Builder.() -> Unit) = describeThemeAlias(DescribeThemeAliasRequest.Builder().apply(block).build())
/**
* Describes the read and write permissions for a theme.
*/
suspend fun describeThemePermissions(input: DescribeThemePermissionsRequest): DescribeThemePermissionsResponse
/**
* Describes the read and write permissions for a theme.
*/
suspend fun describeThemePermissions(block: DescribeThemePermissionsRequest.Builder.() -> Unit) = describeThemePermissions(DescribeThemePermissionsRequest.Builder().apply(block).build())
/**
* Returns information about a user, given the user name.
*/
suspend fun describeUser(input: DescribeUserRequest): DescribeUserResponse
/**
* Returns information about a user, given the user name.
*/
suspend fun describeUser(block: DescribeUserRequest.Builder.() -> Unit) = describeUser(DescribeUserRequest.Builder().apply(block).build())
/**
* Generates an embed URL that you can use to embed an Amazon QuickSight dashboard in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.
*
* The following rules apply to the generated URL:
* + It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.
* + The URL validity period should not be confused with the actual session lifetime that can be customized using the ` SessionLifetimeInMinutes ` parameter.The resulting user session is valid for 15 minutes (default) to 10 hours (maximum).
* + You are charged only when the URL is used or there is interaction with Amazon QuickSight.
*
* For more information, see [Embedded Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun generateEmbedUrlForAnonymousUser(input: GenerateEmbedUrlForAnonymousUserRequest): GenerateEmbedUrlForAnonymousUserResponse
/**
* Generates an embed URL that you can use to embed an Amazon QuickSight dashboard in your website, without having to register any reader users. Before you use this action, make sure that you have configured the dashboards and permissions.
*
* The following rules apply to the generated URL:
* + It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.
* + The URL validity period should not be confused with the actual session lifetime that can be customized using the ` SessionLifetimeInMinutes ` parameter.The resulting user session is valid for 15 minutes (default) to 10 hours (maximum).
* + You are charged only when the URL is used or there is interaction with Amazon QuickSight.
*
* For more information, see [Embedded Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun generateEmbedUrlForAnonymousUser(block: GenerateEmbedUrlForAnonymousUserRequest.Builder.() -> Unit) = generateEmbedUrlForAnonymousUser(GenerateEmbedUrlForAnonymousUserRequest.Builder().apply(block).build())
/**
* Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.
*
* The following rules apply to the generated URL:
* + It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.
* + The URL validity period should not be confused with the actual session lifetime that can be customized using the ` SessionLifetimeInMinutes ` parameter.The resulting user session is valid for 15 minutes (default) to 10 hours (maximum).
* + You are charged only when the URL is used or there is interaction with Amazon QuickSight.
*
* For more information, see [Embedded Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun generateEmbedUrlForRegisteredUser(input: GenerateEmbedUrlForRegisteredUserRequest): GenerateEmbedUrlForRegisteredUserResponse
/**
* Generates an embed URL that you can use to embed an Amazon QuickSight experience in your website. This action can be used for any type of user registered in an Amazon QuickSight account. Before you use this action, make sure that you have configured the relevant Amazon QuickSight resource and permissions.
*
* The following rules apply to the generated URL:
* + It contains a temporary bearer token. It is valid for 5 minutes after it is generated. Once redeemed within this period, it cannot be re-used again.
* + The URL validity period should not be confused with the actual session lifetime that can be customized using the ` SessionLifetimeInMinutes ` parameter.The resulting user session is valid for 15 minutes (default) to 10 hours (maximum).
* + You are charged only when the URL is used or there is interaction with Amazon QuickSight.
*
* For more information, see [Embedded Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun generateEmbedUrlForRegisteredUser(block: GenerateEmbedUrlForRegisteredUserRequest.Builder.() -> Unit) = generateEmbedUrlForRegisteredUser(GenerateEmbedUrlForRegisteredUserRequest.Builder().apply(block).build())
/**
* Generates a session URL and authorization code that you can use to embed an Amazon Amazon QuickSight read-only dashboard 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 Analytics Using GetDashboardEmbedUrl](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun getDashboardEmbedUrl(input: GetDashboardEmbedUrlRequest): GetDashboardEmbedUrlResponse
/**
* Generates a session URL and authorization code that you can use to embed an Amazon Amazon QuickSight read-only dashboard 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 Analytics Using GetDashboardEmbedUrl](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html) in the *Amazon QuickSight User Guide*.
*
* For more information about the high-level steps for embedding and for an interactive demo of the ways you can customize embedding, visit the [Amazon QuickSight Developer Portal](https://docs.aws.amazon.com/quicksight/latest/user/quicksight-dev-portal.html).
*/
suspend fun getDashboardEmbedUrl(block: GetDashboardEmbedUrlRequest.Builder.() -> Unit) = getDashboardEmbedUrl(GetDashboardEmbedUrlRequest.Builder().apply(block).build())
/**
* Generates a session URL and authorization code that you can use to embed the Amazon Amazon QuickSight console in your web server code. Use `GetSessionEmbedUrl` where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who access an embedded Amazon QuickSight console need belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the ` UpdateUser ` API operation. Use ` RegisterUser ` API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the *Amazon QuickSight User Guide*:
* + [Embedding Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
* + [Customizing Access to the Amazon QuickSight Console](https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
*/
suspend fun getSessionEmbedUrl(input: GetSessionEmbedUrlRequest): GetSessionEmbedUrlResponse
/**
* Generates a session URL and authorization code that you can use to embed the Amazon Amazon QuickSight console in your web server code. Use `GetSessionEmbedUrl` where you want to provide an authoring portal that allows users to create data sources, datasets, analyses, and dashboards. The users who access an embedded Amazon QuickSight console need belong to the author or admin security cohort. If you want to restrict permissions to some of these features, add a custom permissions profile to the user with the ` UpdateUser ` API operation. Use ` RegisterUser ` API operation to add a new user with a custom permission profile attached. For more information, see the following sections in the *Amazon QuickSight User Guide*:
* + [Embedding Analytics](https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html)
* + [Customizing Access to the Amazon QuickSight Console](https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html)
*/
suspend fun getSessionEmbedUrl(block: GetSessionEmbedUrlRequest.Builder.() -> Unit) = getSessionEmbedUrl(GetSessionEmbedUrlRequest.Builder().apply(block).build())
/**
* Lists Amazon QuickSight analyses that exist in the specified Amazon Web Services account.
*/
suspend fun listAnalyses(input: ListAnalysesRequest): ListAnalysesResponse
/**
* Lists Amazon QuickSight analyses that exist in the specified Amazon Web Services account.
*/
suspend fun listAnalyses(block: ListAnalysesRequest.Builder.() -> Unit) = listAnalyses(ListAnalysesRequest.Builder().apply(block).build())
/**
* Lists all the versions of the dashboards in the Amazon QuickSight subscription.
*/
suspend fun listDashboardVersions(input: ListDashboardVersionsRequest): ListDashboardVersionsResponse
/**
* Lists all the versions of the dashboards in the Amazon QuickSight subscription.
*/
suspend fun listDashboardVersions(block: ListDashboardVersionsRequest.Builder.() -> Unit) = listDashboardVersions(ListDashboardVersionsRequest.Builder().apply(block).build())
/**
* Lists dashboards in an Amazon Web Services account.
*/
suspend fun listDashboards(input: ListDashboardsRequest): ListDashboardsResponse
/**
* Lists dashboards in an Amazon Web Services account.
*/
suspend fun listDashboards(block: ListDashboardsRequest.Builder.() -> Unit) = listDashboards(ListDashboardsRequest.Builder().apply(block).build())
/**
* Lists all of the datasets belonging to the current Amazon Web Services account in an Amazon Web Services Region.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/*`.
*/
suspend fun listDataSets(input: ListDataSetsRequest): ListDataSetsResponse
/**
* Lists all of the datasets belonging to the current Amazon Web Services account in an Amazon Web Services Region.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/*`.
*/
suspend fun listDataSets(block: ListDataSetsRequest.Builder.() -> Unit) = listDataSets(ListDataSetsRequest.Builder().apply(block).build())
/**
* Lists data sources in current Amazon Web Services Region that belong to this Amazon Web Services account.
*/
suspend fun listDataSources(input: ListDataSourcesRequest): ListDataSourcesResponse
/**
* Lists data sources in current Amazon Web Services Region that belong to this Amazon Web Services account.
*/
suspend fun listDataSources(block: ListDataSourcesRequest.Builder.() -> Unit) = listDataSources(ListDataSourcesRequest.Builder().apply(block).build())
/**
* List all assets (`DASHBOARD`, `ANALYSIS`, and `DATASET`) in a folder.
*/
suspend fun listFolderMembers(input: ListFolderMembersRequest): ListFolderMembersResponse
/**
* List all assets (`DASHBOARD`, `ANALYSIS`, and `DATASET`) in a folder.
*/
suspend fun listFolderMembers(block: ListFolderMembersRequest.Builder.() -> Unit) = listFolderMembers(ListFolderMembersRequest.Builder().apply(block).build())
/**
* Lists all folders in an account.
*/
suspend fun listFolders(input: ListFoldersRequest): ListFoldersResponse
/**
* Lists all folders in an account.
*/
suspend fun listFolders(block: ListFoldersRequest.Builder.() -> Unit) = listFolders(ListFoldersRequest.Builder().apply(block).build())
/**
* Lists member users in a group.
*/
suspend fun listGroupMemberships(input: ListGroupMembershipsRequest): ListGroupMembershipsResponse
/**
* Lists member users in a group.
*/
suspend fun listGroupMemberships(block: ListGroupMembershipsRequest.Builder.() -> Unit) = listGroupMemberships(ListGroupMembershipsRequest.Builder().apply(block).build())
/**
* Lists all user groups in Amazon QuickSight.
*/
suspend fun listGroups(input: ListGroupsRequest): ListGroupsResponse
/**
* Lists all user groups in Amazon QuickSight.
*/
suspend fun listGroups(block: ListGroupsRequest.Builder.() -> Unit) = listGroups(ListGroupsRequest.Builder().apply(block).build())
/**
* Lists IAM policy assignments in the current Amazon QuickSight account.
*/
suspend fun listIamPolicyAssignments(input: ListIamPolicyAssignmentsRequest): ListIamPolicyAssignmentsResponse
/**
* Lists IAM policy assignments in the current Amazon QuickSight account.
*/
suspend fun listIamPolicyAssignments(block: ListIamPolicyAssignmentsRequest.Builder.() -> Unit) = listIamPolicyAssignments(ListIamPolicyAssignmentsRequest.Builder().apply(block).build())
/**
* 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.
*/
suspend fun listIamPolicyAssignmentsForUser(input: ListIamPolicyAssignmentsForUserRequest): ListIamPolicyAssignmentsForUserResponse
/**
* 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.
*/
suspend fun listIamPolicyAssignmentsForUser(block: ListIamPolicyAssignmentsForUserRequest.Builder.() -> Unit) = listIamPolicyAssignmentsForUser(ListIamPolicyAssignmentsForUserRequest.Builder().apply(block).build())
/**
* Lists the history of SPICE ingestions for a dataset.
*/
suspend fun listIngestions(input: ListIngestionsRequest): ListIngestionsResponse
/**
* Lists the history of SPICE ingestions for a dataset.
*/
suspend fun listIngestions(block: ListIngestionsRequest.Builder.() -> Unit) = listIngestions(ListIngestionsRequest.Builder().apply(block).build())
/**
* Lists the namespaces for the specified Amazon Web Services account.
*/
suspend fun listNamespaces(input: ListNamespacesRequest): ListNamespacesResponse
/**
* Lists the namespaces for the specified Amazon Web Services account.
*/
suspend fun listNamespaces(block: ListNamespacesRequest.Builder.() -> Unit) = listNamespaces(ListNamespacesRequest.Builder().apply(block).build())
/**
* Lists the tags assigned to a resource.
*/
suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse
/**
* Lists the tags assigned to a resource.
*/
suspend fun listTagsForResource(block: ListTagsForResourceRequest.Builder.() -> Unit) = listTagsForResource(ListTagsForResourceRequest.Builder().apply(block).build())
/**
* Lists all the aliases of a template.
*/
suspend fun listTemplateAliases(input: ListTemplateAliasesRequest): ListTemplateAliasesResponse
/**
* Lists all the aliases of a template.
*/
suspend fun listTemplateAliases(block: ListTemplateAliasesRequest.Builder.() -> Unit) = listTemplateAliases(ListTemplateAliasesRequest.Builder().apply(block).build())
/**
* Lists all the versions of the templates in the current Amazon QuickSight account.
*/
suspend fun listTemplateVersions(input: ListTemplateVersionsRequest): ListTemplateVersionsResponse
/**
* Lists all the versions of the templates in the current Amazon QuickSight account.
*/
suspend fun listTemplateVersions(block: ListTemplateVersionsRequest.Builder.() -> Unit) = listTemplateVersions(ListTemplateVersionsRequest.Builder().apply(block).build())
/**
* Lists all the templates in the current Amazon QuickSight account.
*/
suspend fun listTemplates(input: ListTemplatesRequest): ListTemplatesResponse
/**
* Lists all the templates in the current Amazon QuickSight account.
*/
suspend fun listTemplates(block: ListTemplatesRequest.Builder.() -> Unit) = listTemplates(ListTemplatesRequest.Builder().apply(block).build())
/**
* Lists all the aliases of a theme.
*/
suspend fun listThemeAliases(input: ListThemeAliasesRequest): ListThemeAliasesResponse
/**
* Lists all the aliases of a theme.
*/
suspend fun listThemeAliases(block: ListThemeAliasesRequest.Builder.() -> Unit) = listThemeAliases(ListThemeAliasesRequest.Builder().apply(block).build())
/**
* Lists all the versions of the themes in the current Amazon Web Services account.
*/
suspend fun listThemeVersions(input: ListThemeVersionsRequest): ListThemeVersionsResponse
/**
* Lists all the versions of the themes in the current Amazon Web Services account.
*/
suspend fun listThemeVersions(block: ListThemeVersionsRequest.Builder.() -> Unit) = listThemeVersions(ListThemeVersionsRequest.Builder().apply(block).build())
/**
* Lists all the themes in the current Amazon Web Services account.
*/
suspend fun listThemes(input: ListThemesRequest): ListThemesResponse
/**
* Lists all the themes in the current Amazon Web Services account.
*/
suspend fun listThemes(block: ListThemesRequest.Builder.() -> Unit) = listThemes(ListThemesRequest.Builder().apply(block).build())
/**
* Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
*/
suspend fun listUserGroups(input: ListUserGroupsRequest): ListUserGroupsResponse
/**
* Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
*/
suspend fun listUserGroups(block: ListUserGroupsRequest.Builder.() -> Unit) = listUserGroups(ListUserGroupsRequest.Builder().apply(block).build())
/**
* Returns a list of all of the Amazon QuickSight users belonging to this account.
*/
suspend fun listUsers(input: ListUsersRequest): ListUsersResponse
/**
* Returns a list of all of the Amazon QuickSight users belonging to this account.
*/
suspend fun listUsers(block: ListUsersRequest.Builder.() -> Unit) = listUsers(ListUsersRequest.Builder().apply(block).build())
/**
* Creates an Amazon QuickSight user, whose identity is associated with the Identity and Access Management (IAM) identity or role specified in the request.
*/
suspend fun registerUser(input: RegisterUserRequest): RegisterUserResponse
/**
* Creates an Amazon QuickSight user, whose identity is associated with the Identity and Access Management (IAM) identity or role specified in the request.
*/
suspend fun registerUser(block: RegisterUserRequest.Builder.() -> Unit) = registerUser(RegisterUserRequest.Builder().apply(block).build())
/**
* Restores an analysis.
*/
suspend fun restoreAnalysis(input: RestoreAnalysisRequest): RestoreAnalysisResponse
/**
* Restores an analysis.
*/
suspend fun restoreAnalysis(block: RestoreAnalysisRequest.Builder.() -> Unit) = restoreAnalysis(RestoreAnalysisRequest.Builder().apply(block).build())
/**
* Searches for analyses that belong to the user specified in the filter.
*
* This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
*/
suspend fun searchAnalyses(input: SearchAnalysesRequest): SearchAnalysesResponse
/**
* Searches for analyses that belong to the user specified in the filter.
*
* This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
*/
suspend fun searchAnalyses(block: SearchAnalysesRequest.Builder.() -> Unit) = searchAnalyses(SearchAnalysesRequest.Builder().apply(block).build())
/**
* Searches for dashboards that belong to a user.
*
* This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
*/
suspend fun searchDashboards(input: SearchDashboardsRequest): SearchDashboardsResponse
/**
* Searches for dashboards that belong to a user.
*
* This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.
*/
suspend fun searchDashboards(block: SearchDashboardsRequest.Builder.() -> Unit) = searchDashboards(SearchDashboardsRequest.Builder().apply(block).build())
/**
* Searches the subfolders in a folder.
*/
suspend fun searchFolders(input: SearchFoldersRequest): SearchFoldersResponse
/**
* Searches the subfolders in a folder.
*/
suspend fun searchFolders(block: SearchFoldersRequest.Builder.() -> Unit) = searchFolders(SearchFoldersRequest.Builder().apply(block).build())
/**
* Use the `SearchGroups` operation to search groups in a specified Amazon QuickSight namespace using the supplied filters.
*/
suspend fun searchGroups(input: SearchGroupsRequest): SearchGroupsResponse
/**
* Use the `SearchGroups` operation to search groups in a specified Amazon QuickSight namespace using the supplied filters.
*/
suspend fun searchGroups(block: SearchGroupsRequest.Builder.() -> Unit) = searchGroups(SearchGroupsRequest.Builder().apply(block).build())
/**
* Assigns one or more tags (key-value pairs) to the specified Amazon 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. Amazon QuickSight supports tagging on data set, data source, dashboard, and template.
*
* Tagging for Amazon QuickSight works in a similar way to tagging for other Amazon Web Services services, except for the following:
* + You can't use tags to track costs for Amazon QuickSight. This isn't possible because you can't tag the resources that Amazon QuickSight costs are based on, for example Amazon QuickSight storage capacity (SPICE), number of users, type of users, and usage metrics.
* + Amazon QuickSight doesn't currently support the tag editor for Resource Groups.
*/
suspend fun tagResource(input: TagResourceRequest): TagResourceResponse
/**
* Assigns one or more tags (key-value pairs) to the specified Amazon 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. Amazon QuickSight supports tagging on data set, data source, dashboard, and template.
*
* Tagging for Amazon QuickSight works in a similar way to tagging for other Amazon Web Services services, except for the following:
* + You can't use tags to track costs for Amazon QuickSight. This isn't possible because you can't tag the resources that Amazon QuickSight costs are based on, for example Amazon QuickSight storage capacity (SPICE), number of users, type of users, and usage metrics.
* + Amazon QuickSight doesn't currently support the tag editor for Resource Groups.
*/
suspend fun tagResource(block: TagResourceRequest.Builder.() -> Unit) = tagResource(TagResourceRequest.Builder().apply(block).build())
/**
* Removes a tag or tags from a resource.
*/
suspend fun untagResource(input: UntagResourceRequest): UntagResourceResponse
/**
* Removes a tag or tags from a resource.
*/
suspend fun untagResource(block: UntagResourceRequest.Builder.() -> Unit) = untagResource(UntagResourceRequest.Builder().apply(block).build())
/**
* Updates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, the only customization you can use is a theme.
*
* You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Amazon QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the `DescribeAccountCustomization` API operation.
*/
suspend fun updateAccountCustomization(input: UpdateAccountCustomizationRequest): UpdateAccountCustomizationResponse
/**
* Updates Amazon QuickSight customizations the current Amazon Web Services Region. Currently, the only customization you can use is a theme.
*
* You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Amazon QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the `DescribeAccountCustomization` API operation.
*/
suspend fun updateAccountCustomization(block: UpdateAccountCustomizationRequest.Builder.() -> Unit) = updateAccountCustomization(UpdateAccountCustomizationRequest.Builder().apply(block).build())
/**
* Updates the Amazon QuickSight settings in your Amazon Web Services account.
*/
suspend fun updateAccountSettings(input: UpdateAccountSettingsRequest): UpdateAccountSettingsResponse
/**
* Updates the Amazon QuickSight settings in your Amazon Web Services account.
*/
suspend fun updateAccountSettings(block: UpdateAccountSettingsRequest.Builder.() -> Unit) = updateAccountSettings(UpdateAccountSettingsRequest.Builder().apply(block).build())
/**
* Updates an analysis in Amazon QuickSight
*/
suspend fun updateAnalysis(input: UpdateAnalysisRequest): UpdateAnalysisResponse
/**
* Updates an analysis in Amazon QuickSight
*/
suspend fun updateAnalysis(block: UpdateAnalysisRequest.Builder.() -> Unit) = updateAnalysis(UpdateAnalysisRequest.Builder().apply(block).build())
/**
* Updates the read and write permissions for an analysis.
*/
suspend fun updateAnalysisPermissions(input: UpdateAnalysisPermissionsRequest): UpdateAnalysisPermissionsResponse
/**
* Updates the read and write permissions for an analysis.
*/
suspend fun updateAnalysisPermissions(block: UpdateAnalysisPermissionsRequest.Builder.() -> Unit) = updateAnalysisPermissions(UpdateAnalysisPermissionsRequest.Builder().apply(block).build())
/**
* Updates a dashboard in an Amazon Web Services account.
*
* Updating a Dashboard creates a new dashboard version but does not immediately publish the new version. You can update the published version of a dashboard by using the ` UpdateDashboardPublishedVersion ` API operation.
*/
suspend fun updateDashboard(input: UpdateDashboardRequest): UpdateDashboardResponse
/**
* Updates a dashboard in an Amazon Web Services account.
*
* Updating a Dashboard creates a new dashboard version but does not immediately publish the new version. You can update the published version of a dashboard by using the ` UpdateDashboardPublishedVersion ` API operation.
*/
suspend fun updateDashboard(block: UpdateDashboardRequest.Builder.() -> Unit) = updateDashboard(UpdateDashboardRequest.Builder().apply(block).build())
/**
* Updates read and write permissions on a dashboard.
*/
suspend fun updateDashboardPermissions(input: UpdateDashboardPermissionsRequest): UpdateDashboardPermissionsResponse
/**
* Updates read and write permissions on a dashboard.
*/
suspend fun updateDashboardPermissions(block: UpdateDashboardPermissionsRequest.Builder.() -> Unit) = updateDashboardPermissions(UpdateDashboardPermissionsRequest.Builder().apply(block).build())
/**
* Updates the published version of a dashboard.
*/
suspend fun updateDashboardPublishedVersion(input: UpdateDashboardPublishedVersionRequest): UpdateDashboardPublishedVersionResponse
/**
* Updates the published version of a dashboard.
*/
suspend fun updateDashboardPublishedVersion(block: UpdateDashboardPublishedVersionRequest.Builder.() -> Unit) = updateDashboardPublishedVersion(UpdateDashboardPublishedVersionRequest.Builder().apply(block).build())
/**
* Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun updateDataSet(input: UpdateDataSetRequest): UpdateDataSetResponse
/**
* Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.
*/
suspend fun updateDataSet(block: UpdateDataSetRequest.Builder.() -> Unit) = updateDataSet(UpdateDataSetRequest.Builder().apply(block).build())
/**
* Updates the permissions on a dataset.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/data-set-id`.
*/
suspend fun updateDataSetPermissions(input: UpdateDataSetPermissionsRequest): UpdateDataSetPermissionsResponse
/**
* Updates the permissions on a dataset.
*
* The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/data-set-id`.
*/
suspend fun updateDataSetPermissions(block: UpdateDataSetPermissionsRequest.Builder.() -> Unit) = updateDataSetPermissions(UpdateDataSetPermissionsRequest.Builder().apply(block).build())
/**
* Updates a data source.
*/
suspend fun updateDataSource(input: UpdateDataSourceRequest): UpdateDataSourceResponse
/**
* Updates a data source.
*/
suspend fun updateDataSource(block: UpdateDataSourceRequest.Builder.() -> Unit) = updateDataSource(UpdateDataSourceRequest.Builder().apply(block).build())
/**
* Updates the permissions to a data source.
*/
suspend fun updateDataSourcePermissions(input: UpdateDataSourcePermissionsRequest): UpdateDataSourcePermissionsResponse
/**
* Updates the permissions to a data source.
*/
suspend fun updateDataSourcePermissions(block: UpdateDataSourcePermissionsRequest.Builder.() -> Unit) = updateDataSourcePermissions(UpdateDataSourcePermissionsRequest.Builder().apply(block).build())
/**
* Updates the name of a folder.
*/
suspend fun updateFolder(input: UpdateFolderRequest): UpdateFolderResponse
/**
* Updates the name of a folder.
*/
suspend fun updateFolder(block: UpdateFolderRequest.Builder.() -> Unit) = updateFolder(UpdateFolderRequest.Builder().apply(block).build())
/**
* Updates permissions of a folder.
*/
suspend fun updateFolderPermissions(input: UpdateFolderPermissionsRequest): UpdateFolderPermissionsResponse
/**
* Updates permissions of a folder.
*/
suspend fun updateFolderPermissions(block: UpdateFolderPermissionsRequest.Builder.() -> Unit) = updateFolderPermissions(UpdateFolderPermissionsRequest.Builder().apply(block).build())
/**
* Changes a group description.
*/
suspend fun updateGroup(input: UpdateGroupRequest): UpdateGroupResponse
/**
* Changes a group description.
*/
suspend fun updateGroup(block: UpdateGroupRequest.Builder.() -> Unit) = updateGroup(UpdateGroupRequest.Builder().apply(block).build())
/**
* Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request. This overwrites all of the users included in `Identities`.
*/
suspend fun updateIamPolicyAssignment(input: UpdateIamPolicyAssignmentRequest): UpdateIamPolicyAssignmentResponse
/**
* Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request. This overwrites all of the users included in `Identities`.
*/
suspend fun updateIamPolicyAssignment(block: UpdateIamPolicyAssignmentRequest.Builder.() -> Unit) = updateIamPolicyAssignment(UpdateIamPolicyAssignmentRequest.Builder().apply(block).build())
/**
* Updates the content and status of IP rules. To use this operation, you need to provide the entire map of rules. You can use the `DescribeIpRestriction` operation to get the current rule map.
*/
suspend fun updateIpRestriction(input: UpdateIpRestrictionRequest): UpdateIpRestrictionResponse
/**
* Updates the content and status of IP rules. To use this operation, you need to provide the entire map of rules. You can use the `DescribeIpRestriction` operation to get the current rule map.
*/
suspend fun updateIpRestriction(block: UpdateIpRestrictionRequest.Builder.() -> Unit) = updateIpRestriction(UpdateIpRestrictionRequest.Builder().apply(block).build())
/**
* Updates a template from an existing Amazon QuickSight analysis or another template.
*/
suspend fun updateTemplate(input: UpdateTemplateRequest): UpdateTemplateResponse
/**
* Updates a template from an existing Amazon QuickSight analysis or another template.
*/
suspend fun updateTemplate(block: UpdateTemplateRequest.Builder.() -> Unit) = updateTemplate(UpdateTemplateRequest.Builder().apply(block).build())
/**
* Updates the template alias of a template.
*/
suspend fun updateTemplateAlias(input: UpdateTemplateAliasRequest): UpdateTemplateAliasResponse
/**
* Updates the template alias of a template.
*/
suspend fun updateTemplateAlias(block: UpdateTemplateAliasRequest.Builder.() -> Unit) = updateTemplateAlias(UpdateTemplateAliasRequest.Builder().apply(block).build())
/**
* Updates the resource permissions for a template.
*/
suspend fun updateTemplatePermissions(input: UpdateTemplatePermissionsRequest): UpdateTemplatePermissionsResponse
/**
* Updates the resource permissions for a template.
*/
suspend fun updateTemplatePermissions(block: UpdateTemplatePermissionsRequest.Builder.() -> Unit) = updateTemplatePermissions(UpdateTemplatePermissionsRequest.Builder().apply(block).build())
/**
* Updates a theme.
*/
suspend fun updateTheme(input: UpdateThemeRequest): UpdateThemeResponse
/**
* Updates a theme.
*/
suspend fun updateTheme(block: UpdateThemeRequest.Builder.() -> Unit) = updateTheme(UpdateThemeRequest.Builder().apply(block).build())
/**
* Updates an alias of a theme.
*/
suspend fun updateThemeAlias(input: UpdateThemeAliasRequest): UpdateThemeAliasResponse
/**
* Updates an alias of a theme.
*/
suspend fun updateThemeAlias(block: UpdateThemeAliasRequest.Builder.() -> Unit) = updateThemeAlias(UpdateThemeAliasRequest.Builder().apply(block).build())
/**
* Updates the resource permissions for a theme. Permissions apply to the action to grant or revoke permissions on, for example `"quicksight:DescribeTheme"`.
*
* Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions:
* + User
* + `"quicksight:DescribeTheme"`
* + `"quicksight:DescribeThemeAlias"`
* + `"quicksight:ListThemeAliases"`
* + `"quicksight:ListThemeVersions"`
* + Owner
* + `"quicksight:DescribeTheme"`
* + `"quicksight:DescribeThemeAlias"`
* + `"quicksight:ListThemeAliases"`
* + `"quicksight:ListThemeVersions"`
* + `"quicksight:DeleteTheme"`
* + `"quicksight:UpdateTheme"`
* + `"quicksight:CreateThemeAlias"`
* + `"quicksight:DeleteThemeAlias"`
* + `"quicksight:UpdateThemeAlias"`
* + `"quicksight:UpdateThemePermissions"`
* + `"quicksight:DescribeThemePermissions"`
* + To specify no permissions, omit the permissions list.
*/
suspend fun updateThemePermissions(input: UpdateThemePermissionsRequest): UpdateThemePermissionsResponse
/**
* Updates the resource permissions for a theme. Permissions apply to the action to grant or revoke permissions on, for example `"quicksight:DescribeTheme"`.
*
* Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions:
* + User
* + `"quicksight:DescribeTheme"`
* + `"quicksight:DescribeThemeAlias"`
* + `"quicksight:ListThemeAliases"`
* + `"quicksight:ListThemeVersions"`
* + Owner
* + `"quicksight:DescribeTheme"`
* + `"quicksight:DescribeThemeAlias"`
* + `"quicksight:ListThemeAliases"`
* + `"quicksight:ListThemeVersions"`
* + `"quicksight:DeleteTheme"`
* + `"quicksight:UpdateTheme"`
* + `"quicksight:CreateThemeAlias"`
* + `"quicksight:DeleteThemeAlias"`
* + `"quicksight:UpdateThemeAlias"`
* + `"quicksight:UpdateThemePermissions"`
* + `"quicksight:DescribeThemePermissions"`
* + To specify no permissions, omit the permissions list.
*/
suspend fun updateThemePermissions(block: UpdateThemePermissionsRequest.Builder.() -> Unit) = updateThemePermissions(UpdateThemePermissionsRequest.Builder().apply(block).build())
/**
* Updates an Amazon QuickSight user.
*/
suspend fun updateUser(input: UpdateUserRequest): UpdateUserResponse
/**
* Updates an Amazon QuickSight user.
*/
suspend fun updateUser(block: UpdateUserRequest.Builder.() -> Unit) = updateUser(UpdateUserRequest.Builder().apply(block).build())
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy