// Sends an Amazon Macie membership invitation to one or more accounts.
Sends an Amazon Macie membership invitation to one or more accounts.
// Sends an Amazon Macie membership invitation to one or more accounts .
func (c *Client) CreateInvitations(ctx context.Context, params *CreateInvitationsInput, optFns ...func(*Options)) (*CreateInvitationsOutput, error) {
	if params == nil {
		params = &CreateInvitationsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateInvitations", params, optFns, addOperationCreateInvitationsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateInvitationsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateInvitations ( ctx context . Context , params * CreateInvitationsInput , optFns ... func ( * Options ) ) ( * CreateInvitationsOutput , error ) { if params == nil { params = & CreateInvitationsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateInvitationsMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateInvitationsOutput ) out . ResultMetadata = metadata return out , nil }
Sends an Amazon Macie membership invitation to one or more accounts.
Sends an Amazon Macie membership invitation to one or more accounts .