// Creates an AWS IoT OTAUpdate on a target group of things or groups.
Creates an AWS IoT OTAUpdate on a target group of things or groups.
// Creates an AWS IoT OTAUpdate on a target group of things or groups .
func (c *Client) CreateOTAUpdate(ctx context.Context, params *CreateOTAUpdateInput, optFns ...func(*Options)) (*CreateOTAUpdateOutput, error) {
	if params == nil {
		params = &CreateOTAUpdateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateOTAUpdate", params, optFns, addOperationCreateOTAUpdateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateOTAUpdateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateOTAUpdate ( ctx context . Context , params * CreateOTAUpdateInput , optFns ... func ( * Options ) ) ( * CreateOTAUpdateOutput , error ) { if params == nil { params = & CreateOTAUpdateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateOTAUpdateMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateOTAUpdateOutput ) out . ResultMetadata = metadata return out , nil }
Creates an AWS IoT OTAUpdate on a target group of things or groups.
Creates an AWS IoT OTAUpdate on a target group of things or groups .