![]() |
![]()
| ![]() |
![]()
NAMEPaws::Schemas::CreateSchema - Arguments for method CreateSchema on Paws::Schemas DESCRIPTIONThis class represents the parameters used for calling the method CreateSchema on the Schemas service. Use the attributes of this class as arguments to method CreateSchema. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateSchema. SYNOPSISmy $schemas = Paws->service('Schemas'); my $CreateSchemaResponse = $schemas->CreateSchema( Content => 'My__stringMin1Max100000', RegistryName => 'My__string', SchemaName => 'My__string', Type => 'OpenApi3', Description => 'My__stringMin0Max256', # OPTIONAL Tags => { 'My__string' => 'My__string', }, # OPTIONAL ); # Results: my $Description = $CreateSchemaResponse->Description; my $LastModified = $CreateSchemaResponse->LastModified; my $SchemaArn = $CreateSchemaResponse->SchemaArn; my $SchemaName = $CreateSchemaResponse->SchemaName; my $SchemaVersion = $CreateSchemaResponse->SchemaVersion; my $Tags = $CreateSchemaResponse->Tags; my $Type = $CreateSchemaResponse->Type; my $VersionCreatedDate = $CreateSchemaResponse->VersionCreatedDate; # Returns a L<Paws::Schemas::CreateSchemaResponse> 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/schemas/CreateSchema> ATTRIBUTESREQUIRED Content => StrThe source of the schema definition. Description => StrA description of the schema. REQUIRED RegistryName => StrThe name of the registry. REQUIRED SchemaName => StrThe name of the schema. Tags => Paws::Schemas::TagsTags associated with the schema. REQUIRED Type => StrThe type of schema. Valid values are: "OpenApi3", "JSONSchemaDraft4" SEE ALSOThis class forms part of Paws, documenting arguments for method CreateSchema in Paws::Schemas BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|