1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. smsvoice
  5. getOptOutList

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

aws-native.smsvoice.getOptOutList

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi

    Resource Type definition for AWS::SMSVOICE::OptOutList

    Using getOptOutList

    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 getOptOutList(args: GetOptOutListArgs, opts?: InvokeOptions): Promise<GetOptOutListResult>
    function getOptOutListOutput(args: GetOptOutListOutputArgs, opts?: InvokeOptions): Output<GetOptOutListResult>
    def get_opt_out_list(opt_out_list_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetOptOutListResult
    def get_opt_out_list_output(opt_out_list_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetOptOutListResult]
    func LookupOptOutList(ctx *Context, args *LookupOptOutListArgs, opts ...InvokeOption) (*LookupOptOutListResult, error)
    func LookupOptOutListOutput(ctx *Context, args *LookupOptOutListOutputArgs, opts ...InvokeOption) LookupOptOutListResultOutput

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

    public static class GetOptOutList 
    {
        public static Task<GetOptOutListResult> InvokeAsync(GetOptOutListArgs args, InvokeOptions? opts = null)
        public static Output<GetOptOutListResult> Invoke(GetOptOutListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOptOutListResult> getOptOutList(GetOptOutListArgs args, InvokeOptions options)
    public static Output<GetOptOutListResult> getOptOutList(GetOptOutListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:smsvoice:getOptOutList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OptOutListName string
    The name of the new OptOutList.
    OptOutListName string
    The name of the new OptOutList.
    optOutListName String
    The name of the new OptOutList.
    optOutListName string
    The name of the new OptOutList.
    opt_out_list_name str
    The name of the new OptOutList.
    optOutListName String
    The name of the new OptOutList.

    getOptOutList Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) for the OptOutList.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    Arn string
    The Amazon Resource Name (ARN) for the OptOutList.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) for the OptOutList.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    arn string
    The Amazon Resource Name (ARN) for the OptOutList.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    arn str
    The Amazon Resource Name (ARN) for the OptOutList.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    arn String
    The Amazon Resource Name (ARN) for the OptOutList.
    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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.34.0 published on Friday, Sep 12, 2025 by Pulumi