Values.CancelSubscriptionOutputSourceCancels the subscription to the specified asset.
type nonrec t = {id : SubscriptionId.t option;The identifier of the subscription.
*)createdBy : CreatedBy.t option;Specifies the Amazon DataZone user who is cancelling the subscription.
*)updatedBy : UpdatedBy.t option;The Amazon DataZone user that cancelled the subscription.
*)domainId : DomainId.t option;The unique identifier of the Amazon DataZone domain where the subscription is being cancelled.
*)status : SubscriptionStatus.t option;The status of the request to cancel the subscription.
*)createdAt : CreatedAt.t option;The timestamp that specifies when the request to cancel the subscription was created.
*)updatedAt : UpdatedAt.t option;The timestamp that specifies when the subscription was cancelled.
*)subscribedPrincipal : SubscribedPrincipal.t option;The Amazon DataZone user who is made a subscriber to the specified asset by the subscription that is being cancelled.
*)subscribedListing : SubscribedListing.t option;The asset to which a subscription is being cancelled.
*)subscriptionRequestId : SubscriptionRequestId.t option;The unique ID of the subscripton request for the subscription that is being cancelled.
*)retainPermissions : Boolean.t option;Specifies whether the permissions to the asset are retained after the subscription is cancelled.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `String of SubscriptionId.t
| `Structure of
(string
* [> `String of ListingId.t
| `Structure of
(string
* [> `String of ProjectId.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of GlossaryTermName.t ])
list ]
list
| `String of AssetId.t
| `Structure of
(string
* [> `List of
[> `Enum of string | `String of FilterId.t ]
list
| `String of String_.t ])
list ])
list ])
list ])
list
| `Timestamp of CreatedAt.t ])
list ]