Module Values.GetHomeRegionResultSource

Returns the calling account’s home region, if configured. This API is used by other AWS services to determine the regional endpoint for calling AWS Application Discovery Service and Migration Hub. You must call GetHomeRegion at least once before you call any other AWS Application Discovery Service and AWS Migration Hub APIs, to obtain the account's Migration Hub home region.

Sourcetype nonrec t = {
  1. homeRegion : HomeRegion.t option;
    (*

    The name of the home region of the calling account.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerError of InternalServerError.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `ServiceUnavailableException of ServiceUnavailableException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?homeRegion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerError of InternalServerError.t | `InvalidInputException of InvalidInputException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerError of InternalServerError.t | `InvalidInputException of InvalidInputException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of HomeRegion.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