AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetDomainNamesOutput

import "github.com/aws/aws-sdk-go/service/apigateway"

type GetDomainNamesOutput struct { Items []*DomainName `locationName:"item" type:"list"` Position *string `locationName:"position" type:"string"` }

Represents a collection of DomainName resources.

Use Client-Side Certificate (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html)

Items

Represents a custom domain name as a user-friendly host name of an API (RestApi).

When you deploy an API, API Gateway creates a default host name for the API. This default API host name is of the {restapi-id}.execute-api.{region}.amazonaws.com format. With the default host name, you can access the API's root resource with the URL of https://{restapi-id}.execute-api.{region}.amazonaws.com/{stage}/. When you set up a custom domain name of apis.example.com for this API, you can then access the same resource using the URL of the https://apis.examples.com/myApi, where myApi is the base path mapping (BasePathMapping) of your API under the custom domain name.

Set a Custom Host Name for an API (https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html)

Position

Type: *string

Method

GoString

func (s GetDomainNamesOutput) GoString() string

GoString returns the string representation

SetItems

func (s *GetDomainNamesOutput) SetItems(v []*DomainName) *GetDomainNamesOutput

SetItems sets the Items field's value.

SetPosition

func (s *GetDomainNamesOutput) SetPosition(v string) *GetDomainNamesOutput

SetPosition sets the Position field's value.

String

func (s GetDomainNamesOutput) String() string

String returns the string representation

On this page: