// ListAccountsRequest generates a "aws/request.Request" representing the
// client's request for the ListAccounts operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See ListAccounts for more information on using the ListAccounts
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
//
//    // Example sending a request using the ListAccountsRequest method.
//    req, resp := client.ListAccountsRequest(params)
//
//    err := req.Send()
//    if err == nil { // resp is now filled
//        fmt.Println(resp)
//    }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts
ListAccountsRequest generates a "aws/request.Request" representing the
client's request for the ListAccounts operation. The "output" return
value will be populated with the request's response once the request completes
successfully.

Use "Send" method on the returned Request to send the API call to the service.
the "output" return value is not valid until after Send returns without error.

See ListAccounts for more information on using the ListAccounts
API call, and error handling.

This method is useful when you want to inject custom logic or configuration
into the SDK's request lifecycle. Such as custom headers, or retry logic.

Example sending a request using the ListAccountsRequest method.
req, resp := client.ListAccountsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}


// ListAccountsRequest generates a " aws / request . Request " representing the // client ' s request for the ListAccounts operation . The " output " return // value will be populated with the request ' s response once the request completes // successfully . // // Use " Send " method on the returned Request to send the API call to the service . // the " output " return value is not valid until after Send returns without error . // // See ListAccounts for more information on using the ListAccounts // API call and error handling . // // This method is useful when you want to inject custom logic or configuration // into the SDK ' s request lifecycle . Such as custom headers or retry logic . // // // // Example sending a request using the ListAccountsRequest method . // req resp : = client . ListAccountsRequest ( params ) // // err : = req . Send () // if err == nil { // resp is now filled // fmt . Println ( resp ) // } // // See also https : // docs . aws . amazon . com / goto / WebAPI / chime - 2018 - 05 - 01 / ListAccounts
func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) {
	op := &request.Operation{
		Name:       opListAccounts,
		HTTPMethod: "GET",
		HTTPPath:   "/console/accounts",
		Paginator: &request.Paginator{
			InputTokens:     []string{"NextToken"},
			OutputTokens:    []string{"NextToken"},
			LimitToken:      "MaxResults",
			TruncationToken: "",
		},
	}
	if input == nil {
		input = &ListAccountsInput{}
	}
	output = &ListAccountsOutput{}
	req = c.newRequest(op, input, output)
	return
}
func ( c * Chime ) ListAccountsRequest ( input * ListAccountsInput ) ( req * request . Request , output * ListAccountsOutput ) { op := & request . Operation { Name : opListAccounts , HTTPMethod : " " , HTTPPath : " " , Paginator : & request . Paginator { InputTokens : [ ] string { " " } , OutputTokens : [ ] string { " " } , LimitToken : " " , TruncationToken : " " , } , } if input == nil { input = & ListAccountsInput { } } output = & ListAccountsOutput { } req = c . newRequest ( op , input , output ) return }
ListAccountsRequest generates a "aws/request.Request" representing the
client's request for the ListAccounts operation.
ListAccountsRequest generates a " aws / request . Request " representing the client ' s request for the ListAccounts operation .