Skip to content

Commit

Permalink
service/s3control: Fix access-point policy operations not routing pro…
Browse files Browse the repository at this point in the history
…perly for S3 on Outposts (#3599)

Fixes operations: GetAccessPointPolicy, DeleteAccessPointPolicy, and PutAccessPointPolicy 
Reference: #3598
  • Loading branch information
bflad authored Oct 15, 2020
1 parent 32ff04d commit b8ee473
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_PENDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
### SDK Enhancements

### SDK Bugs
* `s3control`: Fixes bug in SDK that caused GetAccessPointPolicy, DeleteAccessPointPolicy, and PutAccessPointPolicy operations to not route properly for S3 on Outposts. ([#3599](https://github.com/aws/aws-sdk-go/pull/3599))
* Fixes [#3598](https://github.com/aws/aws-sdk-go/issues/3598).
10 changes: 5 additions & 5 deletions private/model/api/customization_passes.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ func s3ControlCustomizations(a *API) error {

// List of input shapes that use accesspoint names as arnable fields
accessPointNameArnables := map[string]struct{}{
"GetAccessPointInput": {},
"DeleteAccessPointInput": {},
"PutAccessPointPolicy": {},
"GetAccessPointPolicy": {},
"DeleteAccessPointPolicy": {},
"GetAccessPointInput": {},
"DeleteAccessPointInput": {},
"PutAccessPointPolicyInput": {},
"GetAccessPointPolicyInput": {},
"DeleteAccessPointPolicyInput": {},
}

var endpointARNShape *ShapeRef
Expand Down
132 changes: 132 additions & 0 deletions service/s3control/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8ee473

Please sign in to comment.