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 the name of an inbound or an outbound Resolver endpoint.
Synopsis
- data UpdateResolverEndpoint = UpdateResolverEndpoint' {
- name :: Maybe Text
- resolverEndpointId :: Text
- newUpdateResolverEndpoint :: Text -> UpdateResolverEndpoint
- updateResolverEndpoint_name :: Lens' UpdateResolverEndpoint (Maybe Text)
- updateResolverEndpoint_resolverEndpointId :: Lens' UpdateResolverEndpoint Text
- data UpdateResolverEndpointResponse = UpdateResolverEndpointResponse' {}
- newUpdateResolverEndpointResponse :: Int -> UpdateResolverEndpointResponse
- updateResolverEndpointResponse_resolverEndpoint :: Lens' UpdateResolverEndpointResponse (Maybe ResolverEndpoint)
- updateResolverEndpointResponse_httpStatus :: Lens' UpdateResolverEndpointResponse Int
Creating a Request
data UpdateResolverEndpoint Source #
See: newUpdateResolverEndpoint
smart constructor.
UpdateResolverEndpoint' | |
|
Instances
newUpdateResolverEndpoint Source #
Create a value of UpdateResolverEndpoint
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:name:UpdateResolverEndpoint'
, updateResolverEndpoint_name
- The name of the Resolver endpoint that you want to update.
$sel:resolverEndpointId:UpdateResolverEndpoint'
, updateResolverEndpoint_resolverEndpointId
- The ID of the Resolver endpoint that you want to update.
Request Lenses
updateResolverEndpoint_name :: Lens' UpdateResolverEndpoint (Maybe Text) Source #
The name of the Resolver endpoint that you want to update.
updateResolverEndpoint_resolverEndpointId :: Lens' UpdateResolverEndpoint Text Source #
The ID of the Resolver endpoint that you want to update.
Destructuring the Response
data UpdateResolverEndpointResponse Source #
See: newUpdateResolverEndpointResponse
smart constructor.
UpdateResolverEndpointResponse' | |
|
Instances
Eq UpdateResolverEndpointResponse Source # | |
Read UpdateResolverEndpointResponse Source # | |
Show UpdateResolverEndpointResponse Source # | |
Generic UpdateResolverEndpointResponse Source # | |
NFData UpdateResolverEndpointResponse Source # | |
Defined in Amazonka.Route53Resolver.UpdateResolverEndpoint rnf :: UpdateResolverEndpointResponse -> () # | |
type Rep UpdateResolverEndpointResponse Source # | |
Defined in Amazonka.Route53Resolver.UpdateResolverEndpoint type Rep UpdateResolverEndpointResponse = D1 ('MetaData "UpdateResolverEndpointResponse" "Amazonka.Route53Resolver.UpdateResolverEndpoint" "libZSservicesZSamazonka-route53resolverZSamazonka-route53resolver" 'False) (C1 ('MetaCons "UpdateResolverEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolverEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResolverEndpoint)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateResolverEndpointResponse Source #
Create a value of UpdateResolverEndpointResponse
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:resolverEndpoint:UpdateResolverEndpointResponse'
, updateResolverEndpointResponse_resolverEndpoint
- The response to an UpdateResolverEndpoint
request.
$sel:httpStatus:UpdateResolverEndpointResponse'
, updateResolverEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
updateResolverEndpointResponse_resolverEndpoint :: Lens' UpdateResolverEndpointResponse (Maybe ResolverEndpoint) Source #
The response to an UpdateResolverEndpoint
request.
updateResolverEndpointResponse_httpStatus :: Lens' UpdateResolverEndpointResponse Int Source #
The response's http status code.