DissociateAccessGrantsIdentityCenterCommand

Dissociates the Amazon Web Services IAM Identity Center instance from the S3 Access Grants instance.

Permissions

You must have the s3:DissociateAccessGrantsIdentityCenter permission to use this operation.

Additional Permissions

You must have the sso:DeleteApplication permission to use this operation.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { S3ControlClient, DissociateAccessGrantsIdentityCenterCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
// const { S3ControlClient, DissociateAccessGrantsIdentityCenterCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
const client = new S3ControlClient(config);
const input = { // DissociateAccessGrantsIdentityCenterRequest
  AccountId: "STRING_VALUE",
};
const command = new DissociateAccessGrantsIdentityCenterCommand(input);
const response = await client.send(command);
// {};

DissociateAccessGrantsIdentityCenterCommand Input

Parameter
Type
Description
AccountId
string | undefined

The Amazon Web Services account ID of the S3 Access Grants instance.

DissociateAccessGrantsIdentityCenterCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
S3ControlServiceException
Base exception class for all service exceptions from S3Control service.