Amazon IoT SiteWise Access Policies API

The Access Policies API from Amazon IoT SiteWise — 2 operation(s) for access policies.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 5

POST /access-policies Create Access Policy #
GET /access-policies List Access Policies #
DELETE /access-policies/{accessPolicyId} Delete Access Policy #
GET /access-policies/{accessPolicyId} Describe Access Policy #
PUT /access-policies/{accessPolicyId} Update Access Policy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-iot-sitewise:amazon-iot-sitewise-access-policies-api"
All apis
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.

Get an API 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 Specification

amazon-iot-sitewise-access-policies-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT SiteWise Access Policies API
  version: '2019-12-02'
  description: Generated from AWS's published Smithy model for AWS IoT SiteWise. 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://iotsitewise.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /access-policies:
    post:
      operationId: CreateAccessPolicy
      summary: Create Access Policy
      description: The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If
        you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue
        to use the service as normal. For more information, see IoT SiteWise Monitor availability change. Creates an access
        policy that grants the specified identity (IAM Identity Center user, IAM Identity Center group, or IAM user) access
        to the specified IoT SiteWise Monitor portal or project resource. Support for access policies that use an SSO Group
        as the identity is not supported at this time.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAccessPolicyResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '410':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                accessPolicyIdentity:
                  $ref: '#/components/schemas/Identity'
                accessPolicyResource:
                  $ref: '#/components/schemas/Resource'
                accessPolicyPermission:
                  type: string
                  enum:
                  - ADMINISTRATOR
                  - VIEWER
                  description: The permission level for this access policy. Note that a project ADMINISTRATOR is also known
                    as a project owner.
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A list of key-value pairs that contain metadata for the access policy. For more information,
                    see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
              required:
              - accessPolicyIdentity
              - accessPolicyResource
              - accessPolicyPermission
      tags:
      - Access Policies
    get:
      operationId: ListAccessPolicies
      summary: List Access Policies
      description: Retrieves a paginated list of access policies for an identity (an IAM Identity Center user, an IAM Identity
        Center group, or an IAM user) or an IoT SiteWise Monitor resource (a portal or project).
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAccessPoliciesResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: identityType
        in: query
        schema:
          type: string
          enum:
          - USER
          - GROUP
          - IAM
        description: The type of identity (IAM Identity Center user, IAM Identity Center group, or IAM user). This parameter
          is required if you specify identityId.
      - name: identityId
        in: query
        schema:
          type: string
        description: The ID of the identity. This parameter is required if you specify USER or GROUP for identityType.
      - name: resourceType
        in: query
        schema:
          type: string
          enum:
          - PORTAL
          - PROJECT
        description: The type of resource (portal or project). This parameter is required if you specify resourceId.
      - name: resourceId
        in: query
        schema:
          type: string
        description: The ID of the resource. This parameter is required if you specify resourceType.
      - name: iamArn
        in: query
        schema:
          type: string
        description: The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. This parameter is
          required if you specify IAM for identityType.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token to be used for the next set of paginated results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: 'The maximum number of results to return for each paginated request. Default: 50'
      tags:
      - Access Policies
  /access-policies/{accessPolicyId}:
    delete:
      operationId: DeleteAccessPolicy
      summary: Delete Access Policy
      description: Deletes an access policy that grants the specified identity access to the specified IoT SiteWise Monitor
        resource. You can use this operation to revoke access to an IoT SiteWise Monitor resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAccessPolicyResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: accessPolicyId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the access policy to be deleted.
      - name: clientToken
        in: query
        schema:
          type: string
        description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't
          reuse this client token if a new idempotent request is required.
      tags:
      - Access Policies
    get:
      operationId: DescribeAccessPolicy
      summary: Describe Access Policy
      description: Describes an access policy, which specifies an identity's access to an IoT SiteWise Monitor portal or project.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeAccessPolicyResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: accessPolicyId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the access policy.
      tags:
      - Access Policies
    put:
      operationId: UpdateAccessPolicy
      summary: Update Access Policy
      description: The IoT SiteWise Monitor feature will no longer be open to new customers starting November 7, 2025. If
        you would like to use the IoT SiteWise Monitor feature, sign up prior to that date. Existing customers can continue
        to use the service as normal. For more information, see IoT SiteWise Monitor availability change. Updates an existing
        access policy that specifies an identity's access to an IoT SiteWise Monitor portal or project resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateAccessPolicyResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
      parameters:
      - name: accessPolicyId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the access policy.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                accessPolicyIdentity:
                  $ref: '#/components/schemas/Identity'
                accessPolicyResource:
                  $ref: '#/components/schemas/Resource'
                accessPolicyPermission:
                  type: string
                  enum:
                  - ADMINISTRATOR
                  - VIEWER
                  description: The permission level for this access policy. Note that a project ADMINISTRATOR is also known
                    as a project owner.
                clientToken:
                  type: string
                  description: A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.
                    Don't reuse this client token if a new idempotent request is required.
              required:
              - accessPolicyIdentity
              - accessPolicyResource
              - accessPolicyPermission
      tags:
      - Access Policies
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: iotsitewise
  schemas:
    AccessPolicySummary:
      type: object
      properties:
        id:
          type: string
          description: The ID of the access policy.
        identity:
          $ref: '#/components/schemas/Identity'
        resource:
          $ref: '#/components/schemas/Resource'
        permission:
          type: string
          enum:
          - ADMINISTRATOR
          - VIEWER
          description: The permissions for the access policy. Note that a project ADMINISTRATOR is also known as a project
            owner.
        creationDate:
          type: string
          format: date-time
          description: The date the access policy was created, in Unix epoch time.
        lastUpdateDate:
          type: string
          format: date-time
          description: The date the access policy was last updated, in Unix epoch time.
      required:
      - id
      - identity
      - resource
      - permission
    CreateAccessPolicyResponse:
      type: object
      properties:
        accessPolicyId:
          type: string
          description: The ID of the access policy.
        accessPolicyArn:
          type: string
          description: The ARN of the access policy, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
      required:
      - accessPolicyId
      - accessPolicyArn
    DeleteAccessPolicyResponse:
      type: object
      properties: {}
    DescribeAccessPolicyResponse:
      type: object
      properties:
        accessPolicyId:
          type: string
          description: The ID of the access policy.
        accessPolicyArn:
          type: string
          description: The ARN of the access policy, which has the following format. arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
        accessPolicyIdentity:
          $ref: '#/components/schemas/Identity'
        accessPolicyResource:
          $ref: '#/components/schemas/Resource'
        accessPolicyPermission:
          type: string
          enum:
          - ADMINISTRATOR
          - VIEWER
          description: The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.
        accessPolicyCreationDate:
          type: string
          format: date-time
          description: The date the access policy was created, in Unix epoch time.
        accessPolicyLastUpdateDate:
          type: string
          format: date-time
          description: The date the access policy was last updated, in Unix epoch time.
      required:
      - accessPolicyId
      - accessPolicyArn
      - accessPolicyIdentity
      - accessPolicyResource
      - accessPolicyPermission
      - accessPolicyCreationDate
      - accessPolicyLastUpdateDate
    GroupIdentity:
      type: object
      properties:
        id:
          type: string
          description: The IAM Identity Center ID of the group.
      required:
      - id
    IAMRoleIdentity:
      type: object
      properties:
        arn:
          type: string
          description: The ARN of the IAM role. For more information, see IAM ARNs in the IAM User Guide.
      required:
      - arn
    IAMUserIdentity:
      type: object
      properties:
        arn:
          type: string
          description: The ARN of the IAM user. For more information, see IAM ARNs in the IAM User Guide. If you delete the
            IAM user, access policies that contain this identity include an empty arn. You can delete the access policy for
            the IAM user that no longer exists.
      required:
      - arn
    Identity:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/UserIdentity'
        group:
          $ref: '#/components/schemas/GroupIdentity'
        iamUser:
          $ref: '#/components/schemas/IAMUserIdentity'
        iamRole:
          $ref: '#/components/schemas/IAMRoleIdentity'
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    LimitExceededException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ListAccessPoliciesResponse:
      type: object
      properties:
        accessPolicySummaries:
          type: array
          items:
            $ref: '#/components/schemas/AccessPolicySummary'
          description: A list that summarizes each access policy.
        nextToken:
          type: string
          description: The token for the next set of results, or null if there are no additional results.
      required:
      - accessPolicySummaries
    PortalResource:
      type: object
      properties:
        id:
          type: string
          description: The ID of the portal.
      required:
      - id
    ProjectResource:
      type: object
      properties:
        id:
          type: string
          description: The ID of the project.
      required:
      - id
    Resource:
      type: object
      properties:
        portal:
          $ref: '#/components/schemas/PortalResource'
        project:
          $ref: '#/components/schemas/ProjectResource'
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    UpdateAccessPolicyResponse:
      type: object
      properties: {}
    UserIdentity:
      type: object
      properties:
        id:
          type: string
          description: The IAM Identity Center ID of the user.
      required:
      - id
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iotsitewise/service/2019-12-02/iotsitewise-2019-12-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)