1. Packages
  2. AWS Native
  3. API Docs
  4. evidently
  5. getSegment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.108.4 published on Tuesday, Jun 18, 2024 by Pulumi

aws-native.evidently.getSegment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.108.4 published on Tuesday, Jun 18, 2024 by Pulumi

    Resource Type definition for AWS::Evidently::Segment

    Using getSegment

    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 getSegment(args: GetSegmentArgs, opts?: InvokeOptions): Promise<GetSegmentResult>
    function getSegmentOutput(args: GetSegmentOutputArgs, opts?: InvokeOptions): Output<GetSegmentResult>
    def get_segment(arn: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetSegmentResult
    def get_segment_output(arn: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetSegmentResult]
    func LookupSegment(ctx *Context, args *LookupSegmentArgs, opts ...InvokeOption) (*LookupSegmentResult, error)
    func LookupSegmentOutput(ctx *Context, args *LookupSegmentOutputArgs, opts ...InvokeOption) LookupSegmentResultOutput

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

    public static class GetSegment 
    {
        public static Task<GetSegmentResult> InvokeAsync(GetSegmentArgs args, InvokeOptions? opts = null)
        public static Output<GetSegmentResult> Invoke(GetSegmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSegmentResult> getSegment(GetSegmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:evidently:getSegment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    Arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    arn String
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    arn str
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    arn String
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment

    getSegment Result

    The following output properties are available:

    Arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    Description string
    An optional description for this segment.
    Name string
    A name for the segment.
    Pattern string
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    Description string
    An optional description for this segment.
    Name string
    A name for the segment.
    Pattern string
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    description String
    An optional description for this segment.
    name String
    A name for the segment.
    pattern String
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    description string
    An optional description for this segment.
    name string
    A name for the segment.
    pattern string
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    description str
    An optional description for this segment.
    name str
    A name for the segment.
    pattern str
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The ARN of the segment. For example, arn:aws:evidently:us-west-2:123456789012:segment/australiaSegment
    description String
    An optional description for this segment.
    name String
    A name for the segment.
    pattern String
    The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax .
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.108.4 published on Tuesday, Jun 18, 2024 by Pulumi