Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) CreateOssInstance(optional openapi.M) (*CreateOssInstanceResponse, error)
- func (api API) GetBucketPolicy(BucketName string, optional openapi.M) (*GetBucketPolicyResponse, error)
- func (api API) PutBucketLimit(BucketLimit int, optional openapi.M) (*PutBucketLimitResponse, error)
- func (api API) PutBucketPolicy(BucketName string, optional openapi.M) (*PutBucketPolicyResponse, error)
- func (api API) PutBucketStatus(Bucket, Status string, optional openapi.M) (*PutBucketStatusResponse, error)
- type CreateOssInstanceResponse
- type GetBucketPolicyResponse
- type PutBucketLimitResponse
- type PutBucketPolicyResponse
- type PutBucketStatusResponse
Constants ¶
const ( Product = "OssAdmin" Style = "RPC" Version = "2013-07-12" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) CreateOssInstance ¶
func (api API) CreateOssInstance(optional openapi.M) (*CreateOssInstanceResponse, error)
CreateOssInstance version 2013-07-12
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: aliUid, type: int name: region, type: string
func (API) GetBucketPolicy ¶
func (api API) GetBucketPolicy(BucketName string, optional openapi.M) (*GetBucketPolicyResponse, error)
GetBucketPolicy version 2013-07-12
required parameters:
name: BucketName, type: string
optional parameters:
name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: bid, type: string name: uid, type: string
func (API) PutBucketLimit ¶
func (api API) PutBucketLimit(BucketLimit int, optional openapi.M) (*PutBucketLimitResponse, error)
PutBucketLimit version 2013-07-12
required parameters:
name: BucketLimit, type: int
optional parameters:
name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: bid, type: string name: uid, type: string
func (API) PutBucketPolicy ¶
func (api API) PutBucketPolicy(BucketName string, optional openapi.M) (*PutBucketPolicyResponse, error)
PutBucketPolicy version 2013-07-12
required parameters:
name: BucketName, type: string
optional parameters:
name: DisallowEmptyRefer, type: bool name: EnableDualCluster, type: bool name: ErrorFile, type: string name: IamPolicy, type: string name: IndexFile, type: string name: Location, type: string name: LogBucket, type: string name: LogPrefix, type: string name: OwnerAccount, type: string name: WhiteReferList, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: bid, type: string name: uid, type: string
func (API) PutBucketStatus ¶
func (api API) PutBucketStatus(Bucket, Status string, optional openapi.M) (*PutBucketStatusResponse, error)
PutBucketStatus version 2013-07-12
required parameters:
name: Bucket, type: string name: Status, type: string
optional parameters:
name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https name: bid, type: string name: uid, type: string
type CreateOssInstanceResponse ¶
type CreateOssInstanceResponse struct { AliUid int64 `json:"aliUid" xml:"aliUid"` Code string EndTime string `json:"endTime" xml:"endTime"` InstacneStatus string `json:"instacneStatus" xml:"instacneStatus"` InstanceId string `json:"instanceId" xml:"instanceId"` InstanceName string `json:"instanceName" xml:"instanceName"` Message string StartTime string `json:"startTime" xml:"startTime"` Success bool }
CreateOssInstanceResponse represents the response of the api CreateOssInstance.
type GetBucketPolicyResponse ¶
type GetBucketPolicyResponse struct { DisallowEmptyRefer bool EnableDualCluster bool ErrorFile string IamPolicy string IndexFile string Location string LogBucket string LogPrefix string WhiteReferList struct { } }
GetBucketPolicyResponse represents the response of the api GetBucketPolicy.
type PutBucketLimitResponse ¶
PutBucketLimitResponse represents the response of the api PutBucketLimit.
type PutBucketPolicyResponse ¶
PutBucketPolicyResponse represents the response of the api PutBucketPolicy.
type PutBucketStatusResponse ¶
PutBucketStatusResponse represents the response of the api PutBucketStatus.