Class EndpointAuthUtils
- java.lang.Object
- 
- software.amazon.smithy.rulesengine.aws.language.functions.EndpointAuthUtils
 
- 
 public final class EndpointAuthUtils extends java.lang.ObjectUtilities for constructing and validating AWS-specific authentication components for rule-sets.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSigV4AEquivalentAuthScheme(java.lang.String authScheme)Returns if a given auth scheme is equivalent toaws.auth#sigv4a.static booleanisSigV4EquivalentAuthScheme(java.lang.String authScheme)Returns if a given auth scheme is equivalent toaws.auth#sigv4.static Endpoint.Buildersigv4(Endpoint.Builder builder, Literal signingRegion, Literal signingService)Adds SigV4 authentication to the provided endpoint builder.static Endpoint.Buildersigv4a(Endpoint.Builder builder, java.util.List<Literal> signingRegionSet, Literal signingService)Adds SigV4a authentication to the provided endpoint builder.
 
- 
- 
- 
Method Detail- 
sigv4public static Endpoint.Builder sigv4(Endpoint.Builder builder, Literal signingRegion, Literal signingService) Adds SigV4 authentication to the provided endpoint builder.- Parameters:
- builder- the endpoint builder to augment.
- signingRegion- the signing region to use when signing.
- signingService- the name of the service to sign with.
- Returns:
- the updated endpoint builder.
 
 - 
sigv4apublic static Endpoint.Builder sigv4a(Endpoint.Builder builder, java.util.List<Literal> signingRegionSet, Literal signingService) Adds SigV4a authentication to the provided endpoint builder.- Parameters:
- builder- the endpoint builder to augment.
- signingRegionSet- the set of signing regions to use when signing.
- signingService- the name of the service to sign with.
- Returns:
- the updated endpoint builder.
 
 - 
isSigV4EquivalentAuthSchemepublic static boolean isSigV4EquivalentAuthScheme(java.lang.String authScheme) Returns if a given auth scheme is equivalent toaws.auth#sigv4.- Parameters:
- authScheme- name of the auth scheme.
- Returns:
- whether the auth scheme is equivalent to aws.auth#sigv4.
 
 - 
isSigV4AEquivalentAuthSchemepublic static boolean isSigV4AEquivalentAuthScheme(java.lang.String authScheme) Returns if a given auth scheme is equivalent toaws.auth#sigv4a.- Parameters:
- authScheme- name of the auth scheme.
- Returns:
- whether the auth scheme is equivalent to aws.auth#sigv4a.
 
 
- 
 
-