« blib/lib/Paws/CloudFormation/PropertyDifference.pm
↑ Summary
blib/lib/Paws/CloudFormation/PublishTypeOutput.pm »
| 1 | |||
| 2 | package Paws::CloudFormation::PublishType; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str'); | ||
| 5 | has PublicVersionNumber => (is => 'ro', isa => 'Str'); | ||
| 6 | has Type => (is => 'ro', isa => 'Str'); | ||
| 7 | has TypeName => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PublishType'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::PublishTypeOutput'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'PublishTypeResult'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CloudFormation::PublishType - Arguments for method PublishType on L<Paws::CloudFormation> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method PublishType on the | ||
| 25 | L<AWS CloudFormation|Paws::CloudFormation> service. Use the attributes of this class | ||
| 26 | as arguments to method PublishType. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PublishType. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $cloudformation = Paws->service('CloudFormation'); | ||
| 33 | my $PublishTypeOutput = $cloudformation->PublishType( | ||
| 34 | Arn => 'MyPrivateTypeArn', # OPTIONAL | ||
| 35 | PublicVersionNumber => 'MyPublicVersionNumber', # OPTIONAL | ||
| 36 | Type => 'RESOURCE', # OPTIONAL | ||
| 37 | TypeName => 'MyTypeName', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $PublicTypeArn = $PublishTypeOutput->PublicTypeArn; | ||
| 42 | |||
| 43 | # Returns a L<Paws::CloudFormation::PublishTypeOutput> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudformation/PublishType> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Arn => Str | ||
| 52 | |||
| 53 | The Amazon Resource Number (ARN) of the extension. | ||
| 54 | |||
| 55 | Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 PublicVersionNumber => Str | ||
| 60 | |||
| 61 | The version number to assign to this version of the extension. | ||
| 62 | |||
| 63 | Use the following format, and adhere to semantic versioning when | ||
| 64 | assigning a version number to your extension: | ||
| 65 | |||
| 66 | C<MAJOR.MINOR.PATCH> | ||
| 67 | |||
| 68 | For more information, see Semantic Versioning 2.0.0 | ||
| 69 | (https://semver.org/). | ||
| 70 | |||
| 71 | If you do not specify a version number, CloudFormation increments the | ||
| 72 | version number by one minor version release. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 Type => Str | ||
| 77 | |||
| 78 | The type of the extension. | ||
| 79 | |||
| 80 | Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>. | ||
| 81 | |||
| 82 | Valid values are: C<"RESOURCE">, C<"MODULE"> | ||
| 83 | |||
| 84 | =head2 TypeName => Str | ||
| 85 | |||
| 86 | The name of the extension. | ||
| 87 | |||
| 88 | Conditional: You must specify C<Arn>, or C<TypeName> and C<Type>. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | This class forms part of L<Paws>, documenting arguments for method PublishType in L<Paws::CloudFormation> | ||
| 96 | |||
| 97 | =head1 BUGS and CONTRIBUTIONS | ||
| 98 | |||
| 99 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 100 | |||
| 101 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 102 | |||
| 103 | =cut | ||
| 104 |