Struct: endpoints.UnknownEndpointError

import "../ibm-cos-sdk-go/aws/endpoints"

Overview

A UnknownEndpointError is returned when in StrictMatching mode and the service is valid, but the region does not resolve to an endpoint. Includes a list of all known endpoints for the service.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Known []string

Partition string

Region string

Service string

Method Details

func (e UnknownEndpointError) Error() string

String returns the string representation of the error.



583
584
585
586
587
588
589
590
// File 'aws/endpoints/endpoints.go', line 583

func (e UnknownEndpointError) Error() string { extra := fmt.Sprintf("partition: %q, service: %q, region: %q", e.Partition, e.Service, e.Region) if len(e.Known) > 0 { extra += fmt.Sprintf(", known: %v", e.Known) } return awserr.SprintError(e.Code(), e.Message(), extra, e.OrigErr()) }

func (e UnknownEndpointError) String() string

String returns the string representation of the error.



593
594
595
// File 'aws/endpoints/endpoints.go', line 593

func (e UnknownEndpointError) String() string { return e.Error() }