Class InvalidWorkloadIdentityConfigurationException
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InvalidWorkloadIdentityConfigurationException.Builder,InvalidWorkloadIdentityConfigurationException>
Amazon Web Services STS can't issue a workload identity context because the workload identity template or workload
identity provider has a configuration that Amazon Web Services STS can't use, or that doesn't work with the values in
the request. The reason member says why. Ask the administrator of the resource to correct it, and then
retry the request.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()reason()Why Amazon Web Services STS can't issue the context.Why Amazon Web Services STS can't issue the context.static Class<? extends InvalidWorkloadIdentityConfigurationException.Builder> Create aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.Methods inherited from class software.amazon.awssdk.awscore.exception.AwsServiceException
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionMethods inherited from class software.amazon.awssdk.core.exception.SdkServiceException
extendedRequestId, isRetryableException, requestId, statusCodeMethods inherited from class software.amazon.awssdk.core.exception.SdkException
create, numAttempts, rawMessage, retryableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFieldsMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
toBuilder
Description copied from class:AwsServiceExceptionCreate aAwsServiceException.Builderinitialized with the properties of thisAwsServiceException.- Specified by:
toBuilderin interfaceToCopyableBuilder<InvalidWorkloadIdentityConfigurationException.Builder,InvalidWorkloadIdentityConfigurationException> - Overrides:
toBuilderin classStsException- Returns:
- A new builder initialized with this config's properties.
-
builder
-
serializableBuilderClass
public static Class<? extends InvalidWorkloadIdentityConfigurationException.Builder> serializableBuilderClass() -
reason
Why Amazon Web Services STS can't issue the context. The value is one of the following:
-
unrenderableTemplate– Amazon Web Services STS can't build a valid workload identifier. For example, the template uses a condition key that isn't available for the request or that has more than one value, a value isn't a valid path segment, or the domain of the workload identity provider isn't a valid trust domain. -
identifierTooLarge– The workload identifier is longer than 256 characters. -
caseOnlyDuplicateTagKeys– The template has tag keys that differ only in case. -
unsupportedTagKeyCharacters– A tag key on the template contains a character that Amazon Web Services STS doesn't support.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnInvalidWorkloadIdentityConfigurationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- Why Amazon Web Services STS can't issue the context. The value is one of the following:
-
unrenderableTemplate– Amazon Web Services STS can't build a valid workload identifier. For example, the template uses a condition key that isn't available for the request or that has more than one value, a value isn't a valid path segment, or the domain of the workload identity provider isn't a valid trust domain. -
identifierTooLarge– The workload identifier is longer than 256 characters. -
caseOnlyDuplicateTagKeys– The template has tag keys that differ only in case. -
unsupportedTagKeyCharacters– A tag key on the template contains a character that Amazon Web Services STS doesn't support.
-
- See Also:
-
-
reasonAsString
Why Amazon Web Services STS can't issue the context. The value is one of the following:
-
unrenderableTemplate– Amazon Web Services STS can't build a valid workload identifier. For example, the template uses a condition key that isn't available for the request or that has more than one value, a value isn't a valid path segment, or the domain of the workload identity provider isn't a valid trust domain. -
identifierTooLarge– The workload identifier is longer than 256 characters. -
caseOnlyDuplicateTagKeys– The template has tag keys that differ only in case. -
unsupportedTagKeyCharacters– A tag key on the template contains a character that Amazon Web Services STS doesn't support.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnInvalidWorkloadIdentityConfigurationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- Why Amazon Web Services STS can't issue the context. The value is one of the following:
-
unrenderableTemplate– Amazon Web Services STS can't build a valid workload identifier. For example, the template uses a condition key that isn't available for the request or that has more than one value, a value isn't a valid path segment, or the domain of the workload identity provider isn't a valid trust domain. -
identifierTooLarge– The workload identifier is longer than 256 characters. -
caseOnlyDuplicateTagKeys– The template has tag keys that differ only in case. -
unsupportedTagKeyCharacters– A tag key on the template contains a character that Amazon Web Services STS doesn't support.
-
- See Also:
-
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-