The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::DataExchange::CreateDataSet - Arguments for method CreateDataSet on Paws::DataExchange

DESCRIPTION

This class represents the parameters used for calling the method CreateDataSet on the AWS Data Exchange service. Use the attributes of this class as arguments to method CreateDataSet.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDataSet.

SYNOPSIS

    my $dataexchange = Paws->service('DataExchange');
    my $CreateDataSetResponse = $dataexchange->CreateDataSet(
      AssetType   => 'S3_SNAPSHOT',
      Description => 'MyDescription',
      Name        => 'MyName',
      Tags        => { 'My__string' => 'My__string', },    # OPTIONAL
    );

    # Results:
    my $Arn           = $CreateDataSetResponse->Arn;
    my $AssetType     = $CreateDataSetResponse->AssetType;
    my $CreatedAt     = $CreateDataSetResponse->CreatedAt;
    my $Description   = $CreateDataSetResponse->Description;
    my $Id            = $CreateDataSetResponse->Id;
    my $Name          = $CreateDataSetResponse->Name;
    my $Origin        = $CreateDataSetResponse->Origin;
    my $OriginDetails = $CreateDataSetResponse->OriginDetails;
    my $SourceId      = $CreateDataSetResponse->SourceId;
    my $Tags          = $CreateDataSetResponse->Tags;
    my $UpdatedAt     = $CreateDataSetResponse->UpdatedAt;

    # Returns a L<Paws::DataExchange::CreateDataSetResponse> 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/dataexchange/CreateDataSet

ATTRIBUTES

REQUIRED AssetType => Str

The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.

Valid values are: "S3_SNAPSHOT"

REQUIRED Description => Str

A description for the data set. This value can be up to 16,348 characters long.

REQUIRED Name => Str

The name of the data set.

Tags => Paws::DataExchange::MapOf__string

A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDataSet in Paws::DataExchange

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