| 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.Route53AutoNaming.GetNamespace
Description
Gets information about a namespace.
Synopsis
- data GetNamespace = GetNamespace' {}
- newGetNamespace :: Text -> GetNamespace
- getNamespace_id :: Lens' GetNamespace Text
- data GetNamespaceResponse = GetNamespaceResponse' {
- namespace :: Maybe Namespace
- httpStatus :: Int
- newGetNamespaceResponse :: Int -> GetNamespaceResponse
- getNamespaceResponse_namespace :: Lens' GetNamespaceResponse (Maybe Namespace)
- getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int
Creating a Request
data GetNamespace Source #
See: newGetNamespace smart constructor.
Constructors
| GetNamespace' | |
Instances
Arguments
| :: Text | |
| -> GetNamespace |
Create a value of GetNamespace 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:
GetNamespace, getNamespace_id - The ID of the namespace that you want to get information about.
Request Lenses
getNamespace_id :: Lens' GetNamespace Text Source #
The ID of the namespace that you want to get information about.
Destructuring the Response
data GetNamespaceResponse Source #
See: newGetNamespaceResponse smart constructor.
Constructors
| GetNamespaceResponse' | |
Fields
| |
Instances
newGetNamespaceResponse Source #
Arguments
| :: Int | |
| -> GetNamespaceResponse |
Create a value of GetNamespaceResponse 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:namespace:GetNamespaceResponse', getNamespaceResponse_namespace - A complex type that contains information about the specified namespace.
$sel:httpStatus:GetNamespaceResponse', getNamespaceResponse_httpStatus - The response's http status code.
Response Lenses
getNamespaceResponse_namespace :: Lens' GetNamespaceResponse (Maybe Namespace) Source #
A complex type that contains information about the specified namespace.
getNamespaceResponse_httpStatus :: Lens' GetNamespaceResponse Int Source #
The response's http status code.