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.

DomainInfo

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

type DomainInfo struct { Description *string `locationName:"description" type:"string"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` Status *string `locationName:"status" type:"string" required:"true" enum:"RegistrationStatus"` }

Contains general information about a domain.

Description

Type: *string

The description of the domain provided through RegisterDomain.

Name

Type: *string

The name of the domain. This name is unique within the account.

Name is a required field

Status

Type: *string

The status of the domain:

  • REGISTERED – The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.

  • DEPRECATED – The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

Status is a required field

Method

GoString

func (s DomainInfo) GoString() string

GoString returns the string representation

SetDescription

func (s *DomainInfo) SetDescription(v string) *DomainInfo

SetDescription sets the Description field's value.

SetName

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

SetName sets the Name field's value.

SetStatus

func (s *DomainInfo) SetStatus(v string) *DomainInfo

SetStatus sets the Status field's value.

String

func (s DomainInfo) String() string

String returns the string representation

On this page: