Module Values.CreateSubscriptionRequestOutputSource

Creates a subscription request in Amazon DataZone.

Sourcetype nonrec t = {
  1. id : SubscriptionRequestId.t option;
    (*

    The ID of the subscription request.

    *)
  2. createdBy : CreatedBy.t option;
    (*

    The Amazon DataZone user who created the subscription request.

    *)
  3. updatedBy : UpdatedBy.t option;
    (*

    The Amazon DataZone user who updated the subscription request.

    *)
  4. domainId : DomainId.t option;
    (*

    The ID of the Amazon DataZone domain in whcih the subscription request is created.

    *)
  5. status : SubscriptionRequestStatus.t option;
    (*

    The status of the subscription request.

    *)
  6. createdAt : CreatedAt.t option;
    (*

    A timestamp of when the subscription request is created.

    *)
  7. updatedAt : UpdatedAt.t option;
    (*

    The timestamp of when the subscription request was updated.

    *)
  8. requestReason : RequestReason.t option;
    (*

    The reason for the subscription request.

    *)
  9. subscribedPrincipals : CreateSubscriptionRequestOutputSubscribedPrincipalsList.t option;
    (*

    The subscribed principals of the subscription request.

    *)
  10. subscribedListings : CreateSubscriptionRequestOutputSubscribedListingsList.t option;
    (*

    The published asset for which the subscription grant is to be created.

    *)
  11. reviewerId : String_.t option;
    (*

    The ID of the reviewer of the subscription request.

    *)
  12. decisionComment : DecisionComment.t option;
    (*

    The decision comment of the subscription request.

    *)
  13. existingSubscriptionId : SubscriptionId.t option;
    (*

    The ID of the existing subscription.

    *)
  14. metadataForms : MetadataForms.t option;
    (*

    The metadata form included in the subscription request.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `UnauthorizedException of UnauthorizedException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?createdBy:??? -> ?updatedBy:??? -> ?domainId:??? -> ?status:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?requestReason:??? -> ?subscribedPrincipals:??? -> ?subscribedListings:??? -> ?reviewerId:??? -> ?decisionComment:??? -> ?existingSubscriptionId:??? -> ?metadataForms:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `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 ] list | `String of SubscriptionRequestId.t | `Timestamp of CreatedAt.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t