Paws::ServerlessRepo::CreateApplication - Arguments for method CreateApplication on Paws::ServerlessRepo
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.
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
The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
The description of the application.
Minimum length=1. Maximum length=256
A URL with more information about the application, for example the location of your GitHub repository for the application.
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+\\-_:\\/@]+$";
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.
A link to the S3 object that contains the license of the app that matches the spdxLicenseID value of your application.
The name of the application that you want to publish.
Minimum length=1. Maximum length=140
Pattern: "[a-zA-Z0-9\\-]+";
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>.
You can specify only one of readmeBody and readmeUrl; otherwise, an error results.
A link to the S3 object in Markdown language that contains a more detailed description of the application and how it works.
The semantic version of the application:
https://semver.org/ (https://semver.org/)
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
A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.
A valid identifier from https://spdx.org/licenses/ (https://spdx.org/licenses/).
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.
A link to the S3 object containing the packaged AWS SAM template of your application.
This class forms part of Paws, documenting arguments for method CreateApplication in Paws::ServerlessRepo
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.