updateConferenceProvider method
Future<void>
updateConferenceProvider({
- required String conferenceProviderArn,
- required ConferenceProviderType conferenceProviderType,
- required MeetingSetting meetingSetting,
- IPDialIn? iPDialIn,
- PSTNDialIn? pSTNDialIn,
Updates an existing conference provider's settings.
May throw NotFoundException.
Parameter conferenceProviderArn
:
The ARN of the conference provider.
Parameter conferenceProviderType
:
The type of the conference provider.
Parameter meetingSetting
:
The meeting settings for the conference provider.
Parameter iPDialIn
:
The IP endpoint and protocol for calling.
Parameter pSTNDialIn
:
The information for PSTN conferencing.
Implementation
Future<void> updateConferenceProvider({
required String conferenceProviderArn,
required ConferenceProviderType conferenceProviderType,
required MeetingSetting meetingSetting,
IPDialIn? iPDialIn,
PSTNDialIn? pSTNDialIn,
}) async {
ArgumentError.checkNotNull(conferenceProviderArn, 'conferenceProviderArn');
ArgumentError.checkNotNull(
conferenceProviderType, 'conferenceProviderType');
ArgumentError.checkNotNull(meetingSetting, 'meetingSetting');
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AlexaForBusiness.UpdateConferenceProvider'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ConferenceProviderArn': conferenceProviderArn,
'ConferenceProviderType': conferenceProviderType.toValue(),
'MeetingSetting': meetingSetting,
if (iPDialIn != null) 'IPDialIn': iPDialIn,
if (pSTNDialIn != null) 'PSTNDialIn': pSTNDialIn,
},
);
}