Skip to content

Commit

Permalink
feat(client-s3-control): S3 Object Lambda adds support to allow custo…
Browse files Browse the repository at this point in the history
…mers to intercept HeadObject and ListObjects requests and introduce their own compute. These requests were previously proxied to S3.
  • Loading branch information
awstools committed Oct 4, 2022
1 parent 522ac33 commit 9915896
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions clients/client-s3-control/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,10 +477,15 @@ export interface CreateAccessPointResult {
export enum ObjectLambdaAllowedFeature {
GetObjectPartNumber = "GetObject-PartNumber",
GetObjectRange = "GetObject-Range",
HeadObjectPartNumber = "HeadObject-PartNumber",
HeadObjectRange = "HeadObject-Range",
}

export enum ObjectLambdaTransformationConfigurationAction {
GetObject = "GetObject",
HeadObject = "HeadObject",
ListObjects = "ListObjects",
ListObjectsV2 = "ListObjectsV2",
}

/**
Expand Down
30 changes: 30 additions & 0 deletions codegen/sdk-codegen/aws-models/s3-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -5220,6 +5220,18 @@
"traits": {
"smithy.api#enumValue": "GetObject-PartNumber"
}
},
"HeadObjectRange": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "HeadObject-Range"
}
},
"HeadObjectPartNumber": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "HeadObject-PartNumber"
}
}
}
},
Expand Down Expand Up @@ -5324,6 +5336,24 @@
"traits": {
"smithy.api#enumValue": "GetObject"
}
},
"HeadObject": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "HeadObject"
}
},
"ListObjects": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ListObjects"
}
},
"ListObjectsV2": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ListObjectsV2"
}
}
}
},
Expand Down

0 comments on commit 9915896

Please sign in to comment.