// Creates a bucket in Amazon S3 to store application versions, logs, and other
// files used by Elastic Beanstalk environments. The Elastic Beanstalk console and
// EB CLI call this API the first time you create an environment in a region. If
// the storage location already exists, CreateStorageLocation still returns the
// bucket name but does not create a new bucket.
Creates a bucket in Amazon S3 to store application versions, logs, and other
files used by Elastic Beanstalk environments. The Elastic Beanstalk console and
EB CLI call this API the first time you create an environment in a region. If
the storage location already exists, CreateStorageLocation still returns the
bucket name but does not create a new bucket.
// Creates a bucket in Amazon S3 to store application versions logs and other // files used by Elastic Beanstalk environments . The Elastic Beanstalk console and // EB CLI call this API the first time you create an environment in a region . If // the storage location already exists CreateStorageLocation still returns the // bucket name but does not create a new bucket .
func (c *Client) CreateStorageLocation(ctx context.Context, params *CreateStorageLocationInput, optFns ...func(*Options)) (*CreateStorageLocationOutput, error) {
	if params == nil {
		params = &CreateStorageLocationInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateStorageLocation", params, optFns, addOperationCreateStorageLocationMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateStorageLocationOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateStorageLocation ( ctx context . Context , params * CreateStorageLocationInput , optFns ... func ( * Options ) ) ( * CreateStorageLocationOutput , error ) { if params == nil { params = & CreateStorageLocationInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateStorageLocationMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateStorageLocationOutput ) out . ResultMetadata = metadata return out , nil }
Creates a bucket in Amazon S3 to store application versions, logs, and other
files used by Elastic Beanstalk environments.
Creates a bucket in Amazon S3 to store application versions logs and other files used by Elastic Beanstalk environments .