Class: Aws::IoTWireless::Types::CreateDestinationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotwireless/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see [Ensuring idempotency in Amazon EC2 API requests].

**A suitable default value is auto-generated.** You should normally not need to pass this option.

[1]: docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the new resource.

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#expressionString

The rule name or topic rule to send messages to.

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#expression_typeString

The type of value in ‘Expression`.

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the new resource.

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM Role that authorizes the destination.

Returns:

  • (String)


559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

Returns:



559
560
561
562
563
564
565
566
567
568
569
# File 'lib/aws-sdk-iotwireless/types.rb', line 559

class CreateDestinationRequest < Struct.new(
  :name,
  :expression_type,
  :expression,
  :description,
  :role_arn,
  :tags,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end