// CancelSchemaExtensionRequest returns a request value for making API operation for
// AWS Directory Service.
//
// Cancels an in-progress schema extension to a Microsoft AD directory. Once
// a schema extension has started replicating to all domain controllers, the
// task can no longer be canceled. A schema extension can be canceled during
// any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema.
//
//    // Example sending a request using the CancelSchemaExtensionRequest method.
//    req := client.CancelSchemaExtensionRequest(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/CancelSchemaExtension
CancelSchemaExtensionRequest returns a request value for making API operation for
AWS Directory Service.

Cancels an in-progress schema extension to a Microsoft AD directory. Once
a schema extension has started replicating to all domain controllers, the
task can no longer be canceled. A schema extension can be canceled during
any of the following states; Initializing, CreatingSnapshot, and UpdatingSchema.

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


// CancelSchemaExtensionRequest returns a request value for making API operation for // AWS Directory Service . // // Cancels an in - progress schema extension to a Microsoft AD directory . Once // a schema extension has started replicating to all domain controllers the // task can no longer be canceled . A schema extension can be canceled during // any of the following states ; Initializing CreatingSnapshot and UpdatingSchema . // // // Example sending a request using the CancelSchemaExtensionRequest method . // req : = client . CancelSchemaExtensionRequest ( 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 / CancelSchemaExtension
func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) CancelSchemaExtensionRequest {
	op := &aws.Operation{
		Name:       opCancelSchemaExtension,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &CancelSchemaExtensionInput{}
	}
	output := &CancelSchemaExtensionOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return CancelSchemaExtensionRequest{Request: req, Input: input, Copy: c.CancelSchemaExtensionRequest}
}
func ( c * DirectoryService ) CancelSchemaExtensionRequest ( input * CancelSchemaExtensionInput ) CancelSchemaExtensionRequest { op := & aws . Operation { Name : opCancelSchemaExtension , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & CancelSchemaExtensionInput { } } output := & CancelSchemaExtensionOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return CancelSchemaExtensionRequest { Request : req , Input : input , Copy : c . CancelSchemaExtensionRequest } }
CancelSchemaExtensionRequest returns a request value for making API operation for
AWS Directory Service.
CancelSchemaExtensionRequest returns a request value for making API operation for AWS Directory Service .