Get an AWS cloud authentication intake mapping
https://api.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.us3.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.us5.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.datadoghq.eu/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.ap1.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.ap2.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.uk1.datadoghq.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.ddog-gov.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}https://api.us2.ddog-gov.com/api/v2/wif/aws/intake_mapping/{intake_mapping_id}Overview
Get an AWS cloud authentication intake mapping by ID.
Arguments
Path Parameters
intake_mapping_id [required]The ID of the intake mapping
Response
OK
Response containing a single AWS cloud authentication intake mapping.
data [required]Data for AWS cloud authentication intake mapping response.
attributes [required]Attributes for AWS cloud authentication intake mapping response.
arn_pattern [required]AWS caller ARN pattern allowed to authenticate for telemetry submission. ARN syntax and AWS integration membership are validated by the server. For an assumed role, use the STS assumed-role ARN with a trailing /* wildcard to match its sessions.
par_enrollment_enabledWhether the mapping allows Private Action Runner enrollment. This attribute may be omitted when enrollment is disabled. Enrollment permission is managed separately from the ARN pattern.
id [required]Unique identifier for the intake mapping.
type [required]Type identifier for AWS cloud authentication intake mapping.
aws_cloud_auth_intake_mapping{
"data": {
"attributes": {
"arn_pattern": "arn:aws:sts::123456789012:assumed-role/DatadogAgentRole/*",
"par_enrollment_enabled": true
},
"id": "c5c758c6-18c2-4484-ae3f-46b84128404a",
"type": "aws_cloud_auth_intake_mapping"
}
}Forbidden
API error response.
errors [required]A list of errors.
detailA human-readable explanation specific to this occurrence of the error.
metaNon-standard meta-information about the error
sourceReferences to the source of the error.
headerA string indicating the name of a single request header which caused the error.
parameterA string indicating which URI query parameter caused the error.
pointerA JSON pointer to the value in the request document that caused the error.
statusStatus code of the response.
titleShort human-readable summary of the error.
{
"errors": [
{
"detail": "Missing required attribute in body",
"meta": {},
"source": {
"header": "Authorization",
"parameter": "limit",
"pointer": "/data/attributes/title"
},
"status": "400",
"title": "Bad Request"
}
]
}Not Found
API error response.
errors [required]A list of errors.
detailA human-readable explanation specific to this occurrence of the error.
metaNon-standard meta-information about the error
sourceReferences to the source of the error.
headerA string indicating the name of a single request header which caused the error.
parameterA string indicating which URI query parameter caused the error.
pointerA JSON pointer to the value in the request document that caused the error.
statusStatus code of the response.
titleShort human-readable summary of the error.
{
"errors": [
{
"detail": "Missing required attribute in body",
"meta": {},
"source": {
"header": "Authorization",
"parameter": "limit",
"pointer": "/data/attributes/title"
},
"status": "400",
"title": "Bad Request"
}
]
}Too many requests
API error response.
errors [required]A list of errors.
{
"errors": [
"Bad Request"
]
}Code Example
# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"# Path parameters
export intake_mapping_id="d6d869d7-29d3-5595-bf40-57c95235cf5b"
# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"
curl -X GET "https://api.${DD_SITE}/api/v2/wif/aws/intake_mapping/${intake_mapping_id}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"