dissociateAccessGrantsIdentityCenter method
Dissociates the Amazon Web Services IAM Identity Center instance from the S3 Access Grants instance.
- Permissions
-
You must have the
s3:DissociateAccessGrantsIdentityCenterpermission to use this operation. - Additional Permissions
-
You must have the
sso:DeleteApplicationpermission to use this operation.
Parameter accountId :
The Amazon Web Services account ID of the S3 Access Grants instance.
Implementation
Future<void> dissociateAccessGrantsIdentityCenter({
required String accountId,
}) async {
final headers = <String, String>{
'x-amz-account-id': accountId.toString(),
};
await _protocol.send(
method: 'DELETE',
requestUri: '/v20180820/accessgrantsinstance/identitycenter',
headers: headers,
exceptionFnMap: _exceptionFns,
);
}