NAME

Paws::Schemas::CreateSchema - Arguments for method CreateSchema on Paws::Schemas

DESCRIPTION

This 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.

SYNOPSIS

my $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

ATTRIBUTES

REQUIRED Content => Str

The source of the schema definition.

Description => Str

A description of the schema.

REQUIRED RegistryName => Str

The name of the registry.

REQUIRED SchemaName => Str

The name of the schema.

Tags => Paws::Schemas::Tags

Tags associated with the schema.

REQUIRED Type => Str

The type of schema.

Valid values are: "OpenApi3", "JSONSchemaDraft4"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateSchema in Paws::Schemas

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