- 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.
GetRegistryCommand
Describes the specified registry in detail.
Example Syntax
Use a bare-bones client and the command you need to make an API call.
import { GlueClient, GetRegistryCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, GetRegistryCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // GetRegistryInput
RegistryId: { // RegistryId
RegistryName: "STRING_VALUE",
RegistryArn: "STRING_VALUE",
},
};
const command = new GetRegistryCommand(input);
const response = await client.send(command);
// { // GetRegistryResponse
// RegistryName: "STRING_VALUE",
// RegistryArn: "STRING_VALUE",
// Description: "STRING_VALUE",
// Status: "AVAILABLE" || "DELETING",
// CreatedTime: "STRING_VALUE",
// UpdatedTime: "STRING_VALUE",
// };
GetRegistryCommand Input
See GetRegistryCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
RegistryId Required | RegistryId | undefined | This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN). |
GetRegistryCommand Output
See GetRegistryCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
CreatedTime | string | undefined | The date and time the registry was created. |
Description | string | undefined | A description of the registry. |
RegistryArn | string | undefined | The Amazon Resource Name (ARN) of the registry. |
RegistryName | string | undefined | The name of the registry. |
Status | RegistryStatus | undefined | The status of the registry. |
UpdatedTime | string | undefined | The date and time the registry was updated. |
Throws
Name | Fault | Details |
---|
Name | Fault | Details |
---|---|---|
AccessDeniedException | client | Access to a resource was denied. |
EntityNotFoundException | client | A specified entity does not exist |
InternalServiceException | server | An internal service error occurred. |
InvalidInputException | client | The input provided was not valid. |
GlueServiceException | Base exception class for all service exceptions from Glue service. |