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.UpdatePrivateDnsNamespace
Description
Updates a private DNS namespace.
Synopsis
- data UpdatePrivateDnsNamespace = UpdatePrivateDnsNamespace' {}
- newUpdatePrivateDnsNamespace :: Text -> PrivateDnsNamespaceChange -> UpdatePrivateDnsNamespace
- updatePrivateDnsNamespace_updaterRequestId :: Lens' UpdatePrivateDnsNamespace (Maybe Text)
- updatePrivateDnsNamespace_id :: Lens' UpdatePrivateDnsNamespace Text
- updatePrivateDnsNamespace_namespace :: Lens' UpdatePrivateDnsNamespace PrivateDnsNamespaceChange
- data UpdatePrivateDnsNamespaceResponse = UpdatePrivateDnsNamespaceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newUpdatePrivateDnsNamespaceResponse :: Int -> UpdatePrivateDnsNamespaceResponse
- updatePrivateDnsNamespaceResponse_operationId :: Lens' UpdatePrivateDnsNamespaceResponse (Maybe Text)
- updatePrivateDnsNamespaceResponse_httpStatus :: Lens' UpdatePrivateDnsNamespaceResponse Int
Creating a Request
data UpdatePrivateDnsNamespace Source #
See: newUpdatePrivateDnsNamespace
smart constructor.
Constructors
UpdatePrivateDnsNamespace' | |
Fields
|
Instances
newUpdatePrivateDnsNamespace Source #
Arguments
:: Text | |
-> PrivateDnsNamespaceChange | |
-> UpdatePrivateDnsNamespace |
Create a value of UpdatePrivateDnsNamespace
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:updaterRequestId:UpdatePrivateDnsNamespace'
, updatePrivateDnsNamespace_updaterRequestId
- A unique string that identifies the request and that allows failed
UpdatePrivateDnsNamespace
requests to be retried without the risk of
running the operation twice. UpdaterRequestId
can be any unique string
(for example, a date/timestamp).
UpdatePrivateDnsNamespace
, updatePrivateDnsNamespace_id
- The ID of the namespace that you want to update.
$sel:namespace:UpdatePrivateDnsNamespace'
, updatePrivateDnsNamespace_namespace
- Updated properties for the private DNS namespace.
Request Lenses
updatePrivateDnsNamespace_updaterRequestId :: Lens' UpdatePrivateDnsNamespace (Maybe Text) Source #
A unique string that identifies the request and that allows failed
UpdatePrivateDnsNamespace
requests to be retried without the risk of
running the operation twice. UpdaterRequestId
can be any unique string
(for example, a date/timestamp).
updatePrivateDnsNamespace_id :: Lens' UpdatePrivateDnsNamespace Text Source #
The ID of the namespace that you want to update.
updatePrivateDnsNamespace_namespace :: Lens' UpdatePrivateDnsNamespace PrivateDnsNamespaceChange Source #
Updated properties for the private DNS namespace.
Destructuring the Response
data UpdatePrivateDnsNamespaceResponse Source #
See: newUpdatePrivateDnsNamespaceResponse
smart constructor.
Constructors
UpdatePrivateDnsNamespaceResponse' | |
Fields
|
Instances
newUpdatePrivateDnsNamespaceResponse Source #
Arguments
:: Int | |
-> UpdatePrivateDnsNamespaceResponse |
Create a value of UpdatePrivateDnsNamespaceResponse
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:operationId:UpdatePrivateDnsNamespaceResponse'
, updatePrivateDnsNamespaceResponse_operationId
- A value that you can use to determine whether the request completed
successfully. To get the status of the operation, see
GetOperation.
$sel:httpStatus:UpdatePrivateDnsNamespaceResponse'
, updatePrivateDnsNamespaceResponse_httpStatus
- The response's http status code.
Response Lenses
updatePrivateDnsNamespaceResponse_operationId :: Lens' UpdatePrivateDnsNamespaceResponse (Maybe Text) Source #
A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.
updatePrivateDnsNamespaceResponse_httpStatus :: Lens' UpdatePrivateDnsNamespaceResponse Int Source #
The response's http status code.