aws.quicksight.getAnalysis
Explore with Pulumi AI
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 getAnalysis
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 getAnalysis(args: GetAnalysisArgs, opts?: InvokeOptions): Promise<GetAnalysisResult>
function getAnalysisOutput(args: GetAnalysisOutputArgs, opts?: InvokeOptions): Output<GetAnalysisResult>
def get_analysis(analysis_id: Optional[str] = None,
aws_account_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetAnalysisResult
def get_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[GetAnalysisResult]
func LookupAnalysis(ctx *Context, args *LookupAnalysisArgs, opts ...InvokeOption) (*LookupAnalysisResult, error)
func LookupAnalysisOutput(ctx *Context, args *LookupAnalysisOutputArgs, opts ...InvokeOption) LookupAnalysisResultOutput
> Note: This function is named LookupAnalysis
in the Go SDK.
public static class GetAnalysis
{
public static Task<GetAnalysisResult> InvokeAsync(GetAnalysisArgs args, InvokeOptions? opts = null)
public static Output<GetAnalysisResult> Invoke(GetAnalysisInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAnalysisResult> getAnalysis(GetAnalysisArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws:quicksight/getAnalysis:getAnalysis
arguments:
# arguments dictionary
The following arguments are supported:
- Analysis
Id string Identifier for the analysis.
The following arguments are optional:
- Aws
Account stringId - AWS account ID.
- Dictionary<string, string>
- Analysis
Id string Identifier for the analysis.
The following arguments are optional:
- Aws
Account stringId - AWS account ID.
- map[string]string
- analysis
Id String Identifier for the analysis.
The following arguments are optional:
- aws
Account StringId - AWS account ID.
- Map<String,String>
- analysis
Id string Identifier for the analysis.
The following arguments are optional:
- aws
Account stringId - AWS account ID.
- {[key: string]: string}
- analysis_
id str Identifier for the analysis.
The following arguments are optional:
- aws_
account_ strid - AWS account ID.
- Mapping[str, str]
- analysis
Id String Identifier for the analysis.
The following arguments are optional:
- aws
Account StringId - AWS account ID.
- Map<String>
getAnalysis Result
The following output properties are available:
- Analysis
Id string - Arn string
- Aws
Account stringId - Created
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Published stringTime - Last
Updated stringTime - Name string
- Permissions
List<Get
Analysis Permission> - Status string
- Dictionary<string, string>
- Theme
Arn string
- Analysis
Id string - Arn string
- Aws
Account stringId - Created
Time string - Id string
- The provider-assigned unique ID for this managed resource.
- Last
Published stringTime - Last
Updated stringTime - Name string
- Permissions
[]Get
Analysis Permission - Status string
- map[string]string
- Theme
Arn string
- analysis
Id String - arn String
- aws
Account StringId - created
Time String - id String
- The provider-assigned unique ID for this managed resource.
- last
Published StringTime - last
Updated StringTime - name String
- permissions
List<Get
Analysis Permission> - status String
- Map<String,String>
- theme
Arn String
- analysis
Id string - arn string
- aws
Account stringId - created
Time string - id string
- The provider-assigned unique ID for this managed resource.
- last
Published stringTime - last
Updated stringTime - name string
- permissions
Get
Analysis Permission[] - status string
- {[key: string]: string}
- theme
Arn string
- analysis_
id str - arn str
- aws_
account_ strid - created_
time str - id str
- The provider-assigned unique ID for this managed resource.
- last_
published_ strtime - last_
updated_ strtime - name str
- permissions
Sequence[Get
Analysis Permission] - status str
- Mapping[str, str]
- theme_
arn str
- analysis
Id String - arn String
- aws
Account StringId - created
Time String - id String
- The provider-assigned unique ID for this managed resource.
- last
Published StringTime - last
Updated StringTime - name String
- permissions List<Property Map>
- status String
- Map<String>
- theme
Arn String
Supporting Types
GetAnalysisPermission
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.