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.

Service

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

type Service struct { Categories []*Category `locationName:"categories" type:"list"` Code *string `locationName:"code" type:"string"` Name *string `locationName:"name" type:"string"` }

Information about an AWS service returned by the DescribeServices operation.

Categories

A JSON-formatted name/value pair that represents the category name and category code of the problem, selected from the DescribeServices response for each AWS service.

Code

Type: *string

The code for an AWS service returned by the DescribeServices response. The name element contains the corresponding friendly name.

Name

Type: *string

The friendly name for an AWS service. The code element contains the corresponding code.

Method

GoString

func (s Service) GoString() string

GoString returns the string representation

SetCategories

func (s *Service) SetCategories(v []*Category) *Service

SetCategories sets the Categories field's value.

SetCode

func (s *Service) SetCode(v string) *Service

SetCode sets the Code field's value.

SetName

func (s *Service) SetName(v string) *Service

SetName sets the Name field's value.

String

func (s Service) String() string

String returns the string representation

On this page: