Package-Level Type Names (total 9, all are exported)
/* sort exporteds by: | */
AccessPointARN provides representation
ARNarn.ARNAccessPointNamestring
The ID of the AWS account that owns the resource, without the hyphens. For example, 123456789012. Note that the
ARNs for some resources don't require an account number, so this component might be omitted.
The partition that the resource is in. For standard AWS regions, the partition is "aws". If you have resources in
other partitions, the partition is "aws-partitionname". For example, the partition for resources in the China
(Beijing) region is "aws-cn".
The region the resource resides in. Note that the ARNs for some resources do not require a region, so this
component might be omitted.
The content of this part of the ARN varies by service. It often includes an indicator of the type of resource —
for example, an IAM user or Amazon RDS database - followed by a slash (/) or a colon (:), followed by the
resource name itself. Some services allows paths for resource names, as described in
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-paths.
The service namespace that identifies the AWS product (for example, Amazon S3, IAM, or Amazon RDS). For a list of
namespaces, see
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces.
GetARN returns the base ARN for the Access Point resource
String returns the canonical representation of the ARN
AccessPointARN : Resource
AccessPointARN : expvar.Var
AccessPointARN : fmt.Stringer
AccessPointARN : github.com/aws/smithy-go/middleware.stringer
AccessPointARN : context.stringer
AccessPointARN : runtime.stringer
func ParseAccessPointResource(a arn.ARN, resParts []string) (AccessPointARN, error)
func github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations.buildAccessPointHostPrefix(ctx context.Context, req *http.Request, tv AccessPointARN) (context.Context, error)
InvalidARNError provides the error for an invalid ARN error.
ARNarn.ARNReasonstring
Error returns a string denoting the occurred InvalidARNError
InvalidARNError : error
OutpostAccessPointARN represents outpost access point ARN.
AccessPointARNAccessPointARNAccessPointARN.ARNarn.ARNAccessPointARN.AccessPointNamestring
The ID of the AWS account that owns the resource, without the hyphens. For example, 123456789012. Note that the
ARNs for some resources don't require an account number, so this component might be omitted.
The partition that the resource is in. For standard AWS regions, the partition is "aws". If you have resources in
other partitions, the partition is "aws-partitionname". For example, the partition for resources in the China
(Beijing) region is "aws-cn".
The region the resource resides in. Note that the ARNs for some resources do not require a region, so this
component might be omitted.
The content of this part of the ARN varies by service. It often includes an indicator of the type of resource —
for example, an IAM user or Amazon RDS database - followed by a slash (/) or a colon (:), followed by the
resource name itself. Some services allows paths for resource names, as described in
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-paths.
The service namespace that identifies the AWS product (for example, Amazon S3, IAM, or Amazon RDS). For a list of
namespaces, see
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces.
OutpostIDstring
GetARN returns the base ARN for the Access Point resource
GetOutpostID returns the outpost id of outpost access point arn
String returns the canonical representation of the ARN
OutpostAccessPointARN : OutpostARN
OutpostAccessPointARN : Resource
OutpostAccessPointARN : expvar.Var
OutpostAccessPointARN : fmt.Stringer
OutpostAccessPointARN : github.com/aws/smithy-go/middleware.stringer
OutpostAccessPointARN : context.stringer
OutpostAccessPointARN : runtime.stringer
func github.com/aws/aws-sdk-go-v2/service/s3/internal/arn.parseOutpostAccessPointResource(a awsarn.ARN, resParts []string) (OutpostAccessPointARN, error)
OutpostBucketARN represents the outpost bucket ARN.
ARNarn.ARN
The ID of the AWS account that owns the resource, without the hyphens. For example, 123456789012. Note that the
ARNs for some resources don't require an account number, so this component might be omitted.
The partition that the resource is in. For standard AWS regions, the partition is "aws". If you have resources in
other partitions, the partition is "aws-partitionname". For example, the partition for resources in the China
(Beijing) region is "aws-cn".
The region the resource resides in. Note that the ARNs for some resources do not require a region, so this
component might be omitted.
The content of this part of the ARN varies by service. It often includes an indicator of the type of resource —
for example, an IAM user or Amazon RDS database - followed by a slash (/) or a colon (:), followed by the
resource name itself. Some services allows paths for resource names, as described in
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-paths.
The service namespace that identifies the AWS product (for example, Amazon S3, IAM, or Amazon RDS). For a list of
namespaces, see
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces.
BucketNamestringOutpostIDstring
GetARN retrives the base ARN from outpost bucket ARN resource
GetOutpostID returns the outpost id of outpost bucket arn
String returns the canonical representation of the ARN
OutpostBucketARN : OutpostARN
OutpostBucketARN : Resource
OutpostBucketARN : expvar.Var
OutpostBucketARN : fmt.Stringer
OutpostBucketARN : github.com/aws/smithy-go/middleware.stringer
OutpostBucketARN : context.stringer
OutpostBucketARN : runtime.stringer
ResourceParser provides the function for parsing an ARN's resource
component into a typed resource.
func ParseResource(a arn.ARN, resParser ResourceParser) (resARN Resource, err error)
S3ObjectLambdaAccessPointARN is an S3ObjectLambdaARN for the Access Point resource type
AccessPointARNAccessPointARNAccessPointARN.ARNarn.ARNAccessPointARN.AccessPointNamestring
The ID of the AWS account that owns the resource, without the hyphens. For example, 123456789012. Note that the
ARNs for some resources don't require an account number, so this component might be omitted.
The partition that the resource is in. For standard AWS regions, the partition is "aws". If you have resources in
other partitions, the partition is "aws-partitionname". For example, the partition for resources in the China
(Beijing) region is "aws-cn".
The region the resource resides in. Note that the ARNs for some resources do not require a region, so this
component might be omitted.
The content of this part of the ARN varies by service. It often includes an indicator of the type of resource —
for example, an IAM user or Amazon RDS database - followed by a slash (/) or a colon (:), followed by the
resource name itself. Some services allows paths for resource names, as described in
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arns-paths.
The service namespace that identifies the AWS product (for example, Amazon S3, IAM, or Amazon RDS). For a list of
namespaces, see
http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces.
GetARN returns the base ARN for the Access Point resource
String returns the canonical representation of the ARN
( S3ObjectLambdaAccessPointARN) isS3ObjectLambdasARN()
S3ObjectLambdaAccessPointARN : Resource
S3ObjectLambdaAccessPointARN : S3ObjectLambdaARN
S3ObjectLambdaAccessPointARN : expvar.Var
S3ObjectLambdaAccessPointARN : fmt.Stringer
S3ObjectLambdaAccessPointARN : github.com/aws/smithy-go/middleware.stringer
S3ObjectLambdaAccessPointARN : context.stringer
S3ObjectLambdaAccessPointARN : runtime.stringer
func github.com/aws/aws-sdk-go-v2/service/s3/internal/arn.parseS3ObjectLambdaAccessPointResource(a awsarn.ARN, resParts []string) (S3ObjectLambdaAccessPointARN, error)
Package-Level Functions (total 8, in which 5 are exported)
IsARN returns whether the given string is an ARN
ParseAccessPointResource attempts to parse the ARN's resource as an
AccessPoint resource.
Supported Access point resource format:
- Access point format: arn:{partition}:s3:{region}:{accountId}:accesspoint/{accesspointName}
- example: arn:aws:s3:us-west-2:012345678901:accesspoint/myaccesspoint
ParseOutpostARNResource will parse a provided ARNs resource using the appropriate ARN format
and return a specific OutpostARN type
Currently supported outpost ARN formats:
* Outpost AccessPoint ARN format:
- ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/accesspoint/{accesspointName}
- example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/accesspoint/myaccesspoint
* Outpost Bucket ARN format:
- ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/bucket/{bucketName}
- example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/bucket/mybucket
Other outpost ARN formats may be supported and added in the future.
ParseResource parses an AWS ARN into a typed resource for the S3 API.
SplitResource splits the resource components by the ARN resource delimiters.
parseBucketResource attempts to parse the ARN's bucket resource and retrieve the
bucket resource id.
parseBucketResource only parses the bucket resource id.
Package-Level Variables (only one, which is unexported)