| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GamesParks.GetExtension
Description
Gets details about a specified extension.
Synopsis
- data GetExtension = GetExtension' {}
- newGetExtension :: Text -> Text -> GetExtension
- getExtension_name :: Lens' GetExtension Text
- getExtension_namespace :: Lens' GetExtension Text
- data GetExtensionResponse = GetExtensionResponse' {}
- newGetExtensionResponse :: Int -> GetExtensionResponse
- getExtensionResponse_extension :: Lens' GetExtensionResponse (Maybe ExtensionDetails)
- getExtensionResponse_httpStatus :: Lens' GetExtensionResponse Int
Creating a Request
data GetExtension Source #
See: newGetExtension smart constructor.
Constructors
| GetExtension' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> GetExtension |
Create a value of GetExtension with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetExtension, getExtension_name - The name of the extension.
GetExtension, getExtension_namespace - The namespace (qualifier) of the extension.
Request Lenses
getExtension_name :: Lens' GetExtension Text Source #
The name of the extension.
getExtension_namespace :: Lens' GetExtension Text Source #
The namespace (qualifier) of the extension.
Destructuring the Response
data GetExtensionResponse Source #
See: newGetExtensionResponse smart constructor.
Constructors
| GetExtensionResponse' | |
Fields
| |
Instances
newGetExtensionResponse Source #
Arguments
| :: Int | |
| -> GetExtensionResponse |
Create a value of GetExtensionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:extension:GetExtensionResponse', getExtensionResponse_extension - Details about the extension.
$sel:httpStatus:GetExtensionResponse', getExtensionResponse_httpStatus - The response's http status code.
Response Lenses
getExtensionResponse_extension :: Lens' GetExtensionResponse (Maybe ExtensionDetails) Source #
Details about the extension.
getExtensionResponse_httpStatus :: Lens' GetExtensionResponse Int Source #
The response's http status code.