// DescribeDirectoriesRequest returns a request value for making API operation for
// AWS Directory Service.
//
// Obtains information about the directories that belong to this account.
//
// You can retrieve information about specific directories by passing the directory
// identifiers in the DirectoryIds parameter. Otherwise, all directories that
// belong to the current account are returned.
//
// This operation supports pagination with the use of the NextToken request
// and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken
// member contains a token that you pass in the next call to DescribeDirectories
// to retrieve the next set of items.
//
// You can also specify a maximum number of return results with the Limit parameter.
//
//    // Example sending a request using the DescribeDirectoriesRequest method.
//    req := client.DescribeDirectoriesRequest(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/DescribeDirectories
DescribeDirectoriesRequest returns a request value for making API operation for
AWS Directory Service.

Obtains information about the directories that belong to this account.

You can retrieve information about specific directories by passing the directory
identifiers in the DirectoryIds parameter. Otherwise, all directories that
belong to the current account are returned.

This operation supports pagination with the use of the NextToken request
and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken
member contains a token that you pass in the next call to DescribeDirectories
to retrieve the next set of items.

You can also specify a maximum number of return results with the Limit parameter.

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


// DescribeDirectoriesRequest returns a request value for making API operation for // AWS Directory Service . // // Obtains information about the directories that belong to this account . // // You can retrieve information about specific directories by passing the directory // identifiers in the DirectoryIds parameter . Otherwise all directories that // belong to the current account are returned . // // This operation supports pagination with the use of the NextToken request // and response parameters . If more results are available the DescribeDirectoriesResult . NextToken // member contains a token that you pass in the next call to DescribeDirectories // to retrieve the next set of items . // // You can also specify a maximum number of return results with the Limit parameter . // // // Example sending a request using the DescribeDirectoriesRequest method . // req : = client . DescribeDirectoriesRequest ( 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 / DescribeDirectories
func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectoriesInput) DescribeDirectoriesRequest {
	op := &aws.Operation{
		Name:       opDescribeDirectories,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &DescribeDirectoriesInput{}
	}
	output := &DescribeDirectoriesOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return DescribeDirectoriesRequest{Request: req, Input: input, Copy: c.DescribeDirectoriesRequest}
}
func ( c * DirectoryService ) DescribeDirectoriesRequest ( input * DescribeDirectoriesInput ) DescribeDirectoriesRequest { op := & aws . Operation { Name : opDescribeDirectories , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & DescribeDirectoriesInput { } } output := & DescribeDirectoriesOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return DescribeDirectoriesRequest { Request : req , Input : input , Copy : c . DescribeDirectoriesRequest } }
DescribeDirectoriesRequest returns a request value for making API operation for
AWS Directory Service.
DescribeDirectoriesRequest returns a request value for making API operation for AWS Directory Service .