func (c *SSOOIDC) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput) {
	op := &request.Operation{
		Name:       opCreateToken,
		HTTPMethod: "POST",
		HTTPPath:   "/token",
	}

	if input == nil {
		input = &CreateTokenInput{}
	}

	output = &CreateTokenOutput{}
	req = c.newRequest(op, input, output)
	req.Config.Credentials = credentials.AnonymousCredentials
	return
}
// CreateTokenRequest generates a "aws/request.Request" representing the
// client's request for the CreateToken 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 CreateToken for more information on using the CreateToken
// 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 CreateTokenRequest method.
//    req, resp := client.CreateTokenRequest(params)
//
//    err := req.Send()
//    if err == nil { // resp is now filled
//        fmt.Println(resp)
//    }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateToken
CreateTokenRequest generates a "aws/request.Request" representing the
client's request for the CreateToken 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 CreateToken for more information on using the CreateToken
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 CreateTokenRequest method.
req, resp := client.CreateTokenRequest(params)

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


// CreateTokenRequest generates a " aws / request . Request " representing the // client ' s request for the CreateToken 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 CreateToken for more information on using the CreateToken // 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 CreateTokenRequest method . // req resp : = client . CreateTokenRequest ( params ) // // err : = req . Send () // if err == nil { // resp is now filled // fmt . Println ( resp ) // } // // See also https : // docs . aws . amazon . com / goto / WebAPI / sso - oidc - 2019 - 06 - 10 / CreateToken
func (c *SSOOIDC) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput) {
	op := &request.Operation{
		Name:       opCreateToken,
		HTTPMethod: "POST",
		HTTPPath:   "/token",
	}
	if input == nil {
		input = &CreateTokenInput{}
	}
	output = &CreateTokenOutput{}
	req = c.newRequest(op, input, output)
	req.Config.Credentials = credentials.AnonymousCredentials
	return
}
func ( c * SSOOIDC ) CreateTokenRequest ( input * CreateTokenInput ) ( req * request . Request , output * CreateTokenOutput ) { op := & request . Operation { Name : opCreateToken , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & CreateTokenInput { } } output = & CreateTokenOutput { } req = c . newRequest ( op , input , output ) req . Config . Credentials = credentials . AnonymousCredentials return }
CreateTokenRequest generates a "aws/request.Request" representing the
client's request for the CreateToken operation.
CreateTokenRequest generates a " aws / request . Request " representing the client ' s request for the CreateToken operation .