NAME

Paws::IoT::TestInvokeAuthorizer - Arguments for method TestInvokeAuthorizer on Paws::IoT

DESCRIPTION

This class represents the parameters used for calling the method TestInvokeAuthorizer on the AWS IoT service. Use the attributes of this class as arguments to method TestInvokeAuthorizer.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestInvokeAuthorizer.

SYNOPSIS

my $iot = Paws->service('IoT');
my $TestInvokeAuthorizerResponse = $iot->TestInvokeAuthorizer(
  AuthorizerName => 'MyAuthorizerName',
  HttpContext    => {
    Headers => {
      'MyHttpHeaderName' => 'MyHttpHeaderValue'
      ,    # key: min: 1, max: 8192, value: min: 1, max: 8192
    },    # OPTIONAL
    QueryString => 'MyHttpQueryString',    # min: 1, max: 4096; OPTIONAL
  },    # OPTIONAL
  MqttContext => {
    ClientId => 'MyMqttClientId',      # min: 1, max: 65535; OPTIONAL
    Password => 'BlobMqttPassword',    # min: 1, max: 65535; OPTIONAL
    Username => 'MyMqttUsername',      # min: 1, max: 65535; OPTIONAL
  },    # OPTIONAL
  TlsContext => {
    ServerName => 'MyServerName',    # min: 1, max: 253; OPTIONAL
  },    # OPTIONAL
  Token          => 'MyToken',             # OPTIONAL
  TokenSignature => 'MyTokenSignature',    # OPTIONAL
);

# Results:
my $DisconnectAfterInSeconds =
  $TestInvokeAuthorizerResponse->DisconnectAfterInSeconds;
my $IsAuthenticated = $TestInvokeAuthorizerResponse->IsAuthenticated;
my $PolicyDocuments = $TestInvokeAuthorizerResponse->PolicyDocuments;
my $PrincipalId     = $TestInvokeAuthorizerResponse->PrincipalId;
my $RefreshAfterInSeconds =
  $TestInvokeAuthorizerResponse->RefreshAfterInSeconds;

# Returns a L<Paws::IoT::TestInvokeAuthorizerResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/iot/TestInvokeAuthorizer

ATTRIBUTES

REQUIRED AuthorizerName => Str

The custom authorizer name.

HttpContext => Paws::IoT::HttpContext

Specifies a test HTTP authorization request.

MqttContext => Paws::IoT::MqttContext

Specifies a test MQTT authorization request.

TlsContext => Paws::IoT::TlsContext

Specifies a test TLS authorization request.

Token => Str

The token returned by your custom authentication service.

TokenSignature => Str

The signature made with the token and your custom authentication service's private key. This value must be Base-64-encoded.

SEE ALSO

This class forms part of Paws, documenting arguments for method TestInvokeAuthorizer in Paws::IoT

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues