BucketsApi
All URIs are relative to https://s3.eu-central-3.ionoscloud.com
Method | HTTP request | Description |
---|---|---|
Put /{Bucket} | CreateBucket | |
Delete /{Bucket} | DeleteBucket | |
Get /{Bucket}?location | GetBucketLocation | |
Head /{Bucket} | HeadBucket | |
Get / | ListBuckets |
CreateBucket
CreateBucket
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bucket | string |
Other Parameters
Other parameters are passed through a pointer to an apiCreateBucketRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
createBucketConfiguration | |||
xAmzBucketObjectLockEnabled | bool | Specifies whether you want S3 Object Lock enabled for the new bucket. After bucket creation, you must apply the Object Lock configuration. | [default to false] |
Return type
(empty response body)
HTTP request headers
Content-Type: application/xml
Accept: application/xml
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "BucketsApiService.CreateBucket"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
DeleteBucket
DeleteBucket
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bucket | string |
Other Parameters
Other parameters are passed through a pointer to an apiDeleteBucketRequest struct via the builder pattern
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/xml
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "BucketsApiService.DeleteBucket"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
GetBucketLocation
GetBucketLocation
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bucket | string |
Other Parameters
Other parameters are passed through a pointer to an apiGetBucketLocationRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/xml
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "BucketsApiService.GetBucketLocation"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
HeadBucket
HeadBucket
Example
Path Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
bucket | string |
Other Parameters
Other parameters are passed through a pointer to an apiHeadBucketRequest struct via the builder pattern
Return type
(empty response body)
HTTP request headers
Content-Type: Not defined
Accept: application/xml
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "BucketsApiService.HeadBucket"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
ListBuckets
ListBuckets
Example
Path Parameters
This endpoint does not need any parameter.
Other Parameters
Other parameters are passed through a pointer to an apiListBucketsRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/xml
URLs Configuration per Operation
Each operation can use different server URL defined using OperationServers
map in the Configuration
. An operation is uniquely identified by "BucketsApiService.ListBuckets"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
Last updated