LifecycleApi
All URIs are relative to https://s3.eu-central-3.ionoscloud.com
Method | HTTP request | Description |
---|---|---|
Delete /{Bucket}?lifecycle | DeleteBucketLifecycle | |
Get /{Bucket}?lifecycle | GetBucketLifecycle | |
Put /{Bucket}?lifecycle | PutBucketLifecycle |
DeleteBucketLifecycle
DeleteBucketLifecycle
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 apiDeleteBucketLifecycleRequest 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 "LifecycleApiService.DeleteBucketLifecycle"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
GetBucketLifecycle
GetBucketLifecycle
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 apiGetBucketLifecycleRequest 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 "LifecycleApiService.GetBucketLifecycle"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
PutBucketLifecycle
PutBucketLifecycle
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 apiPutBucketLifecycleRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
contentMD5 | string | ||
putBucketLifecycleRequest |
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 "LifecycleApiService.PutBucketLifecycle"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
Last updated