updateGlueIdentityCenterConfiguration method

Future<void> updateGlueIdentityCenterConfiguration({
  1. List<String>? scopes,
  2. bool? userBackgroundSessionsEnabled,
})

Updates the existing Glue Identity Center configuration, allowing modification of scopes and permissions for the integration.

May throw AccessDeniedException. May throw ConcurrentModificationException. May throw EntityNotFoundException. May throw InternalServiceException. May throw InvalidInputException. May throw OperationTimeoutException.

Parameter scopes : A list of Identity Center scopes that define the updated permissions and access levels for the Glue configuration.

Parameter userBackgroundSessionsEnabled : Specifies whether users can run background sessions when using Identity Center authentication with Glue services.

Implementation

Future<void> updateGlueIdentityCenterConfiguration({
  List<String>? scopes,
  bool? userBackgroundSessionsEnabled,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.UpdateGlueIdentityCenterConfiguration'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      if (scopes != null) 'Scopes': scopes,
      if (userBackgroundSessionsEnabled != null)
        'UserBackgroundSessionsEnabled': userBackgroundSessionsEnabled,
    },
  );
}