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 details of the specified SIP media application.
Synopsis
- data UpdateSipMediaApplication = UpdateSipMediaApplication' {}
- newUpdateSipMediaApplication :: Text -> UpdateSipMediaApplication
- updateSipMediaApplication_name :: Lens' UpdateSipMediaApplication (Maybe Text)
- updateSipMediaApplication_endpoints :: Lens' UpdateSipMediaApplication (Maybe (NonEmpty SipMediaApplicationEndpoint))
- updateSipMediaApplication_sipMediaApplicationId :: Lens' UpdateSipMediaApplication Text
- data UpdateSipMediaApplicationResponse = UpdateSipMediaApplicationResponse' {}
- newUpdateSipMediaApplicationResponse :: Int -> UpdateSipMediaApplicationResponse
- updateSipMediaApplicationResponse_sipMediaApplication :: Lens' UpdateSipMediaApplicationResponse (Maybe SipMediaApplication)
- updateSipMediaApplicationResponse_httpStatus :: Lens' UpdateSipMediaApplicationResponse Int
Creating a Request
data UpdateSipMediaApplication Source #
See: newUpdateSipMediaApplication
smart constructor.
UpdateSipMediaApplication' | |
|
Instances
newUpdateSipMediaApplication Source #
Create a value of UpdateSipMediaApplication
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:UpdateSipMediaApplication'
, updateSipMediaApplication_name
- The new name for the specified SIP media application.
$sel:endpoints:UpdateSipMediaApplication'
, updateSipMediaApplication_endpoints
- The new set of endpoints for the specified SIP media application.
$sel:sipMediaApplicationId:UpdateSipMediaApplication'
, updateSipMediaApplication_sipMediaApplicationId
- The SIP media application ID.
Request Lenses
updateSipMediaApplication_name :: Lens' UpdateSipMediaApplication (Maybe Text) Source #
The new name for the specified SIP media application.
updateSipMediaApplication_endpoints :: Lens' UpdateSipMediaApplication (Maybe (NonEmpty SipMediaApplicationEndpoint)) Source #
The new set of endpoints for the specified SIP media application.
updateSipMediaApplication_sipMediaApplicationId :: Lens' UpdateSipMediaApplication Text Source #
The SIP media application ID.
Destructuring the Response
data UpdateSipMediaApplicationResponse Source #
See: newUpdateSipMediaApplicationResponse
smart constructor.
UpdateSipMediaApplicationResponse' | |
|
Instances
Eq UpdateSipMediaApplicationResponse Source # | |
Show UpdateSipMediaApplicationResponse Source # | |
Generic UpdateSipMediaApplicationResponse Source # | |
NFData UpdateSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.UpdateSipMediaApplication rnf :: UpdateSipMediaApplicationResponse -> () # | |
type Rep UpdateSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.UpdateSipMediaApplication type Rep UpdateSipMediaApplicationResponse = D1 ('MetaData "UpdateSipMediaApplicationResponse" "Amazonka.Chime.UpdateSipMediaApplication" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateSipMediaApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sipMediaApplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SipMediaApplication)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateSipMediaApplicationResponse Source #
Create a value of UpdateSipMediaApplicationResponse
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:sipMediaApplication:UpdateSipMediaApplicationResponse'
, updateSipMediaApplicationResponse_sipMediaApplication
- The updated SIP media application details.
$sel:httpStatus:UpdateSipMediaApplicationResponse'
, updateSipMediaApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
updateSipMediaApplicationResponse_sipMediaApplication :: Lens' UpdateSipMediaApplicationResponse (Maybe SipMediaApplication) Source #
The updated SIP media application details.
updateSipMediaApplicationResponse_httpStatus :: Lens' UpdateSipMediaApplicationResponse Int Source #
The response's http status code.