« blib/lib/Paws/SSM/CreateOpsItemResponse.pm
↑ Summary
blib/lib/Paws/SSM/CreateOpsMetadataResult.pm »
| 1 | |||
| 2 | package Paws::SSM::CreateOpsMetadata; | ||
| 3 | use Moose; | ||
| 4 | has Metadata => (is => 'ro', isa => 'Paws::SSM::MetadataMap'); | ||
| 5 | has ResourceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SSM::Tag]'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateOpsMetadata'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SSM::CreateOpsMetadataResult'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::SSM::CreateOpsMetadata - Arguments for method CreateOpsMetadata on L<Paws::SSM> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateOpsMetadata on the | ||
| 24 | L<Amazon Simple Systems Manager (SSM)|Paws::SSM> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateOpsMetadata. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateOpsMetadata. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $ssm = Paws->service('SSM'); | ||
| 32 | my $CreateOpsMetadataResult = $ssm->CreateOpsMetadata( | ||
| 33 | ResourceId => 'MyOpsMetadataResourceId', | ||
| 34 | Metadata => { | ||
| 35 | 'MyMetadataKey' => { | ||
| 36 | Value => 'MyMetadataValueString', # min: 1, max: 4096; OPTIONAL | ||
| 37 | }, # key: min: 1, max: 256 | ||
| 38 | }, # OPTIONAL | ||
| 39 | Tags => [ | ||
| 40 | { | ||
| 41 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 42 | Value => 'MyTagValue', # min: 1, max: 256 | ||
| 43 | |||
| 44 | }, | ||
| 45 | ... | ||
| 46 | ], # OPTIONAL | ||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $OpsMetadataArn = $CreateOpsMetadataResult->OpsMetadataArn; | ||
| 51 | |||
| 52 | # Returns a L<Paws::SSM::CreateOpsMetadataResult> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ssm/CreateOpsMetadata> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 Metadata => L<Paws::SSM::MetadataMap> | ||
| 61 | |||
| 62 | Metadata for a new Application Manager application. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head2 B<REQUIRED> ResourceId => Str | ||
| 67 | |||
| 68 | A resource ID for a new Application Manager application. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 Tags => ArrayRef[L<Paws::SSM::Tag>] | ||
| 73 | |||
| 74 | Optional metadata that you assign to a resource. You can specify a | ||
| 75 | maximum of five tags for an OpsMetadata object. Tags enable you to | ||
| 76 | categorize a resource in different ways, such as by purpose, owner, or | ||
| 77 | environment. For example, you might want to tag an OpsMetadata object | ||
| 78 | to identify an environment or target AWS Region. In this case, you | ||
| 79 | could specify the following key-value pairs: | ||
| 80 | |||
| 81 | =over | ||
| 82 | |||
| 83 | =item * | ||
| 84 | |||
| 85 | C<Key=Environment,Value=Production> | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | C<Key=Region,Value=us-east-2> | ||
| 90 | |||
| 91 | =back | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method CreateOpsMetadata in L<Paws::SSM> | ||
| 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 |