Amazon Audit Manager Audit Manager Delegations API
The Audit Manager Delegations API from Amazon Audit Manager — 2 operation(s) for audit manager delegations.
The Audit Manager Delegations API from Amazon Audit Manager — 2 operation(s) for audit manager delegations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-audit-manager:amazon-audit-manager-delegations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AWS Audit Manager Delegations API
version: '2017-07-25'
description: Generated from AWS's published Smithy model for AWS Audit Manager. 3 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://auditmanager.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
tags:
- name: Delegations
paths:
/assessments/{assessmentId}/delegations:
post:
operationId: BatchCreateDelegationByAssessment
summary: Batch Create Delegation By Assessment
description: Creates a batch of delegations for an assessment in Audit Manager.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/BatchCreateDelegationByAssessmentResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BatchCreateDelegationByAssessmentRequest'
tags:
- Delegations
put:
operationId: BatchDeleteDelegationByAssessment
summary: Batch Delete Delegation By Assessment
description: Deletes a batch of delegations for an assessment in Audit Manager.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/BatchDeleteDelegationByAssessmentResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BatchDeleteDelegationByAssessmentRequest'
tags:
- Delegations
/delegations:
get:
operationId: GetDelegations
summary: Get Delegations
description: Gets a list of delegations from an audit owner to a delegate.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetDelegationsResponse'
'403':
description: AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GetDelegationsRequest'
tags:
- Delegations
components:
schemas:
Delegation:
type: object
properties:
id:
type: string
description: The unique identifier for the delegation.
assessmentName:
type: string
description: The name of the assessment that's associated with the delegation.
assessmentId:
type: string
description: The identifier for the assessment that's associated with the delegation.
status:
type: string
enum:
- IN_PROGRESS
- UNDER_REVIEW
- COMPLETE
description: The status of the delegation.
roleArn:
type: string
description: The Amazon Resource Name (ARN) of the IAM role.
roleType:
type: string
enum:
- PROCESS_OWNER
- RESOURCE_OWNER
description: The type of customer persona. In CreateAssessment, roleType can only be PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
creationTime:
type: string
format: date-time
description: Specifies when the delegation was created.
lastUpdated:
type: string
format: date-time
description: Specifies when the delegation was last updated.
controlSetId:
type: string
description: The identifier for the control set that's associated with the delegation.
comment:
type: string
description: The comment that's related to the delegation.
createdBy:
type: string
description: The user or role that created the delegation.
BatchDeleteDelegationByAssessmentRequest:
type: object
properties:
delegationIds:
type: array
items:
type: string
description: The identifiers for the delegations.
assessmentId:
type: string
description: The identifier for the assessment.
required:
- delegationIds
- assessmentId
BatchDeleteDelegationByAssessmentResponse:
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/BatchDeleteDelegationByAssessmentError'
description: A list of errors that the BatchDeleteDelegationByAssessment API returned.
InternalServerException:
type: object
properties:
message:
type: string
required:
- message
AccessDeniedException:
type: object
properties:
message:
type: string
required:
- message
GetDelegationsResponse:
type: object
properties:
delegations:
type: array
items:
$ref: '#/components/schemas/DelegationMetadata'
description: The list of delegations that the GetDelegations API returned.
nextToken:
type: string
description: The pagination token that's used to fetch the next set of results.
BatchCreateDelegationByAssessmentResponse:
type: object
properties:
delegations:
type: array
items:
$ref: '#/components/schemas/Delegation'
description: The delegations that are associated with the assessment.
errors:
type: array
items:
$ref: '#/components/schemas/BatchCreateDelegationByAssessmentError'
description: A list of errors that the BatchCreateDelegationByAssessment API returned.
GetDelegationsRequest:
type: object
properties:
nextToken:
type: string
description: The pagination token that's used to fetch the next set of results.
maxResults:
type: integer
description: Represents the maximum number of results on a page or for an API request call.
ValidationExceptionField:
type: object
properties:
name:
type: string
description: The name of the validation error.
message:
type: string
description: The body of the error message.
required:
- name
- message
BatchCreateDelegationByAssessmentRequest:
type: object
properties:
createDelegationRequests:
type: array
items:
$ref: '#/components/schemas/CreateDelegationRequest'
description: The API request to batch create delegations in Audit Manager.
assessmentId:
type: string
description: The identifier for the assessment.
required:
- createDelegationRequests
- assessmentId
DelegationMetadata:
type: object
properties:
id:
type: string
description: The unique identifier for the delegation.
assessmentName:
type: string
description: The name of the associated assessment.
assessmentId:
type: string
description: The unique identifier for the assessment.
status:
type: string
enum:
- IN_PROGRESS
- UNDER_REVIEW
- COMPLETE
description: The current status of the delegation.
roleArn:
type: string
description: The Amazon Resource Name (ARN) of the IAM role.
creationTime:
type: string
format: date-time
description: Specifies when the delegation was created.
controlSetName:
type: string
description: Specifies the name of the control set that was delegated for review.
BatchDeleteDelegationByAssessmentError:
type: object
properties:
delegationId:
type: string
description: The identifier for the delegation.
errorCode:
type: string
description: The error code that the BatchDeleteDelegationByAssessment API returned.
errorMessage:
type: string
description: The error message that the BatchDeleteDelegationByAssessment API returned.
ResourceNotFoundException:
type: object
properties:
message:
type: string
resourceId:
type: string
description: The unique identifier for the resource.
resourceType:
type: string
description: The type of resource that's affected by the error.
required:
- message
- resourceId
- resourceType
CreateDelegationRequest:
type: object
properties:
comment:
type: string
description: A comment that's related to the delegation request.
controlSetId:
type: string
description: The unique identifier for the control set.
roleArn:
type: string
description: The Amazon Resource Name (ARN) of the IAM role.
roleType:
type: string
enum:
- PROCESS_OWNER
- RESOURCE_OWNER
description: The type of customer persona. In CreateAssessment, roleType can only be PROCESS_OWNER. In UpdateSettings, roleType can only be PROCESS_OWNER. In BatchCreateDelegationByAssessment, roleType can only be RESOURCE_OWNER.
BatchCreateDelegationByAssessmentError:
type: object
properties:
createDelegationRequest:
$ref: '#/components/schemas/CreateDelegationRequest'
errorCode:
type: string
description: The error code that the BatchCreateDelegationByAssessment API returned.
errorMessage:
type: string
description: The error message that the BatchCreateDelegationByAssessment API returned.
ValidationException:
type: object
properties:
message:
type: string
reason:
type: string
enum:
- unknownOperation
- cannotParse
- fieldValidationFailed
- other
description: The reason the request failed validation.
fields:
type: array
items:
$ref: '#/components/schemas/ValidationExceptionField'
description: The fields that caused the error, if applicable.
required:
- message
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: auditmanager
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/auditmanager/service/2017-07-25/auditmanager-2017-07-25.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)