Module Values.CreateAccessTokenInputSource

Creates an access token for a DNS view. Access tokens provide token-based authentication for DNS-over-HTTPS (DoH) and DNS-over-TLS (DoT) connections to the Route 53 Global Resolver. Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify --region us-east-2 on Amazon Web Services CLI commands.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same clientToken has the same result every time.

    *)
  2. dnsViewId : ResourceId.t;
    (*

    The ID of the DNS view to associate with this token.

    *)
  3. expiresAt : ISO8601TimeString.t option;
    (*

    The date and time when the token expires. Tokens can have a minimum expiration of 30 days and maximum of 365 days from creation.

    *)
  4. name : ResourceNameShort.t option;
    (*

    A descriptive name for the access token.

    *)
  5. tags : Tags.t option;
    (*

    An array of user-defined keys and optional values. These tags can be used for categorization and organization.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?expiresAt:??? -> ?name:??? -> ?tags:??? -> dnsViewId:ResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ClientToken.t | `Timestamp of ISO8601TimeString.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