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.

StatusCodes

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

type StatusCodes struct { Status2xx *int64 `type:"integer"` Status3xx *int64 `type:"integer"` Status4xx *int64 `type:"integer"` Status5xx *int64 `type:"integer"` }

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).

Status2xx

Type: *int64

The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

Status3xx

Type: *int64

The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

Status4xx

Type: *int64

The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

Status5xx

Type: *int64

The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

Method

GoString

func (s StatusCodes) GoString() string

GoString returns the string representation

SetStatus2xx

func (s *StatusCodes) SetStatus2xx(v int64) *StatusCodes

SetStatus2xx sets the Status2xx field's value.

SetStatus3xx

func (s *StatusCodes) SetStatus3xx(v int64) *StatusCodes

SetStatus3xx sets the Status3xx field's value.

SetStatus4xx

func (s *StatusCodes) SetStatus4xx(v int64) *StatusCodes

SetStatus4xx sets the Status4xx field's value.

SetStatus5xx

func (s *StatusCodes) SetStatus5xx(v int64) *StatusCodes

SetStatus5xx sets the Status5xx field's value.

String

func (s StatusCodes) String() string

String returns the string representation

On this page: