Class InvalidRequestRegionException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InvalidRequestRegionException.Builder,InvalidRequestRegionException>

@Generated("software.amazon.awssdk:codegen") public final class InvalidRequestRegionException extends SsoOidcException implements ToCopyableBuilder<InvalidRequestRegionException.Builder,InvalidRequestRegionException>

Indicates that a token provided as input to the request was issued by and is only usable by calling IAM Identity Center endpoints in another region.

See Also:
  • Method Details

    • toBuilder

      Description copied from class: AwsServiceException
      Create a AwsServiceException.Builder initialized with the properties of this AwsServiceException.
      Specified by:
      toBuilder in interface ToCopyableBuilder<InvalidRequestRegionException.Builder,InvalidRequestRegionException>
      Overrides:
      toBuilder in class SsoOidcException
      Returns:
      A new builder initialized with this config's properties.
    • builder

      public static InvalidRequestRegionException.Builder builder()
    • serializableBuilderClass

      public static Class<? extends InvalidRequestRegionException.Builder> serializableBuilderClass()
    • error

      public String error()

      Single error code. For this exception the value will be invalid_request.

      Returns:
      Single error code. For this exception the value will be invalid_request.
    • endpoint

      public String endpoint()

      Indicates the IAM Identity Center endpoint which the requester may call with this token.

      Returns:
      Indicates the IAM Identity Center endpoint which the requester may call with this token.
    • region

      public String region()

      Indicates the region which the requester may call with this token.

      Returns:
      Indicates the region which the requester may call with this token.
    • error_description

      @Deprecated public String error_description()
      Deprecated.

      Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.

      Returns:
      Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
    • errorDescription

      public String errorDescription()

      Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.

      Returns:
      Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Overrides:
      sdkFields in class SdkServiceException
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.