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.

Container

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

type Container struct { ARN *string `min:"1" type:"string"` AccessLoggingEnabled *bool `type:"boolean"` CreationTime *time.Time `type:"timestamp"` Endpoint *string `min:"1" type:"string"` Name *string `min:"1" type:"string"` Status *string `min:"1" type:"string" enum:"ContainerStatus"` }

This section describes operations that you can perform on an AWS Elemental MediaStore container.

ARN

Type: *string

The Amazon Resource Name (ARN) of the container. The ARN has the following format:

arn:aws:<region>:<account that owns this container>:container/<name of container>

For example: arn:aws:mediastore:us-west-2:111122223333:container/movies

AccessLoggingEnabled

Type: *bool

The state of access logging on the container. This value is false by default, indicating that AWS Elemental MediaStore does not send access logs to Amazon CloudWatch Logs. When you enable access logging on the container, MediaStore changes this value to true, indicating that the service delivers access logs for objects stored in that container to CloudWatch Logs.

CreationTime

Type: *time.Time

Unix timestamp.

Endpoint

Type: *string

The DNS endpoint of the container. Use the endpoint to identify the specific container when sending requests to the data plane. The service assigns this value when the container is created. Once the value has been assigned, it does not change.

Name

Type: *string

The name of the container.

Status

Type: *string

The status of container creation or deletion. The status is one of the following: CREATING, ACTIVE, or DELETING. While the service is creating the container, the status is CREATING. When the endpoint is available, the status changes to ACTIVE.

Method

GoString

func (s Container) GoString() string

GoString returns the string representation

SetARN

func (s *Container) SetARN(v string) *Container

SetARN sets the ARN field's value.

SetAccessLoggingEnabled

func (s *Container) SetAccessLoggingEnabled(v bool) *Container

SetAccessLoggingEnabled sets the AccessLoggingEnabled field's value.

SetCreationTime

func (s *Container) SetCreationTime(v time.Time) *Container

SetCreationTime sets the CreationTime field's value.

SetEndpoint

func (s *Container) SetEndpoint(v string) *Container

SetEndpoint sets the Endpoint field's value.

SetName

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

SetName sets the Name field's value.

SetStatus

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

SetStatus sets the Status field's value.

String

func (s Container) String() string

String returns the string representation

On this page: