Struct: endpoints.Partition
import "../ibm-cos-sdk-go/aws/endpoints"
Overview
A Partition provides the ability to enumerate the partition's regions and services.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom
Method Summary collapse
-
func (p Partition) DNSSuffix() string { return p.dnsSuffix }
DNSSuffix returns the base domain name of the partition.
-
func (p Partition) Regions() map[string]Region
Regions returns a map of Regions indexed by their ID.
-
func (p Partition) Services() map[string]Service
Services returns a map of Service indexed by their ID.
Method Details
func (p Partition) DNSSuffix() string { return p.dnsSuffix }
DNSSuffix returns the base domain name of the partition.
311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 |
// File 'aws/endpoints/endpoints.go', line 311
|
func (p Partition) Regions() map[string]Region
Regions returns a map of Regions indexed by their ID. This is useful for enumerating over the regions in a partition.
343 344 345 346 347 348 349 350 351 352 353 354 |
// File 'aws/endpoints/endpoints.go', line 343
|
func (p Partition) Services() map[string]Service
Services returns a map of Service indexed by their ID. This is useful for enumerating over the services in a partition.
358 359 360 361 362 363 364 365 366 367 368 |
// File 'aws/endpoints/endpoints.go', line 358
|