NAME

Paws::Schemas - Perl Interface to AWS Schemas

SYNOPSIS

use Paws;

my $obj = Paws->service('Schemas');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

Amazon EventBridge Schema Registry

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02

METHODS

CreateDiscoverer

SourceArn => Str
[Description => Str]
[Tags => Paws::Schemas::Tags]

Each argument is described in detail in: Paws::Schemas::CreateDiscoverer

Returns: a Paws::Schemas::CreateDiscovererResponse instance

Creates a discoverer.

CreateRegistry

RegistryName => Str
[Description => Str]
[Tags => Paws::Schemas::Tags]

Each argument is described in detail in: Paws::Schemas::CreateRegistry

Returns: a Paws::Schemas::CreateRegistryResponse instance

Creates a registry.

CreateSchema

Content => Str
RegistryName => Str
SchemaName => Str
Type => Str
[Description => Str]
[Tags => Paws::Schemas::Tags]

Each argument is described in detail in: Paws::Schemas::CreateSchema

Returns: a Paws::Schemas::CreateSchemaResponse instance

Creates a schema definition.

Inactive schemas will be deleted after two years.

DeleteDiscoverer

DiscovererId => Str

Each argument is described in detail in: Paws::Schemas::DeleteDiscoverer

Returns: nothing

Deletes a discoverer.

DeleteRegistry

RegistryName => Str

Each argument is described in detail in: Paws::Schemas::DeleteRegistry

Returns: nothing

Deletes a Registry.

DeleteResourcePolicy

[RegistryName => Str]

Each argument is described in detail in: Paws::Schemas::DeleteResourcePolicy

Returns: nothing

Delete the resource-based policy attached to the specified registry.

DeleteSchema

RegistryName => Str
SchemaName => Str

Each argument is described in detail in: Paws::Schemas::DeleteSchema

Returns: nothing

Delete a schema definition.

DeleteSchemaVersion

RegistryName => Str
SchemaName => Str
SchemaVersion => Str

Each argument is described in detail in: Paws::Schemas::DeleteSchemaVersion

Returns: nothing

Delete the schema version definition

DescribeCodeBinding

Language => Str
RegistryName => Str
SchemaName => Str
[SchemaVersion => Str]

Each argument is described in detail in: Paws::Schemas::DescribeCodeBinding

Returns: a Paws::Schemas::DescribeCodeBindingResponse instance

Describe the code binding URI.

DescribeDiscoverer

DiscovererId => Str

Each argument is described in detail in: Paws::Schemas::DescribeDiscoverer

Returns: a Paws::Schemas::DescribeDiscovererResponse instance

Describes the discoverer.

DescribeRegistry

RegistryName => Str

Each argument is described in detail in: Paws::Schemas::DescribeRegistry

Returns: a Paws::Schemas::DescribeRegistryResponse instance

Describes the registry.

DescribeSchema

RegistryName => Str
SchemaName => Str
[SchemaVersion => Str]

Each argument is described in detail in: Paws::Schemas::DescribeSchema

Returns: a Paws::Schemas::DescribeSchemaResponse instance

Retrieve the schema definition.

ExportSchema

RegistryName => Str
SchemaName => Str
Type => Str
[SchemaVersion => Str]

Each argument is described in detail in: Paws::Schemas::ExportSchema

Returns: a Paws::Schemas::ExportSchemaResponse instance

GetCodeBindingSource

Language => Str
RegistryName => Str
SchemaName => Str
[SchemaVersion => Str]

Each argument is described in detail in: Paws::Schemas::GetCodeBindingSource

Returns: a Paws::Schemas::GetCodeBindingSourceResponse instance

Get the code binding source URI.

GetDiscoveredSchema

Events => ArrayRef[Str|Undef]
Type => Str

Each argument is described in detail in: Paws::Schemas::GetDiscoveredSchema

Returns: a Paws::Schemas::GetDiscoveredSchemaResponse instance

Get the discovered schema that was generated based on sampled events.

GetResourcePolicy

[RegistryName => Str]

Each argument is described in detail in: Paws::Schemas::GetResourcePolicy

Returns: a Paws::Schemas::GetResourcePolicyResponse instance

Retrieves the resource-based policy attached to a given registry.

ListDiscoverers

[DiscovererIdPrefix => Str]
[Limit => Int]
[NextToken => Str]
[SourceArnPrefix => Str]

Each argument is described in detail in: Paws::Schemas::ListDiscoverers

Returns: a Paws::Schemas::ListDiscoverersResponse instance

List the discoverers.

ListRegistries

[Limit => Int]
[NextToken => Str]
[RegistryNamePrefix => Str]
[Scope => Str]

Each argument is described in detail in: Paws::Schemas::ListRegistries

Returns: a Paws::Schemas::ListRegistriesResponse instance

List the registries.

ListSchemas

