1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getSesReceivers
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getSesReceivers

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of ses receivers

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const receivers = tencentcloud.getSesReceivers({
        keyWord: "keep",
        status: 3,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    receivers = tencentcloud.get_ses_receivers(key_word="keep",
        status=3)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetSesReceivers(ctx, &tencentcloud.GetSesReceiversArgs{
    			KeyWord: pulumi.StringRef("keep"),
    			Status:  pulumi.Float64Ref(3),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var receivers = Tencentcloud.GetSesReceivers.Invoke(new()
        {
            KeyWord = "keep",
            Status = 3,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetSesReceiversArgs;
    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 receivers = TencentcloudFunctions.getSesReceivers(GetSesReceiversArgs.builder()
                .keyWord("keep")
                .status(3)
                .build());
    
        }
    }
    
    variables:
      receivers:
        fn::invoke:
          function: tencentcloud:getSesReceivers
          arguments:
            keyWord: keep
            status: 3
    

    Using getSesReceivers

    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 getSesReceivers(args: GetSesReceiversArgs, opts?: InvokeOptions): Promise<GetSesReceiversResult>
    function getSesReceiversOutput(args: GetSesReceiversOutputArgs, opts?: InvokeOptions): Output<GetSesReceiversResult>
    def get_ses_receivers(id: Optional[str] = None,
                          key_word: Optional[str] = None,
                          result_output_file: Optional[str] = None,
                          status: Optional[float] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSesReceiversResult
    def get_ses_receivers_output(id: Optional[pulumi.Input[str]] = None,
                          key_word: Optional[pulumi.Input[str]] = None,
                          result_output_file: Optional[pulumi.Input[str]] = None,
                          status: Optional[pulumi.Input[float]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSesReceiversResult]
    func GetSesReceivers(ctx *Context, args *GetSesReceiversArgs, opts ...InvokeOption) (*GetSesReceiversResult, error)
    func GetSesReceiversOutput(ctx *Context, args *GetSesReceiversOutputArgs, opts ...InvokeOption) GetSesReceiversResultOutput

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

    public static class GetSesReceivers 
    {
        public static Task<GetSesReceiversResult> InvokeAsync(GetSesReceiversArgs args, InvokeOptions? opts = null)
        public static Output<GetSesReceiversResult> Invoke(GetSesReceiversInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSesReceiversResult> getSesReceivers(GetSesReceiversArgs args, InvokeOptions options)
    public static Output<GetSesReceiversResult> getSesReceivers(GetSesReceiversArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getSesReceivers:getSesReceivers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    KeyWord string
    Group name keyword for fuzzy query.
    ResultOutputFile string
    Used to save results.
    Status double
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.
    Id string
    KeyWord string
    Group name keyword for fuzzy query.
    ResultOutputFile string
    Used to save results.
    Status float64
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.
    id String
    keyWord String
    Group name keyword for fuzzy query.
    resultOutputFile String
    Used to save results.
    status Double
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.
    id string
    keyWord string
    Group name keyword for fuzzy query.
    resultOutputFile string
    Used to save results.
    status number
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.
    id str
    key_word str
    Group name keyword for fuzzy query.
    result_output_file str
    Used to save results.
    status float
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.
    id String
    keyWord String
    Group name keyword for fuzzy query.
    resultOutputFile String
    Used to save results.
    status Number
    Group status (1: to be uploaded; 2: uploading; 3: uploaded). To query groups in all states, do not pass in this parameter.

    getSesReceivers Result

    The following output properties are available:

    Datas List<GetSesReceiversData>
    Data record.
    Id string
    KeyWord string
    ResultOutputFile string
    Status double
    Datas []GetSesReceiversData
    Data record.
    Id string
    KeyWord string
    ResultOutputFile string
    Status float64
    datas List<GetSesReceiversData>
    Data record.
    id String
    keyWord String
    resultOutputFile String
    status Double
    datas GetSesReceiversData[]
    Data record.
    id string
    keyWord string
    resultOutputFile string
    status number
    datas List<Property Map>
    Data record.
    id String
    keyWord String
    resultOutputFile String
    status Number

    Supporting Types

    GetSesReceiversData

    Count double
    Total number of recipient email addresses.
    CreateTime string
    Creation time, such as 2021-09-28 16:40:35.
    Desc string
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    ReceiverId double
    Recipient group ID.
    ReceiversName string
    Recipient group name.
    ReceiversStatus double
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.
    Count float64
    Total number of recipient email addresses.
    CreateTime string
    Creation time, such as 2021-09-28 16:40:35.
    Desc string
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    ReceiverId float64
    Recipient group ID.
    ReceiversName string
    Recipient group name.
    ReceiversStatus float64
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.
    count Double
    Total number of recipient email addresses.
    createTime String
    Creation time, such as 2021-09-28 16:40:35.
    desc String
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    receiverId Double
    Recipient group ID.
    receiversName String
    Recipient group name.
    receiversStatus Double
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.
    count number
    Total number of recipient email addresses.
    createTime string
    Creation time, such as 2021-09-28 16:40:35.
    desc string
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    receiverId number
    Recipient group ID.
    receiversName string
    Recipient group name.
    receiversStatus number
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.
    count float
    Total number of recipient email addresses.
    create_time str
    Creation time, such as 2021-09-28 16:40:35.
    desc str
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    receiver_id float
    Recipient group ID.
    receivers_name str
    Recipient group name.
    receivers_status float
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.
    count Number
    Total number of recipient email addresses.
    createTime String
    Creation time, such as 2021-09-28 16:40:35.
    desc String
    Recipient group descriptionNote: This field may return null, indicating that no valid value can be found.
    receiverId Number
    Recipient group ID.
    receiversName String
    Recipient group name.
    receiversStatus Number
    Group status (1: to be uploaded; 2 uploading; 3 uploaded)Note: This field may return null, indicating that no valid value can be found.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack