![]() |
![]()
| ![]() |
![]()
NAMEPaws::IoTWireless::CreateDestination - Arguments for method CreateDestination on Paws::IoTWireless DESCRIPTIONThis class represents the parameters used for calling the method CreateDestination on the AWS IoT Wireless service. Use the attributes of this class as arguments to method CreateDestination. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDestination. SYNOPSISmy $api.iotwireless = Paws->service('IoTWireless'); my $CreateDestinationResponse = $api . iotwireless->CreateDestination( Expression => 'MyExpression', ExpressionType => 'RuleName', Name => 'MyDestinationName', RoleArn => 'MyRoleArn', ClientRequestToken => 'MyClientRequestToken', # OPTIONAL Description => 'MyDescription', # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL ); # Results: my $Arn = $CreateDestinationResponse->Arn; my $Name = $CreateDestinationResponse->Name; # Returns a L<Paws::IoTWireless::CreateDestinationResponse> 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/api.iotwireless/CreateDestination> ATTRIBUTESClientRequestToken => StrEach resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. Description => StrThe description of the new resource. REQUIRED Expression => StrThe rule name or topic rule to send messages to. REQUIRED ExpressionType => StrThe type of value in "Expression". Valid values are: "RuleName", "MqttTopic" REQUIRED Name => StrThe name of the new resource. REQUIRED RoleArn => StrThe ARN of the IAM Role that authorizes the destination. Tags => ArrayRef[Paws::IoTWireless::Tag]The tags to attach to the new destination. Tags are metadata that you can use to manage a resource. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDestination in Paws::IoTWireless BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|