« blib/lib/Paws/IoTSiteWise/UpdatePortalResponse.pm
↑ Summary
blib/lib/Paws/IoTSiteWise/UpdateProjectResponse.pm »
| 1 | |||
| 2 | package Paws::IoTSiteWise::UpdateProject; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken'); | ||
| 5 | has ProjectDescription => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectDescription'); | ||
| 6 | has ProjectId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'projectId', required => 1); | ||
| 7 | has ProjectName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectName', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateProject'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/projects/{projectId}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IoTSiteWise::UpdateProjectResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::IoTSiteWise::UpdateProject - Arguments for method UpdateProject on L<Paws::IoTSiteWise> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateProject on the | ||
| 26 | L<AWS IoT SiteWise|Paws::IoTSiteWise> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateProject. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateProject. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $iotsitewise = Paws->service('IoTSiteWise'); | ||
| 34 | my $UpdateProjectResponse = $iotsitewise->UpdateProject( | ||
| 35 | ProjectId => 'MyID', | ||
| 36 | ProjectName => 'MyName', | ||
| 37 | ClientToken => 'MyClientToken', # OPTIONAL | ||
| 38 | ProjectDescription => 'MyDescription', # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | 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. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iotsitewise/UpdateProject> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 ClientToken => Str | ||
| 48 | |||
| 49 | A unique case-sensitive identifier that you can provide to ensure the | ||
| 50 | idempotency of the request. Don't reuse this client token if a new | ||
| 51 | idempotent request is required. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 ProjectDescription => Str | ||
| 56 | |||
| 57 | A new description for the project. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> ProjectId => Str | ||
| 62 | |||
| 63 | The ID of the project to update. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> ProjectName => Str | ||
| 68 | |||
| 69 | A new friendly name for the project. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head1 SEE ALSO | ||
| 75 | |||
| 76 | This class forms part of L<Paws>, documenting arguments for method UpdateProject in L<Paws::IoTSiteWise> | ||
| 77 | |||
| 78 | =head1 BUGS and CONTRIBUTIONS | ||
| 79 | |||
| 80 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 81 | |||
| 82 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 83 | |||
| 84 | =cut | ||
| 85 |