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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.squareup.javapoet.CodeBlock
create(OperationModel operationModel)
Generate a ".putExecutionAttribute(...)" code-block for the provided operation model.
-
-
-
Method Detail
-
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 initializingClientExecutionParams
. If and only if "authType" trait is explicitly set as "none" the set the execution attribute as false.
-
-