// DescribeTrustsRequest returns a request value for making API operation for
// AWS Directory Service.
//
// Obtains information about the trust relationships for this account.
//
// If no input parameters are provided, such as DirectoryId or TrustIds, this
// request describes all the trust relationships belonging to the account.
//
//    // Example sending a request using the DescribeTrustsRequest method.
//    req := client.DescribeTrustsRequest(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/DescribeTrusts
DescribeTrustsRequest returns a request value for making API operation for
AWS Directory Service.

Obtains information about the trust relationships for this account.

If no input parameters are provided, such as DirectoryId or TrustIds, this
request describes all the trust relationships belonging to the account.

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


// DescribeTrustsRequest returns a request value for making API operation for // AWS Directory Service . // // Obtains information about the trust relationships for this account . // // If no input parameters are provided such as DirectoryId or TrustIds this // request describes all the trust relationships belonging to the account . // // // Example sending a request using the DescribeTrustsRequest method . // req : = client . DescribeTrustsRequest ( 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 / DescribeTrusts
func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) DescribeTrustsRequest {
	op := &aws.Operation{
		Name:       opDescribeTrusts,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &DescribeTrustsInput{}
	}
	output := &DescribeTrustsOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return DescribeTrustsRequest{Request: req, Input: input, Copy: c.DescribeTrustsRequest}
}
func ( c * DirectoryService ) DescribeTrustsRequest ( input * DescribeTrustsInput ) DescribeTrustsRequest { op := & aws . Operation { Name : opDescribeTrusts , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & DescribeTrustsInput { } } output := & DescribeTrustsOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return DescribeTrustsRequest { Request : req , Input : input , Copy : c . DescribeTrustsRequest } }
DescribeTrustsRequest returns a request value for making API operation for
AWS Directory Service.
DescribeTrustsRequest returns a request value for making API operation for AWS Directory Service .