{ "smithy": "2.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.schemas#BadRequestException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.schemas#Body": { "type": "blob" }, "com.amazonaws.schemas#CodeGenerationStatus": { "type": "enum", "members": { "CREATE_IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CREATE_IN_PROGRESS" } }, "CREATE_COMPLETE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CREATE_COMPLETE" } }, "CREATE_FAILED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "CREATE_FAILED" } } } }, "com.amazonaws.schemas#ConflictException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.schemas#CreateDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#CreateDiscovererRequest" }, "output": { "target": "com.amazonaws.schemas#CreateDiscovererResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ConflictException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Creates a discoverer.

", "smithy.api#http": { "method": "POST", "uri": "/v1/discoverers", "code": 201 } } }, "com.amazonaws.schemas#CreateDiscovererRequest": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

A description for the discoverer.

" } }, "SourceArn": { "target": "com.amazonaws.schemas#__stringMin20Max1600", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The ARN of the event bus.

", "smithy.api#required": {} } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

Support discovery of schemas in events sent to the bus from another account. (default: true).

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateDiscovererResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the discoverer.

" } }, "DiscovererArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the discoverer.

" } }, "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "SourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the event bus.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#CreateRegistry": { "type": "operation", "input": { "target": "com.amazonaws.schemas#CreateRegistryRequest" }, "output": { "target": "com.amazonaws.schemas#CreateRegistryResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ConflictException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Creates a registry.

", "smithy.api#http": { "method": "POST", "uri": "/v1/registries/name/{RegistryName}", "code": 201 } } }, "com.amazonaws.schemas#CreateRegistryRequest": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

A description of the registry to be created.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags to associate with the registry.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateRegistryResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the registry.

" } }, "RegistryArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the registry.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the registry.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#CreateSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#CreateSchemaRequest" }, "output": { "target": "com.amazonaws.schemas#CreateSchemaResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Creates a schema definition.

Inactive schemas will be deleted after two years.

", "smithy.api#http": { "method": "POST", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", "code": 201 } } }, "com.amazonaws.schemas#CreateSchemaRequest": { "type": "structure", "members": { "Content": { "target": "com.amazonaws.schemas#__stringMin1Max100000", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The source of the schema definition.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

A description of the schema.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the schema.

", "smithy.api#jsonName": "tags" } }, "Type": { "target": "com.amazonaws.schemas#Type", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of schema.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#CreateSchemaResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the schema.

" } }, "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that schema was modified.

" } }, "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#jsonName": "tags" } }, "Type": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The type of the schema.

" } }, "VersionCreatedDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date the schema version was created.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#DeleteDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DeleteDiscovererRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Deletes a discoverer.

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/discoverers/id/{DiscovererId}", "code": 204 } } }, "com.amazonaws.schemas#DeleteDiscovererRequest": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteRegistry": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DeleteRegistryRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Deletes a Registry.

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/registries/name/{RegistryName}", "code": 204 } } }, "com.amazonaws.schemas#DeleteRegistryRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DeleteResourcePolicyRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/policy", "code": 204 } } }, "com.amazonaws.schemas#DeleteResourcePolicyRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpQuery": "registryName" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DeleteSchemaRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Delete a schema definition.

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", "code": 204 } } }, "com.amazonaws.schemas#DeleteSchemaRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DeleteSchemaVersion": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DeleteSchemaVersionRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Delete the schema version definition

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}", "code": 204 } } }, "com.amazonaws.schemas#DeleteSchemaVersionRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "The version number of the schema", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeCodeBinding": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DescribeCodeBindingRequest" }, "output": { "target": "com.amazonaws.schemas#DescribeCodeBindingResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#TooManyRequestsException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Describe the code binding URI.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", "code": 200 }, "smithy.waiters#waitable": { "CodeBindingExists": { "documentation": "Wait until code binding is generated", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "Status", "expected": "CREATE_COMPLETE", "comparator": "stringEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "Status", "expected": "CREATE_IN_PROGRESS", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "Status", "expected": "CREATE_FAILED", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "errorType": "NotFoundException" } } ] } } } }, "com.amazonaws.schemas#DescribeCodeBindingRequest": { "type": "structure", "members": { "Language": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The language of the code binding.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only this schema version.

", "smithy.api#httpQuery": "schemaVersion" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeCodeBindingResponse": { "type": "structure", "members": { "CreationDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The time and date that the code binding was created.

" } }, "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that code bindings were modified.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema.

" } }, "Status": { "target": "com.amazonaws.schemas#CodeGenerationStatus", "traits": { "smithy.api#documentation": "

The current status of code binding generation.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DescribeDiscovererRequest" }, "output": { "target": "com.amazonaws.schemas#DescribeDiscovererResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Describes the discoverer.

", "smithy.api#http": { "method": "GET", "uri": "/v1/discoverers/id/{DiscovererId}", "code": 200 } } }, "com.amazonaws.schemas#DescribeDiscovererRequest": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeDiscovererResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the discoverer.

" } }, "DiscovererArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the discoverer.

" } }, "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "SourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the event bus.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeRegistry": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DescribeRegistryRequest" }, "output": { "target": "com.amazonaws.schemas#DescribeRegistryResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Describes the registry.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}", "code": 200 } } }, "com.amazonaws.schemas#DescribeRegistryRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeRegistryResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the registry.

" } }, "RegistryArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the registry.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the registry.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#DescribeSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#DescribeSchemaRequest" }, "output": { "target": "com.amazonaws.schemas#DescribeSchemaResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Retrieve the schema definition.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", "code": 200 } } }, "com.amazonaws.schemas#DescribeSchemaRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only this schema version.

", "smithy.api#httpQuery": "schemaVersion" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#DescribeSchemaResponse": { "type": "structure", "members": { "Content": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The source of the schema definition.

" } }, "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the schema.

" } }, "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that schema was modified.

" } }, "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } }, "Type": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The type of the schema.

