public static interface TestInvokeAuthorizerResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<TestInvokeAuthorizerResponse.Builder,TestInvokeAuthorizerResponse>
| Modifier and Type | Method and Description |
|---|---|
TestInvokeAuthorizerResponse.Builder |
authorization(Map<String,? extends Collection<String>> authorization)
The authorization response.
|
TestInvokeAuthorizerResponse.Builder |
claims(Map<String,String> claims)
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool
configured for the API.
|
TestInvokeAuthorizerResponse.Builder |
clientStatus(Integer clientStatus)
The HTTP status code that the client would have received.
|
TestInvokeAuthorizerResponse.Builder |
latency(Long latency)
The execution latency, in ms, of the test authorizer request.
|
TestInvokeAuthorizerResponse.Builder |
log(String log)
The API Gateway execution log for the test authorizer request.
|
TestInvokeAuthorizerResponse.Builder |
policy(String policy)
The JSON policy document returned by the Authorizer
|
TestInvokeAuthorizerResponse.Builder |
principalId(String principalId)
The principal identity returned by the Authorizer
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildTestInvokeAuthorizerResponse.Builder clientStatus(Integer clientStatus)
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
clientStatus - The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.TestInvokeAuthorizerResponse.Builder log(String log)
The API Gateway execution log for the test authorizer request.
log - The API Gateway execution log for the test authorizer request.TestInvokeAuthorizerResponse.Builder latency(Long latency)
The execution latency, in ms, of the test authorizer request.
latency - The execution latency, in ms, of the test authorizer request.TestInvokeAuthorizerResponse.Builder principalId(String principalId)
The principal identity returned by the Authorizer
principalId - The principal identity returned by the AuthorizerTestInvokeAuthorizerResponse.Builder policy(String policy)
The JSON policy document returned by the Authorizer
policy - The JSON policy document returned by the AuthorizerTestInvokeAuthorizerResponse.Builder authorization(Map<String,? extends Collection<String>> authorization)
The authorization response.
authorization - The authorization response.TestInvokeAuthorizerResponse.Builder claims(Map<String,String> claims)
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
claims - The open identity claims, with any supported custom attributes, returned from the Cognito Your User
Pool configured for the API.Copyright © 2023. All rights reserved.