package mediastore

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

Package mediastore provides the client and types for making API requests to MediaStore.

An AWS Elemental MediaStore container is a namespace that holds folders and objects. You use a container endpoint to create, read, and delete objects.

See https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01 for more information on this service.

See mediastore package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/mediastore/

Using the Client

To use MediaStore with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the MediaStore client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/mediastore/#New

Index

Constants

const (
	ServiceName = "MediaStore" // Service's name
	ServiceID   = "MediaStore" // Service's identifier
	EndpointsID = "mediastore" // Service's Endpoint identifier
)
const (

	// ErrCodeContainerInUseException for service response error code
	// "ContainerInUseException".
	//
	// The container that you specified in the request already exists or is being
	// updated.
	ErrCodeContainerInUseException = "ContainerInUseException"

	// ErrCodeContainerNotFoundException for service response error code
	// "ContainerNotFoundException".
	//
	// The container that you specified in the request does not exist.
	ErrCodeContainerNotFoundException = "ContainerNotFoundException"

	// ErrCodeCorsPolicyNotFoundException for service response error code
	// "CorsPolicyNotFoundException".
	//
	// The CORS policy that you specified in the request does not exist.
	ErrCodeCorsPolicyNotFoundException = "CorsPolicyNotFoundException"

	// ErrCodeInternalServerError for service response error code
	// "InternalServerError".
	//
	// The service is temporarily unavailable.
	ErrCodeInternalServerError = "InternalServerError"

	// ErrCodeLimitExceededException for service response error code
	// "LimitExceededException".
	//
	// A service limit has been exceeded.
	ErrCodeLimitExceededException = "LimitExceededException"

	// ErrCodePolicyNotFoundException for service response error code
	// "PolicyNotFoundException".
	//
	// The policy that you specified in the request does not exist.
	ErrCodePolicyNotFoundException = "PolicyNotFoundException"
)

Types

type Client

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to MediaStore. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := mediastore.New(myConfig)

func (*Client) CreateContainerRequest

func (c *Client) CreateContainerRequest(input *CreateContainerInput) CreateContainerRequest

CreateContainerRequest returns a request value for making API operation for AWS Elemental MediaStore.

Creates a storage container to hold objects. A container is similar to a bucket in the Amazon S3 service.

// Example sending a request using CreateContainerRequest.
req := client.CreateContainerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainer

func (*Client) DeleteContainerPolicyRequest

func (c *Client) DeleteContainerPolicyRequest(input *DeleteContainerPolicyInput) DeleteContainerPolicyRequest

DeleteContainerPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Deletes the access policy that is associated with the specified container.

// Example sending a request using DeleteContainerPolicyRequest.
req := client.DeleteContainerPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy

func (*Client) DeleteContainerRequest

func (c *Client) DeleteContainerRequest(input *DeleteContainerInput) DeleteContainerRequest

DeleteContainerRequest returns a request value for making API operation for AWS Elemental MediaStore.

Deletes the specified container. Before you make a DeleteContainer request, delete any objects in the container or in any folders in the container. You can delete only empty containers.

// Example sending a request using DeleteContainerRequest.
req := client.DeleteContainerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainer

func (*Client) DeleteCorsPolicyRequest

func (c *Client) DeleteCorsPolicyRequest(input *DeleteCorsPolicyInput) DeleteCorsPolicyRequest

DeleteCorsPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container.

To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy action. The container owner has this permission by default and can grant this permission to others.

// Example sending a request using DeleteCorsPolicyRequest.
req := client.DeleteCorsPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteCorsPolicy

func (*Client) DeleteLifecyclePolicyRequest

func (c *Client) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) DeleteLifecyclePolicyRequest

DeleteLifecyclePolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Removes an object lifecycle policy from a container. It takes up to 20 minutes for the change to take effect.

// Example sending a request using DeleteLifecyclePolicyRequest.
req := client.DeleteLifecyclePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteLifecyclePolicy

func (*Client) DescribeContainerRequest

func (c *Client) DescribeContainerRequest(input *DescribeContainerInput) DescribeContainerRequest

DescribeContainerRequest returns a request value for making API operation for AWS Elemental MediaStore.

Retrieves the properties of the requested container. This request is commonly used to retrieve the endpoint of a container. An endpoint is a value assigned by the service when a new container is created. A container's endpoint does not change after it has been assigned. The DescribeContainer request returns a single Container object based on ContainerName. To return all Container objects that are associated with a specified AWS account, use ListContainers.

// Example sending a request using DescribeContainerRequest.
req := client.DescribeContainerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer

func (*Client) GetContainerPolicyRequest

func (c *Client) GetContainerPolicyRequest(input *GetContainerPolicyInput) GetContainerPolicyRequest

GetContainerPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide (https://aws.amazon.com/documentation/iam/).

// Example sending a request using GetContainerPolicyRequest.
req := client.GetContainerPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicy

func (*Client) GetCorsPolicyRequest

func (c *Client) GetCorsPolicyRequest(input *GetCorsPolicyInput) GetCorsPolicyRequest

GetCorsPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Returns the cross-origin resource sharing (CORS) configuration information that is set for the container.

To use this operation, you must have permission to perform the MediaStore:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.

// Example sending a request using GetCorsPolicyRequest.
req := client.GetCorsPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetCorsPolicy

func (*Client) GetLifecyclePolicyRequest

func (c *Client) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) GetLifecyclePolicyRequest

GetLifecyclePolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Retrieves the object lifecycle policy that is assigned to a container.

// Example sending a request using GetLifecyclePolicyRequest.
req := client.GetLifecyclePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetLifecyclePolicy

func (*Client) ListContainersRequest

func (c *Client) ListContainersRequest(input *ListContainersInput) ListContainersRequest

ListContainersRequest returns a request value for making API operation for AWS Elemental MediaStore.

Lists the properties of all containers in AWS Elemental MediaStore.

You can query to receive all the containers in one response. Or you can include the MaxResults parameter to receive a limited number of containers in each response. In this case, the response includes a token. To get the next set of containers, send the command again, this time with the NextToken parameter (with the returned token as its value). The next set of responses appears, with a token if there are still more containers to receive.

See also DescribeContainer, which gets the properties of one container.

// Example sending a request using ListContainersRequest.
req := client.ListContainersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainers

func (*Client) ListTagsForResourceRequest

func (c *Client) ListTagsForResourceRequest(input *ListTagsForResourceInput) ListTagsForResourceRequest

ListTagsForResourceRequest returns a request value for making API operation for AWS Elemental MediaStore.

Returns a list of the tags assigned to the specified container.

// Example sending a request using ListTagsForResourceRequest.
req := client.ListTagsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResource

func (*Client) PutContainerPolicyRequest

func (c *Client) PutContainerPolicyRequest(input *PutContainerPolicyInput) PutContainerPolicyRequest

PutContainerPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Creates an access policy for the specified container to restrict the users and clients that can access it. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide (https://aws.amazon.com/documentation/iam/).

For this release of the REST API, you can create only one policy for a container. If you enter PutContainerPolicy twice, the second command modifies the existing policy.

// Example sending a request using PutContainerPolicyRequest.
req := client.PutContainerPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy

func (*Client) PutCorsPolicyRequest

func (c *Client) PutCorsPolicyRequest(input *PutCorsPolicyInput) PutCorsPolicyRequest

PutCorsPolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Sets the cross-origin resource sharing (CORS) configuration on a container so that the container can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com to access your AWS Elemental MediaStore container at my.example.container.com by using the browser's XMLHttpRequest capability.

To enable CORS on a container, you attach a CORS policy to the container. In the CORS policy, you configure rules that identify origins and the HTTP methods that can be executed on your container. The policy can contain up to 398,000 characters. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.

To learn more about CORS, see Cross-Origin Resource Sharing (CORS) in AWS Elemental MediaStore (https://docs.aws.amazon.com/mediastore/latest/ug/cors-policy.html).

// Example sending a request using PutCorsPolicyRequest.
req := client.PutCorsPolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutCorsPolicy

func (*Client) PutLifecyclePolicyRequest

func (c *Client) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) PutLifecyclePolicyRequest

PutLifecyclePolicyRequest returns a request value for making API operation for AWS Elemental MediaStore.

Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy. It takes up to 20 minutes for the change to take effect.

For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy (https://docs.aws.amazon.com/mediastore/latest/ug/policies-object-lifecycle-components.html).

// Example sending a request using PutLifecyclePolicyRequest.
req := client.PutLifecyclePolicyRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutLifecyclePolicy

func (*Client) StartAccessLoggingRequest

func (c *Client) StartAccessLoggingRequest(input *StartAccessLoggingInput) StartAccessLoggingRequest

StartAccessLoggingRequest returns a request value for making API operation for AWS Elemental MediaStore.

Starts access logging on the specified container. When you enable access logging on a container, MediaStore delivers access logs for objects stored in that container to Amazon CloudWatch Logs.

// Example sending a request using StartAccessLoggingRequest.
req := client.StartAccessLoggingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StartAccessLogging

func (*Client) StopAccessLoggingRequest

func (c *Client) StopAccessLoggingRequest(input *StopAccessLoggingInput) StopAccessLoggingRequest

StopAccessLoggingRequest returns a request value for making API operation for AWS Elemental MediaStore.

Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.

// Example sending a request using StopAccessLoggingRequest.
req := client.StopAccessLoggingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StopAccessLogging

func (*Client) TagResourceRequest

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS Elemental MediaStore.

Adds tags to the specified AWS Elemental MediaStore container. Tags are key:value pairs that you can associate with AWS resources. For example, the tag key might be "customer" and the tag value might be "companyA." You can specify one or more tags to add to each container. You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore (https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html).

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResource

func (*Client) UntagResourceRequest

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS Elemental MediaStore.

Removes tags from the specified container. You can specify one or more tags to remove.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResource

type Container

type Container struct {

	// 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
	ARN *string `min:"1" type:"string"`

	// 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.
	AccessLoggingEnabled *bool `type:"boolean"`

	// Unix timestamp.
	CreationTime *time.Time `type:"timestamp"`

	// 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.
	Endpoint *string `min:"1" type:"string"`

	// The name of the container.
	Name *string `min:"1" 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.
	Status ContainerStatus `min:"1" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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

func (Container) String

func (s Container) String() string

String returns the string representation

type ContainerStatus

type ContainerStatus string
const (
	ContainerStatusActive   ContainerStatus = "ACTIVE"
	ContainerStatusCreating ContainerStatus = "CREATING"
	ContainerStatusDeleting ContainerStatus = "DELETING"
)

Enum values for ContainerStatus

func (ContainerStatus) MarshalValue

func (enum ContainerStatus) MarshalValue() (string, error)

func (ContainerStatus) MarshalValueBuf

func (enum ContainerStatus) MarshalValueBuf(b []byte) ([]byte, error)

type CorsRule

type CorsRule struct {

	// Specifies which headers are allowed in a preflight OPTIONS request through
	// the Access-Control-Request-Headers header. Each header name that is specified
	// in Access-Control-Request-Headers must have a corresponding entry in the
	// rule. Only the headers that were requested are sent back.
	//
	// This element can contain only one wildcard character (*).
	//
	// AllowedHeaders is a required field
	AllowedHeaders []string `type:"list" required:"true"`

	// Identifies an HTTP method that the origin that is specified in the rule is
	// allowed to execute.
	//
	// Each CORS rule must contain at least one AllowedMethods and one AllowedOrigins
	// element.
	AllowedMethods []MethodName `min:"1" type:"list"`

	// One or more response headers that you want users to be able to access from
	// their applications (for example, from a JavaScript XMLHttpRequest object).
	//
	// Each CORS rule must have at least one AllowedOrigins element. The string
	// value can include only one wildcard character (*), for example, http://*.example.com.
	// Additionally, you can specify only one wildcard character to allow cross-origin
	// access for all origins.
	//
	// AllowedOrigins is a required field
	AllowedOrigins []string `min:"1" type:"list" required:"true"`

	// One or more headers in the response that you want users to be able to access
	// from their applications (for example, from a JavaScript XMLHttpRequest object).
	//
	// This element is optional for each rule.
	ExposeHeaders []string `type:"list"`

	// The time in seconds that your browser caches the preflight response for the
	// specified resource.
	//
	// A CORS rule can have only one MaxAgeSeconds element.
	MaxAgeSeconds *int64 `type:"integer"`
	// contains filtered or unexported fields
}

A rule for a CORS policy. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.

func (CorsRule) String

func (s CorsRule) String() string

String returns the string representation

func (*CorsRule) Validate

func (s *CorsRule) Validate() error

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

type CreateContainerInput

type CreateContainerInput struct {

	// The name for the container. The name must be from 1 to 255 characters. Container
	// names must be unique to your AWS account within a specific region. As an
	// example, you could create a container named movies in every region, as long
	// as you don’t have an existing container with that name.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`

	// An array of key:value pairs that you define. These values can be anything
	// that you want. Typically, the tag key represents a category (such as "environment")
	// and the tag value represents a specific value within that category (such
	// as "test," "development," or "production"). You can add up to 50 tags to
	// each container. For more information about tagging, including naming and
	// usage conventions, see Tagging Resources in MediaStore (https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html).
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (CreateContainerInput) String

func (s CreateContainerInput) String() string

String returns the string representation

func (*CreateContainerInput) Validate

func (s *CreateContainerInput) Validate() error

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

type CreateContainerOutput

type CreateContainerOutput struct {

	// ContainerARN: The Amazon Resource Name (ARN) of the newly created 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
	//
	// ContainerName: The container name as specified in the request.
	//
	// CreationTime: Unix time stamp.
	//
	// Status: 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 an endpoint is available, the
	// status changes to ACTIVE.
	//
	// The return value does not include the container's endpoint. To make downstream
	// requests, you must obtain this value by using DescribeContainer or ListContainers.
	//
	// Container is a required field
	Container *Container `type:"structure" required:"true"`
	// contains filtered or unexported fields
}

func (CreateContainerOutput) String

func (s CreateContainerOutput) String() string

String returns the string representation

type CreateContainerRequest

type CreateContainerRequest struct {
	*aws.Request
	Input *CreateContainerInput
	Copy  func(*CreateContainerInput) CreateContainerRequest
}

CreateContainerRequest is the request type for the CreateContainer API operation.

func (CreateContainerRequest) Send

Send marshals and sends the CreateContainer API request.

type CreateContainerResponse

type CreateContainerResponse struct {
	*CreateContainerOutput
	// contains filtered or unexported fields
}

CreateContainerResponse is the response type for the CreateContainer API operation.

func (*CreateContainerResponse) SDKResponseMetdata

func (r *CreateContainerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateContainer request.

type DeleteContainerInput

type DeleteContainerInput struct {

	// The name of the container to delete.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteContainerInput) String

func (s DeleteContainerInput) String() string

String returns the string representation

func (*DeleteContainerInput) Validate

func (s *DeleteContainerInput) Validate() error

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

type DeleteContainerOutput

type DeleteContainerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteContainerOutput) String

func (s DeleteContainerOutput) String() string

String returns the string representation

type DeleteContainerPolicyInput

type DeleteContainerPolicyInput struct {

	// The name of the container that holds the policy.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteContainerPolicyInput) String

String returns the string representation

func (*DeleteContainerPolicyInput) Validate

func (s *DeleteContainerPolicyInput) Validate() error

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

type DeleteContainerPolicyOutput

type DeleteContainerPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteContainerPolicyOutput) String

String returns the string representation

type DeleteContainerPolicyRequest

type DeleteContainerPolicyRequest struct {
	*aws.Request
	Input *DeleteContainerPolicyInput
	Copy  func(*DeleteContainerPolicyInput) DeleteContainerPolicyRequest
}

DeleteContainerPolicyRequest is the request type for the DeleteContainerPolicy API operation.

func (DeleteContainerPolicyRequest) Send

Send marshals and sends the DeleteContainerPolicy API request.

type DeleteContainerPolicyResponse

type DeleteContainerPolicyResponse struct {
	*DeleteContainerPolicyOutput
	// contains filtered or unexported fields
}

DeleteContainerPolicyResponse is the response type for the DeleteContainerPolicy API operation.

func (*DeleteContainerPolicyResponse) SDKResponseMetdata

func (r *DeleteContainerPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteContainerPolicy request.

type DeleteContainerRequest

type DeleteContainerRequest struct {
	*aws.Request
	Input *DeleteContainerInput
	Copy  func(*DeleteContainerInput) DeleteContainerRequest
}

DeleteContainerRequest is the request type for the DeleteContainer API operation.

func (DeleteContainerRequest) Send

Send marshals and sends the DeleteContainer API request.

type DeleteContainerResponse

type DeleteContainerResponse struct {
	*DeleteContainerOutput
	// contains filtered or unexported fields
}

DeleteContainerResponse is the response type for the DeleteContainer API operation.

func (*DeleteContainerResponse) SDKResponseMetdata

func (r *DeleteContainerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteContainer request.

type DeleteCorsPolicyInput

type DeleteCorsPolicyInput struct {

	// The name of the container to remove the policy from.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteCorsPolicyInput) String

func (s DeleteCorsPolicyInput) String() string

String returns the string representation

func (*DeleteCorsPolicyInput) Validate

func (s *DeleteCorsPolicyInput) Validate() error

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

type DeleteCorsPolicyOutput

type DeleteCorsPolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteCorsPolicyOutput) String

func (s DeleteCorsPolicyOutput) String() string

String returns the string representation

type DeleteCorsPolicyRequest

type DeleteCorsPolicyRequest struct {
	*aws.Request
	Input *DeleteCorsPolicyInput
	Copy  func(*DeleteCorsPolicyInput) DeleteCorsPolicyRequest
}

DeleteCorsPolicyRequest is the request type for the DeleteCorsPolicy API operation.

func (DeleteCorsPolicyRequest) Send

Send marshals and sends the DeleteCorsPolicy API request.

type DeleteCorsPolicyResponse

type DeleteCorsPolicyResponse struct {
	*DeleteCorsPolicyOutput
	// contains filtered or unexported fields
}

DeleteCorsPolicyResponse is the response type for the DeleteCorsPolicy API operation.

func (*DeleteCorsPolicyResponse) SDKResponseMetdata

func (r *DeleteCorsPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteCorsPolicy request.

type DeleteLifecyclePolicyInput

type DeleteLifecyclePolicyInput struct {

	// The name of the container that holds the object lifecycle policy.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLifecyclePolicyInput) String

String returns the string representation

func (*DeleteLifecyclePolicyInput) Validate

func (s *DeleteLifecyclePolicyInput) Validate() error

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

type DeleteLifecyclePolicyOutput

type DeleteLifecyclePolicyOutput struct {
	// contains filtered or unexported fields
}

func (DeleteLifecyclePolicyOutput) String

String returns the string representation

type DeleteLifecyclePolicyRequest

type DeleteLifecyclePolicyRequest struct {
	*aws.Request
	Input *DeleteLifecyclePolicyInput
	Copy  func(*DeleteLifecyclePolicyInput) DeleteLifecyclePolicyRequest
}

DeleteLifecyclePolicyRequest is the request type for the DeleteLifecyclePolicy API operation.

func (DeleteLifecyclePolicyRequest) Send

Send marshals and sends the DeleteLifecyclePolicy API request.

type DeleteLifecyclePolicyResponse

type DeleteLifecyclePolicyResponse struct {
	*DeleteLifecyclePolicyOutput
	// contains filtered or unexported fields
}

DeleteLifecyclePolicyResponse is the response type for the DeleteLifecyclePolicy API operation.

func (*DeleteLifecyclePolicyResponse) SDKResponseMetdata

func (r *DeleteLifecyclePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteLifecyclePolicy request.

type DescribeContainerInput

type DescribeContainerInput struct {

	// The name of the container to query.
	ContainerName *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (DescribeContainerInput) String

func (s DescribeContainerInput) String() string

String returns the string representation

func (*DescribeContainerInput) Validate

func (s *DescribeContainerInput) Validate() error

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

type DescribeContainerOutput

type DescribeContainerOutput struct {

	// The name of the queried container.
	Container *Container `type:"structure"`
	// contains filtered or unexported fields
}

func (DescribeContainerOutput) String

func (s DescribeContainerOutput) String() string

String returns the string representation

type DescribeContainerRequest

type DescribeContainerRequest struct {
	*aws.Request
	Input *DescribeContainerInput
	Copy  func(*DescribeContainerInput) DescribeContainerRequest
}

DescribeContainerRequest is the request type for the DescribeContainer API operation.

func (DescribeContainerRequest) Send

Send marshals and sends the DescribeContainer API request.

type DescribeContainerResponse

type DescribeContainerResponse struct {
	*DescribeContainerOutput
	// contains filtered or unexported fields
}

DescribeContainerResponse is the response type for the DescribeContainer API operation.

func (*DescribeContainerResponse) SDKResponseMetdata

func (r *DescribeContainerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeContainer request.

type GetContainerPolicyInput

type GetContainerPolicyInput struct {

	// The name of the container.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetContainerPolicyInput) String

func (s GetContainerPolicyInput) String() string

String returns the string representation

func (*GetContainerPolicyInput) Validate

func (s *GetContainerPolicyInput) Validate() error

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

type GetContainerPolicyOutput

type GetContainerPolicyOutput struct {

	// The contents of the access policy.
	//
	// Policy is a required field
	Policy *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetContainerPolicyOutput) String

func (s GetContainerPolicyOutput) String() string

String returns the string representation

type GetContainerPolicyRequest

type GetContainerPolicyRequest struct {
	*aws.Request
	Input *GetContainerPolicyInput
	Copy  func(*GetContainerPolicyInput) GetContainerPolicyRequest
}

GetContainerPolicyRequest is the request type for the GetContainerPolicy API operation.

func (GetContainerPolicyRequest) Send

Send marshals and sends the GetContainerPolicy API request.

type GetContainerPolicyResponse

type GetContainerPolicyResponse struct {
	*GetContainerPolicyOutput
	// contains filtered or unexported fields
}

GetContainerPolicyResponse is the response type for the GetContainerPolicy API operation.

func (*GetContainerPolicyResponse) SDKResponseMetdata

func (r *GetContainerPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetContainerPolicy request.

type GetCorsPolicyInput

type GetCorsPolicyInput struct {

	// The name of the container that the policy is assigned to.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetCorsPolicyInput) String

func (s GetCorsPolicyInput) String() string

String returns the string representation

func (*GetCorsPolicyInput) Validate

func (s *GetCorsPolicyInput) Validate() error

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

type GetCorsPolicyOutput

type GetCorsPolicyOutput struct {

	// The CORS policy assigned to the container.
	//
	// CorsPolicy is a required field
	CorsPolicy []CorsRule `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (GetCorsPolicyOutput) String

func (s GetCorsPolicyOutput) String() string

String returns the string representation

type GetCorsPolicyRequest

type GetCorsPolicyRequest struct {
	*aws.Request
	Input *GetCorsPolicyInput
	Copy  func(*GetCorsPolicyInput) GetCorsPolicyRequest
}

GetCorsPolicyRequest is the request type for the GetCorsPolicy API operation.

func (GetCorsPolicyRequest) Send

Send marshals and sends the GetCorsPolicy API request.

type GetCorsPolicyResponse

type GetCorsPolicyResponse struct {
	*GetCorsPolicyOutput
	// contains filtered or unexported fields
}

GetCorsPolicyResponse is the response type for the GetCorsPolicy API operation.

func (*GetCorsPolicyResponse) SDKResponseMetdata

func (r *GetCorsPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetCorsPolicy request.

type GetLifecyclePolicyInput

type GetLifecyclePolicyInput struct {

	// The name of the container that the object lifecycle policy is assigned to.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetLifecyclePolicyInput) String

func (s GetLifecyclePolicyInput) String() string

String returns the string representation

func (*GetLifecyclePolicyInput) Validate

func (s *GetLifecyclePolicyInput) Validate() error

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

type GetLifecyclePolicyOutput

type GetLifecyclePolicyOutput struct {

	// The object lifecycle policy that is assigned to the container.
	//
	// LifecyclePolicy is a required field
	LifecyclePolicy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetLifecyclePolicyOutput) String

func (s GetLifecyclePolicyOutput) String() string

String returns the string representation

type GetLifecyclePolicyRequest

type GetLifecyclePolicyRequest struct {
	*aws.Request
	Input *GetLifecyclePolicyInput
	Copy  func(*GetLifecyclePolicyInput) GetLifecyclePolicyRequest
}

GetLifecyclePolicyRequest is the request type for the GetLifecyclePolicy API operation.

func (GetLifecyclePolicyRequest) Send

Send marshals and sends the GetLifecyclePolicy API request.

type GetLifecyclePolicyResponse

type GetLifecyclePolicyResponse struct {
	*GetLifecyclePolicyOutput
	// contains filtered or unexported fields
}

GetLifecyclePolicyResponse is the response type for the GetLifecyclePolicy API operation.

func (*GetLifecyclePolicyResponse) SDKResponseMetdata

func (r *GetLifecyclePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLifecyclePolicy request.

type ListContainersInput

type ListContainersInput struct {

	// Enter the maximum number of containers in the response. Use from 1 to 255
	// characters.
	MaxResults *int64 `min:"1" type:"integer"`

	// Only if you used MaxResults in the first command, enter the token (which
	// was included in the previous response) to obtain the next set of containers.
	// This token is included in a response only if there actually are more containers
	// to list.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListContainersInput) String

func (s ListContainersInput) String() string

String returns the string representation

func (*ListContainersInput) Validate

func (s *ListContainersInput) Validate() error

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

type ListContainersOutput

type ListContainersOutput struct {

	// The names of the containers.
	//
	// Containers is a required field
	Containers []Container `type:"list" required:"true"`

	// NextToken is the token to use in the next call to ListContainers. This token
	// is returned only if you included the MaxResults tag in the original command,
	// and only if there are still containers to return.
	NextToken *string `min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListContainersOutput) String

func (s ListContainersOutput) String() string

String returns the string representation

type ListContainersPaginator

type ListContainersPaginator struct {
	aws.Pager
}

ListContainersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewListContainersPaginator

func NewListContainersPaginator(req ListContainersRequest) ListContainersPaginator

NewListContainersRequestPaginator returns a paginator for ListContainers. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.ListContainersRequest(input)
p := mediastore.NewListContainersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*ListContainersPaginator) CurrentPage

type ListContainersRequest

type ListContainersRequest struct {
	*aws.Request
	Input *ListContainersInput
	Copy  func(*ListContainersInput) ListContainersRequest
}

ListContainersRequest is the request type for the ListContainers API operation.

func (ListContainersRequest) Send

Send marshals and sends the ListContainers API request.

type ListContainersResponse

type ListContainersResponse struct {
	*ListContainersOutput
	// contains filtered or unexported fields
}

ListContainersResponse is the response type for the ListContainers API operation.

func (*ListContainersResponse) SDKResponseMetdata

func (r *ListContainersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListContainers request.

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// The Amazon Resource Name (ARN) for the container.
	//
	// Resource is a required field
	Resource *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

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

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {

	// An array of key:value pairs that are assigned to the container.
	Tags []Tag `type:"list"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type ListTagsForResourceRequest

type ListTagsForResourceRequest struct {
	*aws.Request
	Input *ListTagsForResourceInput
	Copy  func(*ListTagsForResourceInput) ListTagsForResourceRequest
}

ListTagsForResourceRequest is the request type for the ListTagsForResource API operation.

func (ListTagsForResourceRequest) Send

Send marshals and sends the ListTagsForResource API request.

type ListTagsForResourceResponse

type ListTagsForResourceResponse struct {
	*ListTagsForResourceOutput
	// contains filtered or unexported fields
}

ListTagsForResourceResponse is the response type for the ListTagsForResource API operation.

func (*ListTagsForResourceResponse) SDKResponseMetdata

func (r *ListTagsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTagsForResource request.

type MethodName

type MethodName string
const (
	MethodNamePut    MethodName = "PUT"
	MethodNameGet    MethodName = "GET"
	MethodNameDelete MethodName = "DELETE"
	MethodNameHead   MethodName = "HEAD"
)

Enum values for MethodName

func (MethodName) MarshalValue

func (enum MethodName) MarshalValue() (string, error)

func (MethodName) MarshalValueBuf

func (enum MethodName) MarshalValueBuf(b []byte) ([]byte, error)

type PutContainerPolicyInput

type PutContainerPolicyInput struct {

	// The name of the container.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`

	// The contents of the policy, which includes the following:
	//
	//    * One Version tag
	//
	//    * One Statement tag that contains the standard tags for the policy.
	//
	// Policy is a required field
	Policy *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutContainerPolicyInput) String

func (s PutContainerPolicyInput) String() string

String returns the string representation

func (*PutContainerPolicyInput) Validate

func (s *PutContainerPolicyInput) Validate() error

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

type PutContainerPolicyOutput

type PutContainerPolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutContainerPolicyOutput) String

func (s PutContainerPolicyOutput) String() string

String returns the string representation

type PutContainerPolicyRequest

type PutContainerPolicyRequest struct {
	*aws.Request
	Input *PutContainerPolicyInput
	Copy  func(*PutContainerPolicyInput) PutContainerPolicyRequest
}

PutContainerPolicyRequest is the request type for the PutContainerPolicy API operation.

func (PutContainerPolicyRequest) Send

Send marshals and sends the PutContainerPolicy API request.

type PutContainerPolicyResponse

type PutContainerPolicyResponse struct {
	*PutContainerPolicyOutput
	// contains filtered or unexported fields
}

PutContainerPolicyResponse is the response type for the PutContainerPolicy API operation.

func (*PutContainerPolicyResponse) SDKResponseMetdata

func (r *PutContainerPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutContainerPolicy request.

type PutCorsPolicyInput

type PutCorsPolicyInput struct {

	// The name of the container that you want to assign the CORS policy to.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`

	// The CORS policy to apply to the container.
	//
	// CorsPolicy is a required field
	CorsPolicy []CorsRule `min:"1" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (PutCorsPolicyInput) String

func (s PutCorsPolicyInput) String() string

String returns the string representation

func (*PutCorsPolicyInput) Validate

func (s *PutCorsPolicyInput) Validate() error

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

type PutCorsPolicyOutput

type PutCorsPolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutCorsPolicyOutput) String

func (s PutCorsPolicyOutput) String() string

String returns the string representation

type PutCorsPolicyRequest

type PutCorsPolicyRequest struct {
	*aws.Request
	Input *PutCorsPolicyInput
	Copy  func(*PutCorsPolicyInput) PutCorsPolicyRequest
}

PutCorsPolicyRequest is the request type for the PutCorsPolicy API operation.

func (PutCorsPolicyRequest) Send

Send marshals and sends the PutCorsPolicy API request.

type PutCorsPolicyResponse

type PutCorsPolicyResponse struct {
	*PutCorsPolicyOutput
	// contains filtered or unexported fields
}

PutCorsPolicyResponse is the response type for the PutCorsPolicy API operation.

func (*PutCorsPolicyResponse) SDKResponseMetdata

func (r *PutCorsPolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutCorsPolicy request.

type PutLifecyclePolicyInput

type PutLifecyclePolicyInput struct {

	// The name of the container that you want to assign the object lifecycle policy
	// to.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`

	// The object lifecycle policy to apply to the container.
	//
	// LifecyclePolicy is a required field
	LifecyclePolicy *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutLifecyclePolicyInput) String

func (s PutLifecyclePolicyInput) String() string

String returns the string representation

func (*PutLifecyclePolicyInput) Validate

func (s *PutLifecyclePolicyInput) Validate() error

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

type PutLifecyclePolicyOutput

type PutLifecyclePolicyOutput struct {
	// contains filtered or unexported fields
}

func (PutLifecyclePolicyOutput) String

func (s PutLifecyclePolicyOutput) String() string

String returns the string representation

type PutLifecyclePolicyRequest

type PutLifecyclePolicyRequest struct {
	*aws.Request
	Input *PutLifecyclePolicyInput
	Copy  func(*PutLifecyclePolicyInput) PutLifecyclePolicyRequest
}

PutLifecyclePolicyRequest is the request type for the PutLifecyclePolicy API operation.

func (PutLifecyclePolicyRequest) Send

Send marshals and sends the PutLifecyclePolicy API request.

type PutLifecyclePolicyResponse

type PutLifecyclePolicyResponse struct {
	*PutLifecyclePolicyOutput
	// contains filtered or unexported fields
}

PutLifecyclePolicyResponse is the response type for the PutLifecyclePolicy API operation.

func (*PutLifecyclePolicyResponse) SDKResponseMetdata

func (r *PutLifecyclePolicyResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutLifecyclePolicy request.

type StartAccessLoggingInput

type StartAccessLoggingInput struct {

	// The name of the container that you want to start access logging on.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartAccessLoggingInput) String

func (s StartAccessLoggingInput) String() string

String returns the string representation

func (*StartAccessLoggingInput) Validate

func (s *StartAccessLoggingInput) Validate() error

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

type StartAccessLoggingOutput

type StartAccessLoggingOutput struct {
	// contains filtered or unexported fields
}

func (StartAccessLoggingOutput) String

func (s StartAccessLoggingOutput) String() string

String returns the string representation

type StartAccessLoggingRequest

type StartAccessLoggingRequest struct {
	*aws.Request
	Input *StartAccessLoggingInput
	Copy  func(*StartAccessLoggingInput) StartAccessLoggingRequest
}

StartAccessLoggingRequest is the request type for the StartAccessLogging API operation.

func (StartAccessLoggingRequest) Send

Send marshals and sends the StartAccessLogging API request.

type StartAccessLoggingResponse

type StartAccessLoggingResponse struct {
	*StartAccessLoggingOutput
	// contains filtered or unexported fields
}

StartAccessLoggingResponse is the response type for the StartAccessLogging API operation.

func (*StartAccessLoggingResponse) SDKResponseMetdata

func (r *StartAccessLoggingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartAccessLogging request.

type StopAccessLoggingInput

type StopAccessLoggingInput struct {

	// The name of the container that you want to stop access logging on.
	//
	// ContainerName is a required field
	ContainerName *string `min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopAccessLoggingInput) String

func (s StopAccessLoggingInput) String() string

String returns the string representation

func (*StopAccessLoggingInput) Validate

func (s *StopAccessLoggingInput) Validate() error

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

type StopAccessLoggingOutput

type StopAccessLoggingOutput struct {
	// contains filtered or unexported fields
}

func (StopAccessLoggingOutput) String

func (s StopAccessLoggingOutput) String() string

String returns the string representation

type StopAccessLoggingRequest

type StopAccessLoggingRequest struct {
	*aws.Request
	Input *StopAccessLoggingInput
	Copy  func(*StopAccessLoggingInput) StopAccessLoggingRequest
}

StopAccessLoggingRequest is the request type for the StopAccessLogging API operation.

func (StopAccessLoggingRequest) Send

Send marshals and sends the StopAccessLogging API request.

type StopAccessLoggingResponse

type StopAccessLoggingResponse struct {
	*StopAccessLoggingOutput
	// contains filtered or unexported fields
}

StopAccessLoggingResponse is the response type for the StopAccessLogging API operation.

func (*StopAccessLoggingResponse) SDKResponseMetdata

func (r *StopAccessLoggingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopAccessLogging request.

type Tag

type Tag struct {

	// Part of the key:value pair that defines a tag. You can use a tag key to describe
	// a category of information, such as "customer." Tag keys are case-sensitive.
	//
	// Key is a required field
	Key *string `min:"1" type:"string" required:"true"`

	// Part of the key:value pair that defines a tag. You can use a tag value to
	// describe a specific value within a category, such as "companyA" or "companyB."
	// Tag values are case-sensitive.
	Value *string `type:"string"`
	// contains filtered or unexported fields
}

A collection of tags associated with a container. Each tag consists of a key:value pair, which can be anything you define. Typically, the tag key represents a category (such as "environment") and the tag value represents a specific value within that category (such as "test," "development," or "production"). You can add up to 50 tags to each container. For more information about tagging, including naming and usage conventions, see Tagging Resources in MediaStore (https://docs.aws.amazon.com/mediastore/latest/ug/tagging.html).

func (Tag) String

func (s Tag) String() string

String returns the string representation

func (*Tag) Validate

func (s *Tag) Validate() error

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

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) for the container.
	//
	// Resource is a required field
	Resource *string `min:"1" type:"string" required:"true"`

	// An array of key:value pairs that you want to add to the container. You need
	// to specify only the tags that you want to add or update. For example, suppose
	// a container already has two tags (customer:CompanyA and priority:High). You
	// want to change the priority tag and also add a third tag (type:Contract).
	// For TagResource, you specify the following tags: priority:Medium, type:Contract.
	// The result is that your container has three tags: customer:CompanyA, priority:Medium,
	// and type:Contract.
	//
	// Tags is a required field
	Tags []Tag `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) for the container.
	//
	// Resource is a required field
	Resource *string `min:"1" type:"string" required:"true"`

	// A comma-separated list of keys for tags that you want to remove from the
	// container. For example, if your container has two tags (customer:CompanyA
	// and priority:High) and you want to remove one of the tags (priority:High),
	// you specify the key for the tag that you want to remove (priority).
	//
	// TagKeys is a required field
	TagKeys []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

Source Files

api_client.go api_doc.go api_enums.go api_errors.go api_op_CreateContainer.go api_op_DeleteContainer.go api_op_DeleteContainerPolicy.go api_op_DeleteCorsPolicy.go api_op_DeleteLifecyclePolicy.go api_op_DescribeContainer.go api_op_GetContainerPolicy.go api_op_GetCorsPolicy.go api_op_GetLifecyclePolicy.go api_op_ListContainers.go api_op_ListTagsForResource.go api_op_PutContainerPolicy.go api_op_PutCorsPolicy.go api_op_PutLifecyclePolicy.go api_op_StartAccessLogging.go api_op_StopAccessLogging.go api_op_TagResource.go api_op_UntagResource.go api_types.go

Directories

PathSynopsis
service/mediastore/mediastoreifacePackage mediastoreiface provides an interface to enable mocking the AWS Elemental MediaStore service client for testing your code.
Version
v0.18.0
Published
Dec 12, 2019
Platform
js/wasm
Imports
7 packages
Last checked
1 minute ago

Tools for package owners.