" } }, "VersionCreatedDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date the schema version was created.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#DiscovererState": { "type": "enum", "members": { "STARTED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STARTED" } }, "STOPPED": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "STOPPED" } } } }, "com.amazonaws.schemas#DiscovererSummary": { "type": "structure", "members": { "DiscovererArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the discoverer.

" } }, "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "SourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the event bus.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } } } }, "com.amazonaws.schemas#ExportSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ExportSchemaRequest" }, "output": { "target": "com.amazonaws.schemas#ExportSchemaResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#TooManyRequestsException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export", "code": 200 } } }, "com.amazonaws.schemas#ExportSchemaRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only this schema version.

", "smithy.api#httpQuery": "schemaVersion" } }, "Type": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#httpQuery": "type", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ExportSchemaResponse": { "type": "structure", "members": { "Content": { "target": "com.amazonaws.schemas#__string" }, "SchemaArn": { "target": "com.amazonaws.schemas#__string" }, "SchemaName": { "target": "com.amazonaws.schemas#__string" }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string" }, "Type": { "target": "com.amazonaws.schemas#__string" } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ForbiddenException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.schemas#GetCodeBindingSource": { "type": "operation", "input": { "target": "com.amazonaws.schemas#GetCodeBindingSourceRequest" }, "output": { "target": "com.amazonaws.schemas#GetCodeBindingSourceResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#TooManyRequestsException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Get the code binding source URI.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source", "code": 200 } } }, "com.amazonaws.schemas#GetCodeBindingSourceRequest": { "type": "structure", "members": { "Language": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The language of the code binding.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only this schema version.

", "smithy.api#httpQuery": "schemaVersion" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#GetCodeBindingSourceResponse": { "type": "structure", "members": { "Body": { "target": "com.amazonaws.schemas#Body", "traits": { "smithy.api#httpPayload": {} } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#GetDiscoveredSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#GetDiscoveredSchemaRequest" }, "output": { "target": "com.amazonaws.schemas#GetDiscoveredSchemaResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "POST", "uri": "/v1/discover", "code": 200 } } }, "com.amazonaws.schemas#GetDiscoveredSchemaRequest": { "type": "structure", "members": { "Events": { "target": "com.amazonaws.schemas#__listOfGetDiscoveredSchemaVersionItemInput", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

