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.

DescribeEnvironmentHealthInput

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

type DescribeEnvironmentHealthInput struct { AttributeNames []*string `type:"list"` EnvironmentId *string `type:"string"` EnvironmentName *string `min:"4" type:"string"` }

See the example below to learn how to create a request body.

AttributeNames

Type: []*string

Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment.

EnvironmentId

Type: *string

Specify the environment by ID.

You must specify either this or an EnvironmentName, or both.

EnvironmentName

Type: *string

Specify the environment by name.

You must specify either this or an EnvironmentName, or both.

Method

GoString

func (s DescribeEnvironmentHealthInput) GoString() string

GoString returns the string representation

SetAttributeNames

func (s *DescribeEnvironmentHealthInput) SetAttributeNames(v []*string) *DescribeEnvironmentHealthInput

SetAttributeNames sets the AttributeNames field's value.

SetEnvironmentId

func (s *DescribeEnvironmentHealthInput) SetEnvironmentId(v string) *DescribeEnvironmentHealthInput

SetEnvironmentId sets the EnvironmentId field's value.

SetEnvironmentName

func (s *DescribeEnvironmentHealthInput) SetEnvironmentName(v string) *DescribeEnvironmentHealthInput

SetEnvironmentName sets the EnvironmentName field's value.

String

func (s DescribeEnvironmentHealthInput) String() string

String returns the string representation

Validate

func (s *DescribeEnvironmentHealthInput) Validate() error

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

On this page: