Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postFileLinksLink
Synopsis
- postFileLinksLink :: forall m. MonadHTTP m => Text -> Maybe PostFileLinksLinkRequestBody -> StripeT m (Response PostFileLinksLinkResponse)
- data PostFileLinksLinkRequestBody = PostFileLinksLinkRequestBody {}
- mkPostFileLinksLinkRequestBody :: PostFileLinksLinkRequestBody
- data PostFileLinksLinkRequestBodyExpiresAt'Variants
- data PostFileLinksLinkRequestBodyMetadata'Variants
- data PostFileLinksLinkResponse
Documentation
:: forall m. MonadHTTP m | |
=> Text | link |
-> Maybe PostFileLinksLinkRequestBody | The request body to send |
-> StripeT 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.
PostFileLinksLinkRequestBody | |
|
Instances
mkPostFileLinksLinkRequestBody :: PostFileLinksLinkRequestBody Source #
Create a new PostFileLinksLinkRequestBody
with all required 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.
PostFileLinksLinkRequestBodyExpiresAt'Now | Represents the JSON value |
PostFileLinksLinkRequestBodyExpiresAt'EmptyString | Represents the JSON value |
PostFileLinksLinkRequestBodyExpiresAt'Int Int |
Instances
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`.
PostFileLinksLinkRequestBodyMetadata'EmptyString | Represents the JSON value |
PostFileLinksLinkRequestBodyMetadata'Object Object |
Instances
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.
PostFileLinksLinkResponseError String | Means either no matching case available or a parse error |
PostFileLinksLinkResponse200 FileLink | Successful response. |
PostFileLinksLinkResponseDefault Error | Error response. |