", "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.schemas#Type", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The type of event.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#GetDiscoveredSchemaResponse": { "type": "structure", "members": { "Content": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The source of the schema definition.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#GetDiscoveredSchemaVersionItemInput": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100000 } } }, "com.amazonaws.schemas#GetResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.schemas#GetResourcePolicyRequest" }, "output": { "target": "com.amazonaws.schemas#GetResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

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

", "smithy.api#http": { "method": "GET", "uri": "/v1/policy", "code": 200 } } }, "com.amazonaws.schemas#GetResourcePolicyRequest": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpQuery": "registryName" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#GetResourcePolicyResponse": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.schemas#SynthesizedJson__string", "traits": { "smithy.api#documentation": "

The resource-based policy.

" } }, "RevisionId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The revision ID.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#GoneException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 410 } }, "com.amazonaws.schemas#InternalServerErrorException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.schemas#ListDiscoverers": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ListDiscoverersRequest" }, "output": { "target": "com.amazonaws.schemas#ListDiscoverersResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

List the discoverers.

", "smithy.api#http": { "method": "GET", "uri": "/v1/discoverers", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Discoverers", "pageSize": "Limit" } } }, "com.amazonaws.schemas#ListDiscoverersRequest": { "type": "structure", "members": { "DiscovererIdPrefix": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only those discoverer IDs that start with the specified prefix.

", "smithy.api#httpQuery": "discovererIdPrefix" } }, "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { "smithy.api#httpQuery": "limit" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

", "smithy.api#httpQuery": "nextToken" } }, "SourceArnPrefix": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only those ARNs that start with the specified prefix.

", "smithy.api#httpQuery": "sourceArnPrefix" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ListDiscoverersResponse": { "type": "structure", "members": { "Discoverers": { "target": "com.amazonaws.schemas#__listOfDiscovererSummary", "traits": { "smithy.api#documentation": "

An array of DiscovererSummary information.

" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ListRegistries": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ListRegistriesRequest" }, "output": { "target": "com.amazonaws.schemas#ListRegistriesResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

List the registries.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Registries", "pageSize": "Limit" } } }, "com.amazonaws.schemas#ListRegistriesRequest": { "type": "structure", "members": { "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { "smithy.api#httpQuery": "limit" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

", "smithy.api#httpQuery": "nextToken" } }, "RegistryNamePrefix": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only those registry names that start with the specified prefix.

", "smithy.api#httpQuery": "registryNamePrefix" } }, "Scope": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Can be set to Local or AWS to limit responses to your custom registries, or the ones provided by AWS.

", "smithy.api#httpQuery": "scope" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ListRegistriesResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

" } }, "Registries": { "target": "com.amazonaws.schemas#__listOfRegistrySummary", "traits": { "smithy.api#documentation": "

