Module Values.ResolverQueryLogConfigAssociationSource

In the response to an AssociateResolverQueryLogConfig, DisassociateResolverQueryLogConfig, GetResolverQueryLogConfigAssociation, or ListResolverQueryLogConfigAssociations, request, a complex type that contains settings for a specified association between an Amazon VPC and a query logging configuration.

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

    The ID of the query logging association.

    *)
  2. resolverQueryLogConfigId : ResourceId.t option;
    (*

    The ID of the query logging configuration that a VPC is associated with.

    *)
  3. resourceId : ResourceId.t option;
    (*

    The ID of the Amazon VPC that is associated with the query logging configuration.

    *)
  4. status : ResolverQueryLogConfigAssociationStatus.t option;
    (*

    The status of the specified query logging association. Valid values include the following: CREATING: Resolver is creating an association between an Amazon VPC and a query logging configuration. ACTIVE: The association between an Amazon VPC and a query logging configuration was successfully created. Resolver is logging queries that originate in the specified VPC. DELETING: Resolver is deleting this query logging association. FAILED: Resolver either couldn't create or couldn't delete the query logging association.

    *)
  5. error : ResolverQueryLogConfigAssociationError.t option;
    (*

    If the value of Status is FAILED, the value of Error indicates the cause: DESTINATION_NOT_FOUND: The specified destination (for example, an Amazon S3 bucket) was deleted. ACCESS_DENIED: Permissions don't allow sending logs to the destination. If the value of Status is a value other than FAILED, Error is null.

    *)
  6. errorMessage : ResolverQueryLogConfigAssociationErrorMessage.t option;
    (*

    Contains additional information about the error. If the value or Error is null, the value of ErrorMessage also is null.

    *)
  7. creationTime : Rfc3339TimeString.t option;
    (*

    The date and time that the VPC was associated with the query logging configuration, in Unix time format and Coordinated Universal Time (UTC).

    *)
}
Sourceval make : ?id:??? -> ?resolverQueryLogConfigId:??? -> ?resourceId:??? -> ?status:??? -> ?error:??? -> ?errorMessage:??? -> ?creationTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ResourceId.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