File: accountid_endpoint_mode.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 662,428 kB
  • sloc: java: 16,875; makefile: 432; sh: 175
file content (18 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package aws

// AccountIDEndpointMode controls how a resolved AWS account ID is handled for endpoint routing.
type AccountIDEndpointMode string

const (
	// AccountIDEndpointModeUnset indicates the AWS account ID will not be used for endpoint routing
	AccountIDEndpointModeUnset AccountIDEndpointMode = ""

	// AccountIDEndpointModePreferred indicates the AWS account ID will be used for endpoint routing if present
	AccountIDEndpointModePreferred = "preferred"

	// AccountIDEndpointModeRequired indicates an error will be returned if the AWS account ID is not resolved from identity
	AccountIDEndpointModeRequired = "required"

	// AccountIDEndpointModeDisabled indicates the AWS account ID will be ignored during endpoint routing
	AccountIDEndpointModeDisabled = "disabled"
)