partitions

package
v1.33.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAvailableInRegion added in v1.16.0

func IsAvailableInRegion(sID string, region string) (bool, error)

IsAvailableInRegion returns true if the service ID is available in the given region.

Types

type Region

type Region string

Region is an AWS region ID.

func (Region) Partition

func (r Region) Partition() (endpoints.Partition, error)

Partition returns the first partition which includes the region passed in, from a list of the partitions the SDK is bundled with.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL