Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssociateS3ResourcesCommand

(Discontinued) Associates specified S3 resources with Amazon Macie Classic for monitoring and data classification. If memberAccountId isn't specified, the action associates specified S3 resources with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action associates specified S3 resources with Macie Classic for the specified member account.

example

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

import { MacieClient, AssociateS3ResourcesCommand } from "@aws-sdk/client-macie"; // ES Modules import
// const { MacieClient, AssociateS3ResourcesCommand } = require("@aws-sdk/client-macie"); // CommonJS import
const client = new MacieClient(config);
const command = new AssociateS3ResourcesCommand(input);
const response = await client.send(command);
see

AssociateS3ResourcesCommandInput for command's input shape.

see

AssociateS3ResourcesCommandOutput for command's response shape.

see

config for MacieClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AssociateS3ResourcesCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions