{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-create-access-point-for-object-lambda-request-schema.json",
  "title": "CreateAccessPointForObjectLambdaRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-accesspointforobjectlambda-api-openapi.yml#/components/schemas/CreateAccessPointForObjectLambdaRequest",
  "type": "object",
  "properties": {
    "AccountId": {
      "type": "string",
      "description": "The Amazon Web Services account ID for owner of the specified Object Lambda Access Point."
    },
    "Name": {
      "type": "string",
      "description": "The name you want to assign to this Object Lambda Access Point."
    },
    "Configuration": {
      "$ref": "#/$defs/ObjectLambdaConfiguration"
    }
  },
  "required": [
    "AccountId",
    "Name",
    "Configuration"
  ],
  "$defs": {
    "AwsLambdaTransformation": {
      "type": "object",
      "properties": {
        "FunctionArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Lambda function."
        },
        "FunctionPayload": {
          "type": "string",
          "description": "Additional JSON that provides supplemental data to the Lambda function used to transform objects."
        }
      },
      "required": [
        "FunctionArn"
      ]
    },
    "ObjectLambdaConfiguration": {
      "type": "object",
      "properties": {
        "SupportingAccessPoint": {
          "type": "string",
          "description": "Standard access point associated with the Object Lambda Access Point."
        },
        "CloudWatchMetricsEnabled": {
          "type": "boolean",
          "description": "A container for whether the CloudWatch metrics configuration is enabled."
        },
        "AllowedFeatures": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "GetObject-Range",
              "GetObject-PartNumber",
              "HeadObject-Range",
              "HeadObject-PartNumber"
            ]
          },
          "description": "A container for allowed features. Valid inputs are GetObject-Range, GetObject-PartNumber, HeadObject-Range, and HeadObject-PartNumber."
        },
        "TransformationConfigurations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ObjectLambdaTransformationConfiguration"
          },
          "description": "A container for transformation configurations for an Object Lambda Access Point."
        }
      },
      "required": [
        "SupportingAccessPoint",
        "TransformationConfigurations"
      ]
    },
    "ObjectLambdaContentTransformation": {
      "type": "object",
      "properties": {
        "AwsLambda": {
          "$ref": "#/$defs/AwsLambdaTransformation"
        }
      },
      "description": "Exactly one member is set."
    },
    "ObjectLambdaTransformationConfiguration": {
      "type": "object",
      "properties": {
        "Actions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "GetObject",
              "HeadObject",
              "ListObjects",
              "ListObjectsV2"
            ]
          },
          "description": "A container for the action of an Object Lambda Access Point configuration. Valid inputs are GetObject, ListObjects, HeadObject, and ListObjectsV2."
        },
        "ContentTransformation": {
          "$ref": "#/$defs/ObjectLambdaContentTransformation"
        }
      },
      "required": [
        "Actions",
        "ContentTransformation"
      ]
    }
  }
}