// DescribeEventTopicsRequest returns a request value for making API operation for
// AWS Directory Service.
//
// Obtains information about which SNS topics receive status messages from the
// specified directory.
//
// If no input parameters are provided, such as DirectoryId or TopicName, this
// request describes all of the associations in the account.
//
//    // Example sending a request using the DescribeEventTopicsRequest method.
//    req := client.DescribeEventTopicsRequest(params)
//    resp, err := req.Send()
//    if err == nil {
//        fmt.Println(resp)
//    }
//
// Please also see https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics
DescribeEventTopicsRequest returns a request value for making API operation for
AWS Directory Service.

Obtains information about which SNS topics receive status messages from the
specified directory.

If no input parameters are provided, such as DirectoryId or TopicName, this
request describes all of the associations in the account.

Example sending a request using the DescribeEventTopicsRequest method.
req := client.DescribeEventTopicsRequest(params)
resp, err := req.Send()
if err == nil {
fmt.Println(resp)
}


// DescribeEventTopicsRequest returns a request value for making API operation for // AWS Directory Service . // // Obtains information about which SNS topics receive status messages from the // specified directory . // // If no input parameters are provided such as DirectoryId or TopicName this // request describes all of the associations in the account . // // // Example sending a request using the DescribeEventTopicsRequest method . // req : = client . DescribeEventTopicsRequest ( params ) // resp err : = req . Send () // if err == nil { // fmt . Println ( resp ) // } // // Please also see https : // docs . aws . amazon . com / goto / WebAPI / ds - 2015 - 04 - 16 / DescribeEventTopics
func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopicsInput) DescribeEventTopicsRequest {
	op := &aws.Operation{
		Name:       opDescribeEventTopics,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &DescribeEventTopicsInput{}
	}
	output := &DescribeEventTopicsOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return DescribeEventTopicsRequest{Request: req, Input: input, Copy: c.DescribeEventTopicsRequest}
}
func ( c * DirectoryService ) DescribeEventTopicsRequest ( input * DescribeEventTopicsInput ) DescribeEventTopicsRequest { op := & aws . Operation { Name : opDescribeEventTopics , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & DescribeEventTopicsInput { } } output := & DescribeEventTopicsOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return DescribeEventTopicsRequest { Request : req , Input : input , Copy : c . DescribeEventTopicsRequest } }
DescribeEventTopicsRequest returns a request value for making API operation for
AWS Directory Service.
DescribeEventTopicsRequest returns a request value for making API operation for AWS Directory Service .