Skip to content

/AWS1/CL_MDS=>CREATECONTAINER()

About CreateContainer

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

Method Signature

IMPORTING

Required arguments:

IV_CONTAINERNAME TYPE /AWS1/MDSCONTAINERNAME /AWS1/MDSCONTAINERNAME

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.

Optional arguments:

IT_TAGS TYPE /AWS1/CL_MDSTAG=>TT_TAGLIST TT_TAGLIST

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MDSCREATECONTAINEROUT /AWS1/CL_MDSCREATECONTAINEROUT