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 |
Creates a SIP media application.
Synopsis
- data CreateSipMediaApplication = CreateSipMediaApplication' {}
- newCreateSipMediaApplication :: Text -> Text -> NonEmpty SipMediaApplicationEndpoint -> CreateSipMediaApplication
- createSipMediaApplication_awsRegion :: Lens' CreateSipMediaApplication Text
- createSipMediaApplication_name :: Lens' CreateSipMediaApplication Text
- createSipMediaApplication_endpoints :: Lens' CreateSipMediaApplication (NonEmpty SipMediaApplicationEndpoint)
- data CreateSipMediaApplicationResponse = CreateSipMediaApplicationResponse' {}
- newCreateSipMediaApplicationResponse :: Int -> CreateSipMediaApplicationResponse
- createSipMediaApplicationResponse_sipMediaApplication :: Lens' CreateSipMediaApplicationResponse (Maybe SipMediaApplication)
- createSipMediaApplicationResponse_httpStatus :: Lens' CreateSipMediaApplicationResponse Int
Creating a Request
data CreateSipMediaApplication Source #
See: newCreateSipMediaApplication
smart constructor.
Instances
newCreateSipMediaApplication Source #
Create a value of CreateSipMediaApplication
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:awsRegion:CreateSipMediaApplication'
, createSipMediaApplication_awsRegion
- The AWS Region assigned to the SIP media application.
$sel:name:CreateSipMediaApplication'
, createSipMediaApplication_name
- The SIP media application name.
$sel:endpoints:CreateSipMediaApplication'
, createSipMediaApplication_endpoints
- List of endpoints (Lambda Amazon Resource Names) specified for the SIP
media application. Currently, only one endpoint is supported.
Request Lenses
createSipMediaApplication_awsRegion :: Lens' CreateSipMediaApplication Text Source #
The AWS Region assigned to the SIP media application.
createSipMediaApplication_name :: Lens' CreateSipMediaApplication Text Source #
The SIP media application name.
createSipMediaApplication_endpoints :: Lens' CreateSipMediaApplication (NonEmpty SipMediaApplicationEndpoint) Source #
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.
Destructuring the Response
data CreateSipMediaApplicationResponse Source #
See: newCreateSipMediaApplicationResponse
smart constructor.
CreateSipMediaApplicationResponse' | |
|
Instances
Eq CreateSipMediaApplicationResponse Source # | |
Show CreateSipMediaApplicationResponse Source # | |
Generic CreateSipMediaApplicationResponse Source # | |
NFData CreateSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.CreateSipMediaApplication rnf :: CreateSipMediaApplicationResponse -> () # | |
type Rep CreateSipMediaApplicationResponse Source # | |
Defined in Amazonka.Chime.CreateSipMediaApplication type Rep CreateSipMediaApplicationResponse = D1 ('MetaData "CreateSipMediaApplicationResponse" "Amazonka.Chime.CreateSipMediaApplication" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateSipMediaApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sipMediaApplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SipMediaApplication)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateSipMediaApplicationResponse Source #
Create a value of CreateSipMediaApplicationResponse
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:CreateSipMediaApplicationResponse'
, createSipMediaApplicationResponse_sipMediaApplication
- The SIP media application details.
$sel:httpStatus:CreateSipMediaApplicationResponse'
, createSipMediaApplicationResponse_httpStatus
- The response's http status code.
Response Lenses
createSipMediaApplicationResponse_sipMediaApplication :: Lens' CreateSipMediaApplicationResponse (Maybe SipMediaApplication) Source #
The SIP media application details.
createSipMediaApplicationResponse_httpStatus :: Lens' CreateSipMediaApplicationResponse Int Source #
The response's http status code.