---
name: amazon-macie
description: "Amazon Macie API skill. Use when working with Amazon Macie for #X-Amz-Target=MacieService.AssociateMemberAccount, #X-Amz-Target=MacieService.AssociateS3Resources, #X-Amz-Target=MacieService.DisassociateMemberAccount. Covers 7 endpoints."
version: 1.0.0
generator: lapsh
---

# Amazon Macie
API version: 2017-12-19

## Auth
ApiKey Authorization in header

## Base URL
http://macie.{region}.amazonaws.com

## Setup
1. Set your API key in the appropriate header
3. POST /#X-Amz-Target=MacieService.AssociateMemberAccount -- create first #X-Amz-Target=MacieService.AssociateMemberAccount

## Endpoints

7 endpoints across 7 groups. See references/api-spec.lap for full details.

### #X-Amz-Target=MacieService.AssociateMemberAccount
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.AssociateMemberAccount | (Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account. |

### #X-Amz-Target=MacieService.AssociateS3Resources
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.AssociateS3Resources | (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. |

### #X-Amz-Target=MacieService.DisassociateMemberAccount
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.DisassociateMemberAccount | (Discontinued) Removes the specified member account from Amazon Macie Classic. |

### #X-Amz-Target=MacieService.DisassociateS3Resources
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.DisassociateS3Resources | (Discontinued) Removes specified S3 resources from being monitored by Amazon Macie Classic. If memberAccountId isn't specified, the action removes specified S3 resources from Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action removes specified S3 resources from Macie Classic for the specified member account. |

### #X-Amz-Target=MacieService.ListMemberAccounts
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.ListMemberAccounts | (Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account. |

### #X-Amz-Target=MacieService.ListS3Resources
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.ListS3Resources | (Discontinued) Lists all the S3 resources associated with Amazon Macie Classic. If memberAccountId isn't specified, the action lists the S3 resources associated with Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action lists the S3 resources associated with Macie Classic for the specified member account. |

### #X-Amz-Target=MacieService.UpdateS3Resources
| Method | Path | Description |
|--------|------|-------------|
| POST | /#X-Amz-Target=MacieService.UpdateS3Resources | (Discontinued) Updates the classification types for the specified S3 resources. If memberAccountId isn't specified, the action updates the classification types of the S3 resources associated with Amazon Macie Classic for the current Macie Classic administrator account. If memberAccountId is specified, the action updates the classification types of the S3 resources associated with Macie Classic for the specified member account. |

## Common Questions

Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Create a #X-Amz-Target=MacieService.AssociateMemberAccount?" -> POST /#X-Amz-Target=MacieService.AssociateMemberAccount
- "Create a #X-Amz-Target=MacieService.AssociateS3Resource?" -> POST /#X-Amz-Target=MacieService.AssociateS3Resources
- "Create a #X-Amz-Target=MacieService.DisassociateMemberAccount?" -> POST /#X-Amz-Target=MacieService.DisassociateMemberAccount
- "Create a #X-Amz-Target=MacieService.DisassociateS3Resource?" -> POST /#X-Amz-Target=MacieService.DisassociateS3Resources
- "Create a #X-Amz-Target=MacieService.ListMemberAccount?" -> POST /#X-Amz-Target=MacieService.ListMemberAccounts
- "Create a #X-Amz-Target=MacieService.ListS3Resource?" -> POST /#X-Amz-Target=MacieService.ListS3Resources
- "Create a #X-Amz-Target=MacieService.UpdateS3Resource?" -> POST /#X-Amz-Target=MacieService.UpdateS3Resources
- "How to authenticate?" -> See Auth section

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints typically return the created/updated object

## CLI

```bash
# Update this spec to the latest version
npx @lap-platform/lapsh get amazon-macie -o references/api-spec.lap

# Search for related APIs
npx @lap-platform/lapsh search amazon-macie
```

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
