GetCodeBindingSourceCommand

Get the code binding source URI.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { SchemasClient, GetCodeBindingSourceCommand } from "@aws-sdk/client-schemas"; // ES Modules import
// const { SchemasClient, GetCodeBindingSourceCommand } = require("@aws-sdk/client-schemas"); // CommonJS import
const client = new SchemasClient(config);
const input = { // GetCodeBindingSourceRequest
  Language: "STRING_VALUE", // required
  RegistryName: "STRING_VALUE", // required
  SchemaName: "STRING_VALUE", // required
  SchemaVersion: "STRING_VALUE",
};
const command = new GetCodeBindingSourceCommand(input);
const response = await client.send(command);
// { // GetCodeBindingSourceResponse
//   Body: new Uint8Array(),
// };

GetCodeBindingSourceCommand Input

Parameter
Type
Description
Language
Required
string | undefined

The language of the code binding.

RegistryName
Required
string | undefined

The name of the registry.

SchemaName
Required
string | undefined

The name of the schema.

SchemaVersion
string | undefined

Specifying this limits the results to only this schema version.

GetCodeBindingSourceCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
BadRequestException
client
ForbiddenException
client
InternalServerErrorException
server
NotFoundException
client
TooManyRequestsException
client
UnauthorizedException
client
SchemasServiceException
Base exception class for all service exceptions from Schemas service.