deleteInstanceAccessControlAttributeConfiguration method

Future<void> deleteInstanceAccessControlAttributeConfiguration({
  1. required String instanceArn,
})

Disables the attributes-based access control (ABAC) feature for the specified AWS SSO instance and deletes all of the attribute mappings that have been configured. Once deleted, any attributes that are received from an identity source and any custom attributes you have previously configured will not be passed. For more information about ABAC, see Attribute-Based Access Control in the AWS SSO User Guide.

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

Parameter instanceArn : The ARN of the SSO instance under which the operation will be executed.

Implementation

Future<void> deleteInstanceAccessControlAttributeConfiguration({
  required String instanceArn,
}) async {
  ArgumentError.checkNotNull(instanceArn, 'instanceArn');
  _s.validateStringLength(
    'instanceArn',
    instanceArn,
    10,
    1224,
    isRequired: true,
  );
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target':
        'SWBExternalService.DeleteInstanceAccessControlAttributeConfiguration'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'InstanceArn': instanceArn,
    },
  );
}