« blib/lib/Paws/Robomaker/CreateWorldGenerationJobResponse.pm
↑ Summary
blib/lib/Paws/Robomaker/CreateWorldTemplateResponse.pm »
| 1 | |||
| 2 | package Paws::Robomaker::CreateWorldTemplate; | ||
| 3 | use Moose; | ||
| 4 | has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken'); | ||
| 5 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name'); | ||
| 6 | has Tags => (is => 'ro', isa => 'Paws::Robomaker::TagMap', traits => ['NameInRequest'], request_name => 'tags'); | ||
| 7 | has TemplateBody => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'templateBody'); | ||
| 8 | has TemplateLocation => (is => 'ro', isa => 'Paws::Robomaker::TemplateLocation', traits => ['NameInRequest'], request_name => 'templateLocation'); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateWorldTemplate'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/createWorldTemplate'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Robomaker::CreateWorldTemplateResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::Robomaker::CreateWorldTemplate - Arguments for method CreateWorldTemplate on L<Paws::Robomaker> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateWorldTemplate on the | ||
| 27 | L<AWS RoboMaker|Paws::Robomaker> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateWorldTemplate. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorldTemplate. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $robomaker = Paws->service('Robomaker'); | ||
| 35 | my $CreateWorldTemplateResponse = $robomaker->CreateWorldTemplate( | ||
| 36 | ClientRequestToken => 'MyClientRequestToken', # OPTIONAL | ||
| 37 | Name => 'MyTemplateName', # OPTIONAL | ||
| 38 | Tags => { | ||
| 39 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 40 | }, # OPTIONAL | ||
| 41 | TemplateBody => 'MyJson', # OPTIONAL | ||
| 42 | TemplateLocation => { | ||
| 43 | S3Bucket => 'MyS3Bucket', # min: 3, max: 63 | ||
| 44 | S3Key => 'MyS3Key', # min: 1, max: 1024 | ||
| 45 | |||
| 46 | }, # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $Arn = $CreateWorldTemplateResponse->Arn; | ||
| 51 | my $ClientRequestToken = $CreateWorldTemplateResponse->ClientRequestToken; | ||
| 52 | my $CreatedAt = $CreateWorldTemplateResponse->CreatedAt; | ||
| 53 | my $Name = $CreateWorldTemplateResponse->Name; | ||
| 54 | my $Tags = $CreateWorldTemplateResponse->Tags; | ||
| 55 | |||
| 56 | # Returns a L<Paws::Robomaker::CreateWorldTemplateResponse> object. | ||
| 57 | |||
| 58 | 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. | ||
| 59 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/robomaker/CreateWorldTemplate> | ||
| 60 | |||
| 61 | =head1 ATTRIBUTES | ||
| 62 | |||
| 63 | |||
| 64 | =head2 ClientRequestToken => Str | ||
| 65 | |||
| 66 | Unique, case-sensitive identifier that you provide to ensure the | ||
| 67 | idempotency of the request. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head2 Name => Str | ||
| 72 | |||
| 73 | The name of the world template. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 Tags => L<Paws::Robomaker::TagMap> | ||
| 78 | |||
| 79 | A map that contains tag keys and tag values that are attached to the | ||
| 80 | world template. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head2 TemplateBody => Str | ||
| 85 | |||
| 86 | The world template body. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head2 TemplateLocation => L<Paws::Robomaker::TemplateLocation> | ||
| 91 | |||
| 92 | The location of the world template. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method CreateWorldTemplate in L<Paws::Robomaker> | ||
| 100 | |||
| 101 | =head1 BUGS and CONTRIBUTIONS | ||
| 102 | |||
| 103 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 104 | |||
| 105 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 106 | |||
| 107 | =cut | ||
| 108 |