AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

TestInvokeAuthorizerOutput

import "github.com/aws/aws-sdk-go/service/apigateway"

type TestInvokeAuthorizerOutput struct { Authorization map[string][]*string `locationName:"authorization" type:"map"` Claims map[string]*string `locationName:"claims" type:"map"` ClientStatus *int64 `locationName:"clientStatus" type:"integer"` Latency *int64 `locationName:"latency" type:"long"` Log *string `locationName:"log" type:"string"` Policy *string `locationName:"policy" type:"string"` PrincipalId *string `locationName:"principalId" type:"string"` }

Represents the response of the test invoke request for a custom Authorizer

Authorization

Type: map[string][]*string

Claims

Type: map[string]*string

The open identity claims (https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims), with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

ClientStatus

Type: *int64

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

Latency

Type: *int64

The execution latency of the test authorizer request.

Log

Type: *string

The API Gateway execution log for the test authorizer request.

Policy

Type: *string

The JSON policy document returned by the Authorizer

PrincipalId

Type: *string

The principal identity returned by the Authorizer

Method

GoString

func (s TestInvokeAuthorizerOutput) GoString() string

GoString returns the string representation

SetAuthorization

func (s *TestInvokeAuthorizerOutput) SetAuthorization(v map[string][]*string) *TestInvokeAuthorizerOutput

SetAuthorization sets the Authorization field's value.

SetClaims

func (s *TestInvokeAuthorizerOutput) SetClaims(v map[string]*string) *TestInvokeAuthorizerOutput

SetClaims sets the Claims field's value.

SetClientStatus

func (s *TestInvokeAuthorizerOutput) SetClientStatus(v int64) *TestInvokeAuthorizerOutput

SetClientStatus sets the ClientStatus field's value.

SetLatency

func (s *TestInvokeAuthorizerOutput) SetLatency(v int64) *TestInvokeAuthorizerOutput

SetLatency sets the Latency field's value.

SetLog

func (s *TestInvokeAuthorizerOutput) SetLog(v string) *TestInvokeAuthorizerOutput

SetLog sets the Log field's value.

SetPolicy

func (s *TestInvokeAuthorizerOutput) SetPolicy(v string) *TestInvokeAuthorizerOutput

SetPolicy sets the Policy field's value.

SetPrincipalId

func (s *TestInvokeAuthorizerOutput) SetPrincipalId(v string) *TestInvokeAuthorizerOutput

SetPrincipalId sets the PrincipalId field's value.

String

func (s TestInvokeAuthorizerOutput) String() string

String returns the string representation

On this page: