« blib/lib/Paws/IoTWireless/UntagResourceResponse.pm
↑ Summary
blib/lib/Paws/IoTWireless/UpdateDestinationResponse.pm »
| 1 | |||
| 2 | package Paws::IoTWireless::UpdateDestination; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str'); | ||
| 5 | has Expression => (is => 'ro', isa => 'Str'); | ||
| 6 | has ExpressionType => (is => 'ro', isa => 'Str'); | ||
| 7 | has Name => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'Name', required => 1); | ||
| 8 | has RoleArn => (is => 'ro', isa => 'Str'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDestination'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/destinations/{Name}'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTWireless::UpdateDestinationResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::IoTWireless::UpdateDestination - Arguments for method UpdateDestination on L<Paws::IoTWireless> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method UpdateDestination on the | ||
| 27 | L<AWS IoT Wireless|Paws::IoTWireless> service. Use the attributes of this class | ||
| 28 | as arguments to method UpdateDestination. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDestination. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $api.iotwireless = Paws->service('IoTWireless'); | ||
| 35 | my $UpdateDestinationResponse = $api . iotwireless->UpdateDestination( | ||
| 36 | Name => 'MyDestinationName', | ||
| 37 | Description => 'MyDescription', # OPTIONAL | ||
| 38 | Expression => 'MyExpression', # OPTIONAL | ||
| 39 | ExpressionType => 'RuleName', # OPTIONAL | ||
| 40 | RoleArn => 'MyRoleArn', # OPTIONAL | ||
| 41 | ); | ||
| 42 | |||
| 43 | 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. | ||
| 44 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.iotwireless/UpdateDestination> | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Description => Str | ||
| 50 | |||
| 51 | A new description of the resource. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 Expression => Str | ||
| 56 | |||
| 57 | The new rule name or topic rule to send messages to. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 ExpressionType => Str | ||
| 62 | |||
| 63 | The type of value in C<Expression>. | ||
| 64 | |||
| 65 | Valid values are: C<"RuleName">, C<"MqttTopic"> | ||
| 66 | |||
| 67 | =head2 B<REQUIRED> Name => Str | ||
| 68 | |||
| 69 | The new name of the resource. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 RoleArn => Str | ||
| 74 | |||
| 75 | The ARN of the IAM Role that authorizes the destination. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method UpdateDestination in L<Paws::IoTWireless> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |