Paws::IoTThingsGraph::UploadEntityDefinitions - Arguments for method UploadEntityDefinitions on Paws::IoTThingsGraph
This class represents the parameters used for calling the method UploadEntityDefinitions on the AWS IoT Things Graph service. Use the attributes of this class as arguments to method UploadEntityDefinitions.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadEntityDefinitions.
my $iotthingsgraph = Paws->service('IoTThingsGraph'); my $UploadEntityDefinitionsResponse = $iotthingsgraph->UploadEntityDefinitions( DeprecateExistingEntities => 1, # OPTIONAL Document => { Language => 'GRAPHQL', # values: GRAPHQL Text => 'MyDefinitionText', # max: 1048576 }, # OPTIONAL SyncWithPublicNamespace => 1, # OPTIONAL ); # Results: my $UploadId = $UploadEntityDefinitionsResponse->UploadId; # Returns a L<Paws::IoTThingsGraph::UploadEntityDefinitionsResponse> 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/iotthingsgraph/UploadEntityDefinitions
A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument. If set to true, the upload will create a new namespace version.
DefinitionDocument
true
The DefinitionDocument that defines the updated entities.
A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true, the upload will create a new namespace version.
This class forms part of Paws, documenting arguments for method UploadEntityDefinitions in Paws::IoTThingsGraph
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.