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 |
Retrieves the information for a SIP media application, including name, AWS Region, and endpoints.
Synopsis
- data GetSipMediaApplication = GetSipMediaApplication' {}
- newGetSipMediaApplication :: Text -> GetSipMediaApplication
- getSipMediaApplication_sipMediaApplicationId :: Lens' GetSipMediaApplication Text
- data GetSipMediaApplicationResponse = GetSipMediaApplicationResponse' {}
- newGetSipMediaApplicationResponse :: Int -> GetSipMediaApplicationResponse
- getSipMediaApplicationResponse_sipMediaApplication :: Lens' GetSipMediaApplicationResponse (Maybe SipMediaApplication)
- getSipMediaApplicationResponse_httpStatus :: Lens' GetSipMediaApplicationResponse Int
Creating a Request
data GetSipMediaApplication Source #
See: newGetSipMediaApplication
smart constructor.
GetSipMediaApplication' | |
|
Instances
newGetSipMediaApplication Source #
Create a value of GetSipMediaApplication
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:sipMediaApplicationId:GetSipMediaApplication'
, getSipMediaApplication_sipMediaApplicationId
- The SIP media application ID.
Request Lenses
getSipMediaApplication_sipMediaApplicationId :: Lens' GetSipMediaApplication Text Source #
The SIP media application ID.
Destructuring the Response
data GetSipMediaApplicationResponse Source #
See: newGetSipMediaApplicationResponse
smart constructor.
GetSipMediaApplicationResponse' | |
|
Instances
Eq GetSipMediaApplicationResponse Source # | |
Show GetSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.GetSipMediaApplication | |
Generic GetSipMediaApplicationResponse Source # | |
NFData GetSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.GetSipMediaApplication rnf :: GetSipMediaApplicationResponse -> () # | |
type Rep GetSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.GetSipMediaApplication type Rep GetSipMediaApplicationResponse = D1 ('MetaData "GetSipMediaApplicationResponse" "Amazonka.Chime.GetSipMediaApplication" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "GetSipMediaApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sipMediaApplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SipMediaApplication)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetSipMediaApplicationResponse Source #
Create a value of GetSipMediaApplicationResponse
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:GetSipMediaApplicationResponse'
, getSipMediaApplicationResponse_sipMediaApplication
- The SIP media application details.
$sel:httpStatus:GetSipMediaApplicationResponse'
, getSipMediaApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
getSipMediaApplicationResponse_sipMediaApplication :: Lens' GetSipMediaApplicationResponse (Maybe SipMediaApplication) Source #
The SIP media application details.
getSipMediaApplicationResponse_httpStatus :: Lens' GetSipMediaApplicationResponse Int Source #
The response's http status code.