Class BaseEc2MetadataClient
java.lang.Object
software.amazon.awssdk.imds.internal.BaseEc2MetadataClient
- Direct Known Subclasses:
DefaultEc2MetadataAsyncClient,DefaultEc2MetadataClient
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Durationprotected final URIprotected final RequestMarshallerprotected final Ec2MetadataRetryPolicyprotected final Duration -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected AttributeMapprotected booleanshouldRetry(RetryPolicyContext retryPolicyContext, Throwable error) protected static StringuncheckedInputStreamToUtf8(AbortableInputStream inputStream)
-
Field Details
-
DEFAULT_TOKEN_TTL
-
retryPolicy
-
endpoint
-
requestMarshaller
-
tokenTtl
-
-
Constructor Details
-
BaseEc2MetadataClient
-
BaseEc2MetadataClient
-
-
Method Details
-
uncheckedInputStreamToUtf8
-
shouldRetry
-
imdsHttpDefaults
-