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.

UpdateServiceInput

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

type UpdateServiceInput struct { Id *string `type:"string" required:"true"` Service *ServiceChange `type:"structure" required:"true"` }

Id

Type: *string

The ID of the service that you want to update.

Id is a required field

Service

A complex type that contains changes to an existing service.

Method

GoString

func (s UpdateServiceInput) GoString() string

GoString returns the string representation

SetId

func (s *UpdateServiceInput) SetId(v string) *UpdateServiceInput

SetId sets the Id field's value.

SetService

func (s *UpdateServiceInput) SetService(v *ServiceChange) *UpdateServiceInput

SetService sets the Service field's value.

String

func (s UpdateServiceInput) String() string

String returns the string representation

Validate

func (s *UpdateServiceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: