stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostFileLinksLink

Description

Contains the different functions to run the operation postFileLinksLink

Synopsis

Documentation

postFileLinksLink Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

link

-> Maybe PostFileLinksLinkRequestBody

The request body to send

-> ClientT m (Response PostFileLinksLinkResponse)

Monadic computation which returns the result of the operation

POST /v1/file_links/{link}

<p>Updates an existing file link object. Expired links can no longer be updated.</p>

data PostFileLinksLinkRequestBody Source #

Defines the object schema located at paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostFileLinksLinkRequestBody 

Fields

data PostFileLinksLinkRequestBodyExpiresAt'Variants Source #

Defines the oneOf schema located at paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.expires_at.anyOf in the specification.

A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately.

data PostFileLinksLinkRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/file_links/{link}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

data PostFileLinksLinkResponse Source #

Represents a response of the operation postFileLinksLink.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), PostFileLinksLinkResponseError is used.

Constructors

PostFileLinksLinkResponseError String

Means either no matching case available or a parse error

PostFileLinksLinkResponse200 FileLink

Successful response.

PostFileLinksLinkResponseDefault Error

Error response.