« blib/lib/Paws/Cloud9/UpdateEnvironmentResult.pm
↑ Summary
blib/lib/Paws/CloudDirectory/AddFacetToObjectResponse.pm »
| 1 | |||
| 2 | package Paws::CloudDirectory::AddFacetToObject; | ||
| 3 | use Moose; | ||
| 4 | has DirectoryArn => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-data-partition', required => 1); | ||
| 5 | has ObjectAttributeList => (is => 'ro', isa => 'ArrayRef[Paws::CloudDirectory::AttributeKeyAndValue]'); | ||
| 6 | has ObjectReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1); | ||
| 7 | has SchemaFacet => (is => 'ro', isa => 'Paws::CloudDirectory::SchemaFacet', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddFacetToObject'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/amazonclouddirectory/2017-01-11/object/facets'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudDirectory::AddFacetToObjectResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::CloudDirectory::AddFacetToObject - Arguments for method AddFacetToObject on L<Paws::CloudDirectory> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method AddFacetToObject on the | ||
| 26 | L<Amazon CloudDirectory|Paws::CloudDirectory> service. Use the attributes of this class | ||
| 27 | as arguments to method AddFacetToObject. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddFacetToObject. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $clouddirectory = Paws->service('CloudDirectory'); | ||
| 34 | my $AddFacetToObjectResponse = $clouddirectory->AddFacetToObject( | ||
| 35 | DirectoryArn => 'MyArn', | ||
| 36 | ObjectReference => { | ||
| 37 | Selector => 'MySelectorObjectReference', # OPTIONAL | ||
| 38 | }, | ||
| 39 | SchemaFacet => { | ||
| 40 | FacetName => 'MyFacetName', # min: 1, max: 64; OPTIONAL | ||
| 41 | SchemaArn => 'MyArn', | ||
| 42 | }, | ||
| 43 | ObjectAttributeList => [ | ||
| 44 | { | ||
| 45 | Key => { | ||
| 46 | FacetName => 'MyFacetName', # min: 1, max: 64; OPTIONAL | ||
| 47 | Name => 'MyAttributeName', # min: 1, max: 230 | ||
| 48 | SchemaArn => 'MyArn', | ||
| 49 | |||
| 50 | }, | ||
| 51 | Value => { | ||
| 52 | BinaryValue => 'BlobBinaryAttributeValue', # OPTIONAL | ||
| 53 | BooleanValue => 1, # OPTIONAL | ||
| 54 | DatetimeValue => '1970-01-01T01:00:00', # OPTIONAL | ||
| 55 | NumberValue => 'MyNumberAttributeValue', # OPTIONAL | ||
| 56 | StringValue => 'MyStringAttributeValue', # OPTIONAL | ||
| 57 | }, | ||
| 58 | |||
| 59 | }, | ||
| 60 | ... | ||
| 61 | ], # OPTIONAL | ||
| 62 | ); | ||
| 63 | |||
| 64 | 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. | ||
| 65 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/AddFacetToObject> | ||
| 66 | |||
| 67 | =head1 ATTRIBUTES | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> DirectoryArn => Str | ||
| 71 | |||
| 72 | The Amazon Resource Name (ARN) that is associated with the Directory | ||
| 73 | where the object resides. For more information, see arns. | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | =head2 ObjectAttributeList => ArrayRef[L<Paws::CloudDirectory::AttributeKeyAndValue>] | ||
| 78 | |||
| 79 | Attributes on the facet that you are adding to the object. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> ObjectReference => L<Paws::CloudDirectory::ObjectReference> | ||
| 84 | |||
| 85 | A reference to the object you are adding the specified facet to. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> SchemaFacet => L<Paws::CloudDirectory::SchemaFacet> | ||
| 90 | |||
| 91 | Identifiers for the facet that you are adding to the object. See | ||
| 92 | SchemaFacet for details. | ||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | =head1 SEE ALSO | ||
| 98 | |||
| 99 | This class forms part of L<Paws>, documenting arguments for method AddFacetToObject in L<Paws::CloudDirectory> | ||
| 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 |