Class: Aws::IoT::Types::RepublishAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass RepublishAction data as a hash:

{
  role_arn: "AwsArn", # required
  topic: "TopicPattern", # required
  qos: 1,
}

Describes an action to republish to another topic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#qosInteger

The Quality of Service (QoS) level to use when republishing messages. The default value is 0.

Returns:

  • (Integer)


15551
15552
15553
15554
15555
15556
15557
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15551

class RepublishAction < Struct.new(
  :role_arn,
  :topic,
  :qos)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that grants access.

Returns:

  • (String)


15551
15552
15553
15554
15555
15556
15557
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15551

class RepublishAction < Struct.new(
  :role_arn,
  :topic,
  :qos)
  SENSITIVE = []
  include Aws::Structure
end

#topicString

The name of the MQTT topic.

Returns:

  • (String)


15551
15552
15553
15554
15555
15556
15557
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15551

class RepublishAction < Struct.new(
  :role_arn,
  :topic,
  :qos)
  SENSITIVE = []
  include Aws::Structure
end