| 1 | package Paws::Schemas; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'schemas' } | ||
| 4 | sub signing_name { 'schemas' } | ||
| 5 | sub version { '2019-12-02' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub CreateDiscoverer { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::Schemas::CreateDiscoverer', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub CreateRegistry { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::Schemas::CreateRegistry', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub CreateSchema { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::Schemas::CreateSchema', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub DeleteDiscoverer { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::Schemas::DeleteDiscoverer', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub DeleteRegistry { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::Schemas::DeleteRegistry', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub DeleteResourcePolicy { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::Schemas::DeleteResourcePolicy', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub DeleteSchema { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::Schemas::DeleteSchema', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub DeleteSchemaVersion { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::Schemas::DeleteSchemaVersion', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | sub DescribeCodeBinding { | ||
| 58 | my $self = shift; | ||
| 59 | my $call_object = $self->new_with_coercions('Paws::Schemas::DescribeCodeBinding', @_); | ||
| 60 | return $self->caller->do_call($self, $call_object); | ||
| 61 | } | ||
| 62 | sub DescribeDiscoverer { | ||
| 63 | my $self = shift; | ||
| 64 | my $call_object = $self->new_with_coercions('Paws::Schemas::DescribeDiscoverer', @_); | ||
| 65 | return $self->caller->do_call($self, $call_object); | ||
| 66 | } | ||
| 67 | sub DescribeRegistry { | ||
| 68 | my $self = shift; | ||
| 69 | my $call_object = $self->new_with_coercions('Paws::Schemas::DescribeRegistry', @_); | ||
| 70 | return $self->caller->do_call($self, $call_object); | ||
| 71 | } | ||
| 72 | sub DescribeSchema { | ||
| 73 | my $self = shift; | ||
| 74 | my $call_object = $self->new_with_coercions('Paws::Schemas::DescribeSchema', @_); | ||
| 75 | return $self->caller->do_call($self, $call_object); | ||
| 76 | } | ||
| 77 | sub ExportSchema { | ||
| 78 | my $self = shift; | ||
| 79 | my $call_object = $self->new_with_coercions('Paws::Schemas::ExportSchema', @_); | ||
| 80 | return $self->caller->do_call($self, $call_object); | ||
| 81 | } | ||
| 82 | sub GetCodeBindingSource { | ||
| 83 | my $self = shift; | ||
| 84 | my $call_object = $self->new_with_coercions('Paws::Schemas::GetCodeBindingSource', @_); | ||
| 85 | return $self->caller->do_call($self, $call_object); | ||
| 86 | } | ||
| 87 | sub GetDiscoveredSchema { | ||
| 88 | my $self = shift; | ||
| 89 | my $call_object = $self->new_with_coercions('Paws::Schemas::GetDiscoveredSchema', @_); | ||
| 90 | return $self->caller->do_call($self, $call_object); | ||
| 91 | } | ||
| 92 | sub GetResourcePolicy { | ||
| 93 | my $self = shift; | ||
| 94 | my $call_object = $self->new_with_coercions('Paws::Schemas::GetResourcePolicy', @_); | ||
| 95 | return $self->caller->do_call($self, $call_object); | ||
| 96 | } | ||
| 97 | sub ListDiscoverers { | ||
| 98 | my $self = shift; | ||
| 99 | my $call_object = $self->new_with_coercions('Paws::Schemas::ListDiscoverers', @_); | ||
| 100 | return $self->caller->do_call($self, $call_object); | ||
| 101 | } | ||
| 102 | sub ListRegistries { | ||
| 103 | my $self = shift; | ||
| 104 | my $call_object = $self->new_with_coercions('Paws::Schemas::ListRegistries', @_); | ||
| 105 | return $self->caller->do_call($self, $call_object); | ||
| 106 | } | ||
| 107 | sub ListSchemas { | ||
| 108 | my $self = shift; | ||
| 109 | my $call_object = $self->new_with_coercions('Paws::Schemas::ListSchemas', @_); | ||
| 110 | return $self->caller->do_call($self, $call_object); | ||
| 111 | } | ||
| 112 | sub ListSchemaVersions { | ||
| 113 | my $self = shift; | ||
| 114 | my $call_object = $self->new_with_coercions('Paws::Schemas::ListSchemaVersions', @_); | ||
| 115 | return $self->caller->do_call($self, $call_object); | ||
| 116 | } | ||
| 117 | sub ListTagsForResource { | ||
| 118 | my $self = shift; | ||
| 119 | my $call_object = $self->new_with_coercions('Paws::Schemas::ListTagsForResource', @_); | ||
| 120 | return $self->caller->do_call($self, $call_object); | ||
| 121 | } | ||
| 122 | sub PutCodeBinding { | ||
| 123 | my $self = shift; | ||
| 124 | my $call_object = $self->new_with_coercions('Paws::Schemas::PutCodeBinding', @_); | ||
| 125 | return $self->caller->do_call($self, $call_object); | ||
| 126 | } | ||
| 127 | sub PutResourcePolicy { | ||
| 128 | my $self = shift; | ||
| 129 | my $call_object = $self->new_with_coercions('Paws::Schemas::PutResourcePolicy', @_); | ||
| 130 | return $self->caller->do_call($self, $call_object); | ||
| 131 | } | ||
| 132 | sub SearchSchemas { | ||
| 133 | my $self = shift; | ||
| 134 | my $call_object = $self->new_with_coercions('Paws::Schemas::SearchSchemas', @_); | ||
| 135 | return $self->caller->do_call($self, $call_object); | ||
| 136 | } | ||
| 137 | sub StartDiscoverer { | ||
| 138 | my $self = shift; | ||
| 139 | my $call_object = $self->new_with_coercions('Paws::Schemas::StartDiscoverer', @_); | ||
| 140 | return $self->caller->do_call($self, $call_object); | ||
| 141 | } | ||
| 142 | sub StopDiscoverer { | ||
| 143 | my $self = shift; | ||
| 144 | my $call_object = $self->new_with_coercions('Paws::Schemas::StopDiscoverer', @_); | ||
| 145 | return $self->caller->do_call($self, $call_object); | ||
| 146 | } | ||
| 147 | sub TagResource { | ||
| 148 | my $self = shift; | ||
| 149 | my $call_object = $self->new_with_coercions('Paws::Schemas::TagResource', @_); | ||
| 150 | return $self->caller->do_call($self, $call_object); | ||
| 151 | } | ||
| 152 | sub UntagResource { | ||
| 153 | my $self = shift; | ||
| 154 | my $call_object = $self->new_with_coercions('Paws::Schemas::UntagResource', @_); | ||
| 155 | return $self->caller->do_call($self, $call_object); | ||
| 156 | } | ||
| 157 | sub UpdateDiscoverer { | ||
| 158 | my $self = shift; | ||
| 159 | my $call_object = $self->new_with_coercions('Paws::Schemas::UpdateDiscoverer', @_); | ||
| 160 | return $self->caller->do_call($self, $call_object); | ||
| 161 | } | ||
| 162 | sub UpdateRegistry { | ||
| 163 | my $self = shift; | ||
| 164 | my $call_object = $self->new_with_coercions('Paws::Schemas::UpdateRegistry', @_); | ||
| 165 | return $self->caller->do_call($self, $call_object); | ||
| 166 | } | ||
| 167 | sub UpdateSchema { | ||
| 168 | my $self = shift; | ||
| 169 | my $call_object = $self->new_with_coercions('Paws::Schemas::UpdateSchema', @_); | ||
| 170 | return $self->caller->do_call($self, $call_object); | ||
| 171 | } | ||
| 172 | |||
| 173 | sub ListAllDiscoverers { | ||
| 174 | my $self = shift; | ||
| 175 | |||
| 176 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 177 | my $result = $self->ListDiscoverers(@_); | ||
| 178 | my $next_result = $result; | ||
| 179 | |||
| 180 | if (not defined $callback) { | ||
| 181 | while ($next_result->NextToken) { | ||
| 182 | $next_result = $self->ListDiscoverers(@_, NextToken => $next_result->NextToken); | ||
| 183 | push @{ $result->Discoverers }, @{ $next_result->Discoverers }; | ||
| 184 | } | ||
| 185 | return $result; | ||
| 186 | } else { | ||
| 187 | while ($result->NextToken) { | ||
| 188 | $callback->($_ => 'Discoverers') foreach (@{ $result->Discoverers }); | ||
| 189 | $result = $self->ListDiscoverers(@_, NextToken => $result->NextToken); | ||
| 190 | } | ||
| 191 | $callback->($_ => 'Discoverers') foreach (@{ $result->Discoverers }); | ||
| 192 | } | ||
| 193 | |||
| 194 | return undef | ||
| 195 | } | ||
| 196 | sub ListAllRegistries { | ||
| 197 | my $self = shift; | ||
| 198 | |||
| 199 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 200 | my $result = $self->ListRegistries(@_); | ||
| 201 | my $next_result = $result; | ||
| 202 | |||
| 203 | if (not defined $callback) { | ||
| 204 | while ($next_result->NextToken) { | ||
| 205 | $next_result = $self->ListRegistries(@_, NextToken => $next_result->NextToken); | ||
| 206 | push @{ $result->Registries }, @{ $next_result->Registries }; | ||
| 207 | } | ||
| 208 | return $result; | ||
| 209 | } else { | ||
| 210 | while ($result->NextToken) { | ||
| 211 | $callback->($_ => 'Registries') foreach (@{ $result->Registries }); | ||
| 212 | $result = $self->ListRegistries(@_, NextToken => $result->NextToken); | ||
| 213 | } | ||
| 214 | $callback->($_ => 'Registries') foreach (@{ $result->Registries }); | ||
| 215 | } | ||
| 216 | |||
| 217 | return undef | ||
| 218 | } | ||
| 219 | sub ListAllSchemas { | ||
| 220 | my $self = shift; | ||
| 221 | |||
| 222 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 223 | my $result = $self->ListSchemas(@_); | ||
| 224 | my $next_result = $result; | ||
| 225 | |||
| 226 | if (not defined $callback) { | ||
| 227 | while ($next_result->NextToken) { | ||
| 228 | $next_result = $self->ListSchemas(@_, NextToken => $next_result->NextToken); | ||
| 229 | push @{ $result->Schemas }, @{ $next_result->Schemas }; | ||
| 230 | } | ||
| 231 | return $result; | ||
| 232 | } else { | ||
| 233 | while ($result->NextToken) { | ||
| 234 | $callback->($_ => 'Schemas') foreach (@{ $result->Schemas }); | ||
| 235 | $result = $self->ListSchemas(@_, NextToken => $result->NextToken); | ||
| 236 | } | ||
| 237 | $callback->($_ => 'Schemas') foreach (@{ $result->Schemas }); | ||
| 238 | } | ||
| 239 | |||
| 240 | return undef | ||
| 241 | } | ||
| 242 | sub ListAllSchemaVersions { | ||
| 243 | my $self = shift; | ||
| 244 | |||
| 245 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 246 | my $result = $self->ListSchemaVersions(@_); | ||
| 247 | my $next_result = $result; | ||
| 248 | |||
| 249 | if (not defined $callback) { | ||
| 250 | while ($next_result->NextToken) { | ||
| 251 | $next_result = $self->ListSchemaVersions(@_, NextToken => $next_result->NextToken); | ||
| 252 | push @{ $result->SchemaVersions }, @{ $next_result->SchemaVersions }; | ||
| 253 | } | ||
| 254 | return $result; | ||
| 255 | } else { | ||
| 256 | while ($result->NextToken) { | ||
| 257 | $callback->($_ => 'SchemaVersions') foreach (@{ $result->SchemaVersions }); | ||
| 258 | $result = $self->ListSchemaVersions(@_, NextToken => $result->NextToken); | ||
| 259 | } | ||
| 260 | $callback->($_ => 'SchemaVersions') foreach (@{ $result->SchemaVersions }); | ||
| 261 | } | ||
| 262 | |||
| 263 | return undef | ||
| 264 | } | ||
| 265 | sub SearchAllSchemas { | ||
| 266 | my $self = shift; | ||
| 267 | |||
| 268 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 269 | my $result = $self->SearchSchemas(@_); | ||
| 270 | my $next_result = $result; | ||
| 271 | |||
| 272 | if (not defined $callback) { | ||
| 273 | while ($next_result->NextToken) { | ||
| 274 | $next_result = $self->SearchSchemas(@_, NextToken => $next_result->NextToken); | ||
| 275 | push @{ $result->Schemas }, @{ $next_result->Schemas }; | ||
| 276 | } | ||
| 277 | return $result; | ||
| 278 | } else { | ||
| 279 | while ($result->NextToken) { | ||
| 280 | $callback->($_ => 'Schemas') foreach (@{ $result->Schemas }); | ||
| 281 | $result = $self->SearchSchemas(@_, NextToken => $result->NextToken); | ||
| 282 | } | ||
| 283 | $callback->($_ => 'Schemas') foreach (@{ $result->Schemas }); | ||
| 284 | } | ||
| 285 | |||
| 286 | return undef | ||
| 287 | } | ||
| 288 | |||
| 289 | |||
| 290 | sub operations { qw/CreateDiscoverer CreateRegistry CreateSchema DeleteDiscoverer DeleteRegistry DeleteResourcePolicy DeleteSchema DeleteSchemaVersion DescribeCodeBinding DescribeDiscoverer DescribeRegistry DescribeSchema ExportSchema GetCodeBindingSource GetDiscoveredSchema GetResourcePolicy ListDiscoverers ListRegistries ListSchemas ListSchemaVersions ListTagsForResource PutCodeBinding PutResourcePolicy SearchSchemas StartDiscoverer StopDiscoverer TagResource UntagResource UpdateDiscoverer UpdateRegistry UpdateSchema / } | ||
| 291 | |||
| 292 | 1; | ||
| 293 | |||
| 294 | ### main pod documentation begin ### | ||
| 295 | |||
| 296 | =head1 NAME | ||
| 297 | |||
| 298 | Paws::Schemas - Perl Interface to AWS Schemas | ||
| 299 | |||
| 300 | =head1 SYNOPSIS | ||
| 301 | |||
| 302 | use Paws; | ||
| 303 | |||
| 304 | my $obj = Paws->service('Schemas'); | ||
| 305 | my $res = $obj->Method( | ||
| 306 | Arg1 => $val1, | ||
| 307 | Arg2 => [ 'V1', 'V2' ], | ||
| 308 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 309 | # of the arguments type | ||
| 310 | Arg3 => { Att1 => 'Val1' }, | ||
| 311 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 312 | # the constructor of the arguments type | ||
| 313 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 314 | ); | ||
| 315 | |||
| 316 | =head1 DESCRIPTION | ||
| 317 | |||
| 318 | Amazon EventBridge Schema Registry | ||
| 319 | |||
| 320 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02> | ||
| 321 | |||
| 322 | |||
| 323 | =head1 METHODS | ||
| 324 | |||
| 325 | =head2 CreateDiscoverer | ||
| 326 | |||
| 327 | =over | ||
| 328 | |||
| 329 | =item SourceArn => Str | ||
| 330 | |||
| 331 | =item [Description => Str] | ||
| 332 | |||
| 333 | =item [Tags => L<Paws::Schemas::Tags>] | ||
| 334 | |||
| 335 | |||
| 336 | =back | ||
| 337 | |||
| 338 | Each argument is described in detail in: L<Paws::Schemas::CreateDiscoverer> | ||
| 339 | |||
| 340 | Returns: a L<Paws::Schemas::CreateDiscovererResponse> instance | ||
| 341 | |||
| 342 | Creates a discoverer. | ||
| 343 | |||
| 344 | |||
| 345 | =head2 CreateRegistry | ||
| 346 | |||
| 347 | =over | ||
| 348 | |||
| 349 | =item RegistryName => Str | ||
| 350 | |||
| 351 | =item [Description => Str] | ||
| 352 | |||
| 353 | =item [Tags => L<Paws::Schemas::Tags>] | ||
| 354 | |||
| 355 | |||
| 356 | =back | ||
| 357 | |||
| 358 | Each argument is described in detail in: L<Paws::Schemas::CreateRegistry> | ||
| 359 | |||
| 360 | Returns: a L<Paws::Schemas::CreateRegistryResponse> instance | ||
| 361 | |||
| 362 | Creates a registry. | ||
| 363 | |||
| 364 | |||
| 365 | =head2 CreateSchema | ||
| 366 | |||
| 367 | =over | ||
| 368 | |||
| 369 | =item Content => Str | ||
| 370 | |||
| 371 | =item RegistryName => Str | ||
| 372 | |||
| 373 | =item SchemaName => Str | ||
| 374 | |||
| 375 | =item Type => Str | ||
| 376 | |||
| 377 | =item [Description => Str] | ||
| 378 | |||
| 379 | =item [Tags => L<Paws::Schemas::Tags>] | ||
| 380 | |||
| 381 | |||
| 382 | =back | ||
| 383 | |||
| 384 | Each argument is described in detail in: L<Paws::Schemas::CreateSchema> | ||
| 385 | |||
| 386 | Returns: a L<Paws::Schemas::CreateSchemaResponse> instance | ||
| 387 | |||
| 388 | Creates a schema definition. | ||
| 389 | |||
| 390 | Inactive schemas will be deleted after two years. | ||
| 391 | |||
| 392 | |||
| 393 | =head2 DeleteDiscoverer | ||
| 394 | |||
| 395 | =over | ||
| 396 | |||
| 397 | =item DiscovererId => Str | ||
| 398 | |||
| 399 | |||
| 400 | =back | ||
| 401 | |||
| 402 | Each argument is described in detail in: L<Paws::Schemas::DeleteDiscoverer> | ||
| 403 | |||
| 404 | Returns: nothing | ||
| 405 | |||
| 406 | Deletes a discoverer. | ||
| 407 | |||
| 408 | |||
| 409 | =head2 DeleteRegistry | ||
| 410 | |||
| 411 | =over | ||
| 412 | |||
| 413 | =item RegistryName => Str | ||
| 414 | |||
| 415 | |||
| 416 | =back | ||
| 417 | |||
| 418 | Each argument is described in detail in: L<Paws::Schemas::DeleteRegistry> | ||
| 419 | |||
| 420 | Returns: nothing | ||
| 421 | |||
| 422 | Deletes a Registry. | ||
| 423 | |||
| 424 | |||
| 425 | =head2 DeleteResourcePolicy | ||
| 426 | |||
| 427 | =over | ||
| 428 | |||
| 429 | =item [RegistryName => Str] | ||
| 430 | |||
| 431 | |||
| 432 | =back | ||
| 433 | |||
| 434 | Each argument is described in detail in: L<Paws::Schemas::DeleteResourcePolicy> | ||
| 435 | |||
| 436 | Returns: nothing | ||
| 437 | |||
| 438 | Delete the resource-based policy attached to the specified registry. | ||
| 439 | |||
| 440 | |||
| 441 | =head2 DeleteSchema | ||
| 442 | |||
| 443 | =over | ||
| 444 | |||
| 445 | =item RegistryName => Str | ||
| 446 | |||
| 447 | =item SchemaName => Str | ||
| 448 | |||
| 449 | |||
| 450 | =back | ||
| 451 | |||
| 452 | Each argument is described in detail in: L<Paws::Schemas::DeleteSchema> | ||
| 453 | |||
| 454 | Returns: nothing | ||
| 455 | |||
| 456 | Delete a schema definition. | ||
| 457 | |||
| 458 | |||
| 459 | =head2 DeleteSchemaVersion | ||
| 460 | |||
| 461 | =over | ||
| 462 | |||
| 463 | =item RegistryName => Str | ||
| 464 | |||
| 465 | =item SchemaName => Str | ||
| 466 | |||
| 467 | =item SchemaVersion => Str | ||
| 468 | |||
| 469 | |||
| 470 | =back | ||
| 471 | |||
| 472 | Each argument is described in detail in: L<Paws::Schemas::DeleteSchemaVersion> | ||
| 473 | |||
| 474 | Returns: nothing | ||
| 475 | |||
| 476 | Delete the schema version definition | ||
| 477 | |||
| 478 | |||
| 479 | =head2 DescribeCodeBinding | ||
| 480 | |||
| 481 | =over | ||
| 482 | |||
| 483 | =item Language => Str | ||
| 484 | |||
| 485 | =item RegistryName => Str | ||
| 486 | |||
| 487 | =item SchemaName => Str | ||
| 488 | |||
| 489 | =item [SchemaVersion => Str] | ||
| 490 | |||
| 491 | |||
| 492 | =back | ||
| 493 | |||
| 494 | Each argument is described in detail in: L<Paws::Schemas::DescribeCodeBinding> | ||
| 495 | |||
| 496 | Returns: a L<Paws::Schemas::DescribeCodeBindingResponse> instance | ||
| 497 | |||
| 498 | Describe the code binding URI. | ||
| 499 | |||
| 500 | |||
| 501 | =head2 DescribeDiscoverer | ||
| 502 | |||
| 503 | =over | ||
| 504 | |||
| 505 | =item DiscovererId => Str | ||
| 506 | |||
| 507 | |||
| 508 | =back | ||
| 509 | |||
| 510 | Each argument is described in detail in: L<Paws::Schemas::DescribeDiscoverer> | ||
| 511 | |||
| 512 | Returns: a L<Paws::Schemas::DescribeDiscovererResponse> instance | ||
| 513 | |||
| 514 | Describes the discoverer. | ||
| 515 | |||
| 516 | |||
| 517 | =head2 DescribeRegistry | ||
| 518 | |||
| 519 | =over | ||
| 520 | |||
| 521 | =item RegistryName => Str | ||
| 522 | |||
| 523 | |||
| 524 | =back | ||
| 525 | |||
| 526 | Each argument is described in detail in: L<Paws::Schemas::DescribeRegistry> | ||
| 527 | |||
| 528 | Returns: a L<Paws::Schemas::DescribeRegistryResponse> instance | ||
| 529 | |||
| 530 | Describes the registry. | ||
| 531 | |||
| 532 | |||
| 533 | =head2 DescribeSchema | ||
| 534 | |||
| 535 | =over | ||
| 536 | |||
| 537 | =item RegistryName => Str | ||
| 538 | |||
| 539 | =item SchemaName => Str | ||
| 540 | |||
| 541 | =item [SchemaVersion => Str] | ||
| 542 | |||
| 543 | |||
| 544 | =back | ||
| 545 | |||
| 546 | Each argument is described in detail in: L<Paws::Schemas::DescribeSchema> | ||
| 547 | |||
| 548 | Returns: a L<Paws::Schemas::DescribeSchemaResponse> instance | ||
| 549 | |||
| 550 | Retrieve the schema definition. | ||
| 551 | |||
| 552 | |||
| 553 | =head2 ExportSchema | ||
| 554 | |||
| 555 | =over | ||
| 556 | |||
| 557 | =item RegistryName => Str | ||
| 558 | |||
| 559 | =item SchemaName => Str | ||
| 560 | |||
| 561 | =item Type => Str | ||
| 562 | |||
| 563 | =item [SchemaVersion => Str] | ||
| 564 | |||
| 565 | |||
| 566 | =back | ||
| 567 | |||
| 568 | Each argument is described in detail in: L<Paws::Schemas::ExportSchema> | ||
| 569 | |||
| 570 | Returns: a L<Paws::Schemas::ExportSchemaResponse> instance | ||
| 571 | |||
| 572 | |||
| 573 | |||
| 574 | |||
| 575 | =head2 GetCodeBindingSource | ||
| 576 | |||
| 577 | =over | ||
| 578 | |||
| 579 | =item Language => Str | ||
| 580 | |||
| 581 | =item RegistryName => Str | ||
| 582 | |||
| 583 | =item SchemaName => Str | ||
| 584 | |||
| 585 | =item [SchemaVersion => Str] | ||
| 586 | |||
| 587 | |||
| 588 | =back | ||
| 589 | |||
| 590 | Each argument is described in detail in: L<Paws::Schemas::GetCodeBindingSource> | ||
| 591 | |||
| 592 | Returns: a L<Paws::Schemas::GetCodeBindingSourceResponse> instance | ||
| 593 | |||
| 594 | Get the code binding source URI. | ||
| 595 | |||
| 596 | |||
| 597 | =head2 GetDiscoveredSchema | ||
| 598 | |||
| 599 | =over | ||
| 600 | |||
| 601 | =item Events => ArrayRef[Str|Undef] | ||
| 602 | |||
| 603 | =item Type => Str | ||
| 604 | |||
| 605 | |||
| 606 | =back | ||
| 607 | |||
| 608 | Each argument is described in detail in: L<Paws::Schemas::GetDiscoveredSchema> | ||
| 609 | |||
| 610 | Returns: a L<Paws::Schemas::GetDiscoveredSchemaResponse> instance | ||
| 611 | |||
| 612 | Get the discovered schema that was generated based on sampled events. | ||
| 613 | |||
| 614 | |||
| 615 | =head2 GetResourcePolicy | ||
| 616 | |||
| 617 | =over | ||
| 618 | |||
| 619 | =item [RegistryName => Str] | ||
| 620 | |||
| 621 | |||
| 622 | =back | ||
| 623 | |||
| 624 | Each argument is described in detail in: L<Paws::Schemas::GetResourcePolicy> | ||
| 625 | |||
| 626 | Returns: a L<Paws::Schemas::GetResourcePolicyResponse> instance | ||
| 627 | |||
| 628 | Retrieves the resource-based policy attached to a given registry. | ||
| 629 | |||
| 630 | |||
| 631 | =head2 ListDiscoverers | ||
| 632 | |||
| 633 | =over | ||
| 634 | |||
| 635 | =item [DiscovererIdPrefix => Str] | ||
| 636 | |||
| 637 | =item [Limit => Int] | ||
| 638 | |||
| 639 | =item [NextToken => Str] | ||
| 640 | |||
| 641 | =item [SourceArnPrefix => Str] | ||
| 642 | |||
| 643 | |||
| 644 | =back | ||
| 645 | |||
| 646 | Each argument is described in detail in: L<Paws::Schemas::ListDiscoverers> | ||
| 647 | |||
| 648 | Returns: a L<Paws::Schemas::ListDiscoverersResponse> instance | ||
| 649 | |||
| 650 | List the discoverers. | ||
| 651 | |||
| 652 | |||
| 653 | =head2 ListRegistries | ||
| 654 | |||
| 655 | =over | ||
| 656 | |||
| 657 | =item [Limit => Int] | ||
| 658 | |||
| 659 | =item [NextToken => Str] | ||
| 660 | |||
| 661 | =item [RegistryNamePrefix => Str] | ||
| 662 | |||
| 663 | =item [Scope => Str] | ||
| 664 | |||
| 665 | |||
| 666 | =back | ||
| 667 | |||
| 668 | Each argument is described in detail in: L<Paws::Schemas::ListRegistries> | ||
| 669 | |||
| 670 | Returns: a L<Paws::Schemas::ListRegistriesResponse> instance | ||
| 671 | |||
| 672 | List the registries. | ||
| 673 | |||
| 674 | |||
| 675 | =head2 ListSchemas | ||
| 676 | |||
| 677 | =over | ||
| 678 | |||
| 679 | =item RegistryName => Str | ||
| 680 | |||
| 681 | =item [Limit => Int] | ||
| 682 | |||
| 683 | =item [NextToken => Str] | ||
| 684 | |||
| 685 | =item [SchemaNamePrefix => Str] | ||
| 686 | |||
| 687 | |||
| 688 | =back | ||
| 689 | |||
| 690 | Each argument is described in detail in: L<Paws::Schemas::ListSchemas> | ||
| 691 | |||
| 692 | Returns: a L<Paws::Schemas::ListSchemasResponse> instance | ||
| 693 | |||
| 694 | List the schemas. | ||
| 695 | |||
| 696 | |||
| 697 | =head2 ListSchemaVersions | ||
| 698 | |||
| 699 | =over | ||
| 700 | |||
| 701 | =item RegistryName => Str | ||
| 702 | |||
| 703 | =item SchemaName => Str | ||
| 704 | |||
| 705 | =item [Limit => Int] | ||
| 706 | |||
| 707 | =item [NextToken => Str] | ||
| 708 | |||
| 709 | |||
| 710 | =back | ||
| 711 | |||
| 712 | Each argument is described in detail in: L<Paws::Schemas::ListSchemaVersions> | ||
| 713 | |||
| 714 | Returns: a L<Paws::Schemas::ListSchemaVersionsResponse> instance | ||
| 715 | |||
| 716 | Provides a list of the schema versions and related information. | ||
| 717 | |||
| 718 | |||
| 719 | =head2 ListTagsForResource | ||
| 720 | |||
| 721 | =over | ||
| 722 | |||
| 723 | =item ResourceArn => Str | ||
| 724 | |||
| 725 | |||
| 726 | =back | ||
| 727 | |||
| 728 | Each argument is described in detail in: L<Paws::Schemas::ListTagsForResource> | ||
| 729 | |||
| 730 | Returns: a L<Paws::Schemas::ListTagsForResourceResponse> instance | ||
| 731 | |||
| 732 | Get tags for resource. | ||
| 733 | |||
| 734 | |||
| 735 | =head2 PutCodeBinding | ||
| 736 | |||
| 737 | =over | ||
| 738 | |||
| 739 | =item Language => Str | ||
| 740 | |||
| 741 | =item RegistryName => Str | ||
| 742 | |||
| 743 | =item SchemaName => Str | ||
| 744 | |||
| 745 | =item [SchemaVersion => Str] | ||
| 746 | |||
| 747 | |||
| 748 | =back | ||
| 749 | |||
| 750 | Each argument is described in detail in: L<Paws::Schemas::PutCodeBinding> | ||
| 751 | |||
| 752 | Returns: a L<Paws::Schemas::PutCodeBindingResponse> instance | ||
| 753 | |||
| 754 | Put code binding URI | ||
| 755 | |||
| 756 | |||
| 757 | =head2 PutResourcePolicy | ||
| 758 | |||
| 759 | =over | ||
| 760 | |||
| 761 | =item Policy => Str | ||
| 762 | |||
| 763 | =item [RegistryName => Str] | ||
| 764 | |||
| 765 | =item [RevisionId => Str] | ||
| 766 | |||
| 767 | |||
| 768 | =back | ||
| 769 | |||
| 770 | Each argument is described in detail in: L<Paws::Schemas::PutResourcePolicy> | ||
| 771 | |||
| 772 | Returns: a L<Paws::Schemas::PutResourcePolicyResponse> instance | ||
| 773 | |||
| 774 | The name of the policy. | ||
| 775 | |||
| 776 | |||
| 777 | =head2 SearchSchemas | ||
| 778 | |||
| 779 | =over | ||
| 780 | |||
| 781 | =item Keywords => Str | ||
| 782 | |||
| 783 | =item RegistryName => Str | ||
| 784 | |||
| 785 | =item [Limit => Int] | ||
| 786 | |||
| 787 | =item [NextToken => Str] | ||
| 788 | |||
| 789 | |||
| 790 | =back | ||
| 791 | |||
| 792 | Each argument is described in detail in: L<Paws::Schemas::SearchSchemas> | ||
| 793 | |||
| 794 | Returns: a L<Paws::Schemas::SearchSchemasResponse> instance | ||
| 795 | |||
| 796 | Search the schemas | ||
| 797 | |||
| 798 | |||
| 799 | =head2 StartDiscoverer | ||
| 800 | |||
| 801 | =over | ||
| 802 | |||
| 803 | =item DiscovererId => Str | ||
| 804 | |||
| 805 | |||
| 806 | =back | ||
| 807 | |||
| 808 | Each argument is described in detail in: L<Paws::Schemas::StartDiscoverer> | ||
| 809 | |||
| 810 | Returns: a L<Paws::Schemas::StartDiscovererResponse> instance | ||
| 811 | |||
| 812 | Starts the discoverer | ||
| 813 | |||
| 814 | |||
| 815 | =head2 StopDiscoverer | ||
| 816 | |||
| 817 | =over | ||
| 818 | |||
| 819 | =item DiscovererId => Str | ||
| 820 | |||
| 821 | |||
| 822 | =back | ||
| 823 | |||
| 824 | Each argument is described in detail in: L<Paws::Schemas::StopDiscoverer> | ||
| 825 | |||
| 826 | Returns: a L<Paws::Schemas::StopDiscovererResponse> instance | ||
| 827 | |||
| 828 | Stops the discoverer | ||
| 829 | |||
| 830 | |||
| 831 | =head2 TagResource | ||
| 832 | |||
| 833 | =over | ||
| 834 | |||
| 835 | =item ResourceArn => Str | ||
| 836 | |||
| 837 | =item Tags => L<Paws::Schemas::Tags> | ||
| 838 | |||
| 839 | |||
| 840 | =back | ||
| 841 | |||
| 842 | Each argument is described in detail in: L<Paws::Schemas::TagResource> | ||
| 843 | |||
| 844 | Returns: nothing | ||
| 845 | |||
| 846 | Add tags to a resource. | ||
| 847 | |||
| 848 | |||
| 849 | =head2 UntagResource | ||
| 850 | |||
| 851 | =over | ||
| 852 | |||
| 853 | =item ResourceArn => Str | ||
| 854 | |||
| 855 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 856 | |||
| 857 | |||
| 858 | =back | ||
| 859 | |||
| 860 | Each argument is described in detail in: L<Paws::Schemas::UntagResource> | ||
| 861 | |||
| 862 | Returns: nothing | ||
| 863 | |||
| 864 | Removes tags from a resource. | ||
| 865 | |||
| 866 | |||
| 867 | =head2 UpdateDiscoverer | ||
| 868 | |||
| 869 | =over | ||
| 870 | |||
| 871 | =item DiscovererId => Str | ||
| 872 | |||
| 873 | =item [Description => Str] | ||
| 874 | |||
| 875 | |||
| 876 | =back | ||
| 877 | |||
| 878 | Each argument is described in detail in: L<Paws::Schemas::UpdateDiscoverer> | ||
| 879 | |||
| 880 | Returns: a L<Paws::Schemas::UpdateDiscovererResponse> instance | ||
| 881 | |||
| 882 | Updates the discoverer | ||
| 883 | |||
| 884 | |||
| 885 | =head2 UpdateRegistry | ||
| 886 | |||
| 887 | =over | ||
| 888 | |||
| 889 | =item RegistryName => Str | ||
| 890 | |||
| 891 | =item [Description => Str] | ||
| 892 | |||
| 893 | |||
| 894 | =back | ||
| 895 | |||
| 896 | Each argument is described in detail in: L<Paws::Schemas::UpdateRegistry> | ||
| 897 | |||
| 898 | Returns: a L<Paws::Schemas::UpdateRegistryResponse> instance | ||
| 899 | |||
| 900 | Updates a registry. | ||
| 901 | |||
| 902 | |||
| 903 | =head2 UpdateSchema | ||
| 904 | |||
| 905 | =over | ||
| 906 | |||
| 907 | =item RegistryName => Str | ||
| 908 | |||
| 909 | =item SchemaName => Str | ||
| 910 | |||
| 911 | =item [ClientTokenId => Str] | ||
| 912 | |||
| 913 | =item [Content => Str] | ||
| 914 | |||
| 915 | =item [Description => Str] | ||
| 916 | |||
| 917 | =item [Type => Str] | ||
| 918 | |||
| 919 | |||
| 920 | =back | ||
| 921 | |||
| 922 | Each argument is described in detail in: L<Paws::Schemas::UpdateSchema> | ||
| 923 | |||
| 924 | Returns: a L<Paws::Schemas::UpdateSchemaResponse> instance | ||
| 925 | |||
| 926 | Updates the schema definition | ||
| 927 | |||
| 928 | Inactive schemas will be deleted after two years. | ||
| 929 | |||
| 930 | |||
| 931 | |||
| 932 | |||
| 933 | =head1 PAGINATORS | ||
| 934 | |||
| 935 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 936 | |||
| 937 | =head2 ListAllDiscoverers(sub { },[DiscovererIdPrefix => Str, Limit => Int, NextToken => Str, SourceArnPrefix => Str]) | ||
| 938 | |||
| 939 | =head2 ListAllDiscoverers([DiscovererIdPrefix => Str, Limit => Int, NextToken => Str, SourceArnPrefix => Str]) | ||
| 940 | |||
| 941 | |||
| 942 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 943 | |||
| 944 | - Discoverers, passing the object as the first parameter, and the string 'Discoverers' as the second parameter | ||
| 945 | |||
| 946 | If not, it will return a a L<Paws::Schemas::ListDiscoverersResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 947 | |||
| 948 | |||
| 949 | =head2 ListAllRegistries(sub { },[Limit => Int, NextToken => Str, RegistryNamePrefix => Str, Scope => Str]) | ||
| 950 | |||
| 951 | =head2 ListAllRegistries([Limit => Int, NextToken => Str, RegistryNamePrefix => Str, Scope => Str]) | ||
| 952 | |||
| 953 | |||
| 954 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 955 | |||
| 956 | - Registries, passing the object as the first parameter, and the string 'Registries' as the second parameter | ||
| 957 | |||
| 958 | If not, it will return a a L<Paws::Schemas::ListRegistriesResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 959 | |||
| 960 | |||
| 961 | =head2 ListAllSchemas(sub { },RegistryName => Str, [Limit => Int, NextToken => Str, SchemaNamePrefix => Str]) | ||
| 962 | |||
| 963 | =head2 ListAllSchemas(RegistryName => Str, [Limit => Int, NextToken => Str, SchemaNamePrefix => Str]) | ||
| 964 | |||
| 965 | |||
| 966 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 967 | |||
| 968 | - Schemas, passing the object as the first parameter, and the string 'Schemas' as the second parameter | ||
| 969 | |||
| 970 | If not, it will return a a L<Paws::Schemas::ListSchemasResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 971 | |||
| 972 | |||
| 973 | =head2 ListAllSchemaVersions(sub { },RegistryName => Str, SchemaName => Str, [Limit => Int, NextToken => Str]) | ||
| 974 | |||
| 975 | =head2 ListAllSchemaVersions(RegistryName => Str, SchemaName => Str, [Limit => Int, NextToken => Str]) | ||
| 976 | |||
| 977 | |||
| 978 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 979 | |||
| 980 | - SchemaVersions, passing the object as the first parameter, and the string 'SchemaVersions' as the second parameter | ||
| 981 | |||
| 982 | If not, it will return a a L<Paws::Schemas::ListSchemaVersionsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 983 | |||
| 984 | |||
| 985 | =head2 SearchAllSchemas(sub { },Keywords => Str, RegistryName => Str, [Limit => Int, NextToken => Str]) | ||
| 986 | |||
| 987 | =head2 SearchAllSchemas(Keywords => Str, RegistryName => Str, [Limit => Int, NextToken => Str]) | ||
| 988 | |||
| 989 | |||
| 990 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 991 | |||
| 992 | - Schemas, passing the object as the first parameter, and the string 'Schemas' as the second parameter | ||
| 993 | |||
| 994 | If not, it will return a a L<Paws::Schemas::SearchSchemasResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. | ||
| 995 | |||
| 996 | |||
| 997 | |||
| 998 | |||
| 999 | |||
| 1000 | =head1 SEE ALSO | ||
| 1001 | |||
| 1002 | This service class forms part of L<Paws> | ||
| 1003 | |||
| 1004 | =head1 BUGS and CONTRIBUTIONS | ||
| 1005 | |||
| 1006 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 1007 | |||
| 1008 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 1009 | |||
| 1010 | =cut | ||
| 1011 |