RegistryName => Str
[Limit => Int]
[NextToken => Str]
[SchemaNamePrefix => Str]

Each argument is described in detail in: Paws::Schemas::ListSchemas

Returns: a Paws::Schemas::ListSchemasResponse instance

List the schemas.

ListSchemaVersions

RegistryName => Str
SchemaName => Str
[Limit => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::Schemas::ListSchemaVersions

Returns: a Paws::Schemas::ListSchemaVersionsResponse instance

Provides a list of the schema versions and related information.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::Schemas::ListTagsForResource

Returns: a Paws::Schemas::ListTagsForResourceResponse instance

Get tags for resource.

PutCodeBinding

Language => Str
RegistryName => Str
SchemaName => Str
[SchemaVersion => Str]

Each argument is described in detail in: Paws::Schemas::PutCodeBinding

Returns: a Paws::Schemas::PutCodeBindingResponse instance

Put code binding URI

PutResourcePolicy

Policy => Str
[RegistryName => Str]
[RevisionId => Str]

Each argument is described in detail in: Paws::Schemas::PutResourcePolicy

Returns: a Paws::Schemas::PutResourcePolicyResponse instance

The name of the policy.

SearchSchemas

Keywords => Str
RegistryName => Str
[Limit => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::Schemas::SearchSchemas

Returns: a Paws::Schemas::SearchSchemasResponse instance

Search the schemas

StartDiscoverer

DiscovererId => Str

Each argument is described in detail in: Paws::Schemas::StartDiscoverer

Returns: a Paws::Schemas::StartDiscovererResponse instance

Starts the discoverer

StopDiscoverer

DiscovererId => Str

Each argument is described in detail in: Paws::Schemas::StopDiscoverer

Returns: a Paws::Schemas::StopDiscovererResponse instance

Stops the discoverer

TagResource

ResourceArn => Str
Tags => Paws::Schemas::Tags

Each argument is described in detail in: Paws::Schemas::TagResource

Returns: nothing

Add tags to a resource.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::Schemas::UntagResource

Returns: nothing

Removes tags from a resource.

UpdateDiscoverer

DiscovererId => Str
[Description => Str]

Each argument is described in detail in: Paws::Schemas::UpdateDiscoverer

Returns: a Paws::Schemas::UpdateDiscovererResponse instance

Updates the discoverer

UpdateRegistry

RegistryName => Str
[Description => Str]

Each argument is described in detail in: Paws::Schemas::UpdateRegistry

Returns: a Paws::Schemas::UpdateRegistryResponse instance

Updates a registry.

UpdateSchema

RegistryName => Str
SchemaName => Str
[ClientTokenId => Str]
[Content => Str]
[Description => Str]
[Type => Str]

Each argument is described in detail in: Paws::Schemas::UpdateSchema

Returns: a Paws::Schemas::UpdateSchemaResponse instance

Updates the schema definition

Inactive schemas will be deleted after two years.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllDiscoverers(sub { },[DiscovererIdPrefix => Str, Limit => Int, NextToken => Str, SourceArnPrefix => Str])

ListAllDiscoverers([DiscovererIdPrefix => Str, Limit => Int, NextToken => Str, SourceArnPrefix => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- Discoverers, passing the object as the first parameter, and the string 'Discoverers' as the second parameter 

If not, it will return a a Paws::Schemas::ListDiscoverersResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllRegistries(sub { },[Limit => Int, NextToken => Str, RegistryNamePrefix => Str, Scope => Str])

ListAllRegistries([Limit => Int, NextToken => Str, RegistryNamePrefix => Str, Scope => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- Registries, passing the object as the first parameter, and the string 'Registries' as the second parameter 

If not, it will return a a Paws::Schemas::ListRegistriesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllSchemas(sub { },RegistryName => Str, [Limit => Int, NextToken => Str, SchemaNamePrefix => Str])

ListAllSchemas(RegistryName => Str, [Limit => Int, NextToken => Str, SchemaNamePrefix => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- Schemas, passing the object as the first parameter, and the string 'Schemas' as the second parameter 

If not, it will return a a Paws::Schemas::ListSchemasResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllSchemaVersions(sub { },RegistryName => Str, SchemaName => Str, [Limit => Int, NextToken => Str])

ListAllSchemaVersions(RegistryName => Str, SchemaName => Str, [Limit => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- SchemaVersions, passing the object as the first parameter, and the string 'SchemaVersions' as the second parameter 

If not, it will return a a Paws::Schemas::ListSchemaVersionsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SearchAllSchemas(sub { },Keywords => Str, RegistryName => Str, [Limit => Int, NextToken => Str])

SearchAllSchemas(Keywords => Str, RegistryName => Str, [Limit => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- Schemas, passing the object as the first parameter, and the string 'Schemas' as the second parameter 

If not, it will return a a Paws::Schemas::SearchSchemasResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

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