You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::QuickSight::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::QuickSight::Client
- Defined in:
- (unknown)
Overview
An API client for Amazon QuickSight. To construct a client, you need to configure a :region
and :credentials
.
quicksight = Aws::QuickSight::Client.new(
region: region_name,
credentials: credentials,
# ...
)
See #initialize for a full list of supported configuration options.
Region
You can configure a default region in the following locations:
ENV['AWS_REGION']
Aws.config[:region]
Go here for a list of supported regions.
Credentials
Default credentials are loaded automatically from the following locations:
ENV['AWS_ACCESS_KEY_ID']
andENV['AWS_SECRET_ACCESS_KEY']
Aws.config[:credentials]
- The shared credentials ini file at
~/.aws/credentials
(more information) - From an instance profile when running on EC2
You can also construct a credentials object from one of the following classes:
Alternatively, you configure credentials with :access_key_id
and
:secret_access_key
:
# load credentials from disk
creds = YAML.load(File.read('/path/to/secrets'))
Aws::QuickSight::Client.new(
access_key_id: creds['access_key_id'],
secret_access_key: creds['secret_access_key']
)
Always load your credentials from outside your application. Avoid configuring credentials statically and never commit them to source control.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
Constructor collapse
-
#initialize(options = {}) ⇒ Aws::QuickSight::Client
constructor
Constructs an API client.
API Operations collapse
-
#cancel_ingestion(options = {}) ⇒ Types::CancelIngestionResponse
Cancels an ongoing ingestion of data into SPICE.
.
-
#create_account_customization(options = {}) ⇒ Types::CreateAccountCustomizationResponse
Creates Amazon QuickSight customizations the current AWS Region.
-
#create_analysis(options = {}) ⇒ Types::CreateAnalysisResponse
Creates an analysis in Amazon QuickSight.
.
-
#create_dashboard(options = {}) ⇒ Types::CreateDashboardResponse
Creates a dashboard from a template.
-
#create_data_set(options = {}) ⇒ Types::CreateDataSetResponse
Creates a dataset.
.
-
#create_data_source(options = {}) ⇒ Types::CreateDataSourceResponse
Creates a data source.
.
-
#create_group(options = {}) ⇒ Types::CreateGroupResponse
Creates an Amazon QuickSight group.
The permissions resource is
arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name>
.The response is a group object.
. -
#create_group_membership(options = {}) ⇒ Types::CreateGroupMembershipResponse
Adds an Amazon QuickSight user to an Amazon QuickSight group.
-
#create_iam_policy_assignment(options = {}) ⇒ Types::CreateIAMPolicyAssignmentResponse
Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN).
-
#create_ingestion(options = {}) ⇒ Types::CreateIngestionResponse
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.
-
#create_namespace(options = {}) ⇒ Types::CreateNamespaceResponse
(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.
-
#create_template(options = {}) ⇒ Types::CreateTemplateResponse
Creates a template from an existing QuickSight analysis or template.
-
#create_template_alias(options = {}) ⇒ Types::CreateTemplateAliasResponse
Creates a template alias for a template.
.
-
#create_theme(options = {}) ⇒ Types::CreateThemeResponse
Creates a theme.
A theme is set of configuration options for color and layout.
-
#create_theme_alias(options = {}) ⇒ Types::CreateThemeAliasResponse
Creates a theme alias for a theme.
.
-
#delete_account_customization(options = {}) ⇒ Types::DeleteAccountCustomizationResponse
Deletes all Amazon QuickSight customizations in this AWS Region for the specified AWS account and QuickSight namespace.
.
-
#delete_analysis(options = {}) ⇒ Types::DeleteAnalysisResponse
Deletes an analysis from Amazon QuickSight.
-
#delete_dashboard(options = {}) ⇒ Types::DeleteDashboardResponse
Deletes a dashboard.
.
-
#delete_data_set(options = {}) ⇒ Types::DeleteDataSetResponse
Deletes a dataset.
.
-
#delete_data_source(options = {}) ⇒ Types::DeleteDataSourceResponse
Deletes the data source permanently.
-
#delete_group(options = {}) ⇒ Types::DeleteGroupResponse
Removes a user group from Amazon QuickSight.
-
#delete_group_membership(options = {}) ⇒ Types::DeleteGroupMembershipResponse
Removes a user from a group so that the user is no longer a member of the group.
.
-
#delete_iam_policy_assignment(options = {}) ⇒ Types::DeleteIAMPolicyAssignmentResponse
Deletes an existing IAM policy assignment.
.
-
#delete_namespace(options = {}) ⇒ Types::DeleteNamespaceResponse
Deletes a namespace and the users and groups that are associated with the namespace.
-
#delete_template(options = {}) ⇒ Types::DeleteTemplateResponse
Deletes a template.
.
-
#delete_template_alias(options = {}) ⇒ Types::DeleteTemplateAliasResponse
Deletes the item that the specified template alias points to.
-
#delete_theme(options = {}) ⇒ Types::DeleteThemeResponse
Deletes a theme.
.
-
#delete_theme_alias(options = {}) ⇒ Types::DeleteThemeAliasResponse
Deletes the version of the theme that the specified theme alias points to.
-
#delete_user(options = {}) ⇒ Types::DeleteUserResponse
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.
-
#delete_user_by_principal_id(options = {}) ⇒ Types::DeleteUserByPrincipalIdResponse
Deletes a user identified by its principal ID.
-
#describe_account_customization(options = {}) ⇒ Types::DescribeAccountCustomizationResponse
Describes the customizations associated with the provided AWS account and Amazon QuickSight namespace in an AWS Region.
-
#describe_account_settings(options = {}) ⇒ Types::DescribeAccountSettingsResponse
Describes the settings that were used when your QuickSight subscription was first created in this AWS account.
.
-
#describe_analysis(options = {}) ⇒ Types::DescribeAnalysisResponse
Provides a summary of the metadata for an analysis.
.
-
#describe_analysis_permissions(options = {}) ⇒ Types::DescribeAnalysisPermissionsResponse
Provides the read and write permissions for an analysis.
.
-
#describe_dashboard(options = {}) ⇒ Types::DescribeDashboardResponse
Provides a summary for a dashboard.
.
-
#describe_dashboard_permissions(options = {}) ⇒ Types::DescribeDashboardPermissionsResponse
Describes read and write permissions for a dashboard.
.
-
#describe_data_set(options = {}) ⇒ Types::DescribeDataSetResponse
Describes a dataset.
-
#describe_data_set_permissions(options = {}) ⇒ Types::DescribeDataSetPermissionsResponse
Describes the permissions on a dataset.
The permissions resource is
.arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
. -
#describe_data_source(options = {}) ⇒ Types::DescribeDataSourceResponse
Describes a data source.
.
-
#describe_data_source_permissions(options = {}) ⇒ Types::DescribeDataSourcePermissionsResponse
Describes the resource permissions for a data source.
.
-
#describe_group(options = {}) ⇒ Types::DescribeGroupResponse
Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
-
#describe_iam_policy_assignment(options = {}) ⇒ Types::DescribeIAMPolicyAssignmentResponse
Describes an existing IAM policy assignment, as specified by the assignment name.
.
-
#describe_ingestion(options = {}) ⇒ Types::DescribeIngestionResponse
Describes a SPICE ingestion.
.
-
#describe_namespace(options = {}) ⇒ Types::DescribeNamespaceResponse
Describes the current namespace.
.
-
#describe_template(options = {}) ⇒ Types::DescribeTemplateResponse
Describes a template's metadata.
.
-
#describe_template_alias(options = {}) ⇒ Types::DescribeTemplateAliasResponse
Describes the template alias for a template.
.
-
#describe_template_permissions(options = {}) ⇒ Types::DescribeTemplatePermissionsResponse
Describes read and write permissions on a template.
.
-
#describe_theme(options = {}) ⇒ Types::DescribeThemeResponse
Describes a theme.
.
-
#describe_theme_alias(options = {}) ⇒ Types::DescribeThemeAliasResponse
Describes the alias for a theme.
.
-
#describe_theme_permissions(options = {}) ⇒ Types::DescribeThemePermissionsResponse
Describes the read and write permissions for a theme.
.
-
#describe_user(options = {}) ⇒ Types::DescribeUserResponse
Returns information about a user, given the user name.
-
#get_dashboard_embed_url(options = {}) ⇒ Types::GetDashboardEmbedUrlResponse
Generates a session URL and authorization code that you can use to embed an Amazon QuickSight read-only dashboard in your web server code.
-
#get_session_embed_url(options = {}) ⇒ Types::GetSessionEmbedUrlResponse
Generates a session URL and authorization code that you can use to embed the Amazon QuickSight console in your web server code.
-
#list_analyses(options = {}) ⇒ Types::ListAnalysesResponse
Lists Amazon QuickSight analyses that exist in the specified AWS account.
.
-
#list_dashboard_versions(options = {}) ⇒ Types::ListDashboardVersionsResponse
Lists all the versions of the dashboards in the QuickSight subscription.
.
-
#list_dashboards(options = {}) ⇒ Types::ListDashboardsResponse
Lists dashboards in an AWS account.
.
-
#list_data_sets(options = {}) ⇒ Types::ListDataSetsResponse
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/*
. -
#list_data_sources(options = {}) ⇒ Types::ListDataSourcesResponse
Lists data sources in current AWS Region that belong to this AWS account.
.
-
#list_group_memberships(options = {}) ⇒ Types::ListGroupMembershipsResponse
Lists member users in a group.
.
-
#list_groups(options = {}) ⇒ Types::ListGroupsResponse
Lists all user groups in Amazon QuickSight.
-
#list_iam_policy_assignments(options = {}) ⇒ Types::ListIAMPolicyAssignmentsResponse
Lists IAM policy assignments in the current Amazon QuickSight account.
.
-
#list_iam_policy_assignments_for_user(options = {}) ⇒ Types::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.
.
-
#list_ingestions(options = {}) ⇒ Types::ListIngestionsResponse
Lists the history of SPICE ingestions for a dataset.
.
-
#list_namespaces(options = {}) ⇒ Types::ListNamespacesResponse
Lists the namespaces for the specified AWS account.
.
-
#list_tags_for_resource(options = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags assigned to a resource.
.
-
#list_template_aliases(options = {}) ⇒ Types::ListTemplateAliasesResponse
Lists all the aliases of a template.
.
-
#list_template_versions(options = {}) ⇒ Types::ListTemplateVersionsResponse
Lists all the versions of the templates in the current Amazon QuickSight account.
.
-
#list_templates(options = {}) ⇒ Types::ListTemplatesResponse
Lists all the templates in the current Amazon QuickSight account.
.
-
#list_theme_aliases(options = {}) ⇒ Types::ListThemeAliasesResponse
Lists all the aliases of a theme.
.
-
#list_theme_versions(options = {}) ⇒ Types::ListThemeVersionsResponse
Lists all the versions of the themes in the current AWS account.
.
-
#list_themes(options = {}) ⇒ Types::ListThemesResponse
Lists all the themes in the current AWS account.
.
-
#list_user_groups(options = {}) ⇒ Types::ListUserGroupsResponse
Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
.
-
#list_users(options = {}) ⇒ Types::ListUsersResponse
Returns a list of all of the Amazon QuickSight users belonging to this account.
-
#register_user(options = {}) ⇒ Types::RegisterUserResponse
Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity and Access Management (IAM) identity or role specified in the request.
-
#restore_analysis(options = {}) ⇒ Types::RestoreAnalysisResponse
Restores an analysis.
.
-
#search_analyses(options = {}) ⇒ Types::SearchAnalysesResponse
Searches for analyses that belong to the user specified in the filter.
.
-
#search_dashboards(options = {}) ⇒ Types::SearchDashboardsResponse
Searches for dashboards that belong to a user.
-
#tag_resource(options = {}) ⇒ Types::TagResourceResponse
Assigns one or more tags (key-value pairs) to the specified QuickSight resource.
-
#untag_resource(options = {}) ⇒ Types::UntagResourceResponse
Removes a tag or tags from a resource.
.
-
#update_account_customization(options = {}) ⇒ Types::UpdateAccountCustomizationResponse
Updates Amazon QuickSight customizations the current AWS Region.
-
#update_account_settings(options = {}) ⇒ Types::UpdateAccountSettingsResponse
Updates the Amazon QuickSight settings in your AWS account.
.
-
#update_analysis(options = {}) ⇒ Types::UpdateAnalysisResponse
Updates an analysis in Amazon QuickSight
.
-
#update_analysis_permissions(options = {}) ⇒ Types::UpdateAnalysisPermissionsResponse
Updates the read and write permissions for an analysis.
.
-
#update_dashboard(options = {}) ⇒ Types::UpdateDashboardResponse
Updates a dashboard in an AWS account.
.
-
#update_dashboard_permissions(options = {}) ⇒ Types::UpdateDashboardPermissionsResponse
Updates read and write permissions on a dashboard.
.
-
#update_dashboard_published_version(options = {}) ⇒ Types::UpdateDashboardPublishedVersionResponse
Updates the published version of a dashboard.
.
-
#update_data_set(options = {}) ⇒ Types::UpdateDataSetResponse
Updates a dataset.
.
-
#update_data_set_permissions(options = {}) ⇒ Types::UpdateDataSetPermissionsResponse
Updates the permissions on a dataset.
The permissions resource is
.arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
. -
#update_data_source(options = {}) ⇒ Types::UpdateDataSourceResponse
Updates a data source.
.
-
#update_data_source_permissions(options = {}) ⇒ Types::UpdateDataSourcePermissionsResponse
Updates the permissions to a data source.
.
-
#update_group(options = {}) ⇒ Types::UpdateGroupResponse
Changes a group description.
-
#update_iam_policy_assignment(options = {}) ⇒ Types::UpdateIAMPolicyAssignmentResponse
Updates an existing IAM policy assignment.
-
#update_template(options = {}) ⇒ Types::UpdateTemplateResponse
Updates a template from an existing Amazon QuickSight analysis or another template.
.
-
#update_template_alias(options = {}) ⇒ Types::UpdateTemplateAliasResponse
Updates the template alias of a template.
.
-
#update_template_permissions(options = {}) ⇒ Types::UpdateTemplatePermissionsResponse
Updates the resource permissions for a template.
.
-
#update_theme(options = {}) ⇒ Types::UpdateThemeResponse
Updates a theme.
.
-
#update_theme_alias(options = {}) ⇒ Types::UpdateThemeAliasResponse
Updates an alias of a theme.
.
-
#update_theme_permissions(options = {}) ⇒ Types::UpdateThemePermissionsResponse
Updates the resource permissions for a theme.
-
#update_user(options = {}) ⇒ Types::UpdateUserResponse
Updates an Amazon QuickSight user.
.
Instance Method Summary collapse
-
#wait_until(waiter_name, params = {}) {|waiter| ... } ⇒ Boolean
Waiters polls an API operation until a resource enters a desired state.
-
#waiter_names ⇒ Array<Symbol>
Returns the list of supported waiters.
Methods inherited from Seahorse::Client::Base
add_plugin, api, #build_request, clear_plugins, define, new, #operation, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options = {}) ⇒ Aws::QuickSight::Client
Constructs an API client.
Instance Method Details
#cancel_ingestion(options = {}) ⇒ Types::CancelIngestionResponse
Cancels an ongoing ingestion of data into SPICE.
#create_account_customization(options = {}) ⇒ Types::CreateAccountCustomizationResponse
Creates Amazon QuickSight customizations the current AWS Region. Currently, you can add a custom default theme by using the CreateAccountCustomization
or UpdateAccountCustomization
API operation. To further customize QuickSight by removing QuickSight sample assets and videos for all new users, see Customizing QuickSight in the Amazon QuickSight User Guide.
You can create customizations for your AWS 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 AWS 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.
#create_analysis(options = {}) ⇒ Types::CreateAnalysisResponse
Creates an analysis in Amazon QuickSight.
#create_dashboard(options = {}) ⇒ Types::CreateDashboardResponse
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. If you have the correct permissions, you can create a dashboard from a template that exists in a different AWS account.
#create_data_set(options = {}) ⇒ Types::CreateDataSetResponse
Creates a dataset.
#create_data_source(options = {}) ⇒ Types::CreateDataSourceResponse
Creates a data source.
#create_group(options = {}) ⇒ Types::CreateGroupResponse
Creates an Amazon QuickSight group.
The permissions resource is arn:aws:quicksight:us-east-1:<relevant-aws-account-id>:group/default/<group-name>
.
The response is a group object.
#create_group_membership(options = {}) ⇒ Types::CreateGroupMembershipResponse
Adds an Amazon QuickSight user to an Amazon QuickSight group.
#create_iam_policy_assignment(options = {}) ⇒ Types::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 AWS account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
#create_ingestion(options = {}) ⇒ Types::CreateIngestionResponse
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.
#create_namespace(options = {}) ⇒ Types::CreateNamespaceResponse
(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.
#create_template(options = {}) ⇒ Types::CreateTemplateResponse
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.
#create_template_alias(options = {}) ⇒ Types::CreateTemplateAliasResponse
Creates a template alias for a template.
#create_theme(options = {}) ⇒ Types::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 in the Amazon QuickSight User Guide.
#create_theme_alias(options = {}) ⇒ Types::CreateThemeAliasResponse
Creates a theme alias for a theme.
#delete_account_customization(options = {}) ⇒ Types::DeleteAccountCustomizationResponse
Deletes all Amazon QuickSight customizations in this AWS Region for the specified AWS account and QuickSight namespace.
#delete_analysis(options = {}) ⇒ Types::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. QuickSight attaches a DeletionTime
stamp to the response that specifies the end of the recovery window. At the end of the recovery window, 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 QuickSight console. To access it in the console, restore it. Deleting an analysis doesn't delete the dashboards that you publish from it.
#delete_dashboard(options = {}) ⇒ Types::DeleteDashboardResponse
Deletes a dashboard.
#delete_data_set(options = {}) ⇒ Types::DeleteDataSetResponse
Deletes a dataset.
#delete_data_source(options = {}) ⇒ Types::DeleteDataSourceResponse
Deletes the data source permanently. This operation breaks all the datasets that reference the deleted data source.
#delete_group(options = {}) ⇒ Types::DeleteGroupResponse
Removes a user group from Amazon QuickSight.
#delete_group_membership(options = {}) ⇒ Types::DeleteGroupMembershipResponse
Removes a user from a group so that the user is no longer a member of the group.
#delete_iam_policy_assignment(options = {}) ⇒ Types::DeleteIAMPolicyAssignmentResponse
Deletes an existing IAM policy assignment.
#delete_namespace(options = {}) ⇒ Types::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.
#delete_template(options = {}) ⇒ Types::DeleteTemplateResponse
Deletes a template.
#delete_template_alias(options = {}) ⇒ Types::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.
#delete_theme(options = {}) ⇒ Types::DeleteThemeResponse
Deletes a theme.
#delete_theme_alias(options = {}) ⇒ Types::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.
#delete_user(options = {}) ⇒ Types::DeleteUserResponse
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.
#delete_user_by_principal_id(options = {}) ⇒ Types::DeleteUserByPrincipalIdResponse
Deletes a user identified by its principal ID.
#describe_account_customization(options = {}) ⇒ Types::DescribeAccountCustomizationResponse
Describes the customizations associated with the provided AWS account and Amazon QuickSight namespace in an AWS Region. The 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.
-
AWS Account
- The AWS account exists at the top of the hierarchy. It has the potential to use all of the AWS Regions and AWS Services. When you subscribe to QuickSight, you choose one AWS Region to use as your home Region. That's where your free SPICE capacity is located. You can use QuickSight in any supported AWS Region. -
AWS Region
- In each AWS Region where you sign in to QuickSight at least once, 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 QuickSight in any AWS Region, unless they are constrained to a namespace.To run the command in a different AWS Region, you change your Region settings. If you're using the AWS CLI, you can use one of the following options:
-
Use command line options.
-
Use named profiles.
-
Run
aws configure
to change your default AWS Region. Use Enter to key the same settings for your keys. For more information, see Configuring the AWS CLI.
-
-
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 AWS account and AWS Region. -
Applied customizations
- Within an AWS Region, a set of QuickSight customizations can apply to an AWS account or to a namespace. Settings that you apply to a namespace override settings that you apply to an AWS account. All settings are isolated to a single AWS Region. To apply them in other AWS Regions, run theCreateAccountCustomization
command in each AWS Region where you want to apply the same customizations.
#describe_account_settings(options = {}) ⇒ Types::DescribeAccountSettingsResponse
Describes the settings that were used when your QuickSight subscription was first created in this AWS account.
#describe_analysis(options = {}) ⇒ Types::DescribeAnalysisResponse
Provides a summary of the metadata for an analysis.
#describe_analysis_permissions(options = {}) ⇒ Types::DescribeAnalysisPermissionsResponse
Provides the read and write permissions for an analysis.
#describe_dashboard(options = {}) ⇒ Types::DescribeDashboardResponse
Provides a summary for a dashboard.
#describe_dashboard_permissions(options = {}) ⇒ Types::DescribeDashboardPermissionsResponse
Describes read and write permissions for a dashboard.
#describe_data_set(options = {}) ⇒ Types::DescribeDataSetResponse
Describes a dataset.
#describe_data_set_permissions(options = {}) ⇒ Types::DescribeDataSetPermissionsResponse
Describes the permissions on a dataset.
The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
#describe_data_source(options = {}) ⇒ Types::DescribeDataSourceResponse
Describes a data source.
#describe_data_source_permissions(options = {}) ⇒ Types::DescribeDataSourcePermissionsResponse
Describes the resource permissions for a data source.
#describe_group(options = {}) ⇒ Types::DescribeGroupResponse
Returns an Amazon QuickSight group's description and Amazon Resource Name (ARN).
#describe_iam_policy_assignment(options = {}) ⇒ Types::DescribeIAMPolicyAssignmentResponse
Describes an existing IAM policy assignment, as specified by the assignment name.
#describe_ingestion(options = {}) ⇒ Types::DescribeIngestionResponse
Describes a SPICE ingestion.
#describe_namespace(options = {}) ⇒ Types::DescribeNamespaceResponse
Describes the current namespace.
#describe_template(options = {}) ⇒ Types::DescribeTemplateResponse
Describes a template's metadata.
#describe_template_alias(options = {}) ⇒ Types::DescribeTemplateAliasResponse
Describes the template alias for a template.
#describe_template_permissions(options = {}) ⇒ Types::DescribeTemplatePermissionsResponse
Describes read and write permissions on a template.
#describe_theme(options = {}) ⇒ Types::DescribeThemeResponse
Describes a theme.
#describe_theme_alias(options = {}) ⇒ Types::DescribeThemeAliasResponse
Describes the alias for a theme.
#describe_theme_permissions(options = {}) ⇒ Types::DescribeThemePermissionsResponse
Describes the read and write permissions for a theme.
#describe_user(options = {}) ⇒ Types::DescribeUserResponse
Returns information about a user, given the user name.
#get_dashboard_embed_url(options = {}) ⇒ Types::GetDashboardEmbedUrlResponse
Generates a session URL and authorization code that you can use to embed an 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 Amazon QuickSight in the Amazon QuickSight User Guide .
#get_session_embed_url(options = {}) ⇒ Types::GetSessionEmbedUrlResponse
Generates a session URL and authorization code that you can use to embed the 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 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:
#list_analyses(options = {}) ⇒ Types::ListAnalysesResponse
Lists Amazon QuickSight analyses that exist in the specified AWS account.
#list_dashboard_versions(options = {}) ⇒ Types::ListDashboardVersionsResponse
Lists all the versions of the dashboards in the QuickSight subscription.
#list_dashboards(options = {}) ⇒ Types::ListDashboardsResponse
Lists dashboards in an AWS account.
#list_data_sets(options = {}) ⇒ Types::ListDataSetsResponse
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/*
.
#list_data_sources(options = {}) ⇒ Types::ListDataSourcesResponse
Lists data sources in current AWS Region that belong to this AWS account.
#list_group_memberships(options = {}) ⇒ Types::ListGroupMembershipsResponse
Lists member users in a group.
#list_groups(options = {}) ⇒ Types::ListGroupsResponse
Lists all user groups in Amazon QuickSight.
#list_iam_policy_assignments(options = {}) ⇒ Types::ListIAMPolicyAssignmentsResponse
Lists IAM policy assignments in the current Amazon QuickSight account.
#list_iam_policy_assignments_for_user(options = {}) ⇒ Types::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.
#list_ingestions(options = {}) ⇒ Types::ListIngestionsResponse
Lists the history of SPICE ingestions for a dataset.
#list_namespaces(options = {}) ⇒ Types::ListNamespacesResponse
Lists the namespaces for the specified AWS account.
#list_tags_for_resource(options = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags assigned to a resource.
#list_template_aliases(options = {}) ⇒ Types::ListTemplateAliasesResponse
Lists all the aliases of a template.
#list_template_versions(options = {}) ⇒ Types::ListTemplateVersionsResponse
Lists all the versions of the templates in the current Amazon QuickSight account.
#list_templates(options = {}) ⇒ Types::ListTemplatesResponse
Lists all the templates in the current Amazon QuickSight account.
#list_theme_aliases(options = {}) ⇒ Types::ListThemeAliasesResponse
Lists all the aliases of a theme.
#list_theme_versions(options = {}) ⇒ Types::ListThemeVersionsResponse
Lists all the versions of the themes in the current AWS account.
#list_themes(options = {}) ⇒ Types::ListThemesResponse
Lists all the themes in the current AWS account.
#list_user_groups(options = {}) ⇒ Types::ListUserGroupsResponse
Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
#list_users(options = {}) ⇒ Types::ListUsersResponse
Returns a list of all of the Amazon QuickSight users belonging to this account.
#register_user(options = {}) ⇒ Types::RegisterUserResponse
Creates an Amazon QuickSight user, whose identity is associated with the AWS Identity and Access Management (IAM) identity or role specified in the request.
#restore_analysis(options = {}) ⇒ Types::RestoreAnalysisResponse
Restores an analysis.
#search_analyses(options = {}) ⇒ Types::SearchAnalysesResponse
Searches for analyses that belong to the user specified in the filter.
#search_dashboards(options = {}) ⇒ Types::SearchDashboardsResponse
Searches for dashboards that belong to a user.
#tag_resource(options = {}) ⇒ Types::TagResourceResponse
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.
#untag_resource(options = {}) ⇒ Types::UntagResourceResponse
Removes a tag or tags from a resource.
#update_account_customization(options = {}) ⇒ Types::UpdateAccountCustomizationResponse
Updates Amazon QuickSight customizations the current AWS Region. Currently, the only customization you can use is a theme.
You can use customizations for your AWS account or, if you specify a namespace, for a QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an AWS account. To find out which customizations apply, use the DescribeAccountCustomization
API operation.
#update_account_settings(options = {}) ⇒ Types::UpdateAccountSettingsResponse
Updates the Amazon QuickSight settings in your AWS account.
#update_analysis(options = {}) ⇒ Types::UpdateAnalysisResponse
Updates an analysis in Amazon QuickSight
#update_analysis_permissions(options = {}) ⇒ Types::UpdateAnalysisPermissionsResponse
Updates the read and write permissions for an analysis.
#update_dashboard(options = {}) ⇒ Types::UpdateDashboardResponse
Updates a dashboard in an AWS account.
#update_dashboard_permissions(options = {}) ⇒ Types::UpdateDashboardPermissionsResponse
Updates read and write permissions on a dashboard.
#update_dashboard_published_version(options = {}) ⇒ Types::UpdateDashboardPublishedVersionResponse
Updates the published version of a dashboard.
#update_data_set(options = {}) ⇒ Types::UpdateDataSetResponse
Updates a dataset.
#update_data_set_permissions(options = {}) ⇒ Types::UpdateDataSetPermissionsResponse
Updates the permissions on a dataset.
The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id
.
#update_data_source(options = {}) ⇒ Types::UpdateDataSourceResponse
Updates a data source.
#update_data_source_permissions(options = {}) ⇒ Types::UpdateDataSourcePermissionsResponse
Updates the permissions to a data source.
#update_group(options = {}) ⇒ Types::UpdateGroupResponse
Changes a group description.
#update_iam_policy_assignment(options = {}) ⇒ Types::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
.
#update_template(options = {}) ⇒ Types::UpdateTemplateResponse
Updates a template from an existing Amazon QuickSight analysis or another template.
#update_template_alias(options = {}) ⇒ Types::UpdateTemplateAliasResponse
Updates the template alias of a template.
#update_template_permissions(options = {}) ⇒ Types::UpdateTemplatePermissionsResponse
Updates the resource permissions for a template.
#update_theme(options = {}) ⇒ Types::UpdateThemeResponse
Updates a theme.
#update_theme_alias(options = {}) ⇒ Types::UpdateThemeAliasResponse
Updates an alias of a theme.
#update_theme_permissions(options = {}) ⇒ Types::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.
#update_user(options = {}) ⇒ Types::UpdateUserResponse
Updates an Amazon QuickSight user.
#wait_until(waiter_name, params = {}) {|waiter| ... } ⇒ Boolean
Waiters polls an API operation until a resource enters a desired state.
Basic Usage
Waiters will poll until they are succesful, they fail by entering a terminal state, or until a maximum number of attempts are made.
# polls in a loop, sleeping between attempts client.waiter_until(waiter_name, params)
Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You configure waiters by passing a block to #wait_until:
# poll for ~25 seconds
client.wait_until(...) do |w|
w.max_attempts = 5
w.delay = 5
end
Callbacks
You can be notified before each polling attempt and before each
delay. If you throw :success
or :failure
from these callbacks,
it will terminate the waiter.
started_at = Time.now
client.wait_until(...) do |w|
# disable max attempts
w.max_attempts = nil
# poll for 1 hour, instead of a number of attempts
w.before_wait do |attempts, response|
throw :failure if Time.now - started_at > 3600
end
end
Handling Errors
When a waiter is successful, it returns true
. When a waiter
fails, it raises an error. All errors raised extend from
Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
#waiter_names ⇒ Array<Symbol>
Returns the list of supported waiters. The following table lists the supported waiters and the client method they call:
Waiter Name | Client Method | Default Delay: | Default Max Attempts: |
---|