github.com/aavshr/aws-sdk-go@v1.41.3/example/service/s3/usingAccessPoints/README.md (about)

     1  # Example
     2  
     3  This example demonstrates how you can use the AWS SDK for Go's Amazon S3 client
     4  to create and use S3 Access Points resources for working with to S3 buckets.
     5  
     6  # Usage
     7  
     8  The example will create a bucket of the name provided in code. Replace the value of the `accountID` const with the account ID for your AWS account. The `bucket`, `keyName`, and `accessPoint` const variables need to be updated to match the name of the Bucket, Object Key, and Access Point that will be created by the example.
     9  
    10  ```sh
    11  AWS_REGION=<region> go run -tags example usingAccessPoints.go
    12  ```