// AddIpRoutesRequest returns a request value for making API operation for
// AWS Directory Service.
//
// If the DNS server for your on-premises domain uses a publicly addressable
// IP address, you must add a CIDR address block to correctly route traffic
// to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this
// address block. You can also use AddIpRoutes to facilitate routing traffic
// that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.
//
// Before you call AddIpRoutes, ensure that all of the required permissions
// have been explicitly granted through a policy. For details about what permissions
// are required to run the AddIpRoutes operation, see AWS Directory Service
// API Permissions: Actions, Resources, and Conditions Reference (http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html).
//
//    // Example sending a request using the AddIpRoutesRequest method.
//    req := client.AddIpRoutesRequest(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/AddIpRoutes
AddIpRoutesRequest returns a request value for making API operation for
AWS Directory Service.

If the DNS server for your on-premises domain uses a publicly addressable
IP address, you must add a CIDR address block to correctly route traffic
to and from your Microsoft AD on Amazon Web Services. AddIpRoutes adds this
address block. You can also use AddIpRoutes to facilitate routing traffic
that uses public IP ranges from your Microsoft AD on AWS to a peer VPC.

Before you call AddIpRoutes, ensure that all of the required permissions
have been explicitly granted through a policy. For details about what permissions
are required to run the AddIpRoutes operation, see AWS Directory Service
API Permissions: Actions, Resources, and Conditions Reference .

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


// AddIpRoutesRequest returns a request value for making API operation for // AWS Directory Service . // // If the DNS server for your on - premises domain uses a publicly addressable // IP address you must add a CIDR address block to correctly route traffic // to and from your Microsoft AD on Amazon Web Services . AddIpRoutes adds this // address block . You can also use AddIpRoutes to facilitate routing traffic // that uses public IP ranges from your Microsoft AD on AWS to a peer VPC . // // Before you call AddIpRoutes ensure that all of the required permissions // have been explicitly granted through a policy . For details about what permissions // are required to run the AddIpRoutes operation see AWS Directory Service // API Permissions : Actions Resources and Conditions Reference ( http : // docs . aws . amazon . com / directoryservice / latest / admin - guide / UsingWithDS_IAM_ResourcePermissions . html ) . // // // Example sending a request using the AddIpRoutesRequest method . // req : = client . AddIpRoutesRequest ( 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 / AddIpRoutes
func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) AddIpRoutesRequest {
	op := &aws.Operation{
		Name:       opAddIpRoutes,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &AddIpRoutesInput{}
	}
	output := &AddIpRoutesOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return AddIpRoutesRequest{Request: req, Input: input, Copy: c.AddIpRoutesRequest}
}
func ( c * DirectoryService ) AddIpRoutesRequest ( input * AddIpRoutesInput ) AddIpRoutesRequest { op := & aws . Operation { Name : opAddIpRoutes , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & AddIpRoutesInput { } } output := & AddIpRoutesOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return AddIpRoutesRequest { Request : req , Input : input , Copy : c . AddIpRoutesRequest } }
AddIpRoutesRequest returns a request value for making API operation for
AWS Directory Service.
AddIpRoutesRequest returns a request value for making API operation for AWS Directory Service .