AWS Glue AWS Glue #X Amz Target=AWSGlue.GetResourcePolicies API

The AWS Glue #X Amz Target=AWSGlue.GetResourcePolicies API API from AWS Glue — 1 operation(s) for aws glue #x amz target=awsglue.getresourcepolicies api.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 1

POST /#GetResourcePolicies Get Resource Policies #

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/aws-glue:aws-glue-aws-glue-x-amz-target-awsglue-getresourcepolicies-api-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

aws-glue-aws-glue-x-amz-target-awsglue-getresourcepolicies-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Glue Aws Glue X Amz Target Awsglue Getresourcepolicies Api API
  version: '2017-03-31'
  description: Generated from AWS's published Smithy model for AWS Glue. 1 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://glue.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#GetResourcePolicies:
    post:
      operationId: GetResourcePolicies
      summary: Get Resource Policies
      description: Retrieves the resource policies set on individual resources by Resource Access Manager during cross-account
        permission grants. Also retrieves the Data Catalog resource policy. If you enabled metadata encryption in Data Catalog
        settings, and you do not have permission on the KMS key, the operation can't return the Data Catalog resource policy.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GetResourcePoliciesResponse'
        '400':
          description: GlueEncryptionException; InvalidInputException; OperationTimeoutException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/GlueEncryptionException'
        '500':
          description: InternalServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InternalServiceException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSGlue.GetResourcePolicies
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/GetResourcePoliciesRequest'
      tags:
      - Aws Glue X Amz Target Awsglue Getresourcepolicies Api
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: glue
  schemas:
    GetResourcePoliciesRequest:
      type: object
      properties:
        NextToken:
          type: string
          description: A continuation token, if this is a continuation request.
        MaxResults:
          type: integer
          description: The maximum size of a list to return.
    GetResourcePoliciesResponse:
      type: object
      properties:
        GetResourcePoliciesResponseList:
          type: array
          items:
            $ref: '#/components/schemas/GluePolicy'
          description: A list of the individual resource policies and the account-level resource policy.
        NextToken:
          type: string
          description: A continuation token, if the returned list does not contain the last resource policy available.
    GlueEncryptionException:
      type: object
      properties:
        Message:
          type: string
          description: The message describing the problem.
    GluePolicy:
      type: object
      properties:
        PolicyInJson:
          type: string
          description: Contains the requested policy document, in JSON format.
        PolicyHash:
          type: string
          description: Contains the hash value associated with this policy.
        CreateTime:
          type: string
          format: date-time
          description: The date and time at which the policy was created.
        UpdateTime:
          type: string
          format: date-time
          description: The date and time at which the policy was last updated.
    InternalServiceException:
      type: object
      properties:
        Message:
          type: string
          description: A message describing the problem.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/glue/service/2017-03-31/glue-2017-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)