Module Values.PutChannelPolicyRequestSource

Attaches an IAM policy to the specified channel. With policies, you can specify who has access to AWS resources and what actions they can perform on those resources. 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. policy : PolicyText.t;
    (*

    The policy to attach to the specified channel.

    *)
}
Sourceval context_ : string
Sourceval make : channelGroupName:ResourceName.t -> channelName:ResourceName.t -> policy:PolicyText.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceName.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