Amazon S3 S3 Policystatus API

The S3 Policystatus API from Amazon S3 — 4 operation(s) for s3 policystatus.

GitHub OpenAPI

Operations 4

GET /{Bucket}?policyStatus Get Bucket Policy Status #
GET /v20180820/accesspoint/{Name}/policyStatus Get Access Point Policy Status #
GET /v20180820/accesspointforobjectlambda/{Name}/policyStatus Get Access Point Policy Status For Object Lambda #
GET /v20180820/mrap/instances/{Name+}/policystatus Get Multi Region Access Point Policy Status #

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-s3:amazon-s3-policystatus-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-s3-policystatus-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Storage Service Policystatus API
  version: '2006-03-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Storage Service. 4 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://s3-control.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /{Bucket}?policyStatus:
    get:
      operationId: GetBucketPolicyStatus
      summary: Get Bucket Policy Status
      description: 'This operation is not supported for directory buckets. Retrieves the policy status for an Amazon S3 bucket,
        indicating whether the bucket is public. In order to use this operation, you must have the s3:GetBucketPolicyStatus
        permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy. For more information
        about when Amazon S3 considers a bucket public, see The Meaning of "Public". The following operations are related
        to GetBucketPolicyStatus: Using Amazon S3 Block Public Access GetPublicAccessBlock PutPublicAccessBlock DeletePublicAccessBlock
        You must URL encode any signed header values that contain spaces. For example, if your header value is my file.txt,
        containing two spaces after my, you must URL encode this value to my%20%20file.txt.'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetBucketPolicyStatusOutput'
      parameters:
      - name: Bucket
        in: path
        required: true
        schema:
          type: string
        description: The name of the Amazon S3 bucket whose policy status you want to retrieve.
      - name: x-amz-expected-bucket-owner
        in: header
        schema:
          type: string
        description: The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
          owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
      tags:
      - Policystatus
      servers:
      - url: https://s3.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
  /v20180820/accesspoint/{Name}/policyStatus:
    get:
      operationId: GetAccessPointPolicyStatus
      summary: Get Access Point Policy Status
      description: This operation is not supported by directory buckets. Indicates whether the specified access point currently
        has a policy that allows public access. For more information about public access through access points, see Managing
        Data Access with Amazon S3 access points in the Amazon S3 User Guide.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetAccessPointPolicyStatusResult'
      parameters:
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The account ID for the account that owns the specified access point.
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the access point whose policy status you want to retrieve.
      tags:
      - Policystatus
  /v20180820/accesspointforobjectlambda/{Name}/policyStatus:
    get:
      operationId: GetAccessPointPolicyStatusForObjectLambda
      summary: Get Access Point Policy Status For Object Lambda
      description: This operation is not supported by directory buckets. Returns the status of the resource policy associated
        with an Object Lambda Access Point.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetAccessPointPolicyStatusForObjectLambdaResult'
      parameters:
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The account ID for the account that owns the specified Object Lambda Access Point.
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the Object Lambda Access Point.
      tags:
      - Policystatus
  /v20180820/mrap/instances/{Name+}/policystatus:
    get:
      operationId: GetMultiRegionAccessPointPolicyStatus
      summary: Get Multi Region Access Point Policy Status
      description: 'This operation is not supported by directory buckets. Indicates whether the specified Multi-Region Access
        Point has an access control policy that allows public access. This action will always be routed to the US West (Oregon)
        Region. For more information about the restrictions around working with Multi-Region Access Points, see Multi-Region
        Access Point restrictions and limitations in the Amazon S3 User Guide. The following actions are related to GetMultiRegionAccessPointPolicyStatus:
        GetMultiRegionAccessPointPolicy PutMultiRegionAccessPointPolicy'
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetMultiRegionAccessPointPolicyStatusResult'
      parameters:
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID for the owner of the Multi-Region Access Point.
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: Specifies the Multi-Region Access Point. The name of the Multi-Region Access Point is different from
          the alias. For more information about the distinction between the name and the alias of an Multi-Region Access Point,
          see Rules for naming Amazon S3 Multi-Region Access Points in the Amazon S3 User Guide.
      tags:
      - Policystatus
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: s3
  schemas:
    GetAccessPointPolicyStatusForObjectLambdaResult:
      type: object
      properties:
        PolicyStatus:
          $ref: '#/components/schemas/S3ControlPolicyStatus'
    GetAccessPointPolicyStatusResult:
      type: object
      properties:
        PolicyStatus:
          $ref: '#/components/schemas/S3ControlPolicyStatus'
    GetBucketPolicyStatusOutput:
      type: object
      properties:
        PolicyStatus:
          $ref: '#/components/schemas/PolicyStatus'
    GetMultiRegionAccessPointPolicyStatusResult:
      type: object
      properties:
        Established:
          $ref: '#/components/schemas/S3ControlPolicyStatus'
    PolicyStatus:
      type: object
      properties:
        IsPublic:
          type: boolean
          description: The policy status for this bucket. TRUE indicates that this bucket is public. FALSE indicates that
            the bucket is not public.
    S3ControlPolicyStatus:
      type: object
      properties:
        IsPublic:
          type: boolean
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/s3-control/service/2018-08-20/s3-control-2018-08-20.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/s3-control/service/2018-08-20/s3-control-2018-08-20.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/s3/service/2006-03-01/s3-2006-03-01.json