Class NoneAuthTypeRequestTrait

java.lang.Object
software.amazon.awssdk.codegen.poet.client.traits.NoneAuthTypeRequestTrait

public class NoneAuthTypeRequestTrait extends Object
Trait which defines if a given request needs to be authenticated. A request is not authenticated only if it has "auththpe" trait explicitly marked as "none"
  • Method Details

    • create

      public static com.squareup.javapoet.CodeBlock create(OperationModel operationModel)
      Generate a ".putExecutionAttribute(...)" code-block for the provided operation model. This should be used within the context of initializing ClientExecutionParams. If and only if "authType" trait is explicitly set as "none" the set the execution attribute as false.