// UpdateNumberOfDomainControllersRequest returns a request value for making API operation for
// AWS Directory Service.
//
// Adds or removes domain controllers to or from the directory. Based on the
// difference between current value and new value (provided through this API
// call), domain controllers will be added or removed. It may take up to 45
// minutes for any new domain controllers to become fully active once the requested
// number of domain controllers is updated. During this time, you cannot make
// another update request.
//
//    // Example sending a request using the UpdateNumberOfDomainControllersRequest method.
//    req := client.UpdateNumberOfDomainControllersRequest(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/UpdateNumberOfDomainControllers
UpdateNumberOfDomainControllersRequest returns a request value for making API operation for
AWS Directory Service.

Adds or removes domain controllers to or from the directory. Based on the
difference between current value and new value (provided through this API
call), domain controllers will be added or removed. It may take up to 45
minutes for any new domain controllers to become fully active once the requested
number of domain controllers is updated. During this time, you cannot make
another update request.

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


// UpdateNumberOfDomainControllersRequest returns a request value for making API operation for // AWS Directory Service . // // Adds or removes domain controllers to or from the directory . Based on the // difference between current value and new value ( provided through this API // call ) domain controllers will be added or removed . It may take up to 45 // minutes for any new domain controllers to become fully active once the requested // number of domain controllers is updated . During this time you cannot make // another update request . // // // Example sending a request using the UpdateNumberOfDomainControllersRequest method . // req : = client . UpdateNumberOfDomainControllersRequest ( 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 / UpdateNumberOfDomainControllers
func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateNumberOfDomainControllersInput) UpdateNumberOfDomainControllersRequest {
	op := &aws.Operation{
		Name:       opUpdateNumberOfDomainControllers,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &UpdateNumberOfDomainControllersInput{}
	}
	output := &UpdateNumberOfDomainControllersOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return UpdateNumberOfDomainControllersRequest{Request: req, Input: input, Copy: c.UpdateNumberOfDomainControllersRequest}
}
func ( c * DirectoryService ) UpdateNumberOfDomainControllersRequest ( input * UpdateNumberOfDomainControllersInput ) UpdateNumberOfDomainControllersRequest { op := & aws . Operation { Name : opUpdateNumberOfDomainControllers , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & UpdateNumberOfDomainControllersInput { } } output := & UpdateNumberOfDomainControllersOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return UpdateNumberOfDomainControllersRequest { Request : req , Input : input , Copy : c . UpdateNumberOfDomainControllersRequest } }
UpdateNumberOfDomainControllersRequest returns a request value for making API operation for
AWS Directory Service.
UpdateNumberOfDomainControllersRequest returns a request value for making API operation for AWS Directory Service .