AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::MqttContext

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MqttContext as input to an Aws::Client method, you can use a vanilla Hash:

{
  username: "MqttUsername",
  password: "data",
  client_id: "MqttClientId",
}

Specifies the MQTT context to use for the test authorizer request

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

The value of the clientId key in an MQTT authorization request.

Returns:

  • (String)

    The value of the clientId key in an MQTT authorization request.

#passwordString

The value of the password key in an MQTT authorization request.

Returns:

  • (String)

    The value of the password key in an MQTT authorization request.

#usernameString

The value of the username key in an MQTT authorization request.

Returns:

  • (String)

    The value of the username key in an MQTT authorization request.