NAME
Paws::Rekognition::CreateCollection - Arguments for method CreateCollection on Paws::Rekognition
DESCRIPTION
This class represents the parameters used for calling the method CreateCollection on the Amazon Rekognition service. Use the attributes of this class as arguments to method CreateCollection.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCollection.
SYNOPSIS
my $rekognition = Paws->service('Rekognition');
# To create a collection
# This operation creates a Rekognition collection for storing image data.
my $CreateCollectionResponse =
$rekognition->CreateCollection( 'CollectionId' => 'myphotos' );
# Results:
my $CollectionArn = $CreateCollectionResponse->CollectionArn;
my $StatusCode = $CreateCollectionResponse->StatusCode;
# Returns a L<Paws::Rekognition::CreateCollectionResponse> 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/rekognition/CreateCollection
ATTRIBUTES
REQUIRED CollectionId => Str
ID for the collection that you are creating.
Tags => Paws::Rekognition::TagMap
A set of tags (key-value pairs) that you want to attach to the collection.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateCollection in Paws::Rekognition
BUGS and CONTRIBUTIONS
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