Amazon S3 S3 Storagelensgroup API

The S3 Storagelensgroup API from Amazon S3 — 2 operation(s) for s3 storagelensgroup.

GitHub OpenAPI

Operations 5

POST /v20180820/storagelensgroup Create Storage Lens Group #
GET /v20180820/storagelensgroup List Storage Lens Groups #
DELETE /v20180820/storagelensgroup/{Name} Delete Storage Lens Group #
GET /v20180820/storagelensgroup/{Name} Get Storage Lens Group #
PUT /v20180820/storagelensgroup/{Name} Update Storage Lens Group #

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-storagelensgroup-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-storagelensgroup-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Storage Service Storagelensgroup API
  version: '2006-03-01'
  description: Generated from AWS's published Smithy model for Amazon Simple Storage Service. 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://s3-control.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v20180820/storagelensgroup:
    post:
      operationId: CreateStorageLensGroup
      summary: Create Storage Lens Group
      description: Creates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID.
        An S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags, object size, object
        age, or a combination of these filters. For each Storage Lens group that you’ve created, you can also optionally add
        Amazon Web Services resource tags. For more information about S3 Storage Lens groups, see Working with S3 Storage
        Lens groups. To use this operation, you must have the permission to perform the s3:CreateStorageLensGroup action.
        If you’re trying to create a Storage Lens group with Amazon Web Services resource tags, you must also have permission
        to perform the s3:TagResource action. For more information about the required Storage Lens Groups permissions, see
        Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups errors, see List
        of Amazon S3 Storage Lens error codes.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
      parameters:
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID that the Storage Lens group is created from and associated with.
      requestBody:
        content:
          application/xml:
            schema:
              type: object
              properties:
                StorageLensGroup:
                  $ref: '#/components/schemas/StorageLensGroup'
                Tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/S3ControlTag'
                  description: The Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter
                    is optional.
              required:
              - StorageLensGroup
      tags:
      - Storagelensgroup
    get:
      operationId: ListStorageLensGroups
      summary: List Storage Lens Groups
      description: Lists all the Storage Lens groups in the specified home Region. To use this operation, you must have the
        permission to perform the s3:ListStorageLensGroups action. For more information about the required Storage Lens Groups
        permissions, see Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups
        errors, see List of Amazon S3 Storage Lens error codes.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/ListStorageLensGroupsResult'
      parameters:
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID that owns the Storage Lens groups.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token for the next set of results, or null if there are no more results.
      tags:
      - Storagelensgroup
  /v20180820/storagelensgroup/{Name}:
    delete:
      operationId: DeleteStorageLensGroup
      summary: Delete Storage Lens Group
      description: Deletes an existing S3 Storage Lens group. To use this operation, you must have the permission to perform
        the s3:DeleteStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see
        Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups errors, see List
        of Amazon S3 Storage Lens error codes.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the Storage Lens group that you're trying to delete.
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID used to create the Storage Lens group that you're trying to delete.
      tags:
      - Storagelensgroup
    get:
      operationId: GetStorageLensGroup
      summary: Get Storage Lens Group
      description: Retrieves the Storage Lens group configuration details. To use this operation, you must have the permission
        to perform the s3:GetStorageLensGroup action. For more information about the required Storage Lens Groups permissions,
        see Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups errors, see
        List of Amazon S3 Storage Lens error codes.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                $ref: '#/components/schemas/GetStorageLensGroupResult'
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the Storage Lens group that you're trying to retrieve the configuration details for.
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID associated with the Storage Lens group that you're trying to retrieve
          the details for.
      tags:
      - Storagelensgroup
    put:
      operationId: UpdateStorageLensGroup
      summary: Update Storage Lens Group
      description: Updates the existing Storage Lens group. To use this operation, you must have the permission to perform
        the s3:UpdateStorageLensGroup action. For more information about the required Storage Lens Groups permissions, see
        Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups errors, see List
        of Amazon S3 Storage Lens error codes.
      responses:
        '200':
          description: Success
          content:
            text/xml:
              schema:
                type: string
      parameters:
      - name: Name
        in: path
        required: true
        schema:
          type: string
        description: The name of the Storage Lens group that you want to update.
      - name: x-amz-account-id
        in: header
        required: true
        schema:
          type: string
        description: The Amazon Web Services account ID of the Storage Lens group owner.
      requestBody:
        content:
          application/xml:
            schema:
              type: object
              properties:
                StorageLensGroup:
                  $ref: '#/components/schemas/StorageLensGroup'
              required:
              - StorageLensGroup
      tags:
      - Storagelensgroup
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:
    GetStorageLensGroupResult:
      type: object
      properties:
        StorageLensGroup:
          $ref: '#/components/schemas/StorageLensGroup'
    ListStorageLensGroupEntry:
      type: object
      properties:
        Name:
          type: string
          description: Contains the name of the Storage Lens group that exists in the specified home Region.
        StorageLensGroupArn:
          type: string
          description: Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
        HomeRegion:
          type: string
          description: Contains the Amazon Web Services Region where the Storage Lens group was created.
      required:
      - Name
      - StorageLensGroupArn
      - HomeRegion
    ListStorageLensGroupsResult:
      type: object
      properties:
        NextToken:
          type: string
          description: If NextToken is returned, there are more Storage Lens groups results available. The value of NextToken
            is a unique pagination token for each page. Make the call again using the returned token to retrieve the next
            page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
        StorageLensGroupList:
          type: array
          items:
            $ref: '#/components/schemas/ListStorageLensGroupEntry'
          description: The list of Storage Lens groups that exist in the specified home Region.
    MatchObjectAge:
      type: object
      properties:
        DaysGreaterThan:
          type: integer
          description: Specifies the maximum object age in days. Must be a positive whole number, greater than the minimum
            object age and less than or equal to 2,147,483,647.
        DaysLessThan:
          type: integer
          description: Specifies the minimum object age in days. The value must be a positive whole number, greater than 0
            and less than or equal to 2,147,483,647.
    MatchObjectSize:
      type: object
      properties:
        BytesGreaterThan:
          type: integer
          description: Specifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and
            less than 50 TB.
        BytesLessThan:
          type: integer
          description: Specifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum
            object size and less than 50 TB.
    S3ControlTag:
      type: object
      properties:
        Key:
          type: string
          description: 'The key of the key-value pair of a tag added to your Amazon Web Services resource. A tag key can be
            up to 128 Unicode characters in length and is case-sensitive. System created tags that begin with aws: aren’t
            supported.'
        Value:
          type: string
          description: The value of the key-value pair of a tag added to your Amazon Web Services resource. A tag value can
            be up to 256 Unicode characters in length and is case-sensitive.
      required:
      - Key
      - Value
    S3Tag:
      type: object
      properties:
        Key:
          type: string
          description: Key of the tag
        Value:
          type: string
          description: Value of the tag
      required:
      - Key
      - Value
    StorageLensGroup:
      type: object
      properties:
        Name:
          type: string
          description: Contains the name of the Storage Lens group.
        Filter:
          $ref: '#/components/schemas/StorageLensGroupFilter'
        StorageLensGroupArn:
          type: string
          description: Contains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.
      required:
      - Name
      - Filter
    StorageLensGroupAndOperator:
      type: object
      properties:
        MatchAnyPrefix:
          type: array
          items:
            type: string
          description: Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
        MatchAnySuffix:
          type: array
          items:
            type: string
          description: Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
        MatchAnyTag:
          type: array
          items:
            $ref: '#/components/schemas/S3Tag'
          description: Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are
            allowed.
        MatchObjectAge:
          $ref: '#/components/schemas/MatchObjectAge'
        MatchObjectSize:
          $ref: '#/components/schemas/MatchObjectSize'
    StorageLensGroupFilter:
      type: object
      properties:
        MatchAnyPrefix:
          type: array
          items:
            type: string
          description: Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
        MatchAnySuffix:
          type: array
          items:
            type: string
          description: Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
        MatchAnyTag:
          type: array
          items:
            $ref: '#/components/schemas/S3Tag'
          description: Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags
            are allowed.
        MatchObjectAge:
          $ref: '#/components/schemas/MatchObjectAge'
        MatchObjectSize:
          $ref: '#/components/schemas/MatchObjectSize'
        And:
          $ref: '#/components/schemas/StorageLensGroupAndOperator'
        Or:
          $ref: '#/components/schemas/StorageLensGroupOrOperator'
    StorageLensGroupOrOperator:
      type: object
      properties:
        MatchAnyPrefix:
          type: array
          items:
            type: string
          description: Filters objects that match any of the specified prefixes.
        MatchAnySuffix:
          type: array
          items:
            type: string
          description: Filters objects that match any of the specified suffixes.
        MatchAnyTag:
          type: array
          items:
            $ref: '#/components/schemas/S3Tag'
          description: Filters objects that match any of the specified S3 object tags.
        MatchObjectAge:
          $ref: '#/components/schemas/MatchObjectAge'
        MatchObjectSize:
          $ref: '#/components/schemas/MatchObjectSize'
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)