Class ModelAuthSchemeKnowledgeIndex
java.lang.Object
software.amazon.awssdk.codegen.poet.auth.scheme.ModelAuthSchemeKnowledgeIndex
Knowledge index to get access to the configured service auth schemes and operations overrides. This index is optimized for
code generation of switch statements therefore the data is grouped by operations that share the same auth schemes. This
index is a building block for
AuthSchemeCodegenKnowledgeIndex
and SigV4AuthSchemeCodegenKnowledgeIndex
indexes that have a friendly interface for the codegen use cases.-
Method Summary
Modifier and TypeMethodDescriptionof
(IntermediateModel intermediateModel) Creates a new knowledge index using the given model.Returns a map from a list of operations to all the auth schemes that the operations accept.
-
Method Details
-
of
Creates a new knowledge index using the given model. -
operationsToMetadata
Returns a map from a list of operations to all the auth schemes that the operations accept.- Returns:
- a map from a list of operations to all the auth schemes that the operations accept
-