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-inventory-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: 3.1.0
info:
title: Amazon Simple Storage Service Inventory 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.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/{Bucket}?inventory:
delete:
operationId: DeleteBucketInventoryConfiguration
summary: Delete Bucket Inventory Configuration
description: Deletes an S3 Inventory configuration (identified by the inventory ID) from the bucket. Directory buckets
- For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support
path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style
requests aren't supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints
for directory buckets in Availability Zones in the Amazon S3 User Guide. For more information about endpoints in Local
Zones, see Concepts for directory buckets in Local Zones in the Amazon S3 User Guide. Permissions To use this operation,
you must have permissions to perform the s3:PutInventoryConfiguration action. The bucket owner has this permission
by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions
Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources. General purpose
bucket permissions - The s3:PutInventoryConfiguration permission is required in a policy. For more information about
general purpose buck
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
parameters:
- name: Bucket
in: path
required: true
schema:
type: string
description: The name of the bucket containing the inventory configuration to delete. Directory buckets - When you
use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability
Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
For information about bucket naming restrictions, see Directory bucket naming
- name: id
in: query
required: true
schema:
type: string
description: The ID used to identify the inventory configuration.
- 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). For directory buckets,
this header is not supported in this API operation. If you specify this header, the request fails with the HTTP
status code 501 Not Implemented.
tags:
- Inventory
put:
operationId: PutBucketInventoryConfiguration
summary: Put Bucket Inventory Configuration
description: This implementation of the PUT action adds an S3 Inventory configuration (identified by the inventory ID)
to the bucket. You can have up to 1,000 inventory configurations per bucket. Amazon S3 inventory generates inventories
of the objects in the bucket on a daily or weekly basis, and the results are published to a flat file. The bucket
that is inventoried is called the source bucket, and the bucket where the inventory flat file is stored is called
the destination bucket. The destination bucket must be in the same Amazon Web Services Region as the source bucket.
When you configure an inventory for a source bucket, you specify the destination bucket where you want the inventory
to be stored, and whether to generate the inventory daily or weekly. You can also configure what object metadata to
include and whether to inventory all object versions or only current versions. For more information, see Amazon S3
Inventory in the Amazon S3 User Guide. You must create a bucket policy on the destination bucket to grant permissions
to Amazon S3 to write objects to the bucket in the defined location. For an example policy, see Granting Permissions
for Amazon S3 Inventory and Storage Class Analys
responses:
'200':
description: Success
content:
text/xml:
schema:
type: string
parameters:
- name: Bucket
in: path
required: true
schema:
type: string
description: The name of the bucket where the inventory configuration will be stored. Directory buckets - When you
use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability
Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
For information about bucket naming restrictions, see Directory bucket naming
- name: id
in: query
required: true
schema:
type: string
description: The ID used to identify the inventory configuration.
- 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). For directory buckets,
this header is not supported in this API operation. If you specify this header, the request fails with the HTTP
status code 501 Not Implemented.
requestBody:
content:
application/xml:
schema:
$ref: '#/components/schemas/InventoryConfiguration'
tags:
- Inventory
/{Bucket}?inventory&x-id=GetBucketInventoryConfiguration:
get:
operationId: GetBucketInventoryConfiguration
summary: Get Bucket Inventory Configuration
description: Returns an S3 Inventory configuration (identified by the inventory configuration ID) from the bucket. Directory
buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints
support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style
requests aren't supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints
for directory buckets in Availability Zones in the Amazon S3 User Guide. For more information about endpoints in Local
Zones, see Concepts for directory buckets in Local Zones in the Amazon S3 User Guide. Permissions To use this operation,
you must have permissions to perform the s3:GetInventoryConfiguration action. The bucket owner has this permission
by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions
Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources. General purpose
bucket permissions - The s3:GetInventoryConfiguration permission is required in a policy. For more information about
genera
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/GetBucketInventoryConfigurationOutput'
parameters:
- name: Bucket
in: path
required: true
schema:
type: string
description: The name of the bucket containing the inventory configuration to retrieve. Directory buckets - When you
use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability
Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
For information about bucket naming restrictions, see Directory bucket nami
- name: id
in: query
required: true
schema:
type: string
description: The ID used to identify the inventory configuration.
- 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). For directory buckets,
this header is not supported in this API operation. If you specify this header, the request fails with the HTTP
status code 501 Not Implemented.
tags:
- Inventory
/{Bucket}?inventory&x-id=ListBucketInventoryConfigurations:
get:
operationId: ListBucketInventoryConfigurations
summary: List Bucket Inventory Configurations
description: Returns a list of S3 Inventory configurations for the bucket. You can have up to 1,000 inventory configurations
per bucket. This action supports list pagination and does not return more than 100 configurations at a time. Always
check the IsTruncated element in the response. If there are no more configurations to list, IsTruncated is set to
false. If there are more configurations to list, IsTruncated is set to true, and there is a value in NextContinuationToken.
You use the NextContinuationToken value to continue the pagination of the list by passing the value in continuation-token
in the request to GET the next page. Directory buckets - For directory buckets, you must make requests for this API
operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see
Regional and Zonal endpoints for directory buckets in Availability Zones in the Amazon S3 User Guide. For more information
about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the Amazon S3 Us
responses:
'200':
description: Success
content:
text/xml:
schema:
$ref: '#/components/schemas/ListBucketInventoryConfigurationsOutput'
parameters:
- name: Bucket
in: path
required: true
schema:
type: string
description: The name of the bucket containing the inventory configurations to retrieve. Directory buckets - When
you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Zone (Availability
Zone or Local Zone). Bucket names must also follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3).
For information about bucket naming restrictions, see Directory bucket nam
- name: continuation-token
in: query
schema:
type: string
description: The marker used to continue an inventory configuration listing that has been truncated. Use the NextContinuationToken
from a previously truncated list response to continue the listing. The continuation token is an opaque value that
Amazon S3 understands.
- 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). For directory buckets,
this header is not supported in this API operation. If you specify this header, the request fails with the HTTP
status code 501 Not Implemented.
tags:
- Inventory
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:
GetBucketInventoryConfigurationOutput:
type: object
properties:
InventoryConfiguration:
$ref: '#/components/schemas/InventoryConfiguration'
InventoryConfiguration:
type: object
properties:
Destination:
$ref: '#/components/schemas/InventoryDestination'
IsEnabled:
type: boolean
description: Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is generated.
If set to False, no inventory list is generated.
Filter:
$ref: '#/components/schemas/InventoryFilter'
Id:
type: string
description: The ID used to identify the inventory configuration.
IncludedObjectVersions:
type: string
enum:
- All
- Current
description: Object versions to include in the inventory list. If set to All, the list includes all the object versions,
which adds the version-related fields VersionId, IsLatest, and DeleteMarker to the list. If set to Current, the
list does not contain these version-related fields.
OptionalFields:
type: array
items:
type: string
enum:
- Size
- LastModifiedDate
- StorageClass
- ETag
- IsMultipartUploaded
- ReplicationStatus
- EncryptionStatus
- ObjectLockRetainUntilDate
- ObjectLockMode
- ObjectLockLegalHoldStatus
- ObjectLockEventHoldStatus
- ObjectLockEventHoldDuration
- IntelligentTieringAccessTier
- BucketKeyStatus
- ChecksumAlgorithm
- ObjectAccessControlList
- ObjectOwner
- LifecycleExpirationDate
- IntelligentTieringReferenceDate
description: Contains the optional fields that are included in the inventory results. The following optional fields
are supported for directory buckets Size | LastModifiedDate | StorageClass | ETag | IsMultipartUploaded | EncryptionStatus
| BucketKeyStatus | ChecksumAlgorithm | LifecycleExpirationDate. Throws MalformedXML error if unsupported optional
field is provided.
Schedule:
$ref: '#/components/schemas/InventorySchedule'
required:
- Destination
- IsEnabled
- Id
- IncludedObjectVersions
- Schedule
InventoryDestination:
type: object
properties:
S3BucketDestination:
$ref: '#/components/schemas/InventoryS3BucketDestination'
required:
- S3BucketDestination
InventoryEncryption:
type: object
properties:
SSES3:
$ref: '#/components/schemas/SSES3'
SSEKMS:
$ref: '#/components/schemas/SSEKMS'
InventoryFilter:
type: object
properties:
Prefix:
type: string
description: The prefix that an object must have to be included in the inventory results.
required:
- Prefix
InventoryS3BucketDestination:
type: object
properties:
AccountId:
type: string
description: The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not
validated before exporting data. Although this value is optional, we strongly recommend that you set it to help
prevent problems if the destination bucket ownership changes.
Bucket:
type: string
description: The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
Format:
type: string
enum:
- CSV
- ORC
- Parquet
description: Specifies the output format of the inventory results.
Prefix:
type: string
description: The prefix that is prepended to all inventory results.
Encryption:
$ref: '#/components/schemas/InventoryEncryption'
required:
- Bucket
- Format
InventorySchedule:
type: object
properties:
Frequency:
type: string
enum:
- Daily
- Weekly
description: Specifies how frequently inventory results are produced.
required:
- Frequency
ListBucketInventoryConfigurationsOutput:
type: object
properties:
ContinuationToken:
type: string
description: If sent in the request, the marker that is used as a starting point for this inventory configuration
list response.
InventoryConfigurationList:
type: array
items:
$ref: '#/components/schemas/InventoryConfiguration'
description: The list of inventory configurations for a bucket.
IsTruncated:
type: boolean
description: Tells whether the returned list of inventory configurations is complete. A value of true indicates
that the list is not complete and the NextContinuationToken is provided for a subsequent request.
NextContinuationToken:
type: string
description: The marker used to continue this inventory configuration listing. Use the NextContinuationToken from
this response to continue the listing in a subsequent request. The continuation token is an opaque value that
Amazon S3 understands.
SSEKMS:
type: object
properties:
KeyId:
type: string
description: Specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key to use
for encrypting inventory reports.
required:
- KeyId
SSES3:
type: object
properties: {}
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/s3/service/2006-03-01/s3-2006-03-01.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)