![]() |
![]()
| ![]() |
![]()
NAMEPaws::CloudDirectory::CreateObject - Arguments for method CreateObject on Paws::CloudDirectory DESCRIPTIONThis class represents the parameters used for calling the method CreateObject on the Amazon CloudDirectory service. Use the attributes of this class as arguments to method CreateObject. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateObject. SYNOPSISmy $clouddirectory = Paws->service('CloudDirectory'); my $CreateObjectResponse = $clouddirectory->CreateObject( DirectoryArn => 'MyArn', SchemaFacets => [ { FacetName => 'MyFacetName', # min: 1, max: 64; OPTIONAL SchemaArn => 'MyArn', }, ... ], LinkName => 'MyLinkName', # OPTIONAL ObjectAttributeList => [ { Key => { FacetName => 'MyFacetName', # min: 1, max: 64; OPTIONAL Name => 'MyAttributeName', # min: 1, max: 230 SchemaArn => 'MyArn', }, Value => { BinaryValue => 'BlobBinaryAttributeValue', # OPTIONAL BooleanValue => 1, # OPTIONAL DatetimeValue => '1970-01-01T01:00:00', # OPTIONAL NumberValue => 'MyNumberAttributeValue', # OPTIONAL StringValue => 'MyStringAttributeValue', # OPTIONAL }, }, ... ], # OPTIONAL ParentReference => { Selector => 'MySelectorObjectReference', # OPTIONAL }, # OPTIONAL ); # Results: my $ObjectIdentifier = $CreateObjectResponse->ObjectIdentifier; # Returns a L<Paws::CloudDirectory::CreateObjectResponse> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/clouddirectory/CreateObject> ATTRIBUTESREQUIRED DirectoryArn => StrThe Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created. For more information, see arns. LinkName => StrThe name of link that is used to attach this object to a parent. ObjectAttributeList => ArrayRef[Paws::CloudDirectory::AttributeKeyAndValue]The attribute map whose attribute ARN contains the key and attribute value as the map value. ParentReference => Paws::CloudDirectory::ObjectReferenceIf specified, the parent reference to which this object will be attached. REQUIRED SchemaFacets => ArrayRef[Paws::CloudDirectory::SchemaFacet]A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateObject in Paws::CloudDirectory BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|