« blib/lib/Paws/MediaStore/CorsRule.pm
↑ Summary
blib/lib/Paws/MediaStore/CreateContainerOutput.pm »
| 1 | |||
| 2 | package Paws::MediaStore::CreateContainer; | ||
| 3 | use Moose; | ||
| 4 | has ContainerName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::MediaStore::Tag]'); | ||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateContainer'); | ||
| 10 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaStore::CreateContainerOutput'); | ||
| 11 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 12 | 1; | ||
| 13 | |||
| 14 | ### main pod documentation begin ### | ||
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Paws::MediaStore::CreateContainer - Arguments for method CreateContainer on L<Paws::MediaStore> | ||
| 19 | |||
| 20 | =head1 DESCRIPTION | ||
| 21 | |||
| 22 | This class represents the parameters used for calling the method CreateContainer on the | ||
| 23 | L<AWS Elemental MediaStore|Paws::MediaStore> service. Use the attributes of this class | ||
| 24 | as arguments to method CreateContainer. | ||
| 25 | |||
| 26 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateContainer. | ||
| 27 | |||
| 28 | =head1 SYNOPSIS | ||
| 29 | |||
| 30 | my $mediastore = Paws->service('MediaStore'); | ||
| 31 | my $CreateContainerOutput = $mediastore->CreateContainer( | ||
| 32 | ContainerName => 'MyContainerName', | ||
| 33 | Tags => [ | ||
| 34 | { | ||
| 35 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 36 | Value => 'MyTagValue', # max: 256; OPTIONAL | ||
| 37 | }, | ||
| 38 | ... | ||
| 39 | ], # OPTIONAL | ||
| 40 | ); | ||
| 41 | |||
| 42 | # Results: | ||
| 43 | my $Container = $CreateContainerOutput->Container; | ||
| 44 | |||
| 45 | # Returns a L<Paws::MediaStore::CreateContainerOutput> object. | ||
| 46 | |||
| 47 | 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. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediastore/CreateContainer> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> ContainerName => Str | ||
| 54 | |||
| 55 | The name for the container. The name must be from 1 to 255 characters. | ||
| 56 | Container names must be unique to your AWS account within a specific | ||
| 57 | region. As an example, you could create a container named C<movies> in | ||
| 58 | every region, as long as you donE<rsquo>t have an existing container | ||
| 59 | with that name. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 Tags => ArrayRef[L<Paws::MediaStore::Tag>] | ||
| 64 | |||
| 65 | An array of key:value pairs that you define. These values can be | ||
| 66 | anything that you want. Typically, the tag key represents a category | ||
| 67 | (such as "environment") and the tag value represents a specific value | ||
| 68 | within that category (such as "test," "development," or "production"). | ||
| 69 | You can add up to 50 tags to each container. For more information about | ||
| 70 | tagging, including naming and usage conventions, see Tagging Resources | ||
| 71 | in MediaStore | ||
| 72 | (https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html). | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head1 SEE ALSO | ||
| 78 | |||
| 79 | This class forms part of L<Paws>, documenting arguments for method CreateContainer in L<Paws::MediaStore> | ||
| 80 | |||
| 81 | =head1 BUGS and CONTRIBUTIONS | ||
| 82 | |||
| 83 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 84 | |||
| 85 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 86 | |||
| 87 | =cut | ||
| 88 |