1. Packages
  2. AWS
  3. API Docs
  4. quicksight
  5. getQuicksightAnalysis
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.quicksight.getQuicksightAnalysis

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Data source for managing an AWS QuickSight Analysis.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.quicksight.getQuicksightAnalysis({
        analysisId: "example-id",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.quicksight.get_quicksight_analysis(analysis_id="example-id")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/quicksight"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := quicksight.GetQuicksightAnalysis(ctx, &quicksight.GetQuicksightAnalysisArgs{
    			AnalysisId: "example-id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Quicksight.GetQuicksightAnalysis.Invoke(new()
        {
            AnalysisId = "example-id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.quicksight.QuicksightFunctions;
    import com.pulumi.aws.quicksight.inputs.GetQuicksightAnalysisArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = QuicksightFunctions.getQuicksightAnalysis(GetQuicksightAnalysisArgs.builder()
                .analysisId("example-id")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:quicksight:getQuicksightAnalysis
          Arguments:
            analysisId: example-id
    

    Using getQuicksightAnalysis

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getQuicksightAnalysis(args: GetQuicksightAnalysisArgs, opts?: InvokeOptions): Promise<GetQuicksightAnalysisResult>
    function getQuicksightAnalysisOutput(args: GetQuicksightAnalysisOutputArgs, opts?: InvokeOptions): Output<GetQuicksightAnalysisResult>
    def get_quicksight_analysis(analysis_id: Optional[str] = None,
                                aws_account_id: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetQuicksightAnalysisResult
    def get_quicksight_analysis_output(analysis_id: Optional[pulumi.Input[str]] = None,
                                aws_account_id: Optional[pulumi.Input[str]] = None,
                                tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetQuicksightAnalysisResult]
    func GetQuicksightAnalysis(ctx *Context, args *GetQuicksightAnalysisArgs, opts ...InvokeOption) (*GetQuicksightAnalysisResult, error)
    func GetQuicksightAnalysisOutput(ctx *Context, args *GetQuicksightAnalysisOutputArgs, opts ...InvokeOption) GetQuicksightAnalysisResultOutput

    > Note: This function is named GetQuicksightAnalysis in the Go SDK.

    public static class GetQuicksightAnalysis 
    {
        public static Task<GetQuicksightAnalysisResult> InvokeAsync(GetQuicksightAnalysisArgs args, InvokeOptions? opts = null)
        public static Output<GetQuicksightAnalysisResult> Invoke(GetQuicksightAnalysisInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetQuicksightAnalysisResult> getQuicksightAnalysis(GetQuicksightAnalysisArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:quicksight/getQuicksightAnalysis:getQuicksightAnalysis
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AnalysisId string

    Identifier for the analysis.

    The following arguments are optional:

    AwsAccountId string
    AWS account ID.
    Tags Dictionary<string, string>
    AnalysisId string

    Identifier for the analysis.

    The following arguments are optional:

    AwsAccountId string
    AWS account ID.
    Tags map[string]string
    analysisId String

    Identifier for the analysis.

    The following arguments are optional:

    awsAccountId String
    AWS account ID.
    tags Map<String,String>
    analysisId string

    Identifier for the analysis.

    The following arguments are optional:

    awsAccountId string
    AWS account ID.
    tags {[key: string]: string}
    analysis_id str

    Identifier for the analysis.

    The following arguments are optional:

    aws_account_id str
    AWS account ID.
    tags Mapping[str, str]
    analysisId String

    Identifier for the analysis.

    The following arguments are optional:

    awsAccountId String
    AWS account ID.
    tags Map<String>

    getQuicksightAnalysis Result

    The following output properties are available:

    AnalysisId string
    Arn string
    AwsAccountId string
    CreatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastPublishedTime string
    LastUpdatedTime string
    Name string
    Permissions List<GetQuicksightAnalysisPermission>
    Status string
    Tags Dictionary<string, string>
    ThemeArn string
    AnalysisId string
    Arn string
    AwsAccountId string
    CreatedTime string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastPublishedTime string
    LastUpdatedTime string
    Name string
    Permissions []GetQuicksightAnalysisPermission
    Status string
    Tags map[string]string
    ThemeArn string
    analysisId String
    arn String
    awsAccountId String
    createdTime String
    id String
    The provider-assigned unique ID for this managed resource.
    lastPublishedTime String
    lastUpdatedTime String
    name String
    permissions List<GetQuicksightAnalysisPermission>
    status String
    tags Map<String,String>
    themeArn String
    analysisId string
    arn string
    awsAccountId string
    createdTime string
    id string
    The provider-assigned unique ID for this managed resource.
    lastPublishedTime string
    lastUpdatedTime string
    name string
    permissions GetQuicksightAnalysisPermission[]
    status string
    tags {[key: string]: string}
    themeArn string
    analysis_id str
    arn str
    aws_account_id str
    created_time str
    id str
    The provider-assigned unique ID for this managed resource.
    last_published_time str
    last_updated_time str
    name str
    permissions Sequence[GetQuicksightAnalysisPermission]
    status str
    tags Mapping[str, str]
    theme_arn str
    analysisId String
    arn String
    awsAccountId String
    createdTime String
    id String
    The provider-assigned unique ID for this managed resource.
    lastPublishedTime String
    lastUpdatedTime String
    name String
    permissions List<Property Map>
    status String
    tags Map<String>
    themeArn String

    Supporting Types

    GetQuicksightAnalysisPermission

    Actions List<string>
    Principal string
    Actions []string
    Principal string
    actions List<String>
    principal String
    actions string[]
    principal string
    actions Sequence[str]
    principal str
    actions List<String>
    principal String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi