// CreateTrustRequest returns a request value for making API operation for
// AWS Directory Service.
//
// AWS Directory Service for Microsoft Active Directory allows you to configure
// trust relationships. For example, you can establish a trust between your
// Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active
// Directory. This would allow you to provide users and groups access to resources
// in either domain, with a single set of credentials.
//
// This action initiates the creation of the AWS side of a trust relationship
// between a Microsoft AD in the AWS cloud and an external domain.
//
//    // Example sending a request using the CreateTrustRequest method.
//    req := client.CreateTrustRequest(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/CreateTrust
CreateTrustRequest returns a request value for making API operation for
AWS Directory Service.

AWS Directory Service for Microsoft Active Directory allows you to configure
trust relationships. For example, you can establish a trust between your
Microsoft AD in the AWS cloud, and your existing on-premises Microsoft Active
Directory. This would allow you to provide users and groups access to resources
in either domain, with a single set of credentials.

This action initiates the creation of the AWS side of a trust relationship
between a Microsoft AD in the AWS cloud and an external domain.

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


// CreateTrustRequest returns a request value for making API operation for // AWS Directory Service . // // AWS Directory Service for Microsoft Active Directory allows you to configure // trust relationships . For example you can establish a trust between your // Microsoft AD in the AWS cloud and your existing on - premises Microsoft Active // Directory . This would allow you to provide users and groups access to resources // in either domain with a single set of credentials . // // This action initiates the creation of the AWS side of a trust relationship // between a Microsoft AD in the AWS cloud and an external domain . // // // Example sending a request using the CreateTrustRequest method . // req : = client . CreateTrustRequest ( 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 / CreateTrust
func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) CreateTrustRequest {
	op := &aws.Operation{
		Name:       opCreateTrust,
		HTTPMethod: "POST",
		HTTPPath:   "/",
	}
	if input == nil {
		input = &CreateTrustInput{}
	}
	output := &CreateTrustOutput{}
	req := c.newRequest(op, input, output)
	output.responseMetadata = aws.Response{Request: req}
	return CreateTrustRequest{Request: req, Input: input, Copy: c.CreateTrustRequest}
}
func ( c * DirectoryService ) CreateTrustRequest ( input * CreateTrustInput ) CreateTrustRequest { op := & aws . Operation { Name : opCreateTrust , HTTPMethod : " " , HTTPPath : " " , } if input == nil { input = & CreateTrustInput { } } output := & CreateTrustOutput { } req := c . newRequest ( op , input , output ) output . responseMetadata = aws . Response { Request : req } return CreateTrustRequest { Request : req , Input : input , Copy : c . CreateTrustRequest } }
CreateTrustRequest returns a request value for making API operation for
AWS Directory Service.
CreateTrustRequest returns a request value for making API operation for AWS Directory Service .