« blib/lib/Paws/CloudDirectory/PolicyToPath.pm
↑ Summary
blib/lib/Paws/CloudDirectory/PublishSchemaResponse.pm »
| 1 | |||
| 2 | package Paws::CloudDirectory::PublishSchema; | ||
| 3 | use Moose; | ||
| 4 | has DevelopmentSchemaArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1); | ||
| 5 | has MinorVersion => (is => 'ro', isa => 'Str'); | ||
| 6 | has Name => (is => 'ro', isa => 'Str'); | ||
| 7 | has Version => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PublishSchema'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/schema/publish'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::PublishSchemaResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::CloudDirectory::PublishSchema - Arguments for method PublishSchema on L<Paws::CloudDirectory> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method PublishSchema on the | ||
| 26 | L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class | ||
| 27 | as arguments to method PublishSchema. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PublishSchema. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $clouddirectory = Paws->service('CloudDirectory'); | ||
| 34 | my $PublishSchemaResponse = $clouddirectory->PublishSchema( | ||
| 35 | DevelopmentSchemaArn => 'MyArn', | ||
| 36 | Version => 'MyVersion', | ||
| 37 | MinorVersion => 'MyVersion', # OPTIONAL | ||
| 38 | Name => 'MySchemaName', # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $PublishedSchemaArn = $PublishSchemaResponse->PublishedSchemaArn; | ||
| 43 | |||
| 44 | # Returns a L<Paws::CloudDirectory::PublishSchemaResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/PublishSchema> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> DevelopmentSchemaArn => Str | ||
| 53 | |||
| 54 | The Amazon Resource Name (ARN) that is associated with the development | ||
| 55 | schema. For more information, see arns. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 MinorVersion => Str | ||
| 60 | |||
| 61 | The minor version under which the schema will be published. This | ||
| 62 | parameter is recommended. Schemas have both a major and minor version | ||
| 63 | associated with them. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 Name => Str | ||
| 68 | |||
| 69 | The new name under which the schema will be published. If this is not | ||
| 70 | provided, the development schema is considered. | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> Version => Str | ||
| 75 | |||
| 76 | The major version under which the schema will be published. Schemas | ||
| 77 | have both a major and minor version associated with them. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head1 SEE ALSO | ||
| 83 | |||
| 84 | This class forms part of L<Paws>, documenting arguments for method PublishSchema in L<Paws::CloudDirectory> | ||
| 85 | |||
| 86 | =head1 BUGS and CONTRIBUTIONS | ||
| 87 | |||
| 88 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 89 | |||
| 90 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 91 | |||
| 92 | =cut | ||
| 93 |