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 |
Updates the details of an AppInstanceUserEndpoint
. You can update the
name and AllowMessage
values.
Synopsis
- data UpdateAppInstanceUserEndpoint = UpdateAppInstanceUserEndpoint' {}
- newUpdateAppInstanceUserEndpoint :: Text -> Text -> UpdateAppInstanceUserEndpoint
- updateAppInstanceUserEndpoint_allowMessages :: Lens' UpdateAppInstanceUserEndpoint (Maybe AllowMessages)
- updateAppInstanceUserEndpoint_name :: Lens' UpdateAppInstanceUserEndpoint (Maybe Text)
- updateAppInstanceUserEndpoint_appInstanceUserArn :: Lens' UpdateAppInstanceUserEndpoint Text
- updateAppInstanceUserEndpoint_endpointId :: Lens' UpdateAppInstanceUserEndpoint Text
- data UpdateAppInstanceUserEndpointResponse = UpdateAppInstanceUserEndpointResponse' {
- appInstanceUserArn :: Maybe (Sensitive Text)
- endpointId :: Maybe (Sensitive Text)
- httpStatus :: Int
- newUpdateAppInstanceUserEndpointResponse :: Int -> UpdateAppInstanceUserEndpointResponse
- updateAppInstanceUserEndpointResponse_appInstanceUserArn :: Lens' UpdateAppInstanceUserEndpointResponse (Maybe Text)
- updateAppInstanceUserEndpointResponse_endpointId :: Lens' UpdateAppInstanceUserEndpointResponse (Maybe Text)
- updateAppInstanceUserEndpointResponse_httpStatus :: Lens' UpdateAppInstanceUserEndpointResponse Int
Creating a Request
data UpdateAppInstanceUserEndpoint Source #
See: newUpdateAppInstanceUserEndpoint
smart constructor.
UpdateAppInstanceUserEndpoint' | |
|
Instances
newUpdateAppInstanceUserEndpoint Source #
Create a value of UpdateAppInstanceUserEndpoint
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:
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpoint_allowMessages
- Boolean that controls whether the AppInstanceUserEndpoint
is opted in
to receive messages. ALL
indicates the endpoint will receive all
messages. NONE
indicates the endpoint will receive no messages.
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpoint_name
- The name of the AppInstanceUserEndpoint
.
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpoint_appInstanceUserArn
- The ARN of the AppInstanceUser
.
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpoint_endpointId
- The unique identifier of the AppInstanceUserEndpoint
.
Request Lenses
updateAppInstanceUserEndpoint_allowMessages :: Lens' UpdateAppInstanceUserEndpoint (Maybe AllowMessages) Source #
Boolean that controls whether the AppInstanceUserEndpoint
is opted in
to receive messages. ALL
indicates the endpoint will receive all
messages. NONE
indicates the endpoint will receive no messages.
updateAppInstanceUserEndpoint_name :: Lens' UpdateAppInstanceUserEndpoint (Maybe Text) Source #
The name of the AppInstanceUserEndpoint
.
updateAppInstanceUserEndpoint_appInstanceUserArn :: Lens' UpdateAppInstanceUserEndpoint Text Source #
The ARN of the AppInstanceUser
.
updateAppInstanceUserEndpoint_endpointId :: Lens' UpdateAppInstanceUserEndpoint Text Source #
The unique identifier of the AppInstanceUserEndpoint
.
Destructuring the Response
data UpdateAppInstanceUserEndpointResponse Source #
See: newUpdateAppInstanceUserEndpointResponse
smart constructor.
UpdateAppInstanceUserEndpointResponse' | |
|
Instances
newUpdateAppInstanceUserEndpointResponse Source #
Create a value of UpdateAppInstanceUserEndpointResponse
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:
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpointResponse_appInstanceUserArn
- The ARN of the AppInstanceUser
.
UpdateAppInstanceUserEndpoint
, updateAppInstanceUserEndpointResponse_endpointId
- The unique identifier of the AppInstanceUserEndpoint
.
$sel:httpStatus:UpdateAppInstanceUserEndpointResponse'
, updateAppInstanceUserEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
updateAppInstanceUserEndpointResponse_appInstanceUserArn :: Lens' UpdateAppInstanceUserEndpointResponse (Maybe Text) Source #
The ARN of the AppInstanceUser
.
updateAppInstanceUserEndpointResponse_endpointId :: Lens' UpdateAppInstanceUserEndpointResponse (Maybe Text) Source #
The unique identifier of the AppInstanceUserEndpoint
.
updateAppInstanceUserEndpointResponse_httpStatus :: Lens' UpdateAppInstanceUserEndpointResponse Int Source #
The response's http status code.