- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
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
See GetCodeBindingSourceCommandInput for more details
Parameter | Type | Description |
---|
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
See GetCodeBindingSourceCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
Throws
Name | Fault | Details |
---|
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. |