associateBrowserSettings method

Future<AssociateBrowserSettingsResponse> associateBrowserSettings({
  1. required String browserSettingsArn,
  2. required String portalArn,
})

Associates a browser settings resource with a web portal.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter browserSettingsArn : The ARN of the browser settings.

Parameter portalArn : The ARN of the web portal.

Implementation

Future<AssociateBrowserSettingsResponse> associateBrowserSettings({
  required String browserSettingsArn,
  required String portalArn,
}) async {
  final $query = <String, List<String>>{
    'browserSettingsArn': [browserSettingsArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'PUT',
    requestUri:
        '/portals/${portalArn.split('/').map(Uri.encodeComponent).join('/')}/browserSettings',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return AssociateBrowserSettingsResponse.fromJson(response);
}