Amazon DataZone Datazone Designations API
The Datazone Designations API from Amazon DataZone — 2 operation(s) for datazone designations.
The Datazone Designations API from Amazon DataZone — 2 operation(s) for datazone designations.
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-datazone:amazon-datazone-designations-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon DataZone Designations API
version: '2018-05-10'
description: Generated from AWS's published Smithy model for Amazon DataZone. 5 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://datazone.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/v2/domains/{domainIdentifier}/designations:
post:
operationId: CreateDesignation
summary: Create Designation
description: Creates a new user-defined designation with a Cedar permit policy. The designation defines a named role
that can be assigned to project members through CreateProjectMembership or granted through AddPolicyGrant.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/CreateDesignationOutput'
'403':
description: AccessDeniedException; AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'402':
description: ServiceQuotaExceededException
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'429':
description: ThrottlingException; ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
'401':
description: UnauthorizedException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedException'
parameters:
- name: domainIdentifier
in: path
required: true
schema:
type: string
description: The identifier of the Amazon DataZone domain in which the designation is created.
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: The name of the designation. The name must be unique within the domain.
description:
type: string
description: A human-readable description of the designation and its intended use.
policy:
type: string
description: The Cedar permit policy that defines the actions holders of this designation are allowed to
perform.
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. Defaults to true when
omitted. When enabled, DeleteDesignation is rejected until protection is disabled through UpdateDesignation.
required:
- name
- policy
tags:
- Designations
get:
operationId: ListDesignations
summary: List Designations
description: Lists the designations in a domain. The response returns system-managed designations first, followed by
user-created designations in alphabetical order by name. Results are paginated. Use nextToken to retrieve additional
pages of results.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ListDesignationsOutput'
'403':
description: AccessDeniedException; 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'
'429':
description: ThrottlingException; ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
'401':
description: UnauthorizedException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedException'
parameters:
- name: domainIdentifier
in: path
required: true
schema:
type: string
description: The identifier of the Amazon DataZone domain that contains the designations to list.
- name: nextToken
in: query
schema:
type: string
description: If the results exceed the value of MaxResults, the previous call returns a pagination token. Specify
this token in a subsequent call to ListDesignations to retrieve the next set of results. If not specified, the operation
returns the first page of results.
- name: maxResults
in: query
schema:
type: integer
description: The maximum number of designations to return in a single call to ListDesignations. If the number of designations
exceeds MaxResults, the response includes a NextToken value. Use that token in a subsequent call to ListDesignations
to retrieve the next set of designations. The default value is 20.
tags:
- Designations
/v2/domains/{domainIdentifier}/designations/{identifier}:
delete:
operationId: DeleteDesignation
summary: Delete Designation
description: Deletes a user-created designation. Managed designations cannot be deleted. The call fails if the designation
has deletionProtection enabled or if any project member still holds it. This operation is idempotent.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteDesignationOutput'
'403':
description: AccessDeniedException; AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException; ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
'401':
description: UnauthorizedException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedException'
parameters:
- name: domainIdentifier
in: path
required: true
schema:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation to delete.
- name: identifier
in: path
required: true
schema:
type: string
description: The unique ID of the designation to delete.
tags:
- Designations
get:
operationId: GetDesignation
summary: Get Designation
description: Gets the details of a designation, including its Cedar permit policy. Returns the full designation record
for both system-managed and user-created designations.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/GetDesignationOutput'
'403':
description: AccessDeniedException; 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'
'429':
description: ThrottlingException; ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
'401':
description: UnauthorizedException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedException'
parameters:
- name: domainIdentifier
in: path
required: true
schema:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation.
- name: identifier
in: path
required: true
schema:
type: string
description: The unique ID of the designation to retrieve.
tags:
- Designations
patch:
operationId: UpdateDesignation
summary: Update Designation
description: Updates an existing user-created designation. Managed designations cannot be modified. Omit a field to
leave its current value unchanged.
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateDesignationOutput'
'403':
description: AccessDeniedException; AccessDeniedException
content:
application/json:
schema:
$ref: '#/components/schemas/AccessDeniedException'
'409':
description: ConflictException
content:
application/json:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/json:
schema:
$ref: '#/components/schemas/ResourceNotFoundException'
'429':
description: ThrottlingException; ThrottlingException
content:
application/json:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationException'
'401':
description: UnauthorizedException
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedException'
parameters:
- name: domainIdentifier
in: path
required: true
schema:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation to update.
- name: identifier
in: path
required: true
schema:
type: string
description: The unique ID of the designation to update.
requestBody:
content:
application/json:
schema:
type: object
properties:
name:
type: string
description: The updated name of the designation. The name must be unique within the domain.
description:
type: string
description: The updated human-readable description of the designation and its intended use.
policy:
type: string
description: The updated Cedar permit policy. Omit to keep the existing policy.
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. Omit to keep the existing
value.
tags:
- Designations
components:
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: datazone
schemas:
AccessDeniedException:
type: object
properties:
message:
type: string
required:
- message
ConflictException:
type: object
properties:
message:
type: string
required:
- message
CreateDesignationOutput:
type: object
properties:
domainId:
type: string
description: The identifier of the Amazon DataZone domain in which the designation was created.
id:
type: string
description: The unique ID of the designation.
name:
type: string
description: The name of the designation. The name is unique within the domain.
description:
type: string
description: A human-readable description of the designation and its intended use.
designationType:
type: string
enum:
- MANAGED
- USER_CREATED
description: 'The classification of this designation. Valid values: MANAGED — System-defined designations that cannot
be modified or deleted. USER_CREATED — Designations created through CreateDesignation.'
policy:
type: string
description: The Cedar permit policy that governs the actions holders of this designation are allowed to perform.
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. When true, DeleteDesignation
is rejected until protection is disabled through UpdateDesignation.
createdBy:
type: string
description: The identifier of the Amazon DataZone user who created the designation.
createdAt:
type: string
description: The date and time when the designation was created.
lastUpdatedAt:
type: string
description: The date and time when the designation was last updated.
required:
- domainId
- id
- name
- designationType
- policy
- deletionProtection
- createdBy
DeleteDesignationOutput:
type: object
properties: {}
DesignationSummary:
type: object
properties:
domainId:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation.
id:
type: string
description: The unique ID of the designation.
name:
type: string
description: The name of the designation. The name is unique within the domain.
description:
type: string
description: A human-readable description of the designation and its intended use.
designationType:
type: string
enum:
- MANAGED
- USER_CREATED
description: 'The classification of this designation. Valid values: MANAGED — System-defined designation. USER_CREATED
— User-created designation.'
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. When true, DeleteDesignation
is rejected until protection is disabled through UpdateDesignation.
createdBy:
type: string
description: The identifier of the Amazon DataZone user who created the designation.
createdAt:
type: string
description: The date and time when the designation was created.
updatedAt:
type: string
description: The date and time when the designation was last updated.
required:
- domainId
- id
- name
- deletionProtection
- createdBy
GetDesignationOutput:
type: object
properties:
domainId:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation.
id:
type: string
description: The unique ID of the designation.
name:
type: string
description: The name of the designation. The name is unique within the domain.
description:
type: string
description: A human-readable description of the designation and its intended use.
designationType:
type: string
enum:
- MANAGED
- USER_CREATED
description: 'The classification of this designation. Valid values: MANAGED — System-defined designations that cannot
be modified or deleted. USER_CREATED — Designations created through CreateDesignation.'
policy:
type: string
description: The Cedar permit policy that governs the actions holders of this designation are allowed to perform.
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. When true, DeleteDesignation
is rejected until protection is disabled through UpdateDesignation.
createdBy:
type: string
description: The identifier of the Amazon DataZone user who created the designation.
createdAt:
type: string
description: The date and time when the designation was created.
lastUpdatedAt:
type: string
description: The date and time when the designation was last updated.
required:
- domainId
- id
- name
- designationType
- policy
- deletionProtection
- createdBy
InternalServerException:
type: object
properties:
message:
type: string
required:
- message
ListDesignationsOutput:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/DesignationSummary'
description: The designation summaries that ListDesignations returned. Each item contains summary information about
a designation in the domain.
nextToken:
type: string
description: A pagination token that indicates that more results are available. Pass this token to a subsequent
call to ListDesignations to retrieve the next page of results. If there are no more results, this value is null.
ResourceNotFoundException:
type: object
properties:
message:
type: string
required:
- message
ServiceQuotaExceededException:
type: object
properties:
message:
type: string
required:
- message
ThrottlingException:
type: object
properties:
message:
type: string
required:
- message
UnauthorizedException:
type: object
properties:
message:
type: string
required:
- message
UpdateDesignationOutput:
type: object
properties:
domainId:
type: string
description: The identifier of the Amazon DataZone domain that contains the designation.
id:
type: string
description: The unique ID of the designation.
name:
type: string
description: The name of the designation. The name is unique within the domain.
description:
type: string
description: A human-readable description of the designation and its intended use.
designationType:
type: string
enum:
- MANAGED
- USER_CREATED
description: 'The classification of this designation. Valid values: MANAGED — System-defined designations that cannot
be modified or deleted. USER_CREATED — Designations created through CreateDesignation.'
policy:
type: string
description: The Cedar permit policy that governs the actions holders of this designation are allowed to perform.
deletionProtection:
type: boolean
description: Specifies whether deletion protection is enabled for this designation. When true, DeleteDesignation
is rejected until protection is disabled through UpdateDesignation.
createdBy:
type: string
description: The identifier of the Amazon DataZone user who created the designation.
createdAt:
type: string
description: The date and time when the designation was created.
lastUpdatedAt:
type: string
description: The date and time when the designation was last updated.
required:
- domainId
- id
- name
- designationType
- policy
- deletionProtection
- createdBy
ValidationException:
type: object
properties:
message:
type: string
required:
- message
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/datazone/service/2018-05-10/datazone-2018-05-10.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)