| 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 |
Amazonka.Route53AutoNaming.UpdateHttpNamespace
Description
Updates an HTTP namespace.
Synopsis
- data UpdateHttpNamespace = UpdateHttpNamespace' {}
- newUpdateHttpNamespace :: Text -> HttpNamespaceChange -> UpdateHttpNamespace
- updateHttpNamespace_updaterRequestId :: Lens' UpdateHttpNamespace (Maybe Text)
- updateHttpNamespace_id :: Lens' UpdateHttpNamespace Text
- updateHttpNamespace_namespace :: Lens' UpdateHttpNamespace HttpNamespaceChange
- data UpdateHttpNamespaceResponse = UpdateHttpNamespaceResponse' {
- operationId :: Maybe Text
- httpStatus :: Int
- newUpdateHttpNamespaceResponse :: Int -> UpdateHttpNamespaceResponse
- updateHttpNamespaceResponse_operationId :: Lens' UpdateHttpNamespaceResponse (Maybe Text)
- updateHttpNamespaceResponse_httpStatus :: Lens' UpdateHttpNamespaceResponse Int
Creating a Request
data UpdateHttpNamespace Source #
See: newUpdateHttpNamespace smart constructor.
Constructors
| UpdateHttpNamespace' | |
Fields
| |
Instances
newUpdateHttpNamespace Source #
Arguments
| :: Text | |
| -> HttpNamespaceChange | |
| -> UpdateHttpNamespace |
Create a value of UpdateHttpNamespace 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:UpdateHttpNamespace', updateHttpNamespace_updaterRequestId - A unique string that identifies the request and that allows failed
UpdateHttpNamespace 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:UpdateHttpNamespace', updateHttpNamespace_id - The ID of the namespace that you want to update.
$sel:namespace:UpdateHttpNamespace', updateHttpNamespace_namespace - Updated properties for the the HTTP namespace.
Request Lenses
updateHttpNamespace_updaterRequestId :: Lens' UpdateHttpNamespace (Maybe Text) Source #
A unique string that identifies the request and that allows failed
UpdateHttpNamespace requests to be retried without the risk of running
the operation twice. UpdaterRequestId can be any unique string (for
example, a date/timestamp).
updateHttpNamespace_id :: Lens' UpdateHttpNamespace Text Source #
The ID of the namespace that you want to update.
updateHttpNamespace_namespace :: Lens' UpdateHttpNamespace HttpNamespaceChange Source #
Updated properties for the the HTTP namespace.
Destructuring the Response
data UpdateHttpNamespaceResponse Source #
See: newUpdateHttpNamespaceResponse smart constructor.
Constructors
| UpdateHttpNamespaceResponse' | |
Fields
| |
Instances
newUpdateHttpNamespaceResponse Source #
Create a value of UpdateHttpNamespaceResponse 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:UpdateHttpNamespaceResponse', updateHttpNamespaceResponse_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:UpdateHttpNamespaceResponse', updateHttpNamespaceResponse_httpStatus - The response's http status code.
Response Lenses
updateHttpNamespaceResponse_operationId :: Lens' UpdateHttpNamespaceResponse (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.
updateHttpNamespaceResponse_httpStatus :: Lens' UpdateHttpNamespaceResponse Int Source #
The response's http status code.