An array of registry summaries.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ListSchemaVersions": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ListSchemaVersionsRequest" }, "output": { "target": "com.amazonaws.schemas#ListSchemaVersionsResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Provides a list of the schema versions and related information.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "SchemaVersions", "pageSize": "Limit" } } }, "com.amazonaws.schemas#ListSchemaVersionsRequest": { "type": "structure", "members": { "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { "smithy.api#httpQuery": "limit" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

", "smithy.api#httpQuery": "nextToken" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ListSchemaVersionsResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

" } }, "SchemaVersions": { "target": "com.amazonaws.schemas#__listOfSchemaVersionSummary", "traits": { "smithy.api#documentation": "

An array of schema version summaries.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ListSchemas": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ListSchemasRequest" }, "output": { "target": "com.amazonaws.schemas#ListSchemasResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

List the schemas.

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Schemas", "pageSize": "Limit" } } }, "com.amazonaws.schemas#ListSchemasRequest": { "type": "structure", "members": { "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { "smithy.api#httpQuery": "limit" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

", "smithy.api#httpQuery": "nextToken" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaNamePrefix": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only those schema names that start with the specified prefix.

", "smithy.api#httpQuery": "schemaNamePrefix" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ListSchemasResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

" } }, "Schemas": { "target": "com.amazonaws.schemas#__listOfSchemaSummary", "traits": { "smithy.api#documentation": "

An array of schema summaries.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.schemas#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.schemas#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Get tags for resource.

", "smithy.api#http": { "method": "GET", "uri": "/tags/{ResourceArn}", "code": 200 } } }, "com.amazonaws.schemas#ListTagsForResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#NotFoundException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.schemas#PreconditionFailedException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 412 } }, "com.amazonaws.schemas#PutCodeBinding": { "type": "operation", "input": { "target": "com.amazonaws.schemas#PutCodeBindingRequest" }, "output": { "target": "com.amazonaws.schemas#PutCodeBindingResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#GoneException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#TooManyRequestsException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Put code binding URI

", "smithy.api#http": { "method": "POST", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", "code": 202 } } }, "com.amazonaws.schemas#PutCodeBindingRequest": { "type": "structure", "members": { "Language": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The language of the code binding.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

Specifying this limits the results to only this schema version.

", "smithy.api#httpQuery": "schemaVersion" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#PutCodeBindingResponse": { "type": "structure", "members": { "CreationDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The time and date that the code binding was created.

" } }, "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that code bindings were modified.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema.

" } }, "Status": { "target": "com.amazonaws.schemas#CodeGenerationStatus", "traits": { "smithy.api#documentation": "

The current status of code binding generation.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#PutResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.schemas#PutResourcePolicyRequest" }, "output": { "target": "com.amazonaws.schemas#PutResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#PreconditionFailedException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

The name of the policy.

", "smithy.api#http": { "method": "PUT", "uri": "/v1/policy", "code": 200 } } }, "com.amazonaws.schemas#PutResourcePolicyRequest": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.schemas#SynthesizedJson__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The resource-based policy.

", "smithy.api#required": {} } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpQuery": "registryName" } }, "RevisionId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The revision ID of the policy.

" } } }, "traits": { "smithy.api#documentation": "

The name of the policy.

", "smithy.api#input": {} } }, "com.amazonaws.schemas#PutResourcePolicyResponse": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.schemas#SynthesizedJson__string", "traits": { "smithy.api#documentation": "

The resource-based policy.

" } }, "RevisionId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The revision ID of the policy.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#RegistrySummary": { "type": "structure", "members": { "RegistryArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the registry.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the registry.

", "smithy.api#jsonName": "tags" } } } }, "com.amazonaws.schemas#SchemaSummary": { "type": "structure", "members": { "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that schema was modified.

" } }, "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the schema.

", "smithy.api#jsonName": "tags" } }, "VersionCount": { "target": "com.amazonaws.schemas#__long", "traits": { "smithy.api#documentation": "

The number of versions available for the schema.

" } } }, "traits": { "smithy.api#documentation": "

A summary of schema details.

" } }, "com.amazonaws.schemas#SchemaVersionSummary": { "type": "structure", "members": { "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema version.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema.

" } }, "Type": { "target": "com.amazonaws.schemas#Type", "traits": { "smithy.api#documentation": "

The type of schema.

" } } } }, "com.amazonaws.schemas#SearchSchemaSummary": { "type": "structure", "members": { "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

" } }, "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "SchemaVersions": { "target": "com.amazonaws.schemas#__listOfSearchSchemaVersionSummary", "traits": { "smithy.api#documentation": "

An array of schema version summaries.

" } } } }, "com.amazonaws.schemas#SearchSchemaVersionSummary": { "type": "structure", "members": { "CreatedDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date the schema version was created.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema

" } }, "Type": { "target": "com.amazonaws.schemas#Type", "traits": { "smithy.api#documentation": "

The type of schema.

" } } } }, "com.amazonaws.schemas#SearchSchemas": { "type": "operation", "input": { "target": "com.amazonaws.schemas#SearchSchemasRequest" }, "output": { "target": "com.amazonaws.schemas#SearchSchemasResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Search the schemas

", "smithy.api#http": { "method": "GET", "uri": "/v1/registries/name/{RegistryName}/schemas/search", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Schemas", "pageSize": "Limit" } } }, "com.amazonaws.schemas#SearchSchemasRequest": { "type": "structure", "members": { "Keywords": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Specifying this limits the results to only schemas that include the provided keywords.

", "smithy.api#httpQuery": "keywords", "smithy.api#required": {} } }, "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { "smithy.api#httpQuery": "limit" } }, "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

", "smithy.api#httpQuery": "nextToken" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#SearchSchemasResponse": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The token that specifies the next page of results to return. To request the first page, leave NextToken empty. The token will expire in 24 hours, and cannot be shared with other accounts.

" } }, "Schemas": { "target": "com.amazonaws.schemas#__listOfSearchSchemaSummary", "traits": { "smithy.api#documentation": "

An array of SearchSchemaSummary information.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#ServiceUnavailableException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "server", "smithy.api#httpError": 503 } }, "com.amazonaws.schemas#StartDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#StartDiscovererRequest" }, "output": { "target": "com.amazonaws.schemas#StartDiscovererResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Starts the discoverer

", "smithy.api#http": { "method": "POST", "uri": "/v1/discoverers/id/{DiscovererId}/start", "code": 200 } } }, "com.amazonaws.schemas#StartDiscovererRequest": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#StartDiscovererResponse": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#StopDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#StopDiscovererRequest" }, "output": { "target": "com.amazonaws.schemas#StopDiscovererResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Stops the discoverer

", "smithy.api#http": { "method": "POST", "uri": "/v1/discoverers/id/{DiscovererId}/stop", "code": 200 } } }, "com.amazonaws.schemas#StopDiscovererRequest": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#StopDiscovererResponse": { "type": "structure", "members": { "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#SynthesizedJson__string": { "type": "string", "traits": { "smithy.api#mediaType": "application/json" } }, "com.amazonaws.schemas#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.schemas#TagResourceRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Add tags to a resource.

", "smithy.api#http": { "method": "POST", "uri": "/tags/{ResourceArn}", "code": 204 } } }, "com.amazonaws.schemas#TagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

", "smithy.api#input": {} } }, "com.amazonaws.schemas#Tags": { "type": "map", "key": { "target": "com.amazonaws.schemas#__string" }, "value": { "target": "com.amazonaws.schemas#__string" }, "traits": { "smithy.api#documentation": "

Key-value pairs associated with a resource.

" } }, "com.amazonaws.schemas#TooManyRequestsException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.schemas#Type": { "type": "enum", "members": { "OpenApi3": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "OpenApi3" } }, "JSONSchemaDraft4": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "JSONSchemaDraft4" } } } }, "com.amazonaws.schemas#UnauthorizedException": { "type": "structure", "members": { "Code": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The error code.

", "smithy.api#required": {} } }, "Message": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

The message string of the error output.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#error": "client", "smithy.api#httpError": 401 } }, "com.amazonaws.schemas#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.schemas#UntagResourceRequest" }, "output": { "target": "smithy.api#Unit" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" } ], "traits": { "smithy.api#documentation": "

Removes tags from a resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/tags/{ResourceArn}", "code": 204 } } }, "com.amazonaws.schemas#UntagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the resource.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.schemas#__listOf__string", "traits": { "smithy.api#clientOptional": {}, "smithy.api#documentation": "

Keys of key-value pairs.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateDiscoverer": { "type": "operation", "input": { "target": "com.amazonaws.schemas#UpdateDiscovererRequest" }, "output": { "target": "com.amazonaws.schemas#UpdateDiscovererResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Updates the discoverer

", "smithy.api#http": { "method": "PUT", "uri": "/v1/discoverers/id/{DiscovererId}", "code": 200 } } }, "com.amazonaws.schemas#UpdateDiscovererRequest": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

The description of the discoverer to update.

" } }, "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

Support discovery of schemas in events sent to the bus from another account. (default: true)

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateDiscovererResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the discoverer.

" } }, "DiscovererArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the discoverer.

" } }, "DiscovererId": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ID of the discoverer.

" } }, "SourceArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the event bus.

" } }, "State": { "target": "com.amazonaws.schemas#DiscovererState", "traits": { "smithy.api#documentation": "

The state of the discoverer.

" } }, "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the resource.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#UpdateRegistry": { "type": "operation", "input": { "target": "com.amazonaws.schemas#UpdateRegistryRequest" }, "output": { "target": "com.amazonaws.schemas#UpdateRegistryResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" }, { "target": "com.amazonaws.schemas#UnauthorizedException" } ], "traits": { "smithy.api#documentation": "

Updates a registry.

", "smithy.api#http": { "method": "PUT", "uri": "/v1/registries/name/{RegistryName}", "code": 200 } } }, "com.amazonaws.schemas#UpdateRegistryRequest": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

The description of the registry to update.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Updates the registry.

", "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateRegistryResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the registry.

" } }, "RegistryArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the registry.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#documentation": "

Tags associated with the registry.

", "smithy.api#jsonName": "tags" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#UpdateSchema": { "type": "operation", "input": { "target": "com.amazonaws.schemas#UpdateSchemaRequest" }, "output": { "target": "com.amazonaws.schemas#UpdateSchemaResponse" }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" }, { "target": "com.amazonaws.schemas#ForbiddenException" }, { "target": "com.amazonaws.schemas#InternalServerErrorException" }, { "target": "com.amazonaws.schemas#NotFoundException" }, { "target": "com.amazonaws.schemas#ServiceUnavailableException" } ], "traits": { "smithy.api#documentation": "

Updates the schema definition

Inactive schemas will be deleted after two years.

", "smithy.api#http": { "method": "PUT", "uri": "/v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", "code": 200 } } }, "com.amazonaws.schemas#UpdateSchemaRequest": { "type": "structure", "members": { "ClientTokenId": { "target": "com.amazonaws.schemas#__stringMin0Max36", "traits": { "smithy.api#documentation": "

The ID of the client token.

", "smithy.api#idempotencyToken": {} } }, "Content": { "target": "com.amazonaws.schemas#__stringMin1Max100000", "traits": { "smithy.api#documentation": "

The source of the schema definition.

" } }, "Description": { "target": "com.amazonaws.schemas#__stringMin0Max256", "traits": { "smithy.api#documentation": "

The description of the schema.

" } }, "RegistryName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the registry.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Type": { "target": "com.amazonaws.schemas#Type", "traits": { "smithy.api#documentation": "

The schema type for the events schema.

" } } }, "traits": { "smithy.api#input": {} } }, "com.amazonaws.schemas#UpdateSchemaResponse": { "type": "structure", "members": { "Description": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The description of the schema.

" } }, "LastModified": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date and time that schema was modified.

" } }, "SchemaArn": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The ARN of the schema.

" } }, "SchemaName": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The name of the schema.

" } }, "SchemaVersion": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The version number of the schema

" } }, "Tags": { "target": "com.amazonaws.schemas#Tags", "traits": { "smithy.api#jsonName": "tags" } }, "Type": { "target": "com.amazonaws.schemas#__string", "traits": { "smithy.api#documentation": "

The type of the schema.

" } }, "VersionCreatedDate": { "target": "com.amazonaws.schemas#__timestampIso8601", "traits": { "smithy.api#documentation": "

The date the schema version was created.

" } } }, "traits": { "smithy.api#output": {} } }, "com.amazonaws.schemas#__boolean": { "type": "boolean" }, "com.amazonaws.schemas#__integer": { "type": "integer" }, "com.amazonaws.schemas#__listOfDiscovererSummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#DiscovererSummary" } }, "com.amazonaws.schemas#__listOfGetDiscoveredSchemaVersionItemInput": { "type": "list", "member": { "target": "com.amazonaws.schemas#GetDiscoveredSchemaVersionItemInput" }, "traits": { "smithy.api#length": { "min": 1, "max": 10 } } }, "com.amazonaws.schemas#__listOfRegistrySummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#RegistrySummary" } }, "com.amazonaws.schemas#__listOfSchemaSummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#SchemaSummary" } }, "com.amazonaws.schemas#__listOfSchemaVersionSummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#SchemaVersionSummary" } }, "com.amazonaws.schemas#__listOfSearchSchemaSummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#SearchSchemaSummary" } }, "com.amazonaws.schemas#__listOfSearchSchemaVersionSummary": { "type": "list", "member": { "target": "com.amazonaws.schemas#SearchSchemaVersionSummary" } }, "com.amazonaws.schemas#__listOf__string": { "type": "list", "member": { "target": "com.amazonaws.schemas#__string" } }, "com.amazonaws.schemas#__long": { "type": "long" }, "com.amazonaws.schemas#__string": { "type": "string" }, "com.amazonaws.schemas#__stringMin0Max256": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.schemas#__stringMin0Max36": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 36 } } }, "com.amazonaws.schemas#__stringMin1Max100000": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 100000 } } }, "com.amazonaws.schemas#__stringMin20Max1600": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 1600 } } }, "com.amazonaws.schemas#__timestampIso8601": { "type": "timestamp", "traits": { "smithy.api#timestampFormat": "date-time" } }, "com.amazonaws.schemas#schemas": { "type": "service", "version": "2019-12-02", "operations": [ { "target": "com.amazonaws.schemas#CreateDiscoverer" }, { "target": "com.amazonaws.schemas#CreateRegistry" }, { "target": "com.amazonaws.schemas#CreateSchema" }, { "target": "com.amazonaws.schemas#DeleteDiscoverer" }, { "target": "com.amazonaws.schemas#DeleteRegistry" }, { "target": "com.amazonaws.schemas#DeleteResourcePolicy" }, { "target": "com.amazonaws.schemas#DeleteSchema" }, { "target": "com.amazonaws.schemas#DeleteSchemaVersion" }, { "target": "com.amazonaws.schemas#DescribeCodeBinding" }, { "target": "com.amazonaws.schemas#DescribeDiscoverer" }, { "target": "com.amazonaws.schemas#DescribeRegistry" }, { "target": "com.amazonaws.schemas#DescribeSchema" }, { "target": "com.amazonaws.schemas#ExportSchema" }, { "target": "com.amazonaws.schemas#GetCodeBindingSource" }, { "target": "com.amazonaws.schemas#GetDiscoveredSchema" }, { "target": "com.amazonaws.schemas#GetResourcePolicy" }, { "target": "com.amazonaws.schemas#ListDiscoverers" }, { "target": "com.amazonaws.schemas#ListRegistries" }, { "target": "com.amazonaws.schemas#ListSchemas" }, { "target": "com.amazonaws.schemas#ListSchemaVersions" }, { "target": "com.amazonaws.schemas#ListTagsForResource" }, { "target": "com.amazonaws.schemas#PutCodeBinding" }, { "target": "com.amazonaws.schemas#PutResourcePolicy" }, { "target": "com.amazonaws.schemas#SearchSchemas" }, { "target": "com.amazonaws.schemas#StartDiscoverer" }, { "target": "com.amazonaws.schemas#StopDiscoverer" }, { "target": "com.amazonaws.schemas#TagResource" }, { "target": "com.amazonaws.schemas#UntagResource" }, { "target": "com.amazonaws.schemas#UpdateDiscoverer" }, { "target": "com.amazonaws.schemas#UpdateRegistry" }, { "target": "com.amazonaws.schemas#UpdateSchema" } ], "traits": { "aws.api#service": { "sdkId": "schemas", "arnNamespace": "schemas", "cloudFormationName": "EventSchemas", "cloudTrailEventSource": "schemas.amazonaws.com", "endpointPrefix": "schemas" }, "aws.auth#sigv4": { "name": "schemas" }, "aws.protocols#restJson1": {}, "smithy.api#auth": [ "aws.auth#sigv4" ], "smithy.api#documentation": "

Amazon EventBridge Schema Registry

", "smithy.api#title": "Schemas", "smithy.rules#endpointBdd": { "version": "1.1", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] }, { "fn": "isSet", "argv": [ { "ref": "Region" } ] }, { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" }, { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] }, true ] }, { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "results": [ { "conditions": [], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "endpoint": { "url": "https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" }, { "conditions": [], "endpoint": { "url": "https://schemas.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ], "root": 2, "nodeCount": 13, "nodes": "/////wAAAAH/////AAAAAAAAAAwAAAADAAAAAQAAAAQF9eELAAAAAgAAAAUF9eELAAAAAwAAAAgAAAAGAAAABAAAAAcF9eEKAAAABQX14QgF9eEJAAAABAAAAAoAAAAJAAAABgX14QYF9eEHAAAABQAAAAsF9eEFAAAABgX14QQF9eEFAAAAAwX14QEAAAANAAAABAX14QIF9eED" }, "smithy.rules#endpointRuleSet": { "version": "1.0", "parameters": { "Region": { "builtIn": "AWS::Region", "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "string" }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, "default": false, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", "type": "boolean" }, "UseFIPS": { "builtIn": "AWS::UseFIPS", "required": true, "default": false, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", "type": "boolean" }, "Endpoint": { "builtIn": "SDK::Endpoint", "required": false, "documentation": "Override the endpoint used to send this request", "type": "string" } }, "rules": [ { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Endpoint" } ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "error": "Invalid Configuration: FIPS and custom endpoint are not supported", "type": "error" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], "endpoint": { "url": { "ref": "Endpoint" }, "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [ { "fn": "isSet", "argv": [ { "ref": "Region" } ] } ], "rules": [ { "conditions": [ { "fn": "aws.partition", "argv": [ { "ref": "Region" } ], "assign": "PartitionResult" } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] }, { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] } ] }, { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://schemas-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseFIPS" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsFIPS" ] }, true ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://schemas-fips.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } ], "type": "tree" }, { "conditions": [ { "fn": "booleanEquals", "argv": [ { "ref": "UseDualStack" }, true ] } ], "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, "supportsDualStack" ] } ] } ], "rules": [ { "conditions": [], "endpoint": { "url": "https://schemas.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } ], "type": "tree" }, { "conditions": [], "endpoint": { "url": "https://schemas.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ], "type": "tree" } ], "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } ] }, "smithy.rules#endpointTests": { "testCases": [ { "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-east-1.amazonaws.com" } }, "params": { "Region": "ap-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-northeast-1.amazonaws.com" } }, "params": { "Region": "ap-northeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-northeast-2.amazonaws.com" } }, "params": { "Region": "ap-northeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-south-1.amazonaws.com" } }, "params": { "Region": "ap-south-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-southeast-1.amazonaws.com" } }, "params": { "Region": "ap-southeast-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ap-southeast-2.amazonaws.com" } }, "params": { "Region": "ap-southeast-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.ca-central-1.amazonaws.com" } }, "params": { "Region": "ca-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.eu-central-1.amazonaws.com" } }, "params": { "Region": "eu-central-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.eu-north-1.amazonaws.com" } }, "params": { "Region": "eu-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.eu-west-1.amazonaws.com" } }, "params": { "Region": "eu-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.eu-west-2.amazonaws.com" } }, "params": { "Region": "eu-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.eu-west-3.amazonaws.com" } }, "params": { "Region": "eu-west-3", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.sa-east-1.amazonaws.com" } }, "params": { "Region": "sa-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-east-2.amazonaws.com" } }, "params": { "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-west-1.amazonaws.com" } }, "params": { "Region": "us-west-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-west-2.amazonaws.com" } }, "params": { "Region": "us-west-2", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-east-1.amazonaws.com" } }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas.us-east-1.api.aws" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas-fips.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.cn-north-1.amazonaws.com.cn" } }, "params": { "Region": "cn-north-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { "url": "https://schemas.us-gov-east-1.api.aws" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-gov-east-1.amazonaws.com" } }, "params": { "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-iso-east-1.c2s.ic.gov" } }, "params": { "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": true, "UseDualStack": false } }, { "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "url": "https://schemas.us-isob-east-1.sc2s.sgov.gov" } }, "params": { "Region": "us-isob-east-1", "UseFIPS": false, "UseDualStack": false } }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { "UseFIPS": false, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false, "Endpoint": "https://example.com" } }, { "documentation": "For custom endpoint with fips disabled and dualstack enabled", "expect": { "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true, "Endpoint": "https://example.com" } }, { "documentation": "Missing region", "expect": { "error": "Invalid Configuration: Missing Region" } } ], "version": "1.0" } } } } }