Module Values.PutOriginEndpointPolicyRequestSource

Attaches an IAM policy to the specified origin endpoint. You can attach only one policy with each request.

Sourcetype nonrec t = {
  1. channelGroupName : ResourceName.t;
    (*

    The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.

    *)
  2. channelName : ResourceName.t;
    (*

    The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.

    *)
  3. originEndpointName : ResourceName.t;
    (*

    The name that describes the origin endpoint. The name is the primary identifier for the origin endpoint, and and must be unique for your account in the AWS Region and channel.

    *)
  4. policy : PolicyText.t;
    (*

    The policy to attach to the specified origin endpoint.

    *)
  5. cdnAuthConfiguration : CdnAuthConfiguration.t option;
    (*

    The settings for using authorization headers between the MediaPackage endpoint and your CDN. For information about CDN authorization, see CDN authorization in Elemental MediaPackage in the MediaPackage user guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?cdnAuthConfiguration:??? -> channelGroupName:ResourceName.t -> channelName:ResourceName.t -> originEndpointName:ResourceName.t -> policy:PolicyText.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceName.t | `Structure of (string * [> `List of [> `String of CdnIdentifierSecretArn.t ] list | `String of CdnAuthConfigurationSecretsRoleArnString.t ]) list ]) 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