// Deletes a device pool given the pool ARN. Does not allow deletion of curated
// pools owned by the system.
Deletes a device pool given the pool ARN. Does not allow deletion of curated
pools owned by the system.
// Deletes a device pool given the pool ARN . Does not allow deletion of curated // pools owned by the system .
func (c *Client) DeleteDevicePool(ctx context.Context, params *DeleteDevicePoolInput, optFns ...func(*Options)) (*DeleteDevicePoolOutput, error) {
	if params == nil {
		params = &DeleteDevicePoolInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteDevicePool", params, optFns, addOperationDeleteDevicePoolMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteDevicePoolOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteDevicePool ( ctx context . Context , params * DeleteDevicePoolInput , optFns ... func ( * Options ) ) ( * DeleteDevicePoolOutput , error ) { if params == nil { params = & DeleteDevicePoolInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteDevicePoolMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteDevicePoolOutput ) out . ResultMetadata = metadata return out , nil }
Deletes a device pool given the pool ARN.
Deletes a device pool given the pool ARN .