Amazon Macie
amazonaws · Cloud
Amazon Macie Classic Amazon Macie Classic has been discontinued and is no longer available. A new Amazon Macie is now available with significant design improvements and additional features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie . T
Authentication
Sample Requests
(Discontinued) Lists all Amazon Macie Classic member accounts for the current Macie Classic administrator account.
Hover any highlighted part to learn what it does
| X-Amz-Target | MacieService.ListMemberAccounts |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts?nextToken=example&maxResults=example" \ -H "X-Amz-Target: MacieService.ListMemberAccounts"
import requests
params = {
"nextToken": "example",
"maxResults": "example"
}
headers = {
"X-Amz-Target": "MacieService.ListMemberAccounts"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'MacieService.ListMemberAccounts'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "MacieService.ListMemberAccounts")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts")
uri.query = URI.encode_www_form({
"nextToken" => "example",
"maxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "MacieService.ListMemberAccounts"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListMemberAccounts?" . http_build_query([
"nextToken" => "example",
"maxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: MacieService.ListMemberAccounts"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));(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 acti
Hover any highlighted part to learn what it does
| X-Amz-Target | MacieService.ListS3Resources |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources?nextToken=example&maxResults=example" \ -H "X-Amz-Target: MacieService.ListS3Resources"
import requests
params = {
"nextToken": "example",
"maxResults": "example"
}
headers = {
"X-Amz-Target": "MacieService.ListS3Resources"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources');
url.searchParams.set('nextToken', 'example');
url.searchParams.set('maxResults', 'example');
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'MacieService.ListS3Resources'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources")
q := baseURL.Query()
q.Set("nextToken", "example")
q.Set("maxResults", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "MacieService.ListS3Resources")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources")
uri.query = URI.encode_www_form({
"nextToken" => "example",
"maxResults" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "MacieService.ListS3Resources"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.ListS3Resources?" . http_build_query([
"nextToken" => "example",
"maxResults" => "example"
]);
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: MacieService.ListS3Resources"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));(Discontinued) Associates a specified Amazon Web Services account with Amazon Macie Classic as a member account.
Hover any highlighted part to learn what it does
| X-Amz-Target | MacieService.AssociateMemberAccount |
curl -X POST "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount" \ -H "X-Amz-Target: MacieService.AssociateMemberAccount"
import requests
headers = {
"X-Amz-Target": "MacieService.AssociateMemberAccount"
}
response = requests.post(
"https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount",
headers=headers,
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount';
const response = await fetch(url, {
method: 'POST',
headers: {
'X-Amz-Target': 'MacieService.AssociateMemberAccount'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount"
req, _ := http.NewRequest("POST", targetURL, nil)
req.Header.Set("X-Amz-Target", "MacieService.AssociateMemberAccount")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["X-Amz-Target"] = "MacieService.AssociateMemberAccount"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/amazonaws.com/macie/2017-12-19/#X-Amz-Target=MacieService.AssociateMemberAccount";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"X-Amz-Target: MacieService.AssociateMemberAccount"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Amazon Macie?
Amazon Macie is a Cloud API. Developers commonly use cloud APIs for:
- provisioning and managing cloud infrastructure
- automating deployments and container orchestration
- monitoring uptime and performance metrics
- managing storage buckets and databases
- setting up auto-scaling and load balancing
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Amazon Macie is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?