The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ServerlessRepo::CreateApplication - Arguments for method CreateApplication on Paws::ServerlessRepo

DESCRIPTION

This class represents the parameters used for calling the method CreateApplication on the AWSServerlessApplicationRepository service. Use the attributes of this class as arguments to method CreateApplication.

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

SYNOPSIS

    my $serverlessrepo = Paws->service('ServerlessRepo');
    my $CreateApplicationResponse = $serverlessrepo->CreateApplication(
      Author               => 'My__string',
      Description          => 'My__string',
      Name                 => 'My__string',
      HomePageUrl          => 'My__string',             # OPTIONAL
      Labels               => [ 'My__string', ... ],    # OPTIONAL
      LicenseBody          => 'My__string',             # OPTIONAL
      LicenseUrl           => 'My__string',             # OPTIONAL
      ReadmeBody           => 'My__string',             # OPTIONAL
      ReadmeUrl            => 'My__string',             # OPTIONAL
      SemanticVersion      => 'My__string',             # OPTIONAL
      SourceCodeArchiveUrl => 'My__string',             # OPTIONAL
      SourceCodeUrl        => 'My__string',             # OPTIONAL
      SpdxLicenseId        => 'My__string',             # OPTIONAL
      TemplateBody         => 'My__string',             # OPTIONAL
      TemplateUrl          => 'My__string',             # OPTIONAL
    );

    # Results:
    my $ApplicationId     = $CreateApplicationResponse->ApplicationId;
    my $Author            = $CreateApplicationResponse->Author;
    my $CreationTime      = $CreateApplicationResponse->CreationTime;
    my $Description       = $CreateApplicationResponse->Description;
    my $HomePageUrl       = $CreateApplicationResponse->HomePageUrl;
    my $IsVerifiedAuthor  = $CreateApplicationResponse->IsVerifiedAuthor;
    my $Labels            = $CreateApplicationResponse->Labels;
    my $LicenseUrl        = $CreateApplicationResponse->LicenseUrl;
    my $Name              = $CreateApplicationResponse->Name;
    my $ReadmeUrl         = $CreateApplicationResponse->ReadmeUrl;
    my $SpdxLicenseId     = $CreateApplicationResponse->SpdxLicenseId;
    my $VerifiedAuthorUrl = $CreateApplicationResponse->VerifiedAuthorUrl;
    my $Version           = $CreateApplicationResponse->Version;

    # Returns a L<Paws::ServerlessRepo::CreateApplicationResponse> 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/serverlessrepo/CreateApplication

ATTRIBUTES

REQUIRED Author => Str

The name of the author publishing the app.

Minimum length=1. Maximum length=127.

Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

REQUIRED Description => Str

The description of the application.

Minimum length=1. Maximum length=256

HomePageUrl => Str

A URL with more information about the application, for example the location of your GitHub repository for the application.

Labels => ArrayRef[Str|Undef]

Labels to improve discovery of apps in search results.

Minimum length=1. Maximum length=127. Maximum number of labels: 10

Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";

LicenseBody => Str

A local text file that contains the license of the app that matches the spdxLicenseID value of your application. The file has the format file://<path>/<filename>.

Maximum size 5 MB

You can specify only one of licenseBody and licenseUrl; otherwise, an error results.

LicenseUrl => Str

A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.

Maximum size 5 MB

You can specify only one of licenseBody and licenseUrl; otherwise, an error results.

REQUIRED Name => Str

The name of the application that you want to publish.

Minimum length=1. Maximum length=140

Pattern: "[a-zA-Z0-9\\-]+";

ReadmeBody => Str

A local text readme file in Markdown language that contains a more detailed description of the application and how it works. The file has the format file://<path>/<filename>.

Maximum size 5 MB

You can specify only one of readmeBody and readmeUrl; otherwise, an error results.

ReadmeUrl => Str

A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.

Maximum size 5 MB

You can specify only one of readmeBody and readmeUrl; otherwise, an error results.

SemanticVersion => Str

The semantic version of the application:

https://semver.org/ (https://semver.org/)

SourceCodeArchiveUrl => Str

A link to the S3 object that contains the ZIP archive of the source code for this version of your application.

Maximum size 50 MB

SourceCodeUrl => Str

A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

SpdxLicenseId => Str

A valid identifier from https://spdx.org/licenses/ (https://spdx.org/licenses/).

TemplateBody => Str

The local raw packaged AWS SAM template file of your application. The file has the format file://<path>/<filename>.

You can specify only one of templateBody and templateUrl; otherwise an error results.

TemplateUrl => Str

A link to the S3 object containing the packaged AWS SAM template of your application.

You can specify only one of templateBody and templateUrl; otherwise an error results.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateApplication in Paws::ServerlessRepo

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