GetExtension
Retrieves an extension by its ID. By default, the operation returns the latest version. To retrieve a specific release, use the extensionVersion parameter.
Request Syntax
GET /extensions/identifier?version=extensionVersion HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- extensionVersion
-
The version of the extension to retrieve, in semantic version format (
major.minor.patch). If you omit this parameter, the operation returns the latest version.Pattern:
(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7}) - identifier
-
The ID of the extension, such as
aws:secretsmanager.Length Constraints: Minimum length of 6. Maximum length of 49.
Pattern:
[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"arn": "string",
"configuration": {
"capabilities": [
{
"definition": { ... },
"id": "string",
"purpose": "string",
"required": boolean
}
],
"interfaces": [
{
"id": "string"
}
],
"settings": [
{
"activeWhen": "string",
"definition": { ... },
"description": "string",
"displayName": "string",
"id": "string",
"required": boolean
}
]
},
"description": "string",
"displayName": "string",
"documentationLink": "string",
"id": "string",
"overview": "string",
"releasedAt": "string",
"releaseNotes": "string",
"version": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- arn
-
The Amazon Resource Name (ARN) of the extension.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 1011.
Pattern:
arn:[a-z0-9-]+:cloudextensions:[a-z0-9-]*:([0-9]{0,12}|aws):[a-z]+/[a-zA-Z0-9/_:-]+ - configuration
-
The settings, capabilities, and interfaces that this extension version declares.
Type: ExtensionConfiguration object
- description
-
A full description of the purpose and functionality of the extension.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
[^\s\p{Cc}]([^\p{Cc}]|[\t\n\r])* - displayName
-
The display name of the extension.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[^\s\p{Cc}]([^\p{Cc}]*[^\s\p{Cc}])? - documentationLink
-
A link to external documentation for this extension.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 256.
Pattern:
https://([a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}(/[a-zA-Z0-9._~-]+)*/? - id
-
The ID of the extension, in the form
namespace:name, such asaws:secretsmanager.Type: String
Length Constraints: Minimum length of 6. Maximum length of 49.
Pattern:
[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)* - overview
-
A short summary of what the extension does, suitable for a catalog listing.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[^ \p{Cc}][^\p{Cc}]* - releasedAt
-
The date and time when this version was released.
Type: Timestamp
- releaseNotes
-
The notes from the author that describe what changed in this release.
Type: String
Length Constraints: Minimum length of 12. Maximum length of 512.
- version
-
The semantic version of this release.
Type: String
Pattern:
(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})\.(0|[1-9]\d{0,7})
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You don't have permission to perform the operation.
- message
-
A description of why the request was denied.
HTTP Status Code: 403
- InternalServerException
-
The service couldn't process the request because of an internal error. Retry the request with capped exponential backoff and jitter.
- message
-
A short summary that is the same for every
InternalServerException. - retryAfterSeconds
-
The number of seconds to wait before you retry the request, from the
Retry-Afterheader. This value is present only when the service sets the header.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified resource doesn't exist, or you don't have permission to access it.
- identifier
-
The identifier that was used to look up the resource.
- message
-
A short summary that is the same for every
ResourceNotFoundException. For the details, seeresourceTypeandidentifier. - resourceType
-
The type of the resource that wasn't found.
HTTP Status Code: 404
- ThrottlingException
-
The request rate exceeded a limit. Retry the request with capped exponential backoff and jitter.
- message
-
A description of the error.
- retryAfterSeconds
-
The number of seconds to wait before you retry the request, from the
Retry-Afterheader. This value is present only when the service sets the header.
HTTP Status Code: 429
- ValidationException
-
The request is malformed or contains parameter values that aren't valid.
- errors
-
A list of the specific reasons that the request failed validation, when available.
- message
-
A short summary that is the same for every
ValidationException. For the details, seereasonanderrors. - reason
-
A classification of the validation failure.
FIELD_VALIDATION_FAILEDmeans that one or more input fields failed validation.UNKNOWN_OPERATIONmeans that the requested operation doesn't exist.CANNOT_PARSEmeans that the request body couldn't be parsed, or doesn't have the shape that the operation expects.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: