Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdatePrivateDnsNamespace' | |
|
Instances
newUpdatePrivateDnsNamespace Source #
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).
$sel:id: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.
UpdatePrivateDnsNamespaceResponse' | |
|
Instances
Eq UpdatePrivateDnsNamespaceResponse Source # | |
Read UpdatePrivateDnsNamespaceResponse Source # | |
Show UpdatePrivateDnsNamespaceResponse Source # | |
Generic UpdatePrivateDnsNamespaceResponse Source # | |
NFData UpdatePrivateDnsNamespaceResponse Source # | |
Defined in Amazonka.Route53AutoNaming.UpdatePrivateDnsNamespace rnf :: UpdatePrivateDnsNamespaceResponse -> () # | |
type Rep UpdatePrivateDnsNamespaceResponse Source # | |
Defined in Amazonka.Route53AutoNaming.UpdatePrivateDnsNamespace type Rep UpdatePrivateDnsNamespaceResponse = D1 ('MetaData "UpdatePrivateDnsNamespaceResponse" "Amazonka.Route53AutoNaming.UpdatePrivateDnsNamespace" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "UpdatePrivateDnsNamespaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdatePrivateDnsNamespaceResponse Source #
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.