PolicyApi
All URIs are relative to https://s3.eu-central-3.ionoscloud.com
Method | HTTP request | Description |
---|---|---|
Delete /{Bucket}?policy | DeleteBucketPolicy | |
Get /{Bucket}?policy | GetBucketPolicy | |
Get /{Bucket}?policyStatus | GetBucketPolicyStatus | |
Put /{Bucket}?policy | PutBucketPolicy |
DeleteBucketPolicy
DeleteBucketPolicy
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 apiDeleteBucketPolicyRequest 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 "PolicyApiService.DeleteBucketPolicy"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
GetBucketPolicy
GetBucketPolicy
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 apiGetBucketPolicyRequest struct via the builder pattern
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/jsonapplication/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 "PolicyApiService.GetBucketPolicy"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
GetBucketPolicyStatus
GetBucketPolicyStatus
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 apiGetBucketPolicyStatusRequest 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 "PolicyApiService.GetBucketPolicyStatus"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
PutBucketPolicy
PutBucketPolicy
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 apiPutBucketPolicyRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
bucketPolicy | |||
contentMD5 | string |
Return type
(empty response body)
HTTP request headers
Content-Type: application/json
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 "PolicyApiService.PutBucketPolicy"
string. Similar rules for overriding default operation server index and variables apply by using sw.ContextOperationServerIndices
and sw.ContextOperationServerVariables
context maps.
Last updated