| 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.UpdatePublicDnsNamespace
Description
Updates a public DNS namespace.
Synopsis
- data UpdatePublicDnsNamespace = UpdatePublicDnsNamespace' {}
- newUpdatePublicDnsNamespace :: Text -> PublicDnsNamespaceChange -> UpdatePublicDnsNamespace
- updatePublicDnsNamespace_updaterRequestId :: Lens' UpdatePublicDnsNamespace (Maybe Text)
- updatePublicDnsNamespace_id :: Lens' UpdatePublicDnsNamespace Text
- updatePublicDnsNamespace_namespace :: Lens' UpdatePublicDnsNamespace PublicDnsNamespaceChange
- data UpdatePublicDnsNamespaceResponse = UpdatePublicDnsNamespaceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newUpdatePublicDnsNamespaceResponse :: Int -> UpdatePublicDnsNamespaceResponse
- updatePublicDnsNamespaceResponse_operationId :: Lens' UpdatePublicDnsNamespaceResponse (Maybe Text)
- updatePublicDnsNamespaceResponse_httpStatus :: Lens' UpdatePublicDnsNamespaceResponse Int
Creating a Request
data UpdatePublicDnsNamespace Source #
See: newUpdatePublicDnsNamespace smart constructor.
Constructors
| UpdatePublicDnsNamespace' | |
Fields
| |
Instances
newUpdatePublicDnsNamespace Source #
Arguments
| :: Text | |
| -> PublicDnsNamespaceChange | |
| -> UpdatePublicDnsNamespace |
Create a value of UpdatePublicDnsNamespace 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:UpdatePublicDnsNamespace', updatePublicDnsNamespace_updaterRequestId - A unique string that identifies the request and that allows failed
UpdatePublicDnsNamespace requests to be retried without the risk of
running the operation twice. UpdaterRequestId can be any unique string
(for example, a date/timestamp).
UpdatePublicDnsNamespace, updatePublicDnsNamespace_id - The ID of the namespace being updated.
$sel:namespace:UpdatePublicDnsNamespace', updatePublicDnsNamespace_namespace - Updated properties for the public DNS namespace.
Request Lenses
updatePublicDnsNamespace_updaterRequestId :: Lens' UpdatePublicDnsNamespace (Maybe Text) Source #
A unique string that identifies the request and that allows failed
UpdatePublicDnsNamespace requests to be retried without the risk of
running the operation twice. UpdaterRequestId can be any unique string
(for example, a date/timestamp).
updatePublicDnsNamespace_id :: Lens' UpdatePublicDnsNamespace Text Source #
The ID of the namespace being updated.
updatePublicDnsNamespace_namespace :: Lens' UpdatePublicDnsNamespace PublicDnsNamespaceChange Source #
Updated properties for the public DNS namespace.
Destructuring the Response
data UpdatePublicDnsNamespaceResponse Source #
See: newUpdatePublicDnsNamespaceResponse smart constructor.
Constructors
| UpdatePublicDnsNamespaceResponse' | |
Fields
| |
Instances
newUpdatePublicDnsNamespaceResponse Source #
Create a value of UpdatePublicDnsNamespaceResponse 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:UpdatePublicDnsNamespaceResponse', updatePublicDnsNamespaceResponse_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:UpdatePublicDnsNamespaceResponse', updatePublicDnsNamespaceResponse_httpStatus - The response's http status code.
Response Lenses
updatePublicDnsNamespaceResponse_operationId :: Lens' UpdatePublicDnsNamespaceResponse (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.
updatePublicDnsNamespaceResponse_httpStatus :: Lens' UpdatePublicDnsNamespaceResponse Int Source #
The response's http status code.