Module Values.CreateAccessTokenOutputSource

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. id : ResourceId.t option;
    (*

    The unique identifier for the access token.

    *)
  2. arn : ResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the access token.

    *)
  3. clientToken : ClientToken.t option;
    (*

    The unique string that identifies the request and ensures idempotency.

    *)
  4. createdAt : ISO8601TimeString.t option;
    (*

    The date and time when the access token was created.

    *)
  5. dnsViewId : ResourceId.t option;
    (*

    The ID of the DNS view associated with this access token.

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

    The date and time when the access token expires.

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

    The name of the access token.

    *)
  8. status : TokenStatus.t option;
    (*

    The operational status of the access token.

    *)
  9. value : AccessTokenValue.t option;
    (*

    The access token value. This token should be included in DoH and DoT requests for authentication. Keep this value secure as it provides access to your Route 53 Global Resolver.

    *)
}
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. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?arn:??? -> ?clientToken:??? -> ?createdAt:??? -> ?dnsViewId:??? -> ?expiresAt:??? -> ?name:??? -> ?status:??? -> ?value:??? -> 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 | `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 | `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 | `String of ResourceId.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