...

Package objectstorage

import "github.com/oracle/oci-go-sdk/objectstorage"
Overview
Index
Subdirectories

Overview ▾

Index ▾

func GetArchivalStateEnumStringValues() []string
func GetBucketAutoTieringEnumStringValues() []string
func GetBucketPublicAccessTypeEnumStringValues() []string
func GetBucketStorageTierEnumStringValues() []string
func GetBucketVersioningEnumStringValues() []string
func GetCreateBucketDetailsPublicAccessTypeEnumStringValues() []string
func GetCreateBucketDetailsStorageTierEnumStringValues() []string
func GetCreateBucketDetailsVersioningEnumStringValues() []string
func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumStringValues() []string
func GetDurationTimeUnitEnumStringValues() []string
func GetGetBucketFieldsEnumStringValues() []string
func GetGetObjectArchivalStateEnumStringValues() []string
func GetGetObjectStorageTierEnumStringValues() []string
func GetHeadObjectArchivalStateEnumStringValues() []string
func GetHeadObjectStorageTierEnumStringValues() []string
func GetListBucketsFieldsEnumStringValues() []string
func GetListObjectVersionsFieldsEnumStringValues() []string
func GetObjectLifecycleRuleTimeUnitEnumStringValues() []string
func GetPreauthenticatedRequestAccessTypeEnumStringValues() []string
func GetPreauthenticatedRequestBucketListingActionEnumStringValues() []string
func GetPreauthenticatedRequestSummaryAccessTypeEnumStringValues() []string
func GetPutObjectStorageTierEnumStringValues() []string
func GetReplicationPolicyStatusEnumStringValues() []string
func GetReplicationPolicySummaryStatusEnumStringValues() []string
func GetSseCustomerKeyDetailsAlgorithmEnumStringValues() []string
func GetStorageTierEnumStringValues() []string
func GetUpdateBucketDetailsPublicAccessTypeEnumStringValues() []string
func GetUpdateBucketDetailsVersioningEnumStringValues() []string
func GetWorkRequestOperationTypeEnumStringValues() []string
func GetWorkRequestResourceActionTypeEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
func GetWorkRequestStatusEnumStringValues() []string
func GetWorkRequestSummaryOperationTypeEnumStringValues() []string
func GetWorkRequestSummaryStatusEnumStringValues() []string
type AbortMultipartUploadRequest
    func (request AbortMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request AbortMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request AbortMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request AbortMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
    func (request AbortMultipartUploadRequest) String() string
    func (request AbortMultipartUploadRequest) ValidateEnumValue() (bool, error)
type AbortMultipartUploadResponse
    func (response AbortMultipartUploadResponse) HTTPResponse() *http.Response
    func (response AbortMultipartUploadResponse) String() string
type ArchivalStateEnum
    func GetArchivalStateEnumValues() []ArchivalStateEnum
    func GetMappingArchivalStateEnum(val string) (ArchivalStateEnum, bool)
type Bucket
    func (m Bucket) String() string
    func (m Bucket) ValidateEnumValue() (bool, error)
type BucketAutoTieringEnum
    func GetBucketAutoTieringEnumValues() []BucketAutoTieringEnum
    func GetMappingBucketAutoTieringEnum(val string) (BucketAutoTieringEnum, bool)
type BucketPublicAccessTypeEnum
    func GetBucketPublicAccessTypeEnumValues() []BucketPublicAccessTypeEnum
    func GetMappingBucketPublicAccessTypeEnum(val string) (BucketPublicAccessTypeEnum, bool)
type BucketStorageTierEnum
    func GetBucketStorageTierEnumValues() []BucketStorageTierEnum
    func GetMappingBucketStorageTierEnum(val string) (BucketStorageTierEnum, bool)
type BucketSummary
    func (m BucketSummary) String() string
    func (m BucketSummary) ValidateEnumValue() (bool, error)
type BucketVersioningEnum
    func GetBucketVersioningEnumValues() []BucketVersioningEnum
    func GetMappingBucketVersioningEnum(val string) (BucketVersioningEnum, bool)
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type CommitMultipartUploadDetails
    func (m CommitMultipartUploadDetails) String() string
    func (m CommitMultipartUploadDetails) ValidateEnumValue() (bool, error)
type CommitMultipartUploadPartDetails
    func (m CommitMultipartUploadPartDetails) String() string
    func (m CommitMultipartUploadPartDetails) ValidateEnumValue() (bool, error)
type CommitMultipartUploadRequest
    func (request CommitMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CommitMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CommitMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CommitMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
    func (request CommitMultipartUploadRequest) String() string
    func (request CommitMultipartUploadRequest) ValidateEnumValue() (bool, error)
type CommitMultipartUploadResponse
    func (response CommitMultipartUploadResponse) HTTPResponse() *http.Response
    func (response CommitMultipartUploadResponse) String() string
type CopyObjectDetails
    func (m CopyObjectDetails) String() string
    func (m CopyObjectDetails) ValidateEnumValue() (bool, error)
type CopyObjectRequest
    func (request CopyObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CopyObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CopyObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CopyObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request CopyObjectRequest) String() string
    func (request CopyObjectRequest) ValidateEnumValue() (bool, error)
type CopyObjectResponse
    func (response CopyObjectResponse) HTTPResponse() *http.Response
    func (response CopyObjectResponse) String() string
type CreateBucketDetails
    func (m CreateBucketDetails) String() string
    func (m CreateBucketDetails) ValidateEnumValue() (bool, error)
type CreateBucketDetailsPublicAccessTypeEnum
    func GetCreateBucketDetailsPublicAccessTypeEnumValues() []CreateBucketDetailsPublicAccessTypeEnum
    func GetMappingCreateBucketDetailsPublicAccessTypeEnum(val string) (CreateBucketDetailsPublicAccessTypeEnum, bool)
type CreateBucketDetailsStorageTierEnum
    func GetCreateBucketDetailsStorageTierEnumValues() []CreateBucketDetailsStorageTierEnum
    func GetMappingCreateBucketDetailsStorageTierEnum(val string) (CreateBucketDetailsStorageTierEnum, bool)
type CreateBucketDetailsVersioningEnum
    func GetCreateBucketDetailsVersioningEnumValues() []CreateBucketDetailsVersioningEnum
    func GetMappingCreateBucketDetailsVersioningEnum(val string) (CreateBucketDetailsVersioningEnum, bool)
type CreateBucketRequest
    func (request CreateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CreateBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBucketRequest) String() string
    func (request CreateBucketRequest) ValidateEnumValue() (bool, error)
type CreateBucketResponse
    func (response CreateBucketResponse) HTTPResponse() *http.Response
    func (response CreateBucketResponse) String() string
type CreateMultipartUploadDetails
    func (m CreateMultipartUploadDetails) String() string
    func (m CreateMultipartUploadDetails) ValidateEnumValue() (bool, error)
type CreateMultipartUploadRequest
    func (request CreateMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CreateMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateMultipartUploadRequest) String() string
    func (request CreateMultipartUploadRequest) ValidateEnumValue() (bool, error)
type CreateMultipartUploadResponse
    func (response CreateMultipartUploadResponse) HTTPResponse() *http.Response
    func (response CreateMultipartUploadResponse) String() string
type CreatePreauthenticatedRequestDetails
    func (m CreatePreauthenticatedRequestDetails) String() string
    func (m CreatePreauthenticatedRequestDetails) ValidateEnumValue() (bool, error)
type CreatePreauthenticatedRequestDetailsAccessTypeEnum
    func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumValues() []CreatePreauthenticatedRequestDetailsAccessTypeEnum
    func GetMappingCreatePreauthenticatedRequestDetailsAccessTypeEnum(val string) (CreatePreauthenticatedRequestDetailsAccessTypeEnum, bool)
type CreatePreauthenticatedRequestRequest
    func (request CreatePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreatePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreatePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CreatePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CreatePreauthenticatedRequestRequest) String() string
    func (request CreatePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
type CreatePreauthenticatedRequestResponse
    func (response CreatePreauthenticatedRequestResponse) HTTPResponse() *http.Response
    func (response CreatePreauthenticatedRequestResponse) String() string
type CreateReplicationPolicyDetails
    func (m CreateReplicationPolicyDetails) String() string
    func (m CreateReplicationPolicyDetails) ValidateEnumValue() (bool, error)
type CreateReplicationPolicyRequest
    func (request CreateReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CreateReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateReplicationPolicyRequest) String() string
    func (request CreateReplicationPolicyRequest) ValidateEnumValue() (bool, error)
type CreateReplicationPolicyResponse
    func (response CreateReplicationPolicyResponse) HTTPResponse() *http.Response
    func (response CreateReplicationPolicyResponse) String() string
type CreateRetentionRuleDetails
    func (m CreateRetentionRuleDetails) String() string
    func (m CreateRetentionRuleDetails) ValidateEnumValue() (bool, error)
type CreateRetentionRuleRequest
    func (request CreateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request CreateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateRetentionRuleRequest) String() string
    func (request CreateRetentionRuleRequest) ValidateEnumValue() (bool, error)
type CreateRetentionRuleResponse
    func (response CreateRetentionRuleResponse) HTTPResponse() *http.Response
    func (response CreateRetentionRuleResponse) String() string
type DeleteBucketRequest
    func (request DeleteBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeleteBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBucketRequest) String() string
    func (request DeleteBucketRequest) ValidateEnumValue() (bool, error)
type DeleteBucketResponse
    func (response DeleteBucketResponse) HTTPResponse() *http.Response
    func (response DeleteBucketResponse) String() string
type DeleteObjectLifecyclePolicyRequest
    func (request DeleteObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeleteObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteObjectLifecyclePolicyRequest) String() string
    func (request DeleteObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
type DeleteObjectLifecyclePolicyResponse
    func (response DeleteObjectLifecyclePolicyResponse) HTTPResponse() *http.Response
    func (response DeleteObjectLifecyclePolicyResponse) String() string
type DeleteObjectRequest
    func (request DeleteObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeleteObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteObjectRequest) String() string
    func (request DeleteObjectRequest) ValidateEnumValue() (bool, error)
type DeleteObjectResponse
    func (response DeleteObjectResponse) HTTPResponse() *http.Response
    func (response DeleteObjectResponse) String() string
type DeletePreauthenticatedRequestRequest
    func (request DeletePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeletePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeletePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeletePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request DeletePreauthenticatedRequestRequest) String() string
    func (request DeletePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
type DeletePreauthenticatedRequestResponse
    func (response DeletePreauthenticatedRequestResponse) HTTPResponse() *http.Response
    func (response DeletePreauthenticatedRequestResponse) String() string
type DeleteReplicationPolicyRequest
    func (request DeleteReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeleteReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteReplicationPolicyRequest) String() string
    func (request DeleteReplicationPolicyRequest) ValidateEnumValue() (bool, error)
type DeleteReplicationPolicyResponse
    func (response DeleteReplicationPolicyResponse) HTTPResponse() *http.Response
    func (response DeleteReplicationPolicyResponse) String() string
type DeleteRetentionRuleRequest
    func (request DeleteRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request DeleteRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRetentionRuleRequest) String() string
    func (request DeleteRetentionRuleRequest) ValidateEnumValue() (bool, error)
type DeleteRetentionRuleResponse
    func (response DeleteRetentionRuleResponse) HTTPResponse() *http.Response
    func (response DeleteRetentionRuleResponse) String() string
type Duration
    func (m Duration) String() string
    func (m Duration) ValidateEnumValue() (bool, error)
type DurationTimeUnitEnum
    func GetDurationTimeUnitEnumValues() []DurationTimeUnitEnum
    func GetMappingDurationTimeUnitEnum(val string) (DurationTimeUnitEnum, bool)
type GetBucketFieldsEnum
    func GetGetBucketFieldsEnumValues() []GetBucketFieldsEnum
    func GetMappingGetBucketFieldsEnum(val string) (GetBucketFieldsEnum, bool)
type GetBucketRequest
    func (request GetBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBucketRequest) String() string
    func (request GetBucketRequest) ValidateEnumValue() (bool, error)
type GetBucketResponse
    func (response GetBucketResponse) HTTPResponse() *http.Response
    func (response GetBucketResponse) String() string
type GetNamespaceMetadataRequest
    func (request GetNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNamespaceMetadataRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNamespaceMetadataRequest) String() string
    func (request GetNamespaceMetadataRequest) ValidateEnumValue() (bool, error)
type GetNamespaceMetadataResponse
    func (response GetNamespaceMetadataResponse) HTTPResponse() *http.Response
    func (response GetNamespaceMetadataResponse) String() string
type GetNamespaceRequest
    func (request GetNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNamespaceRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetNamespaceRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNamespaceRequest) String() string
    func (request GetNamespaceRequest) ValidateEnumValue() (bool, error)
type GetNamespaceResponse
    func (response GetNamespaceResponse) HTTPResponse() *http.Response
    func (response GetNamespaceResponse) String() string
type GetObjectArchivalStateEnum
    func GetGetObjectArchivalStateEnumValues() []GetObjectArchivalStateEnum
    func GetMappingGetObjectArchivalStateEnum(val string) (GetObjectArchivalStateEnum, bool)
type GetObjectLifecyclePolicyRequest
    func (request GetObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetObjectLifecyclePolicyRequest) String() string
    func (request GetObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
type GetObjectLifecyclePolicyResponse
    func (response GetObjectLifecyclePolicyResponse) HTTPResponse() *http.Response
    func (response GetObjectLifecyclePolicyResponse) String() string
type GetObjectRequest
    func (request GetObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request GetObjectRequest) String() string
    func (request GetObjectRequest) ValidateEnumValue() (bool, error)
type GetObjectResponse
    func (response GetObjectResponse) HTTPResponse() *http.Response
    func (response GetObjectResponse) String() string
type GetObjectStorageTierEnum
    func GetGetObjectStorageTierEnumValues() []GetObjectStorageTierEnum
    func GetMappingGetObjectStorageTierEnum(val string) (GetObjectStorageTierEnum, bool)
type GetPreauthenticatedRequestRequest
    func (request GetPreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetPreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetPreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetPreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetPreauthenticatedRequestRequest) String() string
    func (request GetPreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
type GetPreauthenticatedRequestResponse
    func (response GetPreauthenticatedRequestResponse) HTTPResponse() *http.Response
    func (response GetPreauthenticatedRequestResponse) String() string
type GetReplicationPolicyRequest
    func (request GetReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetReplicationPolicyRequest) String() string
    func (request GetReplicationPolicyRequest) ValidateEnumValue() (bool, error)
type GetReplicationPolicyResponse
    func (response GetReplicationPolicyResponse) HTTPResponse() *http.Response
    func (response GetReplicationPolicyResponse) String() string
type GetRetentionRuleRequest
    func (request GetRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRetentionRuleRequest) String() string
    func (request GetRetentionRuleRequest) ValidateEnumValue() (bool, error)
type GetRetentionRuleResponse
    func (response GetRetentionRuleResponse) HTTPResponse() *http.Response
    func (response GetRetentionRuleResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HeadBucketRequest
    func (request HeadBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request HeadBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request HeadBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request HeadBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request HeadBucketRequest) String() string
    func (request HeadBucketRequest) ValidateEnumValue() (bool, error)
type HeadBucketResponse
    func (response HeadBucketResponse) HTTPResponse() *http.Response
    func (response HeadBucketResponse) String() string
type HeadObjectArchivalStateEnum
    func GetHeadObjectArchivalStateEnumValues() []HeadObjectArchivalStateEnum
    func GetMappingHeadObjectArchivalStateEnum(val string) (HeadObjectArchivalStateEnum, bool)
type HeadObjectRequest
    func (request HeadObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request HeadObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request HeadObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request HeadObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request HeadObjectRequest) String() string
    func (request HeadObjectRequest) ValidateEnumValue() (bool, error)
type HeadObjectResponse
    func (response HeadObjectResponse) HTTPResponse() *http.Response
    func (response HeadObjectResponse) String() string
type HeadObjectStorageTierEnum
    func GetHeadObjectStorageTierEnumValues() []HeadObjectStorageTierEnum
    func GetMappingHeadObjectStorageTierEnum(val string) (HeadObjectStorageTierEnum, bool)
type ListBucketsFieldsEnum
    func GetListBucketsFieldsEnumValues() []ListBucketsFieldsEnum
    func GetMappingListBucketsFieldsEnum(val string) (ListBucketsFieldsEnum, bool)
type ListBucketsRequest
    func (request ListBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBucketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBucketsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListBucketsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBucketsRequest) String() string
    func (request ListBucketsRequest) ValidateEnumValue() (bool, error)
type ListBucketsResponse
    func (response ListBucketsResponse) HTTPResponse() *http.Response
    func (response ListBucketsResponse) String() string
type ListMultipartUploadPartsRequest
    func (request ListMultipartUploadPartsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMultipartUploadPartsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMultipartUploadPartsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListMultipartUploadPartsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMultipartUploadPartsRequest) String() string
    func (request ListMultipartUploadPartsRequest) ValidateEnumValue() (bool, error)
type ListMultipartUploadPartsResponse
    func (response ListMultipartUploadPartsResponse) HTTPResponse() *http.Response
    func (response ListMultipartUploadPartsResponse) String() string
type ListMultipartUploadsRequest
    func (request ListMultipartUploadsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListMultipartUploadsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListMultipartUploadsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListMultipartUploadsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListMultipartUploadsRequest) String() string
    func (request ListMultipartUploadsRequest) ValidateEnumValue() (bool, error)
type ListMultipartUploadsResponse
    func (response ListMultipartUploadsResponse) HTTPResponse() *http.Response
    func (response ListMultipartUploadsResponse) String() string
type ListObjectVersionsFieldsEnum
    func GetListObjectVersionsFieldsEnumValues() []ListObjectVersionsFieldsEnum
    func GetMappingListObjectVersionsFieldsEnum(val string) (ListObjectVersionsFieldsEnum, bool)
type ListObjectVersionsRequest
    func (request ListObjectVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListObjectVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListObjectVersionsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListObjectVersionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListObjectVersionsRequest) String() string
    func (request ListObjectVersionsRequest) ValidateEnumValue() (bool, error)
type ListObjectVersionsResponse
    func (response ListObjectVersionsResponse) HTTPResponse() *http.Response
    func (response ListObjectVersionsResponse) String() string
type ListObjects
    func (m ListObjects) String() string
    func (m ListObjects) ValidateEnumValue() (bool, error)
type ListObjectsRequest
    func (request ListObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListObjectsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListObjectsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListObjectsRequest) String() string
    func (request ListObjectsRequest) ValidateEnumValue() (bool, error)
type ListObjectsResponse
    func (response ListObjectsResponse) HTTPResponse() *http.Response
    func (response ListObjectsResponse) String() string
type ListPreauthenticatedRequestsRequest
    func (request ListPreauthenticatedRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListPreauthenticatedRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListPreauthenticatedRequestsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListPreauthenticatedRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListPreauthenticatedRequestsRequest) String() string
    func (request ListPreauthenticatedRequestsRequest) ValidateEnumValue() (bool, error)
type ListPreauthenticatedRequestsResponse
    func (response ListPreauthenticatedRequestsResponse) HTTPResponse() *http.Response
    func (response ListPreauthenticatedRequestsResponse) String() string
type ListReplicationPoliciesRequest
    func (request ListReplicationPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListReplicationPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListReplicationPoliciesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListReplicationPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListReplicationPoliciesRequest) String() string
    func (request ListReplicationPoliciesRequest) ValidateEnumValue() (bool, error)
type ListReplicationPoliciesResponse
    func (response ListReplicationPoliciesResponse) HTTPResponse() *http.Response
    func (response ListReplicationPoliciesResponse) String() string
type ListReplicationSourcesRequest
    func (request ListReplicationSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListReplicationSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListReplicationSourcesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListReplicationSourcesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListReplicationSourcesRequest) String() string
    func (request ListReplicationSourcesRequest) ValidateEnumValue() (bool, error)
type ListReplicationSourcesResponse
    func (response ListReplicationSourcesResponse) HTTPResponse() *http.Response
    func (response ListReplicationSourcesResponse) String() string
type ListRetentionRulesRequest
    func (request ListRetentionRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListRetentionRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListRetentionRulesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListRetentionRulesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListRetentionRulesRequest) String() string
    func (request ListRetentionRulesRequest) ValidateEnumValue() (bool, error)
type ListRetentionRulesResponse
    func (response ListRetentionRulesResponse) HTTPResponse() *http.Response
    func (response ListRetentionRulesResponse) String() string
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type MakeBucketWritableRequest
    func (request MakeBucketWritableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request MakeBucketWritableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request MakeBucketWritableRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request MakeBucketWritableRequest) RetryPolicy() *common.RetryPolicy
    func (request MakeBucketWritableRequest) String() string
    func (request MakeBucketWritableRequest) ValidateEnumValue() (bool, error)
type MakeBucketWritableResponse
    func (response MakeBucketWritableResponse) HTTPResponse() *http.Response
    func (response MakeBucketWritableResponse) String() string
type MultipartUpload
    func (m MultipartUpload) String() string
    func (m MultipartUpload) ValidateEnumValue() (bool, error)
type MultipartUploadPartSummary
    func (m MultipartUploadPartSummary) String() string
    func (m MultipartUploadPartSummary) ValidateEnumValue() (bool, error)
type NamespaceMetadata
    func (m NamespaceMetadata) String() string
    func (m NamespaceMetadata) ValidateEnumValue() (bool, error)
type ObjectLifecyclePolicy
    func (m ObjectLifecyclePolicy) String() string
    func (m ObjectLifecyclePolicy) ValidateEnumValue() (bool, error)
type ObjectLifecycleRule
    func (m ObjectLifecycleRule) String() string
    func (m ObjectLifecycleRule) ValidateEnumValue() (bool, error)
type ObjectLifecycleRuleTimeUnitEnum
    func GetMappingObjectLifecycleRuleTimeUnitEnum(val string) (ObjectLifecycleRuleTimeUnitEnum, bool)
    func GetObjectLifecycleRuleTimeUnitEnumValues() []ObjectLifecycleRuleTimeUnitEnum
type ObjectNameFilter
    func (m ObjectNameFilter) String() string
    func (m ObjectNameFilter) ValidateEnumValue() (bool, error)
type ObjectStorageClient
    func NewObjectStorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ObjectStorageClient, err error)
    func NewObjectStorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ObjectStorageClient, err error)
    func (client ObjectStorageClient) AbortMultipartUpload(ctx context.Context, request AbortMultipartUploadRequest) (response AbortMultipartUploadResponse, err error)
    func (client ObjectStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client ObjectStorageClient) CommitMultipartUpload(ctx context.Context, request CommitMultipartUploadRequest) (response CommitMultipartUploadResponse, err error)
    func (client *ObjectStorageClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client ObjectStorageClient) CopyObject(ctx context.Context, request CopyObjectRequest) (response CopyObjectResponse, err error)
    func (client ObjectStorageClient) CreateBucket(ctx context.Context, request CreateBucketRequest) (response CreateBucketResponse, err error)
    func (client ObjectStorageClient) CreateMultipartUpload(ctx context.Context, request CreateMultipartUploadRequest) (response CreateMultipartUploadResponse, err error)
    func (client ObjectStorageClient) CreatePreauthenticatedRequest(ctx context.Context, request CreatePreauthenticatedRequestRequest) (response CreatePreauthenticatedRequestResponse, err error)
    func (client ObjectStorageClient) CreateReplicationPolicy(ctx context.Context, request CreateReplicationPolicyRequest) (response CreateReplicationPolicyResponse, err error)
    func (client ObjectStorageClient) CreateRetentionRule(ctx context.Context, request CreateRetentionRuleRequest) (response CreateRetentionRuleResponse, err error)
    func (client ObjectStorageClient) DeleteBucket(ctx context.Context, request DeleteBucketRequest) (response DeleteBucketResponse, err error)
    func (client ObjectStorageClient) DeleteObject(ctx context.Context, request DeleteObjectRequest) (response DeleteObjectResponse, err error)
    func (client ObjectStorageClient) DeleteObjectLifecyclePolicy(ctx context.Context, request DeleteObjectLifecyclePolicyRequest) (response DeleteObjectLifecyclePolicyResponse, err error)
    func (client ObjectStorageClient) DeletePreauthenticatedRequest(ctx context.Context, request DeletePreauthenticatedRequestRequest) (response DeletePreauthenticatedRequestResponse, err error)
    func (client ObjectStorageClient) DeleteReplicationPolicy(ctx context.Context, request DeleteReplicationPolicyRequest) (response DeleteReplicationPolicyResponse, err error)
    func (client ObjectStorageClient) DeleteRetentionRule(ctx context.Context, request DeleteRetentionRuleRequest) (response DeleteRetentionRuleResponse, err error)
    func (client ObjectStorageClient) GetBucket(ctx context.Context, request GetBucketRequest) (response GetBucketResponse, err error)
    func (client ObjectStorageClient) GetNamespace(ctx context.Context, request GetNamespaceRequest) (response GetNamespaceResponse, err error)
    func (client ObjectStorageClient) GetNamespaceMetadata(ctx context.Context, request GetNamespaceMetadataRequest) (response GetNamespaceMetadataResponse, err error)
    func (client ObjectStorageClient) GetObject(ctx context.Context, request GetObjectRequest) (response GetObjectResponse, err error)
    func (client ObjectStorageClient) GetObjectLifecyclePolicy(ctx context.Context, request GetObjectLifecyclePolicyRequest) (response GetObjectLifecyclePolicyResponse, err error)
    func (client ObjectStorageClient) GetPreauthenticatedRequest(ctx context.Context, request GetPreauthenticatedRequestRequest) (response GetPreauthenticatedRequestResponse, err error)
    func (client ObjectStorageClient) GetReplicationPolicy(ctx context.Context, request GetReplicationPolicyRequest) (response GetReplicationPolicyResponse, err error)
    func (client ObjectStorageClient) GetRetentionRule(ctx context.Context, request GetRetentionRuleRequest) (response GetRetentionRuleResponse, err error)
    func (client ObjectStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client ObjectStorageClient) HeadBucket(ctx context.Context, request HeadBucketRequest) (response HeadBucketResponse, err error)
    func (client ObjectStorageClient) HeadObject(ctx context.Context, request HeadObjectRequest) (response HeadObjectResponse, err error)
    func (client ObjectStorageClient) ListBuckets(ctx context.Context, request ListBucketsRequest) (response ListBucketsResponse, err error)
    func (client ObjectStorageClient) ListMultipartUploadParts(ctx context.Context, request ListMultipartUploadPartsRequest) (response ListMultipartUploadPartsResponse, err error)
    func (client ObjectStorageClient) ListMultipartUploads(ctx context.Context, request ListMultipartUploadsRequest) (response ListMultipartUploadsResponse, err error)
    func (client ObjectStorageClient) ListObjectVersions(ctx context.Context, request ListObjectVersionsRequest) (response ListObjectVersionsResponse, err error)
    func (client ObjectStorageClient) ListObjects(ctx context.Context, request ListObjectsRequest) (response ListObjectsResponse, err error)
    func (client ObjectStorageClient) ListPreauthenticatedRequests(ctx context.Context, request ListPreauthenticatedRequestsRequest) (response ListPreauthenticatedRequestsResponse, err error)
    func (client ObjectStorageClient) ListReplicationPolicies(ctx context.Context, request ListReplicationPoliciesRequest) (response ListReplicationPoliciesResponse, err error)
    func (client ObjectStorageClient) ListReplicationSources(ctx context.Context, request ListReplicationSourcesRequest) (response ListReplicationSourcesResponse, err error)
    func (client ObjectStorageClient) ListRetentionRules(ctx context.Context, request ListRetentionRulesRequest) (response ListRetentionRulesResponse, err error)
    func (client ObjectStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client ObjectStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client ObjectStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client ObjectStorageClient) MakeBucketWritable(ctx context.Context, request MakeBucketWritableRequest) (response MakeBucketWritableResponse, err error)
    func (client ObjectStorageClient) PutObject(ctx context.Context, request PutObjectRequest) (response PutObjectResponse, err error)
    func (client ObjectStorageClient) PutObjectLifecyclePolicy(ctx context.Context, request PutObjectLifecyclePolicyRequest) (response PutObjectLifecyclePolicyResponse, err error)
    func (client ObjectStorageClient) ReencryptBucket(ctx context.Context, request ReencryptBucketRequest) (response ReencryptBucketResponse, err error)
    func (client ObjectStorageClient) ReencryptObject(ctx context.Context, request ReencryptObjectRequest) (response ReencryptObjectResponse, err error)
    func (client ObjectStorageClient) RenameObject(ctx context.Context, request RenameObjectRequest) (response RenameObjectResponse, err error)
    func (client ObjectStorageClient) RestoreObjects(ctx context.Context, request RestoreObjectsRequest) (response RestoreObjectsResponse, err error)
    func (client *ObjectStorageClient) SetCustomClientConfiguration(config common.CustomClientConfiguration)
    func (client *ObjectStorageClient) SetRegion(region string)
    func (client ObjectStorageClient) UpdateBucket(ctx context.Context, request UpdateBucketRequest) (response UpdateBucketResponse, err error)
    func (client ObjectStorageClient) UpdateNamespaceMetadata(ctx context.Context, request UpdateNamespaceMetadataRequest) (response UpdateNamespaceMetadataResponse, err error)
    func (client ObjectStorageClient) UpdateObjectStorageTier(ctx context.Context, request UpdateObjectStorageTierRequest) (response UpdateObjectStorageTierResponse, err error)
    func (client ObjectStorageClient) UpdateRetentionRule(ctx context.Context, request UpdateRetentionRuleRequest) (response UpdateRetentionRuleResponse, err error)
    func (client ObjectStorageClient) UploadPart(ctx context.Context, request UploadPartRequest) (response UploadPartResponse, err error)
type ObjectSummary
    func (m ObjectSummary) String() string
    func (m ObjectSummary) ValidateEnumValue() (bool, error)
type ObjectVersionCollection
    func (m ObjectVersionCollection) String() string
    func (m ObjectVersionCollection) ValidateEnumValue() (bool, error)
type ObjectVersionSummary
    func (m ObjectVersionSummary) String() string
    func (m ObjectVersionSummary) ValidateEnumValue() (bool, error)
type PatternDetails
    func (m PatternDetails) String() string
    func (m PatternDetails) ValidateEnumValue() (bool, error)
type PreauthenticatedRequest
    func (m PreauthenticatedRequest) String() string
    func (m PreauthenticatedRequest) ValidateEnumValue() (bool, error)
type PreauthenticatedRequestAccessTypeEnum
    func GetMappingPreauthenticatedRequestAccessTypeEnum(val string) (PreauthenticatedRequestAccessTypeEnum, bool)
    func GetPreauthenticatedRequestAccessTypeEnumValues() []PreauthenticatedRequestAccessTypeEnum
type PreauthenticatedRequestBucketListingActionEnum
    func GetMappingPreauthenticatedRequestBucketListingActionEnum(val string) (PreauthenticatedRequestBucketListingActionEnum, bool)
    func GetPreauthenticatedRequestBucketListingActionEnumValues() []PreauthenticatedRequestBucketListingActionEnum
type PreauthenticatedRequestSummary
    func (m PreauthenticatedRequestSummary) String() string
    func (m PreauthenticatedRequestSummary) ValidateEnumValue() (bool, error)
type PreauthenticatedRequestSummaryAccessTypeEnum
    func GetMappingPreauthenticatedRequestSummaryAccessTypeEnum(val string) (PreauthenticatedRequestSummaryAccessTypeEnum, bool)
    func GetPreauthenticatedRequestSummaryAccessTypeEnumValues() []PreauthenticatedRequestSummaryAccessTypeEnum
type PutObjectLifecyclePolicyDetails
    func (m PutObjectLifecyclePolicyDetails) String() string
    func (m PutObjectLifecyclePolicyDetails) ValidateEnumValue() (bool, error)
type PutObjectLifecyclePolicyRequest
    func (request PutObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PutObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PutObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request PutObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request PutObjectLifecyclePolicyRequest) String() string
    func (request PutObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
type PutObjectLifecyclePolicyResponse
    func (response PutObjectLifecyclePolicyResponse) HTTPResponse() *http.Response
    func (response PutObjectLifecyclePolicyResponse) String() string
type PutObjectRequest
    func (request PutObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request PutObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request PutObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request PutObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request PutObjectRequest) String() string
    func (request PutObjectRequest) ValidateEnumValue() (bool, error)
type PutObjectResponse
    func (response PutObjectResponse) HTTPResponse() *http.Response
    func (response PutObjectResponse) String() string
type PutObjectStorageTierEnum
    func GetMappingPutObjectStorageTierEnum(val string) (PutObjectStorageTierEnum, bool)
    func GetPutObjectStorageTierEnumValues() []PutObjectStorageTierEnum
type ReencryptBucketRequest
    func (request ReencryptBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ReencryptBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ReencryptBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ReencryptBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request ReencryptBucketRequest) String() string
    func (request ReencryptBucketRequest) ValidateEnumValue() (bool, error)
type ReencryptBucketResponse
    func (response ReencryptBucketResponse) HTTPResponse() *http.Response
    func (response ReencryptBucketResponse) String() string
type ReencryptObjectDetails
    func (m ReencryptObjectDetails) String() string
    func (m ReencryptObjectDetails) ValidateEnumValue() (bool, error)
type ReencryptObjectRequest
    func (request ReencryptObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ReencryptObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ReencryptObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request ReencryptObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request ReencryptObjectRequest) String() string
    func (request ReencryptObjectRequest) ValidateEnumValue() (bool, error)
type ReencryptObjectResponse
    func (response ReencryptObjectResponse) HTTPResponse() *http.Response
    func (response ReencryptObjectResponse) String() string
type RenameObjectDetails
    func (m RenameObjectDetails) String() string
    func (m RenameObjectDetails) ValidateEnumValue() (bool, error)
type RenameObjectRequest
    func (request RenameObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RenameObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RenameObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request RenameObjectRequest) RetryPolicy() *common.RetryPolicy
    func (request RenameObjectRequest) String() string
    func (request RenameObjectRequest) ValidateEnumValue() (bool, error)
type RenameObjectResponse
    func (response RenameObjectResponse) HTTPResponse() *http.Response
    func (response RenameObjectResponse) String() string
type ReplicationPolicy
    func (m ReplicationPolicy) String() string
    func (m ReplicationPolicy) ValidateEnumValue() (bool, error)
type ReplicationPolicyStatusEnum
    func GetMappingReplicationPolicyStatusEnum(val string) (ReplicationPolicyStatusEnum, bool)
    func GetReplicationPolicyStatusEnumValues() []ReplicationPolicyStatusEnum
type ReplicationPolicySummary
    func (m ReplicationPolicySummary) String() string
    func (m ReplicationPolicySummary) ValidateEnumValue() (bool, error)
type ReplicationPolicySummaryStatusEnum
    func GetMappingReplicationPolicySummaryStatusEnum(val string) (ReplicationPolicySummaryStatusEnum, bool)
    func GetReplicationPolicySummaryStatusEnumValues() []ReplicationPolicySummaryStatusEnum
type ReplicationSource
    func (m ReplicationSource) String() string
    func (m ReplicationSource) ValidateEnumValue() (bool, error)
type RestoreObjectsDetails
    func (m RestoreObjectsDetails) String() string
    func (m RestoreObjectsDetails) ValidateEnumValue() (bool, error)
type RestoreObjectsRequest
    func (request RestoreObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request RestoreObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request RestoreObjectsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request RestoreObjectsRequest) RetryPolicy() *common.RetryPolicy
    func (request RestoreObjectsRequest) String() string
    func (request RestoreObjectsRequest) ValidateEnumValue() (bool, error)
type RestoreObjectsResponse
    func (response RestoreObjectsResponse) HTTPResponse() *http.Response
    func (response RestoreObjectsResponse) String() string
type RetentionRule
    func (m RetentionRule) String() string
    func (m RetentionRule) ValidateEnumValue() (bool, error)
type RetentionRuleCollection
    func (m RetentionRuleCollection) String() string
    func (m RetentionRuleCollection) ValidateEnumValue() (bool, error)
type RetentionRuleDetails
    func (m RetentionRuleDetails) String() string
    func (m RetentionRuleDetails) ValidateEnumValue() (bool, error)
type RetentionRuleSummary
    func (m RetentionRuleSummary) String() string
    func (m RetentionRuleSummary) ValidateEnumValue() (bool, error)
type SseCustomerKeyDetails
    func (m SseCustomerKeyDetails) String() string
    func (m SseCustomerKeyDetails) ValidateEnumValue() (bool, error)
type SseCustomerKeyDetailsAlgorithmEnum
    func GetMappingSseCustomerKeyDetailsAlgorithmEnum(val string) (SseCustomerKeyDetailsAlgorithmEnum, bool)
    func GetSseCustomerKeyDetailsAlgorithmEnumValues() []SseCustomerKeyDetailsAlgorithmEnum
type StorageTierEnum
    func GetMappingStorageTierEnum(val string) (StorageTierEnum, bool)
    func GetStorageTierEnumValues() []StorageTierEnum
type UpdateBucketDetails
    func (m UpdateBucketDetails) String() string
    func (m UpdateBucketDetails) ValidateEnumValue() (bool, error)
type UpdateBucketDetailsPublicAccessTypeEnum
    func GetMappingUpdateBucketDetailsPublicAccessTypeEnum(val string) (UpdateBucketDetailsPublicAccessTypeEnum, bool)
    func GetUpdateBucketDetailsPublicAccessTypeEnumValues() []UpdateBucketDetailsPublicAccessTypeEnum
type UpdateBucketDetailsVersioningEnum
    func GetMappingUpdateBucketDetailsVersioningEnum(val string) (UpdateBucketDetailsVersioningEnum, bool)
    func GetUpdateBucketDetailsVersioningEnumValues() []UpdateBucketDetailsVersioningEnum
type UpdateBucketRequest
    func (request UpdateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request UpdateBucketRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBucketRequest) String() string
    func (request UpdateBucketRequest) ValidateEnumValue() (bool, error)
type UpdateBucketResponse
    func (response UpdateBucketResponse) HTTPResponse() *http.Response
    func (response UpdateBucketResponse) String() string
type UpdateNamespaceMetadataDetails
    func (m UpdateNamespaceMetadataDetails) String() string
    func (m UpdateNamespaceMetadataDetails) ValidateEnumValue() (bool, error)
type UpdateNamespaceMetadataRequest
    func (request UpdateNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNamespaceMetadataRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request UpdateNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNamespaceMetadataRequest) String() string
    func (request UpdateNamespaceMetadataRequest) ValidateEnumValue() (bool, error)
type UpdateNamespaceMetadataResponse
    func (response UpdateNamespaceMetadataResponse) HTTPResponse() *http.Response
    func (response UpdateNamespaceMetadataResponse) String() string
type UpdateObjectStorageTierDetails
    func (m UpdateObjectStorageTierDetails) String() string
    func (m UpdateObjectStorageTierDetails) ValidateEnumValue() (bool, error)
type UpdateObjectStorageTierRequest
    func (request UpdateObjectStorageTierRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateObjectStorageTierRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateObjectStorageTierRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request UpdateObjectStorageTierRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateObjectStorageTierRequest) String() string
    func (request UpdateObjectStorageTierRequest) ValidateEnumValue() (bool, error)
type UpdateObjectStorageTierResponse
    func (response UpdateObjectStorageTierResponse) HTTPResponse() *http.Response
    func (response UpdateObjectStorageTierResponse) String() string
type UpdateRetentionRuleDetails
    func (m UpdateRetentionRuleDetails) String() string
    func (m UpdateRetentionRuleDetails) ValidateEnumValue() (bool, error)
type UpdateRetentionRuleRequest
    func (request UpdateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request UpdateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRetentionRuleRequest) String() string
    func (request UpdateRetentionRuleRequest) ValidateEnumValue() (bool, error)
type UpdateRetentionRuleResponse
    func (response UpdateRetentionRuleResponse) HTTPResponse() *http.Response
    func (response UpdateRetentionRuleResponse) String() string
type UploadPartRequest
    func (request UploadPartRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UploadPartRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UploadPartRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)
    func (request UploadPartRequest) RetryPolicy() *common.RetryPolicy
    func (request UploadPartRequest) String() string
    func (request UploadPartRequest) ValidateEnumValue() (bool, error)
type UploadPartResponse
    func (response UploadPartResponse) HTTPResponse() *http.Response
    func (response UploadPartResponse) String() string
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestOperationTypeEnum
    func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceActionTypeEnum
    func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestStatusEnum
    func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryOperationTypeEnum
    func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)
    func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
type WorkRequestSummaryStatusEnum
    func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool)
    func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

Package files

abort_multipart_upload_request_response.go archival_state.go bucket.go bucket_summary.go cancel_work_request_request_response.go commit_multipart_upload_details.go commit_multipart_upload_part_details.go commit_multipart_upload_request_response.go copy_object_details.go copy_object_request_response.go create_bucket_details.go create_bucket_request_response.go create_multipart_upload_details.go create_multipart_upload_request_response.go create_preauthenticated_request_details.go create_preauthenticated_request_request_response.go create_replication_policy_details.go create_replication_policy_request_response.go create_retention_rule_details.go create_retention_rule_request_response.go delete_bucket_request_response.go delete_object_lifecycle_policy_request_response.go delete_object_request_response.go delete_preauthenticated_request_request_response.go delete_replication_policy_request_response.go delete_retention_rule_request_response.go duration.go get_bucket_request_response.go get_namespace_metadata_request_response.go get_namespace_request_response.go get_object_lifecycle_policy_request_response.go get_object_request_response.go get_preauthenticated_request_request_response.go get_replication_policy_request_response.go get_retention_rule_request_response.go get_work_request_request_response.go head_bucket_request_response.go head_object_request_response.go list_buckets_request_response.go list_multipart_upload_parts_request_response.go list_multipart_uploads_request_response.go list_object_versions_request_response.go list_objects.go list_objects_request_response.go list_preauthenticated_requests_request_response.go list_replication_policies_request_response.go list_replication_sources_request_response.go list_retention_rules_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go make_bucket_writable_request_response.go multipart_upload.go multipart_upload_part_summary.go namespace_metadata.go object_lifecycle_policy.go object_lifecycle_rule.go object_name_filter.go object_summary.go object_version_collection.go object_version_summary.go objectstorage_client.go pattern_details.go preauthenticated_request.go preauthenticated_request_summary.go put_object_lifecycle_policy_details.go put_object_lifecycle_policy_request_response.go put_object_request_response.go reencrypt_bucket_request_response.go reencrypt_object_details.go reencrypt_object_request_response.go rename_object_details.go rename_object_request_response.go replication_policy.go replication_policy_summary.go replication_source.go restore_objects_details.go restore_objects_request_response.go retention_rule.go retention_rule_collection.go retention_rule_details.go retention_rule_summary.go sse_customer_key_details.go storage_tier.go update_bucket_details.go update_bucket_request_response.go update_namespace_metadata_details.go update_namespace_metadata_request_response.go update_object_storage_tier_details.go update_object_storage_tier_request_response.go update_retention_rule_details.go update_retention_rule_request_response.go upload_part_request_response.go work_request.go work_request_error.go work_request_log_entry.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go

func GetArchivalStateEnumStringValues

func GetArchivalStateEnumStringValues() []string

GetArchivalStateEnumStringValues Enumerates the set of values in String for ArchivalStateEnum

func GetBucketAutoTieringEnumStringValues

func GetBucketAutoTieringEnumStringValues() []string

GetBucketAutoTieringEnumStringValues Enumerates the set of values in String for BucketAutoTieringEnum

func GetBucketPublicAccessTypeEnumStringValues

func GetBucketPublicAccessTypeEnumStringValues() []string

GetBucketPublicAccessTypeEnumStringValues Enumerates the set of values in String for BucketPublicAccessTypeEnum

func GetBucketStorageTierEnumStringValues

func GetBucketStorageTierEnumStringValues() []string

GetBucketStorageTierEnumStringValues Enumerates the set of values in String for BucketStorageTierEnum

func GetBucketVersioningEnumStringValues

func GetBucketVersioningEnumStringValues() []string

GetBucketVersioningEnumStringValues Enumerates the set of values in String for BucketVersioningEnum

func GetCreateBucketDetailsPublicAccessTypeEnumStringValues

func GetCreateBucketDetailsPublicAccessTypeEnumStringValues() []string

GetCreateBucketDetailsPublicAccessTypeEnumStringValues Enumerates the set of values in String for CreateBucketDetailsPublicAccessTypeEnum

func GetCreateBucketDetailsStorageTierEnumStringValues

func GetCreateBucketDetailsStorageTierEnumStringValues() []string

GetCreateBucketDetailsStorageTierEnumStringValues Enumerates the set of values in String for CreateBucketDetailsStorageTierEnum

func GetCreateBucketDetailsVersioningEnumStringValues

func GetCreateBucketDetailsVersioningEnumStringValues() []string

GetCreateBucketDetailsVersioningEnumStringValues Enumerates the set of values in String for CreateBucketDetailsVersioningEnum

func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumStringValues

func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumStringValues() []string

GetCreatePreauthenticatedRequestDetailsAccessTypeEnumStringValues Enumerates the set of values in String for CreatePreauthenticatedRequestDetailsAccessTypeEnum

func GetDurationTimeUnitEnumStringValues

func GetDurationTimeUnitEnumStringValues() []string

GetDurationTimeUnitEnumStringValues Enumerates the set of values in String for DurationTimeUnitEnum

func GetGetBucketFieldsEnumStringValues

func GetGetBucketFieldsEnumStringValues() []string

GetGetBucketFieldsEnumStringValues Enumerates the set of values in String for GetBucketFieldsEnum

func GetGetObjectArchivalStateEnumStringValues

func GetGetObjectArchivalStateEnumStringValues() []string

GetGetObjectArchivalStateEnumStringValues Enumerates the set of values in String for GetObjectArchivalStateEnum

func GetGetObjectStorageTierEnumStringValues

func GetGetObjectStorageTierEnumStringValues() []string

GetGetObjectStorageTierEnumStringValues Enumerates the set of values in String for GetObjectStorageTierEnum

func GetHeadObjectArchivalStateEnumStringValues

func GetHeadObjectArchivalStateEnumStringValues() []string

GetHeadObjectArchivalStateEnumStringValues Enumerates the set of values in String for HeadObjectArchivalStateEnum

func GetHeadObjectStorageTierEnumStringValues

func GetHeadObjectStorageTierEnumStringValues() []string

GetHeadObjectStorageTierEnumStringValues Enumerates the set of values in String for HeadObjectStorageTierEnum

func GetListBucketsFieldsEnumStringValues

func GetListBucketsFieldsEnumStringValues() []string

GetListBucketsFieldsEnumStringValues Enumerates the set of values in String for ListBucketsFieldsEnum

func GetListObjectVersionsFieldsEnumStringValues

func GetListObjectVersionsFieldsEnumStringValues() []string

GetListObjectVersionsFieldsEnumStringValues Enumerates the set of values in String for ListObjectVersionsFieldsEnum

func GetObjectLifecycleRuleTimeUnitEnumStringValues

func GetObjectLifecycleRuleTimeUnitEnumStringValues() []string

GetObjectLifecycleRuleTimeUnitEnumStringValues Enumerates the set of values in String for ObjectLifecycleRuleTimeUnitEnum

func GetPreauthenticatedRequestAccessTypeEnumStringValues

func GetPreauthenticatedRequestAccessTypeEnumStringValues() []string

GetPreauthenticatedRequestAccessTypeEnumStringValues Enumerates the set of values in String for PreauthenticatedRequestAccessTypeEnum

func GetPreauthenticatedRequestBucketListingActionEnumStringValues

func GetPreauthenticatedRequestBucketListingActionEnumStringValues() []string

GetPreauthenticatedRequestBucketListingActionEnumStringValues Enumerates the set of values in String for PreauthenticatedRequestBucketListingActionEnum

func GetPreauthenticatedRequestSummaryAccessTypeEnumStringValues

func GetPreauthenticatedRequestSummaryAccessTypeEnumStringValues() []string

GetPreauthenticatedRequestSummaryAccessTypeEnumStringValues Enumerates the set of values in String for PreauthenticatedRequestSummaryAccessTypeEnum

func GetPutObjectStorageTierEnumStringValues

func GetPutObjectStorageTierEnumStringValues() []string

GetPutObjectStorageTierEnumStringValues Enumerates the set of values in String for PutObjectStorageTierEnum

func GetReplicationPolicyStatusEnumStringValues

func GetReplicationPolicyStatusEnumStringValues() []string

GetReplicationPolicyStatusEnumStringValues Enumerates the set of values in String for ReplicationPolicyStatusEnum

func GetReplicationPolicySummaryStatusEnumStringValues

func GetReplicationPolicySummaryStatusEnumStringValues() []string

GetReplicationPolicySummaryStatusEnumStringValues Enumerates the set of values in String for ReplicationPolicySummaryStatusEnum

func GetSseCustomerKeyDetailsAlgorithmEnumStringValues

func GetSseCustomerKeyDetailsAlgorithmEnumStringValues() []string

GetSseCustomerKeyDetailsAlgorithmEnumStringValues Enumerates the set of values in String for SseCustomerKeyDetailsAlgorithmEnum

func GetStorageTierEnumStringValues

func GetStorageTierEnumStringValues() []string

GetStorageTierEnumStringValues Enumerates the set of values in String for StorageTierEnum

func GetUpdateBucketDetailsPublicAccessTypeEnumStringValues

func GetUpdateBucketDetailsPublicAccessTypeEnumStringValues() []string

GetUpdateBucketDetailsPublicAccessTypeEnumStringValues Enumerates the set of values in String for UpdateBucketDetailsPublicAccessTypeEnum

func GetUpdateBucketDetailsVersioningEnumStringValues

func GetUpdateBucketDetailsVersioningEnumStringValues() []string

GetUpdateBucketDetailsVersioningEnumStringValues Enumerates the set of values in String for UpdateBucketDetailsVersioningEnum

func GetWorkRequestOperationTypeEnumStringValues

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

func GetWorkRequestStatusEnumStringValues

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

func GetWorkRequestSummaryOperationTypeEnumStringValues

func GetWorkRequestSummaryOperationTypeEnumStringValues() []string

GetWorkRequestSummaryOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestSummaryOperationTypeEnum

func GetWorkRequestSummaryStatusEnumStringValues

func GetWorkRequestSummaryStatusEnumStringValues() []string

GetWorkRequestSummaryStatusEnumStringValues Enumerates the set of values in String for WorkRequestSummaryStatusEnum

type AbortMultipartUploadRequest

AbortMultipartUploadRequest wrapper for the AbortMultipartUpload operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/AbortMultipartUpload.go.html to see an example of how to use AbortMultipartUploadRequest.

type AbortMultipartUploadRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The upload ID for a multipart upload.
    UploadId *string `mandatory:"true" contributesTo:"query" name:"uploadId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (AbortMultipartUploadRequest) BinaryRequestBody

func (request AbortMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (AbortMultipartUploadRequest) HTTPRequest

func (request AbortMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AbortMultipartUploadRequest) ReplaceMandatoryParamInPath

func (request AbortMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (AbortMultipartUploadRequest) RetryPolicy

func (request AbortMultipartUploadRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AbortMultipartUploadRequest) String

func (request AbortMultipartUploadRequest) String() string

func (AbortMultipartUploadRequest) ValidateEnumValue

func (request AbortMultipartUploadRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type AbortMultipartUploadResponse

AbortMultipartUploadResponse wrapper for the AbortMultipartUpload operation

type AbortMultipartUploadResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (AbortMultipartUploadResponse) HTTPResponse

func (response AbortMultipartUploadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AbortMultipartUploadResponse) String

func (response AbortMultipartUploadResponse) String() string

type ArchivalStateEnum

ArchivalStateEnum Enum with underlying type: string

type ArchivalStateEnum string

Set of constants representing the allowable values for ArchivalStateEnum

const (
    ArchivalStateArchived  ArchivalStateEnum = "Archived"
    ArchivalStateRestoring ArchivalStateEnum = "Restoring"
    ArchivalStateRestored  ArchivalStateEnum = "Restored"
)

func GetArchivalStateEnumValues

func GetArchivalStateEnumValues() []ArchivalStateEnum

GetArchivalStateEnumValues Enumerates the set of values for ArchivalStateEnum

func GetMappingArchivalStateEnum

func GetMappingArchivalStateEnum(val string) (ArchivalStateEnum, bool)

GetMappingArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum

type Bucket

Bucket A bucket is a container for storing objects in a compartment within a namespace. A bucket is associated with a single compartment. The compartment has policies that indicate what actions a user can perform on a bucket and all the objects in the bucket. For more information, see Managing Buckets (https://docs.cloud.oracle.com/Content/Object/Tasks/managingbuckets.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type Bucket struct {

    // The Object Storage namespace in which the bucket resides.
    Namespace *string `mandatory:"true" json:"namespace"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: my-new-bucket1
    Name *string `mandatory:"true" json:"name"`

    // The compartment ID in which the bucket is authorized.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Arbitrary string keys and values for user-defined metadata.
    Metadata map[string]string `mandatory:"true" json:"metadata"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The date and time the bucket was created, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The entity tag (ETag) for the bucket.
    Etag *string `mandatory:"true" json:"etag"`

    // The type of public access enabled on this bucket.
    // A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the
    // bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the
    // `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the
    // bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
    PublicAccessType BucketPublicAccessTypeEnum `mandatory:"false" json:"publicAccessType,omitempty"`

    // The storage tier type assigned to the bucket. A bucket is set to `Standard` tier by default, which means
    // objects uploaded or copied to the bucket will be in the standard storage tier. When the `Archive` tier type
    // is set explicitly for a bucket, objects uploaded or copied to the bucket will be stored in archive storage.
    // The `storageTier` property is immutable after bucket is created.
    StorageTier BucketStorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`

    // Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is
    // set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information
    // about events, see Overview of Events (https://docs.cloud.oracle.com/Content/Events/Concepts/eventsoverview.htm).
    ObjectEventsEnabled *bool `mandatory:"false" json:"objectEventsEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key Management
    // service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // The entity tag (ETag) for the live object lifecycle policy on the bucket.
    ObjectLifecyclePolicyEtag *string `mandatory:"false" json:"objectLifecyclePolicyEtag"`

    // The approximate number of objects in the bucket. Count statistics are reported periodically. You will see a
    // lag between what is displayed and the actual object count.
    ApproximateCount *int64 `mandatory:"false" json:"approximateCount"`

    // The approximate total size in bytes of all objects in the bucket. Size statistics are reported periodically. You will
    // see a lag between what is displayed and the actual size of the bucket.
    ApproximateSize *int64 `mandatory:"false" json:"approximateSize"`

    // Whether or not this bucket is a replication source. By default, `replicationEnabled` is set to `false`. This will
    // be set to 'true' when you create a replication policy for the bucket.
    ReplicationEnabled *bool `mandatory:"false" json:"replicationEnabled"`

    // Whether or not this bucket is read only. By default, `isReadOnly` is set to `false`. This will
    // be set to 'true' when this bucket is configured as a destination in a replication policy.
    IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the bucket.
    Id *string `mandatory:"false" json:"id"`

    // The versioning status on the bucket. A bucket is created with versioning `Disabled` by default.
    // For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
    Versioning BucketVersioningEnum `mandatory:"false" json:"versioning,omitempty"`

    // The auto tiering status on the bucket. A bucket is created with auto tiering `Disabled` by default.
    // For auto tiering `InfrequentAccess`, objects are transitioned automatically between the 'Standard'
    // and 'InfrequentAccess' tiers based on the access pattern of the objects.
    AutoTiering BucketAutoTieringEnum `mandatory:"false" json:"autoTiering,omitempty"`
}

func (Bucket) String

func (m Bucket) String() string

func (Bucket) ValidateEnumValue

func (m Bucket) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BucketAutoTieringEnum

BucketAutoTieringEnum Enum with underlying type: string

type BucketAutoTieringEnum string

Set of constants representing the allowable values for BucketAutoTieringEnum

const (
    BucketAutoTieringDisabled         BucketAutoTieringEnum = "Disabled"
    BucketAutoTieringInfrequentaccess BucketAutoTieringEnum = "InfrequentAccess"
)

func GetBucketAutoTieringEnumValues

func GetBucketAutoTieringEnumValues() []BucketAutoTieringEnum

GetBucketAutoTieringEnumValues Enumerates the set of values for BucketAutoTieringEnum

func GetMappingBucketAutoTieringEnum

func GetMappingBucketAutoTieringEnum(val string) (BucketAutoTieringEnum, bool)

GetMappingBucketAutoTieringEnum performs case Insensitive comparison on enum value and return the desired enum

type BucketPublicAccessTypeEnum

BucketPublicAccessTypeEnum Enum with underlying type: string

type BucketPublicAccessTypeEnum string

Set of constants representing the allowable values for BucketPublicAccessTypeEnum

const (
    BucketPublicAccessTypeNopublicaccess        BucketPublicAccessTypeEnum = "NoPublicAccess"
    BucketPublicAccessTypeObjectread            BucketPublicAccessTypeEnum = "ObjectRead"
    BucketPublicAccessTypeObjectreadwithoutlist BucketPublicAccessTypeEnum = "ObjectReadWithoutList"
)

func GetBucketPublicAccessTypeEnumValues

func GetBucketPublicAccessTypeEnumValues() []BucketPublicAccessTypeEnum

GetBucketPublicAccessTypeEnumValues Enumerates the set of values for BucketPublicAccessTypeEnum

func GetMappingBucketPublicAccessTypeEnum

func GetMappingBucketPublicAccessTypeEnum(val string) (BucketPublicAccessTypeEnum, bool)

GetMappingBucketPublicAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type BucketStorageTierEnum

BucketStorageTierEnum Enum with underlying type: string

type BucketStorageTierEnum string

Set of constants representing the allowable values for BucketStorageTierEnum

const (
    BucketStorageTierStandard BucketStorageTierEnum = "Standard"
    BucketStorageTierArchive  BucketStorageTierEnum = "Archive"
)

func GetBucketStorageTierEnumValues

func GetBucketStorageTierEnumValues() []BucketStorageTierEnum

GetBucketStorageTierEnumValues Enumerates the set of values for BucketStorageTierEnum

func GetMappingBucketStorageTierEnum

func GetMappingBucketStorageTierEnum(val string) (BucketStorageTierEnum, bool)

GetMappingBucketStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

type BucketSummary

BucketSummary To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type BucketSummary struct {

    // The Object Storage namespace in which the bucket lives.
    Namespace *string `mandatory:"true" json:"namespace"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: my-new-bucket1
    Name *string `mandatory:"true" json:"name"`

    // The compartment ID in which the bucket is authorized.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the user who created the bucket.
    CreatedBy *string `mandatory:"true" json:"createdBy"`

    // The date and time the bucket was created, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The entity tag (ETag) for the bucket.
    Etag *string `mandatory:"true" json:"etag"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (BucketSummary) String

func (m BucketSummary) String() string

func (BucketSummary) ValidateEnumValue

func (m BucketSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BucketVersioningEnum

BucketVersioningEnum Enum with underlying type: string

type BucketVersioningEnum string

Set of constants representing the allowable values for BucketVersioningEnum

const (
    BucketVersioningEnabled   BucketVersioningEnum = "Enabled"
    BucketVersioningSuspended BucketVersioningEnum = "Suspended"
    BucketVersioningDisabled  BucketVersioningEnum = "Disabled"
)

func GetBucketVersioningEnumValues

func GetBucketVersioningEnumValues() []BucketVersioningEnum

GetBucketVersioningEnumValues Enumerates the set of values for BucketVersioningEnum

func GetMappingBucketVersioningEnum

func GetMappingBucketVersioningEnum(val string) (BucketVersioningEnum, bool)

GetMappingBucketVersioningEnum performs case Insensitive comparison on enum value and return the desired enum

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.

type CancelWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CancelWorkRequestRequest) BinaryRequestBody

func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) ReplaceMandatoryParamInPath

func (request CancelWorkRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CancelWorkRequestRequest) RetryPolicy

func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CancelWorkRequestResponse

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

type CancelWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (CancelWorkRequestResponse) HTTPResponse

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type CommitMultipartUploadDetails

CommitMultipartUploadDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type CommitMultipartUploadDetails struct {

    // The part numbers and entity tags (ETags) for the parts to be committed.
    PartsToCommit []CommitMultipartUploadPartDetails `mandatory:"true" json:"partsToCommit"`

    // The part numbers for the parts to be excluded from the completed object.
    // Each part created for this upload must be in either partsToExclude or partsToCommit, but cannot be in both.
    PartsToExclude []int `mandatory:"false" json:"partsToExclude"`
}

func (CommitMultipartUploadDetails) String

func (m CommitMultipartUploadDetails) String() string

func (CommitMultipartUploadDetails) ValidateEnumValue

func (m CommitMultipartUploadDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CommitMultipartUploadPartDetails

CommitMultipartUploadPartDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type CommitMultipartUploadPartDetails struct {

    // The part number for this part.
    PartNum *int `mandatory:"true" json:"partNum"`

    // The entity tag (ETag) returned when this part was uploaded.
    Etag *string `mandatory:"true" json:"etag"`
}

func (CommitMultipartUploadPartDetails) String

func (m CommitMultipartUploadPartDetails) String() string

func (CommitMultipartUploadPartDetails) ValidateEnumValue

func (m CommitMultipartUploadPartDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CommitMultipartUploadRequest

CommitMultipartUploadRequest wrapper for the CommitMultipartUpload operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CommitMultipartUpload.go.html to see an example of how to use CommitMultipartUploadRequest.

type CommitMultipartUploadRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The upload ID for a multipart upload.
    UploadId *string `mandatory:"true" contributesTo:"query" name:"uploadId"`

    // The part numbers and entity tags (ETags) for the parts you want to commit.
    CommitMultipartUploadDetails `contributesTo:"body"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should
    // fail if the resource already exists.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CommitMultipartUploadRequest) BinaryRequestBody

func (request CommitMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CommitMultipartUploadRequest) HTTPRequest

func (request CommitMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CommitMultipartUploadRequest) ReplaceMandatoryParamInPath

func (request CommitMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CommitMultipartUploadRequest) RetryPolicy

func (request CommitMultipartUploadRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CommitMultipartUploadRequest) String

func (request CommitMultipartUploadRequest) String() string

func (CommitMultipartUploadRequest) ValidateEnumValue

func (request CommitMultipartUploadRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CommitMultipartUploadResponse

CommitMultipartUploadResponse wrapper for the CommitMultipartUpload operation

type CommitMultipartUploadResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Base-64 representation of the multipart object hash.
    // The multipart object hash is calculated by taking the MD5 hashes of the parts passed to this call,
    // concatenating the binary representation of those hashes in order of their part numbers,
    // and then calculating the MD5 hash of the concatenated values. The multipart object hash is followed
    // by a hyphen and the total number of parts (for example, '-6').
    OpcMultipartMd5 *string `presentIn:"header" name:"opc-multipart-md5"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`

    // The time the object was last modified, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // VersionId of the newly created object
    VersionId *string `presentIn:"header" name:"version-id"`
}

func (CommitMultipartUploadResponse) HTTPResponse

func (response CommitMultipartUploadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CommitMultipartUploadResponse) String

func (response CommitMultipartUploadResponse) String() string

type CopyObjectDetails

CopyObjectDetails The parameters required by Object Storage to process a request to copy an object to another bucket. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type CopyObjectDetails struct {

    // The name of the object to be copied.
    SourceObjectName *string `mandatory:"true" json:"sourceObjectName"`

    // The destination region the object will be copied to, for example "us-ashburn-1".
    DestinationRegion *string `mandatory:"true" json:"destinationRegion"`

    // The destination Object Storage namespace the object will be copied to.
    DestinationNamespace *string `mandatory:"true" json:"destinationNamespace"`

    // The destination bucket the object will be copied to.
    DestinationBucket *string `mandatory:"true" json:"destinationBucket"`

    // The name of the destination object resulting from the copy operation. Avoid entering confidential information.
    DestinationObjectName *string `mandatory:"true" json:"destinationObjectName"`

    // The entity tag (ETag) to match against that of the source object. Used to confirm that the source object
    // with a given name is the version of that object storing a specified ETag.
    SourceObjectIfMatchETag *string `mandatory:"false" json:"sourceObjectIfMatchETag"`

    // VersionId of the object to copy. If not provided then current version is copied by default.
    SourceVersionId *string `mandatory:"false" json:"sourceVersionId"`

    // The entity tag (ETag) to match against that of the destination object (an object intended to be overwritten).
    // Used to confirm that the destination object stored under a given name is the version of that object
    // storing a specified entity tag.
    DestinationObjectIfMatchETag *string `mandatory:"false" json:"destinationObjectIfMatchETag"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should fail
    // if the object already exists in the destination bucket.
    DestinationObjectIfNoneMatchETag *string `mandatory:"false" json:"destinationObjectIfNoneMatchETag"`

    // Arbitrary string keys and values for the user-defined metadata for the object. Keys must be in
    // "opc-meta-*" format. Avoid entering confidential information. Metadata key-value pairs entered
    // in this field are assigned to the destination object. If you enter no metadata values, the destination
    // object will inherit any existing metadata values associated with the source object.
    DestinationObjectMetadata map[string]string `mandatory:"false" json:"destinationObjectMetadata"`

    // The storage tier that the object should be stored in. If not specified, the object will be stored in
    // the same storage tier as the bucket.
    DestinationObjectStorageTier StorageTierEnum `mandatory:"false" json:"destinationObjectStorageTier,omitempty"`
}

func (CopyObjectDetails) String

func (m CopyObjectDetails) String() string

func (CopyObjectDetails) ValidateEnumValue

func (m CopyObjectDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CopyObjectRequest

CopyObjectRequest wrapper for the CopyObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CopyObject.go.html to see an example of how to use CopyObjectRequest.

type CopyObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The source and destination of the object to be copied.
    CopyObjectDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // The optional header that specifies "AES256" as the encryption algorithm to use to decrypt the source
    // object. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSourceSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-source-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt
    // the source object. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSourceSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-source-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to
    // decrypt the source object. This value is used to check the integrity of the encryption key. For
    // more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSourceSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-source-sse-customer-key-sha256"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key
    // Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    OpcSseKmsKeyId *string `mandatory:"false" contributesTo:"header" name:"opc-sse-kms-key-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CopyObjectRequest) BinaryRequestBody

func (request CopyObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CopyObjectRequest) HTTPRequest

func (request CopyObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CopyObjectRequest) ReplaceMandatoryParamInPath

func (request CopyObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CopyObjectRequest) RetryPolicy

func (request CopyObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CopyObjectRequest) String

func (request CopyObjectRequest) String() string

func (CopyObjectRequest) ValidateEnumValue

func (request CopyObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CopyObjectResponse

CopyObjectResponse wrapper for the CopyObject operation

type CopyObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. If you need to contact Oracle about a
    // particular request, provide this request ID.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (CopyObjectResponse) HTTPResponse

func (response CopyObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CopyObjectResponse) String

func (response CopyObjectResponse) String() string

type CreateBucketDetails

CreateBucketDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type CreateBucketDetails struct {

    // The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
    // Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information.
    // example: Example: my-new-bucket1
    Name *string `mandatory:"true" json:"name"`

    // The ID of the compartment in which to create the bucket.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Arbitrary string, up to 4KB, of keys and values for user-defined metadata.
    Metadata map[string]string `mandatory:"false" json:"metadata"`

    // The type of public access enabled on this bucket.
    // A bucket is set to `NoPublicAccess` by default, which only allows an authenticated caller to access the
    // bucket and its contents. When `ObjectRead` is enabled on the bucket, public access is allowed for the
    // `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled on the bucket,
    // public access is allowed for the `GetObject` and `HeadObject` operations.
    PublicAccessType CreateBucketDetailsPublicAccessTypeEnum `mandatory:"false" json:"publicAccessType,omitempty"`

    // The type of storage tier of this bucket.
    // A bucket is set to 'Standard' tier by default, which means the bucket will be put in the standard storage tier.
    // When 'Archive' tier type is set explicitly, the bucket is put in the Archive Storage tier. The 'storageTier'
    // property is immutable after bucket is created.
    StorageTier CreateBucketDetailsStorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`

    // Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is
    // set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information
    // about events, see Overview of Events (https://docs.cloud.oracle.com/Content/Events/Concepts/eventsoverview.htm).
    ObjectEventsEnabled *bool `mandatory:"false" json:"objectEventsEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key
    // Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // Set the versioning status on the bucket. By default, a bucket is created with versioning `Disabled`. Use this option to enable versioning during bucket creation. Objects in a version enabled bucket are protected from overwrites and deletions. Previous versions of the same object will be available in the bucket.
    Versioning CreateBucketDetailsVersioningEnum `mandatory:"false" json:"versioning,omitempty"`

    // Set the auto tiering status on the bucket. By default, a bucket is created with auto tiering `Disabled`.
    // Use this option to enable auto tiering during bucket creation. Objects in a bucket with auto tiering set to
    // `InfrequentAccess` are transitioned automatically between the 'Standard' and 'InfrequentAccess'
    // tiers based on the access pattern of the objects.
    AutoTiering BucketAutoTieringEnum `mandatory:"false" json:"autoTiering,omitempty"`
}

func (CreateBucketDetails) String

func (m CreateBucketDetails) String() string

func (CreateBucketDetails) ValidateEnumValue

func (m CreateBucketDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBucketDetailsPublicAccessTypeEnum

CreateBucketDetailsPublicAccessTypeEnum Enum with underlying type: string

type CreateBucketDetailsPublicAccessTypeEnum string

Set of constants representing the allowable values for CreateBucketDetailsPublicAccessTypeEnum

const (
    CreateBucketDetailsPublicAccessTypeNopublicaccess        CreateBucketDetailsPublicAccessTypeEnum = "NoPublicAccess"
    CreateBucketDetailsPublicAccessTypeObjectread            CreateBucketDetailsPublicAccessTypeEnum = "ObjectRead"
    CreateBucketDetailsPublicAccessTypeObjectreadwithoutlist CreateBucketDetailsPublicAccessTypeEnum = "ObjectReadWithoutList"
)

func GetCreateBucketDetailsPublicAccessTypeEnumValues

func GetCreateBucketDetailsPublicAccessTypeEnumValues() []CreateBucketDetailsPublicAccessTypeEnum

GetCreateBucketDetailsPublicAccessTypeEnumValues Enumerates the set of values for CreateBucketDetailsPublicAccessTypeEnum

func GetMappingCreateBucketDetailsPublicAccessTypeEnum

func GetMappingCreateBucketDetailsPublicAccessTypeEnum(val string) (CreateBucketDetailsPublicAccessTypeEnum, bool)

GetMappingCreateBucketDetailsPublicAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateBucketDetailsStorageTierEnum

CreateBucketDetailsStorageTierEnum Enum with underlying type: string

type CreateBucketDetailsStorageTierEnum string

Set of constants representing the allowable values for CreateBucketDetailsStorageTierEnum

const (
    CreateBucketDetailsStorageTierStandard CreateBucketDetailsStorageTierEnum = "Standard"
    CreateBucketDetailsStorageTierArchive  CreateBucketDetailsStorageTierEnum = "Archive"
)

func GetCreateBucketDetailsStorageTierEnumValues

func GetCreateBucketDetailsStorageTierEnumValues() []CreateBucketDetailsStorageTierEnum

GetCreateBucketDetailsStorageTierEnumValues Enumerates the set of values for CreateBucketDetailsStorageTierEnum

func GetMappingCreateBucketDetailsStorageTierEnum

func GetMappingCreateBucketDetailsStorageTierEnum(val string) (CreateBucketDetailsStorageTierEnum, bool)

GetMappingCreateBucketDetailsStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateBucketDetailsVersioningEnum

CreateBucketDetailsVersioningEnum Enum with underlying type: string

type CreateBucketDetailsVersioningEnum string

Set of constants representing the allowable values for CreateBucketDetailsVersioningEnum

const (
    CreateBucketDetailsVersioningEnabled  CreateBucketDetailsVersioningEnum = "Enabled"
    CreateBucketDetailsVersioningDisabled CreateBucketDetailsVersioningEnum = "Disabled"
)

func GetCreateBucketDetailsVersioningEnumValues

func GetCreateBucketDetailsVersioningEnumValues() []CreateBucketDetailsVersioningEnum

GetCreateBucketDetailsVersioningEnumValues Enumerates the set of values for CreateBucketDetailsVersioningEnum

func GetMappingCreateBucketDetailsVersioningEnum

func GetMappingCreateBucketDetailsVersioningEnum(val string) (CreateBucketDetailsVersioningEnum, bool)

GetMappingCreateBucketDetailsVersioningEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateBucketRequest

CreateBucketRequest wrapper for the CreateBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateBucket.go.html to see an example of how to use CreateBucketRequest.

type CreateBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // Request object for creating a bucket.
    CreateBucketDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateBucketRequest) BinaryRequestBody

func (request CreateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateBucketRequest) HTTPRequest

func (request CreateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateBucketRequest) ReplaceMandatoryParamInPath

func (request CreateBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CreateBucketRequest) RetryPolicy

func (request CreateBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateBucketRequest) String

func (request CreateBucketRequest) String() string

func (CreateBucketRequest) ValidateEnumValue

func (request CreateBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateBucketResponse

CreateBucketResponse wrapper for the CreateBucket operation

type CreateBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Bucket instance
    Bucket `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the bucket that was created.
    ETag *string `presentIn:"header" name:"etag"`

    // The full path to the bucket that was created.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateBucketResponse) HTTPResponse

func (response CreateBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateBucketResponse) String

func (response CreateBucketResponse) String() string

type CreateMultipartUploadDetails

CreateMultipartUploadDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type CreateMultipartUploadDetails struct {

    // The name of the object to which this multi-part upload is targeted. Avoid entering confidential information.
    // Example: test/object1.log
    Object *string `mandatory:"true" json:"object"`

    // The optional Content-Type header that defines the standard MIME type format of the object to upload.
    // Specifying values for this header has no effect on Object Storage behavior. Programs that read the object
    // determine what to do based on the value provided. For example, you could use this header to identify and
    // perform special operations on text only objects.
    ContentType *string `mandatory:"false" json:"contentType"`

    // The optional Content-Language header that defines the content language of the object to upload. Specifying
    // values for this header has no effect on Object Storage behavior. Programs that read the object determine what
    // to do based on the value provided. For example, you could use this header to identify and differentiate objects
    // based on a particular language.
    ContentLanguage *string `mandatory:"false" json:"contentLanguage"`

    // The optional Content-Encoding header that defines the content encodings that were applied to the object to
    // upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the
    // object determine what to do based on the value provided. For example, you could use this header to determine
    // what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of
    // the object.
    ContentEncoding *string `mandatory:"false" json:"contentEncoding"`

    // The optional Content-Disposition header that defines presentational information for the object to be
    // returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object
    // Storage behavior. Programs that read the object determine what to do based on the value provided.
    // For example, you could use this header to let users download objects with custom filenames in a browser.
    ContentDisposition *string `mandatory:"false" json:"contentDisposition"`

    // The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and
    // HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs
    // that read the object determine what to do based on the value provided.
    // For example, you could use this header to identify objects that require caching restrictions.
    CacheControl *string `mandatory:"false" json:"cacheControl"`

    // The storage tier that the object should be stored in. If not specified, the object will be stored in
    // the same storage tier as the bucket.
    StorageTier StorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`

    // Arbitrary string keys and values for the user-defined metadata for the object.
    // Keys must be in "opc-meta-*" format. Avoid entering confidential information.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (CreateMultipartUploadDetails) String

func (m CreateMultipartUploadDetails) String() string

func (CreateMultipartUploadDetails) ValidateEnumValue

func (m CreateMultipartUploadDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMultipartUploadRequest

CreateMultipartUploadRequest wrapper for the CreateMultipartUpload operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateMultipartUpload.go.html to see an example of how to use CreateMultipartUploadRequest.

type CreateMultipartUploadRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // Request object for creating a multipart upload.
    CreateMultipartUploadDetails `contributesTo:"body"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should
    // fail if the resource already exists.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key
    // Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    OpcSseKmsKeyId *string `mandatory:"false" contributesTo:"header" name:"opc-sse-kms-key-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateMultipartUploadRequest) BinaryRequestBody

func (request CreateMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateMultipartUploadRequest) HTTPRequest

func (request CreateMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateMultipartUploadRequest) ReplaceMandatoryParamInPath

func (request CreateMultipartUploadRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CreateMultipartUploadRequest) RetryPolicy

func (request CreateMultipartUploadRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateMultipartUploadRequest) String

func (request CreateMultipartUploadRequest) String() string

func (CreateMultipartUploadRequest) ValidateEnumValue

func (request CreateMultipartUploadRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateMultipartUploadResponse

CreateMultipartUploadResponse wrapper for the CreateMultipartUpload operation

type CreateMultipartUploadResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The MultipartUpload instance
    MultipartUpload `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The full path to the new upload.
    Location *string `presentIn:"header" name:"location"`
}

func (CreateMultipartUploadResponse) HTTPResponse

func (response CreateMultipartUploadResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateMultipartUploadResponse) String

func (response CreateMultipartUploadResponse) String() string

type CreatePreauthenticatedRequestDetails

CreatePreauthenticatedRequestDetails The representation of CreatePreauthenticatedRequestDetails

type CreatePreauthenticatedRequestDetails struct {

    // A user-specified name for the pre-authenticated request. Names can be helpful in managing pre-authenticated requests.
    // Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The operation that can be performed on this resource.
    AccessType CreatePreauthenticatedRequestDetailsAccessTypeEnum `mandatory:"true" json:"accessType"`

    // The expiration date for the pre-authenticated request as per RFC 3339 (https://tools.ietf.org/html/rfc3339).
    // After this date the pre-authenticated request will no longer be valid.
    TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

    // Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite".
    // Deny: Prevents the user from performing a list operation.
    // ListObjects: Authorizes the user to perform a list operation.
    BucketListingAction PreauthenticatedRequestBucketListingActionEnum `mandatory:"false" json:"bucketListingAction,omitempty"`

    // The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential
    // information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket
    // if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request
    // grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type.
    ObjectName *string `mandatory:"false" json:"objectName"`
}

func (CreatePreauthenticatedRequestDetails) String

func (m CreatePreauthenticatedRequestDetails) String() string

func (CreatePreauthenticatedRequestDetails) ValidateEnumValue

func (m CreatePreauthenticatedRequestDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreatePreauthenticatedRequestDetailsAccessTypeEnum

CreatePreauthenticatedRequestDetailsAccessTypeEnum Enum with underlying type: string

type CreatePreauthenticatedRequestDetailsAccessTypeEnum string

Set of constants representing the allowable values for CreatePreauthenticatedRequestDetailsAccessTypeEnum

const (
    CreatePreauthenticatedRequestDetailsAccessTypeObjectread         CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectRead"
    CreatePreauthenticatedRequestDetailsAccessTypeObjectwrite        CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectWrite"
    CreatePreauthenticatedRequestDetailsAccessTypeObjectreadwrite    CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectReadWrite"
    CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectwrite     CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectWrite"
    CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectread      CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectRead"
    CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectreadwrite CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectReadWrite"
)

func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumValues

func GetCreatePreauthenticatedRequestDetailsAccessTypeEnumValues() []CreatePreauthenticatedRequestDetailsAccessTypeEnum

GetCreatePreauthenticatedRequestDetailsAccessTypeEnumValues Enumerates the set of values for CreatePreauthenticatedRequestDetailsAccessTypeEnum

func GetMappingCreatePreauthenticatedRequestDetailsAccessTypeEnum

func GetMappingCreatePreauthenticatedRequestDetailsAccessTypeEnum(val string) (CreatePreauthenticatedRequestDetailsAccessTypeEnum, bool)

GetMappingCreatePreauthenticatedRequestDetailsAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreatePreauthenticatedRequestRequest

CreatePreauthenticatedRequestRequest wrapper for the CreatePreauthenticatedRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreatePreauthenticatedRequest.go.html to see an example of how to use CreatePreauthenticatedRequestRequest.

type CreatePreauthenticatedRequestRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // Information needed to create the pre-authenticated request.
    CreatePreauthenticatedRequestDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreatePreauthenticatedRequestRequest) BinaryRequestBody

func (request CreatePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreatePreauthenticatedRequestRequest) HTTPRequest

func (request CreatePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreatePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath

func (request CreatePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CreatePreauthenticatedRequestRequest) RetryPolicy

func (request CreatePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreatePreauthenticatedRequestRequest) String

func (request CreatePreauthenticatedRequestRequest) String() string

func (CreatePreauthenticatedRequestRequest) ValidateEnumValue

func (request CreatePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreatePreauthenticatedRequestResponse

CreatePreauthenticatedRequestResponse wrapper for the CreatePreauthenticatedRequest operation

type CreatePreauthenticatedRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The PreauthenticatedRequest instance
    PreauthenticatedRequest `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreatePreauthenticatedRequestResponse) HTTPResponse

func (response CreatePreauthenticatedRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreatePreauthenticatedRequestResponse) String

func (response CreatePreauthenticatedRequestResponse) String() string

type CreateReplicationPolicyDetails

CreateReplicationPolicyDetails The details to create a replication policy.

type CreateReplicationPolicyDetails struct {

    // The name of the policy. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The destination region to replicate to, for example "us-ashburn-1".
    DestinationRegionName *string `mandatory:"true" json:"destinationRegionName"`

    // The bucket to replicate to in the destination region. Replication policy creation does not automatically
    // create a destination bucket. Create the destination bucket before creating the policy.
    DestinationBucketName *string `mandatory:"true" json:"destinationBucketName"`
}

func (CreateReplicationPolicyDetails) String

func (m CreateReplicationPolicyDetails) String() string

func (CreateReplicationPolicyDetails) ValidateEnumValue

func (m CreateReplicationPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateReplicationPolicyRequest

CreateReplicationPolicyRequest wrapper for the CreateReplicationPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateReplicationPolicy.go.html to see an example of how to use CreateReplicationPolicyRequest.

type CreateReplicationPolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The replication policy.
    CreateReplicationPolicyDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateReplicationPolicyRequest) BinaryRequestBody

func (request CreateReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateReplicationPolicyRequest) HTTPRequest

func (request CreateReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateReplicationPolicyRequest) ReplaceMandatoryParamInPath

func (request CreateReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CreateReplicationPolicyRequest) RetryPolicy

func (request CreateReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateReplicationPolicyRequest) String

func (request CreateReplicationPolicyRequest) String() string

func (CreateReplicationPolicyRequest) ValidateEnumValue

func (request CreateReplicationPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateReplicationPolicyResponse

CreateReplicationPolicyResponse wrapper for the CreateReplicationPolicy operation

type CreateReplicationPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ReplicationPolicy instance
    ReplicationPolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (CreateReplicationPolicyResponse) HTTPResponse

func (response CreateReplicationPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateReplicationPolicyResponse) String

func (response CreateReplicationPolicyResponse) String() string

type CreateRetentionRuleDetails

CreateRetentionRuleDetails The details to create a retention rule.

type CreateRetentionRuleDetails struct {

    // A user-specified name for the retention rule. Names can be helpful in identifying retention rules.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    Duration *Duration `mandatory:"false" json:"duration"`

    // The date and time as per RFC 3339 (https://tools.ietf.org/html/rfc3339) after which this rule is locked
    // and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are
    // allowed and no other properties can be changed. This property cannot be updated for rules that are in a
    // locked state. Specifying it when a duration is not specified is considered an error.
    TimeRuleLocked *common.SDKTime `mandatory:"false" json:"timeRuleLocked"`
}

func (CreateRetentionRuleDetails) String

func (m CreateRetentionRuleDetails) String() string

func (CreateRetentionRuleDetails) ValidateEnumValue

func (m CreateRetentionRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateRetentionRuleRequest

CreateRetentionRuleRequest wrapper for the CreateRetentionRule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateRetentionRule.go.html to see an example of how to use CreateRetentionRuleRequest.

type CreateRetentionRuleRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The retention rule to create for the bucket.
    CreateRetentionRuleDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateRetentionRuleRequest) BinaryRequestBody

func (request CreateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateRetentionRuleRequest) HTTPRequest

func (request CreateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateRetentionRuleRequest) ReplaceMandatoryParamInPath

func (request CreateRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (CreateRetentionRuleRequest) RetryPolicy

func (request CreateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateRetentionRuleRequest) String

func (request CreateRetentionRuleRequest) String() string

func (CreateRetentionRuleRequest) ValidateEnumValue

func (request CreateRetentionRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateRetentionRuleResponse

CreateRetentionRuleResponse wrapper for the CreateRetentionRule operation

type CreateRetentionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RetentionRule instance
    RetentionRule `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) for the retention rule that was created.
    Etag *string `presentIn:"header" name:"etag"`
}

func (CreateRetentionRuleResponse) HTTPResponse

func (response CreateRetentionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateRetentionRuleResponse) String

func (response CreateRetentionRuleResponse) String() string

type DeleteBucketRequest

DeleteBucketRequest wrapper for the DeleteBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteBucket.go.html to see an example of how to use DeleteBucketRequest.

type DeleteBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteBucketRequest) BinaryRequestBody

func (request DeleteBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteBucketRequest) HTTPRequest

func (request DeleteBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteBucketRequest) ReplaceMandatoryParamInPath

func (request DeleteBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeleteBucketRequest) RetryPolicy

func (request DeleteBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteBucketRequest) String

func (request DeleteBucketRequest) String() string

func (DeleteBucketRequest) ValidateEnumValue

func (request DeleteBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteBucketResponse

DeleteBucketResponse wrapper for the DeleteBucket operation

type DeleteBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteBucketResponse) HTTPResponse

func (response DeleteBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteBucketResponse) String

func (response DeleteBucketResponse) String() string

type DeleteObjectLifecyclePolicyRequest

DeleteObjectLifecyclePolicyRequest wrapper for the DeleteObjectLifecyclePolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteObjectLifecyclePolicy.go.html to see an example of how to use DeleteObjectLifecyclePolicyRequest.

type DeleteObjectLifecyclePolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteObjectLifecyclePolicyRequest) BinaryRequestBody

func (request DeleteObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteObjectLifecyclePolicyRequest) HTTPRequest

func (request DeleteObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath

func (request DeleteObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeleteObjectLifecyclePolicyRequest) RetryPolicy

func (request DeleteObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteObjectLifecyclePolicyRequest) String

func (request DeleteObjectLifecyclePolicyRequest) String() string

func (DeleteObjectLifecyclePolicyRequest) ValidateEnumValue

func (request DeleteObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteObjectLifecyclePolicyResponse

DeleteObjectLifecyclePolicyResponse wrapper for the DeleteObjectLifecyclePolicy operation

type DeleteObjectLifecyclePolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (DeleteObjectLifecyclePolicyResponse) HTTPResponse

func (response DeleteObjectLifecyclePolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteObjectLifecyclePolicyResponse) String

func (response DeleteObjectLifecyclePolicyResponse) String() string

type DeleteObjectRequest

DeleteObjectRequest wrapper for the DeleteObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteObject.go.html to see an example of how to use DeleteObjectRequest.

type DeleteObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // VersionId used to identify a particular version of the object
    VersionId *string `mandatory:"false" contributesTo:"query" name:"versionId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteObjectRequest) BinaryRequestBody

func (request DeleteObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteObjectRequest) HTTPRequest

func (request DeleteObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteObjectRequest) ReplaceMandatoryParamInPath

func (request DeleteObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeleteObjectRequest) RetryPolicy

func (request DeleteObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteObjectRequest) String

func (request DeleteObjectRequest) String() string

func (DeleteObjectRequest) ValidateEnumValue

func (request DeleteObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteObjectResponse

DeleteObjectResponse wrapper for the DeleteObject operation

type DeleteObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The time the object was deleted, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // The `versionId` of the delete marker created as a result of the DELETE Object.
    // If the request contains a specific `versionId`, then this response header will be the same as the requested `versionId` of the object that was deleted.
    VersionId *string `presentIn:"header" name:"version-id"`

    // This is `true` if the deleted object is a delete marker, otherwise `false`
    IsDeleteMarker *bool `presentIn:"header" name:"is-delete-marker"`
}

func (DeleteObjectResponse) HTTPResponse

func (response DeleteObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteObjectResponse) String

func (response DeleteObjectResponse) String() string

type DeletePreauthenticatedRequestRequest

DeletePreauthenticatedRequestRequest wrapper for the DeletePreauthenticatedRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeletePreauthenticatedRequest.go.html to see an example of how to use DeletePreauthenticatedRequestRequest.

type DeletePreauthenticatedRequestRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The unique identifier for the pre-authenticated request. This can be used to manage operations against
    // the pre-authenticated request, such as GET or DELETE.
    ParId *string `mandatory:"true" contributesTo:"path" name:"parId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeletePreauthenticatedRequestRequest) BinaryRequestBody

func (request DeletePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeletePreauthenticatedRequestRequest) HTTPRequest

func (request DeletePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeletePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath

func (request DeletePreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeletePreauthenticatedRequestRequest) RetryPolicy

func (request DeletePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeletePreauthenticatedRequestRequest) String

func (request DeletePreauthenticatedRequestRequest) String() string

func (DeletePreauthenticatedRequestRequest) ValidateEnumValue

func (request DeletePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeletePreauthenticatedRequestResponse

DeletePreauthenticatedRequestResponse wrapper for the DeletePreauthenticatedRequest operation

type DeletePreauthenticatedRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeletePreauthenticatedRequestResponse) HTTPResponse

func (response DeletePreauthenticatedRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeletePreauthenticatedRequestResponse) String

func (response DeletePreauthenticatedRequestResponse) String() string

type DeleteReplicationPolicyRequest

DeleteReplicationPolicyRequest wrapper for the DeleteReplicationPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteReplicationPolicy.go.html to see an example of how to use DeleteReplicationPolicyRequest.

type DeleteReplicationPolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The ID of the replication policy.
    ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteReplicationPolicyRequest) BinaryRequestBody

func (request DeleteReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteReplicationPolicyRequest) HTTPRequest

func (request DeleteReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteReplicationPolicyRequest) ReplaceMandatoryParamInPath

func (request DeleteReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeleteReplicationPolicyRequest) RetryPolicy

func (request DeleteReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteReplicationPolicyRequest) String

func (request DeleteReplicationPolicyRequest) String() string

func (DeleteReplicationPolicyRequest) ValidateEnumValue

func (request DeleteReplicationPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteReplicationPolicyResponse

DeleteReplicationPolicyResponse wrapper for the DeleteReplicationPolicy operation

type DeleteReplicationPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (DeleteReplicationPolicyResponse) HTTPResponse

func (response DeleteReplicationPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteReplicationPolicyResponse) String

func (response DeleteReplicationPolicyResponse) String() string

type DeleteRetentionRuleRequest

DeleteRetentionRuleRequest wrapper for the DeleteRetentionRule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteRetentionRule.go.html to see an example of how to use DeleteRetentionRuleRequest.

type DeleteRetentionRuleRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The ID of the retention rule.
    RetentionRuleId *string `mandatory:"true" contributesTo:"path" name:"retentionRuleId"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteRetentionRuleRequest) BinaryRequestBody

func (request DeleteRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRetentionRuleRequest) HTTPRequest

func (request DeleteRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRetentionRuleRequest) ReplaceMandatoryParamInPath

func (request DeleteRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (DeleteRetentionRuleRequest) RetryPolicy

func (request DeleteRetentionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRetentionRuleRequest) String

func (request DeleteRetentionRuleRequest) String() string

func (DeleteRetentionRuleRequest) ValidateEnumValue

func (request DeleteRetentionRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteRetentionRuleResponse

DeleteRetentionRuleResponse wrapper for the DeleteRetentionRule operation

type DeleteRetentionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteRetentionRuleResponse) HTTPResponse

func (response DeleteRetentionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRetentionRuleResponse) String

func (response DeleteRetentionRuleResponse) String() string

type Duration

Duration The amount of time that objects in the bucket should be preserved for and which is calculated in relation to each object's Last-Modified timestamp. If duration is not present, then there is no time limit and the objects in the bucket will be preserved indefinitely.

type Duration struct {

    // The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation
    // to each object's Last-Modified timestamp.
    TimeAmount *int64 `mandatory:"true" json:"timeAmount"`

    // The unit that should be used to interpret timeAmount.
    TimeUnit DurationTimeUnitEnum `mandatory:"true" json:"timeUnit"`
}

func (Duration) String

func (m Duration) String() string

func (Duration) ValidateEnumValue

func (m Duration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DurationTimeUnitEnum

DurationTimeUnitEnum Enum with underlying type: string

type DurationTimeUnitEnum string

Set of constants representing the allowable values for DurationTimeUnitEnum

const (
    DurationTimeUnitYears DurationTimeUnitEnum = "YEARS"
    DurationTimeUnitDays  DurationTimeUnitEnum = "DAYS"
)

func GetDurationTimeUnitEnumValues

func GetDurationTimeUnitEnumValues() []DurationTimeUnitEnum

GetDurationTimeUnitEnumValues Enumerates the set of values for DurationTimeUnitEnum

func GetMappingDurationTimeUnitEnum

func GetMappingDurationTimeUnitEnum(val string) (DurationTimeUnitEnum, bool)

GetMappingDurationTimeUnitEnum performs case Insensitive comparison on enum value and return the desired enum

type GetBucketFieldsEnum

GetBucketFieldsEnum Enum with underlying type: string

type GetBucketFieldsEnum string

Set of constants representing the allowable values for GetBucketFieldsEnum

const (
    GetBucketFieldsApproximatecount GetBucketFieldsEnum = "approximateCount"
    GetBucketFieldsApproximatesize  GetBucketFieldsEnum = "approximateSize"
    GetBucketFieldsAutotiering      GetBucketFieldsEnum = "autoTiering"
)

func GetGetBucketFieldsEnumValues

func GetGetBucketFieldsEnumValues() []GetBucketFieldsEnum

GetGetBucketFieldsEnumValues Enumerates the set of values for GetBucketFieldsEnum

func GetMappingGetBucketFieldsEnum

func GetMappingGetBucketFieldsEnum(val string) (GetBucketFieldsEnum, bool)

GetMappingGetBucketFieldsEnum performs case Insensitive comparison on enum value and return the desired enum

type GetBucketRequest

GetBucketRequest wrapper for the GetBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetBucket.go.html to see an example of how to use GetBucketRequest.

type GetBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not
    // match the ETag of the existing resource, the request returns the expected response. If the ETag matches
    // the ETag of the existing resource, the request returns an HTTP 304 status without a response body.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Bucket summary includes the 'namespace', 'name', 'compartmentId', 'createdBy', 'timeCreated',
    // and 'etag' fields. This parameter can also include 'approximateCount' (approximate number of objects), 'approximateSize'
    // (total approximate size in bytes of all objects) and 'autoTiering' (state of auto tiering on the bucket).
    // For example 'approximateCount,approximateSize,autoTiering'.
    Fields []GetBucketFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetBucketRequest) BinaryRequestBody

func (request GetBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetBucketRequest) HTTPRequest

func (request GetBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetBucketRequest) ReplaceMandatoryParamInPath

func (request GetBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetBucketRequest) RetryPolicy

func (request GetBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetBucketRequest) String

func (request GetBucketRequest) String() string

func (GetBucketRequest) ValidateEnumValue

func (request GetBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetBucketResponse

GetBucketResponse wrapper for the GetBucket operation

type GetBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Bucket instance
    Bucket `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current entity tag (ETag) for the bucket.
    ETag *string `presentIn:"header" name:"etag"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetBucketResponse) HTTPResponse

func (response GetBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetBucketResponse) String

func (response GetBucketResponse) String() string

type GetNamespaceMetadataRequest

GetNamespaceMetadataRequest wrapper for the GetNamespaceMetadata operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetNamespaceMetadata.go.html to see an example of how to use GetNamespaceMetadataRequest.

type GetNamespaceMetadataRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNamespaceMetadataRequest) BinaryRequestBody

func (request GetNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNamespaceMetadataRequest) HTTPRequest

func (request GetNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNamespaceMetadataRequest) ReplaceMandatoryParamInPath

func (request GetNamespaceMetadataRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetNamespaceMetadataRequest) RetryPolicy

func (request GetNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNamespaceMetadataRequest) String

func (request GetNamespaceMetadataRequest) String() string

func (GetNamespaceMetadataRequest) ValidateEnumValue

func (request GetNamespaceMetadataRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNamespaceMetadataResponse

GetNamespaceMetadataResponse wrapper for the GetNamespaceMetadata operation

type GetNamespaceMetadataResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NamespaceMetadata instance
    NamespaceMetadata `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetNamespaceMetadataResponse) HTTPResponse

func (response GetNamespaceMetadataResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNamespaceMetadataResponse) String

func (response GetNamespaceMetadataResponse) String() string

type GetNamespaceRequest

GetNamespaceRequest wrapper for the GetNamespace operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetNamespace.go.html to see an example of how to use GetNamespaceRequest.

type GetNamespaceRequest struct {

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // This is an optional field representing either the tenancy OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) or the compartment
    // OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) within the tenancy whose Object Storage namespace is to be retrieved.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetNamespaceRequest) BinaryRequestBody

func (request GetNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNamespaceRequest) HTTPRequest

func (request GetNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNamespaceRequest) ReplaceMandatoryParamInPath

func (request GetNamespaceRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetNamespaceRequest) RetryPolicy

func (request GetNamespaceRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetNamespaceRequest) String

func (request GetNamespaceRequest) String() string

func (GetNamespaceRequest) ValidateEnumValue

func (request GetNamespaceRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNamespaceResponse

GetNamespaceResponse wrapper for the GetNamespace operation

type GetNamespaceResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The string instance
    Value *string `presentIn:"body"`
}

func (GetNamespaceResponse) HTTPResponse

func (response GetNamespaceResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetNamespaceResponse) String

func (response GetNamespaceResponse) String() string

type GetObjectArchivalStateEnum

GetObjectArchivalStateEnum Enum with underlying type: string

type GetObjectArchivalStateEnum string

Set of constants representing the allowable values for GetObjectArchivalStateEnum

const (
    GetObjectArchivalStateArchived  GetObjectArchivalStateEnum = "Archived"
    GetObjectArchivalStateRestoring GetObjectArchivalStateEnum = "Restoring"
    GetObjectArchivalStateRestored  GetObjectArchivalStateEnum = "Restored"
)

func GetGetObjectArchivalStateEnumValues

func GetGetObjectArchivalStateEnumValues() []GetObjectArchivalStateEnum

GetGetObjectArchivalStateEnumValues Enumerates the set of values for GetObjectArchivalStateEnum

func GetMappingGetObjectArchivalStateEnum

func GetMappingGetObjectArchivalStateEnum(val string) (GetObjectArchivalStateEnum, bool)

GetMappingGetObjectArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum

type GetObjectLifecyclePolicyRequest

GetObjectLifecyclePolicyRequest wrapper for the GetObjectLifecyclePolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetObjectLifecyclePolicy.go.html to see an example of how to use GetObjectLifecyclePolicyRequest.

type GetObjectLifecyclePolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetObjectLifecyclePolicyRequest) BinaryRequestBody

func (request GetObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetObjectLifecyclePolicyRequest) HTTPRequest

func (request GetObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath

func (request GetObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetObjectLifecyclePolicyRequest) RetryPolicy

func (request GetObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetObjectLifecyclePolicyRequest) String

func (request GetObjectLifecyclePolicyRequest) String() string

func (GetObjectLifecyclePolicyRequest) ValidateEnumValue

func (request GetObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetObjectLifecyclePolicyResponse

GetObjectLifecyclePolicyResponse wrapper for the GetObjectLifecyclePolicy operation

type GetObjectLifecyclePolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ObjectLifecyclePolicy instance
    ObjectLifecyclePolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) for the object lifecycle policy.
    ETag *string `presentIn:"header" name:"etag"`
}

func (GetObjectLifecyclePolicyResponse) HTTPResponse

func (response GetObjectLifecyclePolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetObjectLifecyclePolicyResponse) String

func (response GetObjectLifecyclePolicyResponse) String() string

type GetObjectRequest

GetObjectRequest wrapper for the GetObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetObject.go.html to see an example of how to use GetObjectRequest.

type GetObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // VersionId used to identify a particular version of the object
    VersionId *string `mandatory:"false" contributesTo:"query" name:"versionId"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not
    // match the ETag of the existing resource, the request returns the expected response. If the ETag matches
    // the ETag of the existing resource, the request returns an HTTP 304 status without a response body.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Optional byte range to fetch, as described in RFC 7233 (https://tools.ietf.org/html/rfc7233#section-2.1).
    // Note that only a single range of bytes is supported.
    Range *string `mandatory:"false" contributesTo:"header" name:"range"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // Specify this query parameter to override the value of the Content-Disposition response header in the GetObject response.
    HttpResponseContentDisposition *string `mandatory:"false" contributesTo:"query" name:"httpResponseContentDisposition"`

    // Specify this query parameter to override the Cache-Control response header in the GetObject response.
    HttpResponseCacheControl *string `mandatory:"false" contributesTo:"query" name:"httpResponseCacheControl"`

    // Specify this query parameter to override the Content-Type response header in the GetObject response.
    HttpResponseContentType *string `mandatory:"false" contributesTo:"query" name:"httpResponseContentType"`

    // Specify this query parameter to override the Content-Language response header in the GetObject response.
    HttpResponseContentLanguage *string `mandatory:"false" contributesTo:"query" name:"httpResponseContentLanguage"`

    // Specify this query parameter to override the Content-Encoding response header in the GetObject response.
    HttpResponseContentEncoding *string `mandatory:"false" contributesTo:"query" name:"httpResponseContentEncoding"`

    // Specify this query parameter to override the Expires response header in the GetObject response.
    HttpResponseExpires *string `mandatory:"false" contributesTo:"query" name:"httpResponseExpires"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetObjectRequest) BinaryRequestBody

func (request GetObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetObjectRequest) HTTPRequest

func (request GetObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetObjectRequest) ReplaceMandatoryParamInPath

func (request GetObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetObjectRequest) RetryPolicy

func (request GetObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetObjectRequest) String

func (request GetObjectRequest) String() string

func (GetObjectRequest) ValidateEnumValue

func (request GetObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetObjectResponse

GetObjectResponse wrapper for the GetObject operation

type GetObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The io.ReadCloser instance
    Content io.ReadCloser `presentIn:"body" encoding:"binary"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`

    // The user-defined metadata for the object.
    OpcMeta map[string]string `presentIn:"header-collection" prefix:"opc-meta-"`

    // The object size in bytes.
    ContentLength *int64 `presentIn:"header" name:"content-length"`

    // Content-Range header for range requests, per RFC 7233 (https://tools.ietf.org/html/rfc7233#section-4.2).
    ContentRange *string `presentIn:"header" name:"content-range"`

    // Content-MD5 header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.15).
    // Unavailable for objects uploaded using multipart upload.
    ContentMd5 *string `presentIn:"header" name:"content-md5"`

    // Only applicable to objects uploaded using multipart upload.
    // Base-64 representation of the multipart object hash.
    // The multipart object hash is calculated by taking the MD5 hashes of the parts,
    // concatenating the binary representation of those hashes in order of their part numbers,
    // and then calculating the MD5 hash of the concatenated values.
    OpcMultipartMd5 *string `presentIn:"header" name:"opc-multipart-md5"`

    // Content-Type header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.17).
    ContentType *string `presentIn:"header" name:"content-type"`

    // Content-Language header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.12).
    ContentLanguage *string `presentIn:"header" name:"content-language"`

    // Content-Encoding header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.11).
    ContentEncoding *string `presentIn:"header" name:"content-encoding"`

    // Cache-Control header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.9).
    CacheControl *string `presentIn:"header" name:"cache-control"`

    // Content-Disposition header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-19.5.1).
    ContentDisposition *string `presentIn:"header" name:"content-disposition"`

    // The object modification time, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // The storage tier that the object is stored in.
    StorageTier GetObjectStorageTierEnum `presentIn:"header" name:"storage-tier"`

    // Archival state of an object. This field is set only for objects in Archive tier.
    ArchivalState GetObjectArchivalStateEnum `presentIn:"header" name:"archival-state"`

    // Time that the object is returned to the archived state. This field is only present for restored objects.
    TimeOfArchival *common.SDKTime `presentIn:"header" name:"time-of-archival"`

    // VersionId of the object
    VersionId *string `presentIn:"header" name:"version-id"`

    // The date and time after which the object is no longer cached by a browser, proxy, or other caching entity. See
    // RFC 2616 (https://tools.ietf.org/rfc/rfc2616#section-14.21).
    Expires *common.SDKTime `presentIn:"header" name:"expires"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetObjectResponse) HTTPResponse

func (response GetObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetObjectResponse) String

func (response GetObjectResponse) String() string

type GetObjectStorageTierEnum

GetObjectStorageTierEnum Enum with underlying type: string

type GetObjectStorageTierEnum string

Set of constants representing the allowable values for GetObjectStorageTierEnum

const (
    GetObjectStorageTierStandard         GetObjectStorageTierEnum = "Standard"
    GetObjectStorageTierInfrequentaccess GetObjectStorageTierEnum = "InfrequentAccess"
    GetObjectStorageTierArchive          GetObjectStorageTierEnum = "Archive"
)

func GetGetObjectStorageTierEnumValues

func GetGetObjectStorageTierEnumValues() []GetObjectStorageTierEnum

GetGetObjectStorageTierEnumValues Enumerates the set of values for GetObjectStorageTierEnum

func GetMappingGetObjectStorageTierEnum

func GetMappingGetObjectStorageTierEnum(val string) (GetObjectStorageTierEnum, bool)

GetMappingGetObjectStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

type GetPreauthenticatedRequestRequest

GetPreauthenticatedRequestRequest wrapper for the GetPreauthenticatedRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetPreauthenticatedRequest.go.html to see an example of how to use GetPreauthenticatedRequestRequest.

type GetPreauthenticatedRequestRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The unique identifier for the pre-authenticated request. This can be used to manage operations against
    // the pre-authenticated request, such as GET or DELETE.
    ParId *string `mandatory:"true" contributesTo:"path" name:"parId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetPreauthenticatedRequestRequest) BinaryRequestBody

func (request GetPreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetPreauthenticatedRequestRequest) HTTPRequest

func (request GetPreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPreauthenticatedRequestRequest) ReplaceMandatoryParamInPath

func (request GetPreauthenticatedRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetPreauthenticatedRequestRequest) RetryPolicy

func (request GetPreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPreauthenticatedRequestRequest) String

func (request GetPreauthenticatedRequestRequest) String() string

func (GetPreauthenticatedRequestRequest) ValidateEnumValue

func (request GetPreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetPreauthenticatedRequestResponse

GetPreauthenticatedRequestResponse wrapper for the GetPreauthenticatedRequest operation

type GetPreauthenticatedRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The PreauthenticatedRequestSummary instance
    PreauthenticatedRequestSummary `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (GetPreauthenticatedRequestResponse) HTTPResponse

func (response GetPreauthenticatedRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPreauthenticatedRequestResponse) String

func (response GetPreauthenticatedRequestResponse) String() string

type GetReplicationPolicyRequest

GetReplicationPolicyRequest wrapper for the GetReplicationPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetReplicationPolicy.go.html to see an example of how to use GetReplicationPolicyRequest.

type GetReplicationPolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The ID of the replication policy.
    ReplicationId *string `mandatory:"true" contributesTo:"path" name:"replicationId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetReplicationPolicyRequest) BinaryRequestBody

func (request GetReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetReplicationPolicyRequest) HTTPRequest

func (request GetReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetReplicationPolicyRequest) ReplaceMandatoryParamInPath

func (request GetReplicationPolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetReplicationPolicyRequest) RetryPolicy

func (request GetReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetReplicationPolicyRequest) String

func (request GetReplicationPolicyRequest) String() string

func (GetReplicationPolicyRequest) ValidateEnumValue

func (request GetReplicationPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetReplicationPolicyResponse

GetReplicationPolicyResponse wrapper for the GetReplicationPolicy operation

type GetReplicationPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ReplicationPolicy instance
    ReplicationPolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (GetReplicationPolicyResponse) HTTPResponse

func (response GetReplicationPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetReplicationPolicyResponse) String

func (response GetReplicationPolicyResponse) String() string

type GetRetentionRuleRequest

GetRetentionRuleRequest wrapper for the GetRetentionRule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetRetentionRule.go.html to see an example of how to use GetRetentionRuleRequest.

type GetRetentionRuleRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The ID of the retention rule.
    RetentionRuleId *string `mandatory:"true" contributesTo:"path" name:"retentionRuleId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetRetentionRuleRequest) BinaryRequestBody

func (request GetRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRetentionRuleRequest) HTTPRequest

func (request GetRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRetentionRuleRequest) ReplaceMandatoryParamInPath

func (request GetRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetRetentionRuleRequest) RetryPolicy

func (request GetRetentionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRetentionRuleRequest) String

func (request GetRetentionRuleRequest) String() string

func (GetRetentionRuleRequest) ValidateEnumValue

func (request GetRetentionRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetRetentionRuleResponse

GetRetentionRuleResponse wrapper for the GetRetentionRule operation

type GetRetentionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RetentionRule instance
    RetentionRule `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the retention rule.
    Etag *string `presentIn:"header" name:"etag"`

    // The time the retention rule was last modified, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29)
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
}

func (GetRetentionRuleResponse) HTTPResponse

func (response GetRetentionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRetentionRuleResponse) String

func (response GetRetentionRuleResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) ReplaceMandatoryParamInPath

func (request GetWorkRequestRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (GetWorkRequestRequest) RetryPolicy

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *float32 `presentIn:"header" name:"retry-after"`
}

func (GetWorkRequestResponse) HTTPResponse

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HeadBucketRequest

HeadBucketRequest wrapper for the HeadBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/HeadBucket.go.html to see an example of how to use HeadBucketRequest.

type HeadBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not
    // match the ETag of the existing resource, the request returns the expected response. If the ETag matches
    // the ETag of the existing resource, the request returns an HTTP 304 status without a response body.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (HeadBucketRequest) BinaryRequestBody

func (request HeadBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (HeadBucketRequest) HTTPRequest

func (request HeadBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (HeadBucketRequest) ReplaceMandatoryParamInPath

func (request HeadBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (HeadBucketRequest) RetryPolicy

func (request HeadBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (HeadBucketRequest) String

func (request HeadBucketRequest) String() string

func (HeadBucketRequest) ValidateEnumValue

func (request HeadBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HeadBucketResponse

HeadBucketResponse wrapper for the HeadBucket operation

type HeadBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current entity tag (ETag) for the bucket.
    ETag *string `presentIn:"header" name:"etag"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (HeadBucketResponse) HTTPResponse

func (response HeadBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (HeadBucketResponse) String

func (response HeadBucketResponse) String() string

type HeadObjectArchivalStateEnum

HeadObjectArchivalStateEnum Enum with underlying type: string

type HeadObjectArchivalStateEnum string

Set of constants representing the allowable values for HeadObjectArchivalStateEnum

const (
    HeadObjectArchivalStateArchived  HeadObjectArchivalStateEnum = "Archived"
    HeadObjectArchivalStateRestoring HeadObjectArchivalStateEnum = "Restoring"
    HeadObjectArchivalStateRestored  HeadObjectArchivalStateEnum = "Restored"
)

func GetHeadObjectArchivalStateEnumValues

func GetHeadObjectArchivalStateEnumValues() []HeadObjectArchivalStateEnum

GetHeadObjectArchivalStateEnumValues Enumerates the set of values for HeadObjectArchivalStateEnum

func GetMappingHeadObjectArchivalStateEnum

func GetMappingHeadObjectArchivalStateEnum(val string) (HeadObjectArchivalStateEnum, bool)

GetMappingHeadObjectArchivalStateEnum performs case Insensitive comparison on enum value and return the desired enum

type HeadObjectRequest

HeadObjectRequest wrapper for the HeadObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/HeadObject.go.html to see an example of how to use HeadObjectRequest.

type HeadObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // VersionId used to identify a particular version of the object
    VersionId *string `mandatory:"false" contributesTo:"query" name:"versionId"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not
    // match the ETag of the existing resource, the request returns the expected response. If the ETag matches
    // the ETag of the existing resource, the request returns an HTTP 304 status without a response body.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (HeadObjectRequest) BinaryRequestBody

func (request HeadObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (HeadObjectRequest) HTTPRequest

func (request HeadObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (HeadObjectRequest) ReplaceMandatoryParamInPath

func (request HeadObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (HeadObjectRequest) RetryPolicy

func (request HeadObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (HeadObjectRequest) String

func (request HeadObjectRequest) String() string

func (HeadObjectRequest) ValidateEnumValue

func (request HeadObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type HeadObjectResponse

HeadObjectResponse wrapper for the HeadObject operation

type HeadObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`

    // The user-defined metadata for the object.
    OpcMeta map[string]string `presentIn:"header-collection" prefix:"opc-meta-"`

    // The object size in bytes.
    ContentLength *int64 `presentIn:"header" name:"content-length"`

    // Content-MD5 header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.15).
    // Unavailable for objects uploaded using multipart upload.
    ContentMd5 *string `presentIn:"header" name:"content-md5"`

    // Only applicable to objects uploaded using multipart upload.
    // Base-64 representation of the multipart object hash.
    // The multipart object hash is calculated by taking the MD5 hashes of the parts,
    // concatenating the binary representation of those hashes in order of their part numbers,
    // and then calculating the MD5 hash of the concatenated values.
    OpcMultipartMd5 *string `presentIn:"header" name:"opc-multipart-md5"`

    // Content-Type header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.17).
    ContentType *string `presentIn:"header" name:"content-type"`

    // Content-Language header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.12).
    ContentLanguage *string `presentIn:"header" name:"content-language"`

    // Content-Encoding header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.11).
    ContentEncoding *string `presentIn:"header" name:"content-encoding"`

    // Cache-Control header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.9).
    CacheControl *string `presentIn:"header" name:"cache-control"`

    // Content-Disposition header, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-19.5.1).
    ContentDisposition *string `presentIn:"header" name:"content-disposition"`

    // The object modification time, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // The storage tier that the object is stored in.
    StorageTier HeadObjectStorageTierEnum `presentIn:"header" name:"storage-tier"`

    // Archival state of an object. This field is set only for objects in Archive tier.
    ArchivalState HeadObjectArchivalStateEnum `presentIn:"header" name:"archival-state"`

    // Time that the object is returned to the archived state. This field is only present for restored objects.
    TimeOfArchival *common.SDKTime `presentIn:"header" name:"time-of-archival"`

    // VersionId of the object requested
    VersionId *string `presentIn:"header" name:"version-id"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (HeadObjectResponse) HTTPResponse

func (response HeadObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (HeadObjectResponse) String

func (response HeadObjectResponse) String() string

type HeadObjectStorageTierEnum

HeadObjectStorageTierEnum Enum with underlying type: string

type HeadObjectStorageTierEnum string

Set of constants representing the allowable values for HeadObjectStorageTierEnum

const (
    HeadObjectStorageTierStandard         HeadObjectStorageTierEnum = "Standard"
    HeadObjectStorageTierInfrequentaccess HeadObjectStorageTierEnum = "InfrequentAccess"
    HeadObjectStorageTierArchive          HeadObjectStorageTierEnum = "Archive"
)

func GetHeadObjectStorageTierEnumValues

func GetHeadObjectStorageTierEnumValues() []HeadObjectStorageTierEnum

GetHeadObjectStorageTierEnumValues Enumerates the set of values for HeadObjectStorageTierEnum

func GetMappingHeadObjectStorageTierEnum

func GetMappingHeadObjectStorageTierEnum(val string) (HeadObjectStorageTierEnum, bool)

GetMappingHeadObjectStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBucketsFieldsEnum

ListBucketsFieldsEnum Enum with underlying type: string

type ListBucketsFieldsEnum string

Set of constants representing the allowable values for ListBucketsFieldsEnum

const (
    ListBucketsFieldsTags ListBucketsFieldsEnum = "tags"
)

func GetListBucketsFieldsEnumValues

func GetListBucketsFieldsEnumValues() []ListBucketsFieldsEnum

GetListBucketsFieldsEnumValues Enumerates the set of values for ListBucketsFieldsEnum

func GetMappingListBucketsFieldsEnum

func GetMappingListBucketsFieldsEnum(val string) (ListBucketsFieldsEnum, bool)

GetMappingListBucketsFieldsEnum performs case Insensitive comparison on enum value and return the desired enum

type ListBucketsRequest

ListBucketsRequest wrapper for the ListBuckets operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListBuckets.go.html to see an example of how to use ListBucketsRequest.

type ListBucketsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The ID of the compartment in which to list buckets.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Bucket summary in list of buckets includes the 'namespace', 'name', 'compartmentId', 'createdBy', 'timeCreated',
    // and 'etag' fields. This parameter can also include 'tags' (freeformTags and definedTags). The only supported value of this parameter is 'tags' for now. Example 'tags'.
    Fields []ListBucketsFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"csv"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListBucketsRequest) BinaryRequestBody

func (request ListBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListBucketsRequest) HTTPRequest

func (request ListBucketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListBucketsRequest) ReplaceMandatoryParamInPath

func (request ListBucketsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListBucketsRequest) RetryPolicy

func (request ListBucketsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListBucketsRequest) String

func (request ListBucketsRequest) String() string

func (ListBucketsRequest) ValidateEnumValue

func (request ListBucketsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListBucketsResponse

ListBucketsResponse wrapper for the ListBuckets operation

type ListBucketsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []BucketSummary instances
    Items []BucketSummary `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of buckets.
    // In the GET request, set the limit to the number of buckets items that you want returned in the response.
    // If the `opc-next-page` header appears in the response, then this is a partial list and there are additional
    // buckets to get. Include the header's value as the `page` parameter in the subsequent GET request to get the
    // next batch of buckets. Repeat this process to retrieve the entire list of buckets.
    // By default, the page limit is set to 25 buckets per page, but you can specify a value from 1 to 1000.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBucketsResponse) HTTPResponse

func (response ListBucketsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListBucketsResponse) String

func (response ListBucketsResponse) String() string

type ListMultipartUploadPartsRequest

ListMultipartUploadPartsRequest wrapper for the ListMultipartUploadParts operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListMultipartUploadParts.go.html to see an example of how to use ListMultipartUploadPartsRequest.

type ListMultipartUploadPartsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The upload ID for a multipart upload.
    UploadId *string `mandatory:"true" contributesTo:"query" name:"uploadId"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListMultipartUploadPartsRequest) BinaryRequestBody

func (request ListMultipartUploadPartsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMultipartUploadPartsRequest) HTTPRequest

func (request ListMultipartUploadPartsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMultipartUploadPartsRequest) ReplaceMandatoryParamInPath

func (request ListMultipartUploadPartsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListMultipartUploadPartsRequest) RetryPolicy

func (request ListMultipartUploadPartsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMultipartUploadPartsRequest) String

func (request ListMultipartUploadPartsRequest) String() string

func (ListMultipartUploadPartsRequest) ValidateEnumValue

func (request ListMultipartUploadPartsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMultipartUploadPartsResponse

ListMultipartUploadPartsResponse wrapper for the ListMultipartUploadParts operation

type ListMultipartUploadPartsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []MultipartUploadPartSummary instances
    Items []MultipartUploadPartSummary `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of multipart upload parts.
    // In the GET request, set the limit to the number of multipart upload parts that you want returned in the
    // response. If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional multipart upload parts to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of multipart upload parts. Repeat this process to retrieve the entire list
    // of multipart upload parts.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListMultipartUploadPartsResponse) HTTPResponse

func (response ListMultipartUploadPartsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMultipartUploadPartsResponse) String

func (response ListMultipartUploadPartsResponse) String() string

type ListMultipartUploadsRequest

ListMultipartUploadsRequest wrapper for the ListMultipartUploads operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListMultipartUploads.go.html to see an example of how to use ListMultipartUploadsRequest.

type ListMultipartUploadsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListMultipartUploadsRequest) BinaryRequestBody

func (request ListMultipartUploadsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListMultipartUploadsRequest) HTTPRequest

func (request ListMultipartUploadsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListMultipartUploadsRequest) ReplaceMandatoryParamInPath

func (request ListMultipartUploadsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListMultipartUploadsRequest) RetryPolicy

func (request ListMultipartUploadsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListMultipartUploadsRequest) String

func (request ListMultipartUploadsRequest) String() string

func (ListMultipartUploadsRequest) ValidateEnumValue

func (request ListMultipartUploadsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListMultipartUploadsResponse

ListMultipartUploadsResponse wrapper for the ListMultipartUploads operation

type ListMultipartUploadsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []MultipartUpload instances
    Items []MultipartUpload `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of multipart uploads.
    // In the GET request, set the limit to the number of multipart uploads that you want returned in the response.
    // If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional multipart uploads to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of objects. Repeat this process to retrieve the entire list of
    // multipart uploads.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListMultipartUploadsResponse) HTTPResponse

func (response ListMultipartUploadsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListMultipartUploadsResponse) String

func (response ListMultipartUploadsResponse) String() string

type ListObjectVersionsFieldsEnum

ListObjectVersionsFieldsEnum Enum with underlying type: string

type ListObjectVersionsFieldsEnum string

Set of constants representing the allowable values for ListObjectVersionsFieldsEnum

const (
    ListObjectVersionsFieldsName          ListObjectVersionsFieldsEnum = "name"
    ListObjectVersionsFieldsSize          ListObjectVersionsFieldsEnum = "size"
    ListObjectVersionsFieldsEtag          ListObjectVersionsFieldsEnum = "etag"
    ListObjectVersionsFieldsTimecreated   ListObjectVersionsFieldsEnum = "timeCreated"
    ListObjectVersionsFieldsMd5           ListObjectVersionsFieldsEnum = "md5"
    ListObjectVersionsFieldsTimemodified  ListObjectVersionsFieldsEnum = "timeModified"
    ListObjectVersionsFieldsStoragetier   ListObjectVersionsFieldsEnum = "storageTier"
    ListObjectVersionsFieldsArchivalstate ListObjectVersionsFieldsEnum = "archivalState"
)

func GetListObjectVersionsFieldsEnumValues

func GetListObjectVersionsFieldsEnumValues() []ListObjectVersionsFieldsEnum

GetListObjectVersionsFieldsEnumValues Enumerates the set of values for ListObjectVersionsFieldsEnum

func GetMappingListObjectVersionsFieldsEnum

func GetMappingListObjectVersionsFieldsEnum(val string) (ListObjectVersionsFieldsEnum, bool)

GetMappingListObjectVersionsFieldsEnum performs case Insensitive comparison on enum value and return the desired enum

type ListObjectVersionsRequest

ListObjectVersionsRequest wrapper for the ListObjectVersions operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListObjectVersions.go.html to see an example of how to use ListObjectVersionsRequest.

type ListObjectVersionsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The string to use for matching against the start of object names in a list query.
    Prefix *string `mandatory:"false" contributesTo:"query" name:"prefix"`

    // Object names returned by a list query must be greater or equal to this parameter.
    Start *string `mandatory:"false" contributesTo:"query" name:"start"`

    // Object names returned by a list query must be strictly less than this parameter.
    End *string `mandatory:"false" contributesTo:"query" name:"end"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // When this parameter is set, only objects whose names do not contain the delimiter character
    // (after an optionally specified prefix) are returned in the objects key of the response body.
    // Scanned objects whose names contain the delimiter have the part of their name up to the first
    // occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
    // Note that only '/' is a supported delimiter character at this time.
    Delimiter *string `mandatory:"false" contributesTo:"query" name:"delimiter"`

    // Object summary by default includes only the 'name' field. Use this parameter to also
    // include 'size' (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time),
    // 'timeModified' (object modification date and time), 'storageTier' and 'archivalState' fields.
    // Specify the value of this parameter as a comma-separated, case-insensitive list of those field names.
    // For example 'name,etag,timeCreated,md5,timeModified,storageTier,archivalState'.
    Fields ListObjectVersionsFieldsEnum `mandatory:"false" contributesTo:"query" name:"fields" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Object names returned by a list query must be greater than this parameter.
    StartAfter *string `mandatory:"false" contributesTo:"query" name:"startAfter"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListObjectVersionsRequest) BinaryRequestBody

func (request ListObjectVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListObjectVersionsRequest) HTTPRequest

func (request ListObjectVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListObjectVersionsRequest) ReplaceMandatoryParamInPath

func (request ListObjectVersionsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListObjectVersionsRequest) RetryPolicy

func (request ListObjectVersionsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListObjectVersionsRequest) String

func (request ListObjectVersionsRequest) String() string

func (ListObjectVersionsRequest) ValidateEnumValue

func (request ListObjectVersionsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListObjectVersionsResponse

ListObjectVersionsResponse wrapper for the ListObjectVersions operation

type ListObjectVersionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ObjectVersionCollection instances
    ObjectVersionCollection `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of object versions.
    // In the GET request, set the limit to the number of object versions that you want returned in the response.
    // If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional object versions to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of object versions and prefixes. Repeat this process to retrieve the entire list of
    // object versions and prefixes.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListObjectVersionsResponse) HTTPResponse

func (response ListObjectVersionsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListObjectVersionsResponse) String

func (response ListObjectVersionsResponse) String() string

type ListObjects

ListObjects To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type ListObjects struct {

    // An array of object summaries.
    Objects []ObjectSummary `mandatory:"true" json:"objects"`

    // Prefixes that are common to the results returned by the request if the request specified a delimiter.
    Prefixes []string `mandatory:"false" json:"prefixes"`

    // The name of the object to use in the `start` parameter to obtain the next page of
    // a truncated ListObjects response. Avoid entering confidential information.
    // Example: test/object1.log
    NextStartWith *string `mandatory:"false" json:"nextStartWith"`
}

func (ListObjects) String

func (m ListObjects) String() string

func (ListObjects) ValidateEnumValue

func (m ListObjects) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListObjectsRequest

ListObjectsRequest wrapper for the ListObjects operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListObjects.go.html to see an example of how to use ListObjectsRequest.

type ListObjectsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The string to use for matching against the start of object names in a list query.
    Prefix *string `mandatory:"false" contributesTo:"query" name:"prefix"`

    // Object names returned by a list query must be greater or equal to this parameter.
    Start *string `mandatory:"false" contributesTo:"query" name:"start"`

    // Object names returned by a list query must be strictly less than this parameter.
    End *string `mandatory:"false" contributesTo:"query" name:"end"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // When this parameter is set, only objects whose names do not contain the delimiter character
    // (after an optionally specified prefix) are returned in the objects key of the response body.
    // Scanned objects whose names contain the delimiter have the part of their name up to the first
    // occurrence of the delimiter (including the optional prefix) returned as a set of prefixes.
    // Note that only '/' is a supported delimiter character at this time.
    Delimiter *string `mandatory:"false" contributesTo:"query" name:"delimiter"`

    // Object summary by default includes only the 'name' field. Use this parameter to also
    // include 'size' (object size in bytes), 'etag', 'md5', 'timeCreated' (object creation date and time),
    // 'timeModified' (object modification date and time), 'storageTier' and 'archivalState' fields.
    // Specify the value of this parameter as a comma-separated, case-insensitive list of those field names.
    // For example 'name,etag,timeCreated,md5,timeModified,storageTier,archivalState'.
    Fields *string `mandatory:"false" contributesTo:"query" name:"fields" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Object names returned by a list query must be greater than this parameter.
    StartAfter *string `mandatory:"false" contributesTo:"query" name:"startAfter"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListObjectsRequest) BinaryRequestBody

func (request ListObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListObjectsRequest) HTTPRequest

func (request ListObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListObjectsRequest) ReplaceMandatoryParamInPath

func (request ListObjectsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListObjectsRequest) RetryPolicy

func (request ListObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListObjectsRequest) String

func (request ListObjectsRequest) String() string

func (ListObjectsRequest) ValidateEnumValue

func (request ListObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListObjectsResponse

ListObjectsResponse wrapper for the ListObjects operation

type ListObjectsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ListObjects instance
    ListObjects `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListObjectsResponse) HTTPResponse

func (response ListObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListObjectsResponse) String

func (response ListObjectsResponse) String() string

type ListPreauthenticatedRequestsRequest

ListPreauthenticatedRequestsRequest wrapper for the ListPreauthenticatedRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListPreauthenticatedRequests.go.html to see an example of how to use ListPreauthenticatedRequestsRequest.

type ListPreauthenticatedRequestsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // User-specified object name prefixes can be used to query and return a list of pre-authenticated requests.
    ObjectNamePrefix *string `mandatory:"false" contributesTo:"query" name:"objectNamePrefix"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListPreauthenticatedRequestsRequest) BinaryRequestBody

func (request ListPreauthenticatedRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListPreauthenticatedRequestsRequest) HTTPRequest

func (request ListPreauthenticatedRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListPreauthenticatedRequestsRequest) ReplaceMandatoryParamInPath

func (request ListPreauthenticatedRequestsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListPreauthenticatedRequestsRequest) RetryPolicy

func (request ListPreauthenticatedRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListPreauthenticatedRequestsRequest) String

func (request ListPreauthenticatedRequestsRequest) String() string

func (ListPreauthenticatedRequestsRequest) ValidateEnumValue

func (request ListPreauthenticatedRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListPreauthenticatedRequestsResponse

ListPreauthenticatedRequestsResponse wrapper for the ListPreauthenticatedRequests operation

type ListPreauthenticatedRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []PreauthenticatedRequestSummary instances
    Items []PreauthenticatedRequestSummary `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of pre-authenticated requests.
    // In the GET request, set the limit to the number of pre-authenticated requests that you want returned in
    // the response. If the `opc-next-page` header appears in the response, then this is a partial list and there
    // are additional pre-authenticated requests to get. Include the header's value as the `page` parameter in
    // the subsequent GET request to get the next batch of pre-authenticated requests. Repeat this process to
    // retrieve the entire list of pre-authenticated requests.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListPreauthenticatedRequestsResponse) HTTPResponse

func (response ListPreauthenticatedRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListPreauthenticatedRequestsResponse) String

func (response ListPreauthenticatedRequestsResponse) String() string

type ListReplicationPoliciesRequest

ListReplicationPoliciesRequest wrapper for the ListReplicationPolicies operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListReplicationPolicies.go.html to see an example of how to use ListReplicationPoliciesRequest.

type ListReplicationPoliciesRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListReplicationPoliciesRequest) BinaryRequestBody

func (request ListReplicationPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReplicationPoliciesRequest) HTTPRequest

func (request ListReplicationPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReplicationPoliciesRequest) ReplaceMandatoryParamInPath

func (request ListReplicationPoliciesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListReplicationPoliciesRequest) RetryPolicy

func (request ListReplicationPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReplicationPoliciesRequest) String

func (request ListReplicationPoliciesRequest) String() string

func (ListReplicationPoliciesRequest) ValidateEnumValue

func (request ListReplicationPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListReplicationPoliciesResponse

ListReplicationPoliciesResponse wrapper for the ListReplicationPolicies operation

type ListReplicationPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ReplicationPolicySummary instances
    Items []ReplicationPolicySummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // For paginating a list of replication policies.
    // In the GET request, set the limit to the number of buckets items that you want returned in the response.
    // If the `opc-next-page` header appears in the response, then this is a partial list and there are additional
    // policies to get. Include the header's value as the `page` parameter in the subsequent GET request to get the
    // next batch of policies. Repeat this process to retrieve the entire list of policies.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListReplicationPoliciesResponse) HTTPResponse

func (response ListReplicationPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReplicationPoliciesResponse) String

func (response ListReplicationPoliciesResponse) String() string

type ListReplicationSourcesRequest

ListReplicationSourcesRequest wrapper for the ListReplicationSources operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListReplicationSources.go.html to see an example of how to use ListReplicationSourcesRequest.

type ListReplicationSourcesRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListReplicationSourcesRequest) BinaryRequestBody

func (request ListReplicationSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListReplicationSourcesRequest) HTTPRequest

func (request ListReplicationSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListReplicationSourcesRequest) ReplaceMandatoryParamInPath

func (request ListReplicationSourcesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListReplicationSourcesRequest) RetryPolicy

func (request ListReplicationSourcesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListReplicationSourcesRequest) String

func (request ListReplicationSourcesRequest) String() string

func (ListReplicationSourcesRequest) ValidateEnumValue

func (request ListReplicationSourcesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListReplicationSourcesResponse

ListReplicationSourcesResponse wrapper for the ListReplicationSources operation

type ListReplicationSourcesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ReplicationSource instances
    Items []ReplicationSource `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // For paginating a list of replication sources.
    // In the GET request, set the limit to the number of items that you want returned in the response.
    // If the `opc-next-page` header appears in the response, then this is a partial list and there are additional
    // policies to get. Include the header's value as the `page` parameter in the subsequent GET request to get the
    // next batch of policies. Repeat this process to retrieve the entire list of sources.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListReplicationSourcesResponse) HTTPResponse

func (response ListReplicationSourcesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListReplicationSourcesResponse) String

func (response ListReplicationSourcesResponse) String() string

type ListRetentionRulesRequest

ListRetentionRulesRequest wrapper for the ListRetentionRules operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListRetentionRules.go.html to see an example of how to use ListRetentionRulesRequest.

type ListRetentionRulesRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Unique Oracle-assigned identifier for the request.
    // If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListRetentionRulesRequest) BinaryRequestBody

func (request ListRetentionRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListRetentionRulesRequest) HTTPRequest

func (request ListRetentionRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRetentionRulesRequest) ReplaceMandatoryParamInPath

func (request ListRetentionRulesRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListRetentionRulesRequest) RetryPolicy

func (request ListRetentionRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRetentionRulesRequest) String

func (request ListRetentionRulesRequest) String() string

func (ListRetentionRulesRequest) ValidateEnumValue

func (request ListRetentionRulesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListRetentionRulesResponse

ListRetentionRulesResponse wrapper for the ListRetentionRules operation

type ListRetentionRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RetentionRuleCollection instances
    RetentionRuleCollection `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Paginating a list of retention rules.
    // If the `opc-next-page` header appears in the response, it indicates that this is a partial list
    // of retention rules and there are additional rules to get. Include the value of this header as
    // the `page` parameter in a subsequent GET request to get the next set of retention rules.
    // Repeat this process to retrieve the entire list of retention rules.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListRetentionRulesResponse) HTTPResponse

func (response ListRetentionRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRetentionRulesResponse) String

func (response ListRetentionRulesResponse) String() string

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) ReplaceMandatoryParamInPath

func (request ListWorkRequestErrorsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListWorkRequestErrorsRequest) RetryPolicy

func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestError instances
    Items []WorkRequestError `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of work request errors.
    // In the GET request, set the limit to the number of work request errors that you want returned in the
    // response. If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional work request errors to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of work request errors. Repeat this process to retrieve the entire list of work
    // request errors.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The ID of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) ReplaceMandatoryParamInPath

func (request ListWorkRequestLogsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListWorkRequestLogsRequest) RetryPolicy

func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestLogEntry instances
    Items []WorkRequestLogEntry `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // For paginating a list of work request logs.
    // In the GET request, set the limit to the number of compartment work requests that you want returned in the
    // response. If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional work requests to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of work requests. Repeat this process to retrieve the entire list of work
    // requests.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

    // The ID of the compartment in which to list buckets.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // For list pagination. The value of the `opc-next-page` response header from the previous "List" call. For important
    // details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // For list pagination. The maximum number of results per page, or items to return in a paginated
    // "List" call. For important details about how pagination works, see
    // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) ReplaceMandatoryParamInPath

func (request ListWorkRequestsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ListWorkRequestsRequest) RetryPolicy

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For paginating a list of work requests.
    // In the GET request, set the limit to the number of compartment work requests that you want returned in the
    // response. If the `opc-next-page` header appears in the response, then this is a partial list and there are
    // additional work requests to get. Include the header's value as the `page` parameter in the subsequent
    // GET request to get the next batch of work requests. Repeat this process to retrieve the entire list of work
    // requests.
    // For more details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`
}

func (ListWorkRequestsResponse) HTTPResponse

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type MakeBucketWritableRequest

MakeBucketWritableRequest wrapper for the MakeBucketWritable operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/MakeBucketWritable.go.html to see an example of how to use MakeBucketWritableRequest.

type MakeBucketWritableRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (MakeBucketWritableRequest) BinaryRequestBody

func (request MakeBucketWritableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (MakeBucketWritableRequest) HTTPRequest

func (request MakeBucketWritableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (MakeBucketWritableRequest) ReplaceMandatoryParamInPath

func (request MakeBucketWritableRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (MakeBucketWritableRequest) RetryPolicy

func (request MakeBucketWritableRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (MakeBucketWritableRequest) String

func (request MakeBucketWritableRequest) String() string

func (MakeBucketWritableRequest) ValidateEnumValue

func (request MakeBucketWritableRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MakeBucketWritableResponse

MakeBucketWritableResponse wrapper for the MakeBucketWritable operation

type MakeBucketWritableResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (MakeBucketWritableResponse) HTTPResponse

func (response MakeBucketWritableResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (MakeBucketWritableResponse) String

func (response MakeBucketWritableResponse) String() string

type MultipartUpload

MultipartUpload Multipart uploads provide efficient and resilient uploads, especially for large objects. Multipart uploads also accommodate objects that are too large for a single upload operation. With multipart uploads, individual parts of an object can be uploaded in parallel to reduce the amount of time you spend uploading. Multipart uploads can also minimize the impact of network failures by letting you retry a failed part upload instead of requiring you to retry an entire object upload. See Using Multipart Uploads (https://docs.cloud.oracle.com/Content/Object/Tasks/usingmultipartuploads.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type MultipartUpload struct {

    // The Object Storage namespace in which the in-progress multipart upload is stored.
    Namespace *string `mandatory:"true" json:"namespace"`

    // The bucket in which the in-progress multipart upload is stored.
    Bucket *string `mandatory:"true" json:"bucket"`

    // The object name of the in-progress multipart upload.
    Object *string `mandatory:"true" json:"object"`

    // The unique identifier for the in-progress multipart upload.
    UploadId *string `mandatory:"true" json:"uploadId"`

    // The date and time the upload was created, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The storage tier that the object is stored in.
    StorageTier StorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`
}

func (MultipartUpload) String

func (m MultipartUpload) String() string

func (MultipartUpload) ValidateEnumValue

func (m MultipartUpload) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type MultipartUploadPartSummary

MultipartUploadPartSummary Gets summary information about multipart uploads. To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type MultipartUploadPartSummary struct {

    // The current entity tag (ETag) for the part.
    Etag *string `mandatory:"true" json:"etag"`

    // The MD5 hash of the bytes of the part.
    Md5 *string `mandatory:"true" json:"md5"`

    // The size of the part in bytes.
    Size *int64 `mandatory:"true" json:"size"`

    // The part number for this part.
    PartNumber *int `mandatory:"true" json:"partNumber"`
}

func (MultipartUploadPartSummary) String

func (m MultipartUploadPartSummary) String() string

func (MultipartUploadPartSummary) ValidateEnumValue

func (m MultipartUploadPartSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NamespaceMetadata

NamespaceMetadata NamespaceMetadata maps a namespace string to defaultS3CompartmentId and defaultSwiftCompartmentId values.

type NamespaceMetadata struct {

    // The Object Storage namespace to which the metadata belongs.
    Namespace *string `mandatory:"true" json:"namespace"`

    // If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API.
    DefaultS3CompartmentId *string `mandatory:"true" json:"defaultS3CompartmentId"`

    // If the field is set, specifies the default compartment assignment for the Swift API.
    DefaultSwiftCompartmentId *string `mandatory:"true" json:"defaultSwiftCompartmentId"`
}

func (NamespaceMetadata) String

func (m NamespaceMetadata) String() string

func (NamespaceMetadata) ValidateEnumValue

func (m NamespaceMetadata) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectLifecyclePolicy

ObjectLifecyclePolicy The collection of lifecycle policy rules that together form the object lifecycle policy of a given bucket.

type ObjectLifecyclePolicy struct {

    // The date and time the object lifecycle policy was created, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The live lifecycle policy on the bucket.
    // For an example of this value, see the
    // PutObjectLifecyclePolicy API documentation (https://docs.cloud.oracle.com/iaas/api/#/en/objectstorage/20160918/ObjectLifecyclePolicy/PutObjectLifecyclePolicy).
    Items []ObjectLifecycleRule `mandatory:"false" json:"items"`
}

func (ObjectLifecyclePolicy) String

func (m ObjectLifecyclePolicy) String() string

func (ObjectLifecyclePolicy) ValidateEnumValue

func (m ObjectLifecyclePolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectLifecycleRule

ObjectLifecycleRule To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type ObjectLifecycleRule struct {

    // The name of the lifecycle rule to be applied.
    Name *string `mandatory:"true" json:"name"`

    // The action of the object lifecycle policy rule.
    // Rules using the action 'ARCHIVE' move objects from Standard and InfrequentAccess storage tiers
    // into the Archive storage tier (https://docs.cloud.oracle.com/Content/Archive/Concepts/archivestorageoverview.htm).
    // Rules using the action 'INFREQUENT_ACCESS' move objects from Standard storage tier into the
    // Infrequent Access Storage tier. Objects that are already in InfrequentAccess tier or in Archive
    // tier are left untouched.
    // Rules using the action 'DELETE' permanently delete objects from buckets.
    // Rules using 'ABORT' abort the uncommitted multipart-uploads and permanently delete their parts from buckets.
    Action *string `mandatory:"true" json:"action"`

    // Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the
    // timeUnit parameter, and is calculated in relation to each object's Last-Modified time.
    TimeAmount *int64 `mandatory:"true" json:"timeAmount"`

    // The unit that should be used to interpret timeAmount.  Days are defined as starting and ending at midnight UTC.
    // Years are defined as 365.2425 days long and likewise round up to the next midnight UTC.
    TimeUnit ObjectLifecycleRuleTimeUnitEnum `mandatory:"true" json:"timeUnit"`

    // A Boolean that determines whether this rule is currently enabled.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The target of the object lifecycle policy rule. The values of target can be either "objects",
    // "multipart-uploads" or "previous-object-versions".
    // This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS
    // or DELETE rule for objects.
    // This field when declared as "previous-object-versions" is used to specify ARCHIVE,
    // INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects.
    // This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for
    // uncommitted multipart-uploads.
    Target *string `mandatory:"false" json:"target"`

    ObjectNameFilter *ObjectNameFilter `mandatory:"false" json:"objectNameFilter"`
}

func (ObjectLifecycleRule) String

func (m ObjectLifecycleRule) String() string

func (ObjectLifecycleRule) ValidateEnumValue

func (m ObjectLifecycleRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectLifecycleRuleTimeUnitEnum

ObjectLifecycleRuleTimeUnitEnum Enum with underlying type: string

type ObjectLifecycleRuleTimeUnitEnum string

Set of constants representing the allowable values for ObjectLifecycleRuleTimeUnitEnum

const (
    ObjectLifecycleRuleTimeUnitDays  ObjectLifecycleRuleTimeUnitEnum = "DAYS"
    ObjectLifecycleRuleTimeUnitYears ObjectLifecycleRuleTimeUnitEnum = "YEARS"
)

func GetMappingObjectLifecycleRuleTimeUnitEnum

func GetMappingObjectLifecycleRuleTimeUnitEnum(val string) (ObjectLifecycleRuleTimeUnitEnum, bool)

GetMappingObjectLifecycleRuleTimeUnitEnum performs case Insensitive comparison on enum value and return the desired enum

func GetObjectLifecycleRuleTimeUnitEnumValues

func GetObjectLifecycleRuleTimeUnitEnumValues() []ObjectLifecycleRuleTimeUnitEnum

GetObjectLifecycleRuleTimeUnitEnumValues Enumerates the set of values for ObjectLifecycleRuleTimeUnitEnum

type ObjectNameFilter

ObjectNameFilter A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.

type ObjectNameFilter struct {

    // An array of glob patterns to match the object names to include. An empty array includes all objects in the
    // bucket. Exclusion patterns take precedence over inclusion patterns.
    // A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
    // than the special pattern characters described below, matches itself.
    //     Glob patterns must be between 1 and 1024 characters.
    //     The special pattern characters have the following meanings:
    //     \           Escapes the following character
    //     *           Matches any string of characters.
    //     ?           Matches any single character .
    //     [...]       Matches a group of characters. A group of characters can be:
    //                     A set of characters, for example: [Zafg9@]. This matches any character in the brackets.
    //                     A range of characters, for example: [a-z]. This matches any character in the range.
    //                         [a-f] is equivalent to [abcdef].
    //                         For character ranges only the CHARACTER-CHARACTER pattern is supported.
    //                             [ab-yz] is not valid
    //                             [a-mn-z] is not valid
    //                         Character ranges can not start with ^ or :
    //                         To include a '-' in the range, make it the first or last character.
    InclusionPatterns []string `mandatory:"false" json:"inclusionPatterns"`

    // An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion
    // patterns take precedence over inclusion patterns.
    // A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
    // than the special pattern characters described below, matches itself.
    //     Glob patterns must be between 1 and 1024 characters.
    //     The special pattern characters have the following meanings:
    //     \           Escapes the following character
    //     *           Matches any string of characters.
    //     ?           Matches any single character .
    //     [...]       Matches a group of characters. A group of characters can be:
    //                     A set of characters, for example: [Zafg9@]. This matches any character in the brackets.
    //                     A range of characters, for example: [a-z]. This matches any character in the range.
    //                         [a-f] is equivalent to [abcdef].
    //                         For character ranges only the CHARACTER-CHARACTER pattern is supported.
    //                             [ab-yz] is not valid
    //                             [a-mn-z] is not valid
    //                         Character ranges can not start with ^ or :
    //                         To include a '-' in the range, make it the first or last character.
    ExclusionPatterns []string `mandatory:"false" json:"exclusionPatterns"`

    // An array of object name prefixes that the rule will apply to. An empty array means to include all objects.
    InclusionPrefixes []string `mandatory:"false" json:"inclusionPrefixes"`
}

func (ObjectNameFilter) String

func (m ObjectNameFilter) String() string

func (ObjectNameFilter) ValidateEnumValue

func (m ObjectNameFilter) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectStorageClient

ObjectStorageClient a client for ObjectStorage

type ObjectStorageClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewObjectStorageClientWithConfigurationProvider

func NewObjectStorageClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ObjectStorageClient, err error)

NewObjectStorageClientWithConfigurationProvider Creates a new default ObjectStorage client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewObjectStorageClientWithOboToken

func NewObjectStorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ObjectStorageClient, err error)

NewObjectStorageClientWithOboToken Creates a new default ObjectStorage client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (ObjectStorageClient) AbortMultipartUpload

func (client ObjectStorageClient) AbortMultipartUpload(ctx context.Context, request AbortMultipartUploadRequest) (response AbortMultipartUploadResponse, err error)

AbortMultipartUpload Aborts an in-progress multipart upload and deletes all parts that have been uploaded.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/AbortMultipartUpload.go.html to see an example of how to use AbortMultipartUpload API. A default retry strategy applies to this operation AbortMultipartUpload()

func (ObjectStorageClient) CancelWorkRequest

func (client ObjectStorageClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancels a work request.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()

func (ObjectStorageClient) CommitMultipartUpload

func (client ObjectStorageClient) CommitMultipartUpload(ctx context.Context, request CommitMultipartUploadRequest) (response CommitMultipartUploadResponse, err error)

CommitMultipartUpload Commits a multipart upload, which involves checking part numbers and entity tags (ETags) of the parts, to create an aggregate object.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CommitMultipartUpload.go.html to see an example of how to use CommitMultipartUpload API. A default retry strategy applies to this operation CommitMultipartUpload()

func (*ObjectStorageClient) ConfigurationProvider

func (client *ObjectStorageClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (ObjectStorageClient) CopyObject

func (client ObjectStorageClient) CopyObject(ctx context.Context, request CopyObjectRequest) (response CopyObjectResponse, err error)

CopyObject Creates a request to copy an object within a region or to another region. See Object Names (https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CopyObject.go.html to see an example of how to use CopyObject API. A default retry strategy applies to this operation CopyObject()

func (ObjectStorageClient) CreateBucket

func (client ObjectStorageClient) CreateBucket(ctx context.Context, request CreateBucketRequest) (response CreateBucketResponse, err error)

CreateBucket Creates a bucket in the given namespace with a bucket name and optional user-defined metadata. Avoid entering confidential information in bucket names.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateBucket.go.html to see an example of how to use CreateBucket API. A default retry strategy applies to this operation CreateBucket()

func (ObjectStorageClient) CreateMultipartUpload

func (client ObjectStorageClient) CreateMultipartUpload(ctx context.Context, request CreateMultipartUploadRequest) (response CreateMultipartUploadResponse, err error)

CreateMultipartUpload Starts a new multipart upload to a specific object in the given bucket in the given namespace. See Object Names (https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateMultipartUpload.go.html to see an example of how to use CreateMultipartUpload API. A default retry strategy applies to this operation CreateMultipartUpload()

func (ObjectStorageClient) CreatePreauthenticatedRequest

func (client ObjectStorageClient) CreatePreauthenticatedRequest(ctx context.Context, request CreatePreauthenticatedRequestRequest) (response CreatePreauthenticatedRequestResponse, err error)

CreatePreauthenticatedRequest Creates a pre-authenticated request specific to the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreatePreauthenticatedRequest.go.html to see an example of how to use CreatePreauthenticatedRequest API. A default retry strategy applies to this operation CreatePreauthenticatedRequest()

func (ObjectStorageClient) CreateReplicationPolicy

func (client ObjectStorageClient) CreateReplicationPolicy(ctx context.Context, request CreateReplicationPolicyRequest) (response CreateReplicationPolicyResponse, err error)

CreateReplicationPolicy Creates a replication policy for the specified bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateReplicationPolicy.go.html to see an example of how to use CreateReplicationPolicy API. A default retry strategy applies to this operation CreateReplicationPolicy()

func (ObjectStorageClient) CreateRetentionRule

func (client ObjectStorageClient) CreateRetentionRule(ctx context.Context, request CreateRetentionRuleRequest) (response CreateRetentionRuleResponse, err error)

CreateRetentionRule Creates a new retention rule in the specified bucket. The new rule will take effect typically within 30 seconds. Note that a maximum of 100 rules are supported on a bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/CreateRetentionRule.go.html to see an example of how to use CreateRetentionRule API. A default retry strategy applies to this operation CreateRetentionRule()

func (ObjectStorageClient) DeleteBucket

func (client ObjectStorageClient) DeleteBucket(ctx context.Context, request DeleteBucketRequest) (response DeleteBucketResponse, err error)

DeleteBucket Deletes a bucket if the bucket is already empty. If the bucket is not empty, use DeleteObject first. In addition, you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated request associated with that bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteBucket.go.html to see an example of how to use DeleteBucket API. A default retry strategy applies to this operation DeleteBucket()

func (ObjectStorageClient) DeleteObject

func (client ObjectStorageClient) DeleteObject(ctx context.Context, request DeleteObjectRequest) (response DeleteObjectResponse, err error)

DeleteObject Deletes an object.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteObject.go.html to see an example of how to use DeleteObject API. A default retry strategy applies to this operation DeleteObject()

func (ObjectStorageClient) DeleteObjectLifecyclePolicy

func (client ObjectStorageClient) DeleteObjectLifecyclePolicy(ctx context.Context, request DeleteObjectLifecyclePolicyRequest) (response DeleteObjectLifecyclePolicyResponse, err error)

DeleteObjectLifecyclePolicy Deletes the object lifecycle policy for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteObjectLifecyclePolicy.go.html to see an example of how to use DeleteObjectLifecyclePolicy API. A default retry strategy applies to this operation DeleteObjectLifecyclePolicy()

func (ObjectStorageClient) DeletePreauthenticatedRequest

func (client ObjectStorageClient) DeletePreauthenticatedRequest(ctx context.Context, request DeletePreauthenticatedRequestRequest) (response DeletePreauthenticatedRequestResponse, err error)

DeletePreauthenticatedRequest Deletes the pre-authenticated request for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeletePreauthenticatedRequest.go.html to see an example of how to use DeletePreauthenticatedRequest API. A default retry strategy applies to this operation DeletePreauthenticatedRequest()

func (ObjectStorageClient) DeleteReplicationPolicy

func (client ObjectStorageClient) DeleteReplicationPolicy(ctx context.Context, request DeleteReplicationPolicyRequest) (response DeleteReplicationPolicyResponse, err error)

DeleteReplicationPolicy Deletes the replication policy associated with the source bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteReplicationPolicy.go.html to see an example of how to use DeleteReplicationPolicy API. A default retry strategy applies to this operation DeleteReplicationPolicy()

func (ObjectStorageClient) DeleteRetentionRule

func (client ObjectStorageClient) DeleteRetentionRule(ctx context.Context, request DeleteRetentionRuleRequest) (response DeleteRetentionRuleResponse, err error)

DeleteRetentionRule Deletes the specified rule. The deletion takes effect typically within 30 seconds.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/DeleteRetentionRule.go.html to see an example of how to use DeleteRetentionRule API. A default retry strategy applies to this operation DeleteRetentionRule()

func (ObjectStorageClient) GetBucket

func (client ObjectStorageClient) GetBucket(ctx context.Context, request GetBucketRequest) (response GetBucketResponse, err error)

GetBucket Gets the current representation of the given bucket in the given Object Storage namespace.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetBucket.go.html to see an example of how to use GetBucket API. A default retry strategy applies to this operation GetBucket()

func (ObjectStorageClient) GetNamespace

func (client ObjectStorageClient) GetNamespace(ctx context.Context, request GetNamespaceRequest) (response GetNamespaceResponse, err error)

GetNamespace Each Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace. The namespace is a system-generated string assigned during account creation. For some older tenancies, the namespace string may be the tenancy name in all lower-case letters. You cannot edit a namespace. GetNamespace returns the name of the Object Storage namespace for the user making the request. If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding tenancy, provided the user has access to it.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetNamespace.go.html to see an example of how to use GetNamespace API. A default retry strategy applies to this operation GetNamespace()

func (ObjectStorageClient) GetNamespaceMetadata

func (client ObjectStorageClient) GetNamespaceMetadata(ctx context.Context, request GetNamespaceMetadataRequest) (response GetNamespaceMetadataResponse, err error)

GetNamespaceMetadata Gets the metadata for the Object Storage namespace, which contains defaultS3CompartmentId and defaultSwiftCompartmentId. Any user with the OBJECTSTORAGE_NAMESPACE_READ permission will be able to see the current metadata. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetNamespaceMetadata.go.html to see an example of how to use GetNamespaceMetadata API. A default retry strategy applies to this operation GetNamespaceMetadata()

func (ObjectStorageClient) GetObject

func (client ObjectStorageClient) GetObject(ctx context.Context, request GetObjectRequest) (response GetObjectResponse, err error)

GetObject Gets the metadata and body of an object.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetObject.go.html to see an example of how to use GetObject API. A default retry strategy applies to this operation GetObject()

func (ObjectStorageClient) GetObjectLifecyclePolicy

func (client ObjectStorageClient) GetObjectLifecyclePolicy(ctx context.Context, request GetObjectLifecyclePolicyRequest) (response GetObjectLifecyclePolicyResponse, err error)

GetObjectLifecyclePolicy Gets the object lifecycle policy for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetObjectLifecyclePolicy.go.html to see an example of how to use GetObjectLifecyclePolicy API. A default retry strategy applies to this operation GetObjectLifecyclePolicy()

func (ObjectStorageClient) GetPreauthenticatedRequest

func (client ObjectStorageClient) GetPreauthenticatedRequest(ctx context.Context, request GetPreauthenticatedRequestRequest) (response GetPreauthenticatedRequestResponse, err error)

GetPreauthenticatedRequest Gets the pre-authenticated request for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetPreauthenticatedRequest.go.html to see an example of how to use GetPreauthenticatedRequest API. A default retry strategy applies to this operation GetPreauthenticatedRequest()

func (ObjectStorageClient) GetReplicationPolicy

func (client ObjectStorageClient) GetReplicationPolicy(ctx context.Context, request GetReplicationPolicyRequest) (response GetReplicationPolicyResponse, err error)

GetReplicationPolicy Get the replication policy.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetReplicationPolicy.go.html to see an example of how to use GetReplicationPolicy API. A default retry strategy applies to this operation GetReplicationPolicy()

func (ObjectStorageClient) GetRetentionRule

func (client ObjectStorageClient) GetRetentionRule(ctx context.Context, request GetRetentionRuleRequest) (response GetRetentionRuleResponse, err error)

GetRetentionRule Get the specified retention rule.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetRetentionRule.go.html to see an example of how to use GetRetentionRule API. A default retry strategy applies to this operation GetRetentionRule()

func (ObjectStorageClient) GetWorkRequest

func (client ObjectStorageClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request for the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (ObjectStorageClient) HeadBucket

func (client ObjectStorageClient) HeadBucket(ctx context.Context, request HeadBucketRequest) (response HeadBucketResponse, err error)

HeadBucket Efficiently checks to see if a bucket exists and gets the current entity tag (ETag) for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/HeadBucket.go.html to see an example of how to use HeadBucket API. A default retry strategy applies to this operation HeadBucket()

func (ObjectStorageClient) HeadObject

func (client ObjectStorageClient) HeadObject(ctx context.Context, request HeadObjectRequest) (response HeadObjectResponse, err error)

HeadObject Gets the user-defined metadata and entity tag (ETag) for an object.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/HeadObject.go.html to see an example of how to use HeadObject API. A default retry strategy applies to this operation HeadObject()

func (ObjectStorageClient) ListBuckets

func (client ObjectStorageClient) ListBuckets(ctx context.Context, request ListBucketsRequest) (response ListBucketsResponse, err error)

ListBuckets Gets a list of all BucketSummary items in a compartment. A BucketSummary contains only summary fields for the bucket and does not contain fields like the user-defined metadata. ListBuckets returns a BucketSummary containing at most 1000 buckets. To paginate through more buckets, use the returned `opc-next-page` value with the `page` request parameter. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListBuckets.go.html to see an example of how to use ListBuckets API. A default retry strategy applies to this operation ListBuckets()

func (ObjectStorageClient) ListMultipartUploadParts

func (client ObjectStorageClient) ListMultipartUploadParts(ctx context.Context, request ListMultipartUploadPartsRequest) (response ListMultipartUploadPartsResponse, err error)

ListMultipartUploadParts Lists the parts of an in-progress multipart upload.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListMultipartUploadParts.go.html to see an example of how to use ListMultipartUploadParts API. A default retry strategy applies to this operation ListMultipartUploadParts()

func (ObjectStorageClient) ListMultipartUploads

func (client ObjectStorageClient) ListMultipartUploads(ctx context.Context, request ListMultipartUploadsRequest) (response ListMultipartUploadsResponse, err error)

ListMultipartUploads Lists all of the in-progress multipart uploads for the given bucket in the given Object Storage namespace.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListMultipartUploads.go.html to see an example of how to use ListMultipartUploads API. A default retry strategy applies to this operation ListMultipartUploads()

func (ObjectStorageClient) ListObjectVersions

func (client ObjectStorageClient) ListObjectVersions(ctx context.Context, request ListObjectVersionsRequest) (response ListObjectVersionsResponse, err error)

ListObjectVersions Lists the object versions in a bucket. ListObjectVersions returns an ObjectVersionCollection containing at most 1000 object versions. To paginate through more object versions, use the returned `opc-next-page` value with the `page` request parameter. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListObjectVersions.go.html to see an example of how to use ListObjectVersions API. A default retry strategy applies to this operation ListObjectVersions()

func (ObjectStorageClient) ListObjects

func (client ObjectStorageClient) ListObjects(ctx context.Context, request ListObjectsRequest) (response ListObjectsResponse, err error)

ListObjects Lists the objects in a bucket. By default, ListObjects returns object names only. See the `fields` parameter for other fields that you can optionally include in ListObjects response. ListObjects returns at most 1000 objects. To paginate through more objects, use the returned 'nextStartWith' value with the 'start' parameter. To filter which objects ListObjects returns, use the 'start' and 'end' parameters. To use this and other API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListObjects.go.html to see an example of how to use ListObjects API. A default retry strategy applies to this operation ListObjects()

func (ObjectStorageClient) ListPreauthenticatedRequests

func (client ObjectStorageClient) ListPreauthenticatedRequests(ctx context.Context, request ListPreauthenticatedRequestsRequest) (response ListPreauthenticatedRequestsResponse, err error)

ListPreauthenticatedRequests Lists pre-authenticated requests for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListPreauthenticatedRequests.go.html to see an example of how to use ListPreauthenticatedRequests API. A default retry strategy applies to this operation ListPreauthenticatedRequests()

func (ObjectStorageClient) ListReplicationPolicies

func (client ObjectStorageClient) ListReplicationPolicies(ctx context.Context, request ListReplicationPoliciesRequest) (response ListReplicationPoliciesResponse, err error)

ListReplicationPolicies List the replication policies associated with a bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListReplicationPolicies.go.html to see an example of how to use ListReplicationPolicies API. A default retry strategy applies to this operation ListReplicationPolicies()

func (ObjectStorageClient) ListReplicationSources

func (client ObjectStorageClient) ListReplicationSources(ctx context.Context, request ListReplicationSourcesRequest) (response ListReplicationSourcesResponse, err error)

ListReplicationSources List the replication sources of a destination bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListReplicationSources.go.html to see an example of how to use ListReplicationSources API. A default retry strategy applies to this operation ListReplicationSources()

func (ObjectStorageClient) ListRetentionRules

func (client ObjectStorageClient) ListRetentionRules(ctx context.Context, request ListRetentionRulesRequest) (response ListRetentionRulesResponse, err error)

ListRetentionRules List the retention rules for a bucket. The retention rules are sorted based on creation time, with the most recently created retention rule returned first.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListRetentionRules.go.html to see an example of how to use ListRetentionRules API. A default retry strategy applies to this operation ListRetentionRules()

func (ObjectStorageClient) ListWorkRequestErrors

func (client ObjectStorageClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Lists the errors of the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (ObjectStorageClient) ListWorkRequestLogs

func (client ObjectStorageClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Lists the logs of the work request with the given ID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (ObjectStorageClient) ListWorkRequests

func (client ObjectStorageClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (ObjectStorageClient) MakeBucketWritable

func (client ObjectStorageClient) MakeBucketWritable(ctx context.Context, request MakeBucketWritableRequest) (response MakeBucketWritableResponse, err error)

MakeBucketWritable Stops replication to the destination bucket and removes the replication policy. When the replication policy was created, this destination bucket became read-only except for new and changed objects replicated automatically from the source bucket. MakeBucketWritable removes the replication policy. This bucket is no longer the target for replication and is now writable, allowing users to make changes to bucket contents.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/MakeBucketWritable.go.html to see an example of how to use MakeBucketWritable API. A default retry strategy applies to this operation MakeBucketWritable()

func (ObjectStorageClient) PutObject

func (client ObjectStorageClient) PutObject(ctx context.Context, request PutObjectRequest) (response PutObjectResponse, err error)

PutObject Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by PutObject is 50 GiB. See Object Names (https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements. See Special Instructions for Object Storage PUT (https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm#ObjectStoragePut) for request signature requirements.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/PutObject.go.html to see an example of how to use PutObject API. A default retry strategy applies to this operation PutObject()

func (ObjectStorageClient) PutObjectLifecyclePolicy

func (client ObjectStorageClient) PutObjectLifecyclePolicy(ctx context.Context, request PutObjectLifecyclePolicyRequest) (response PutObjectLifecyclePolicyResponse, err error)

PutObjectLifecyclePolicy Creates or replaces the object lifecycle policy for the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/PutObjectLifecyclePolicy.go.html to see an example of how to use PutObjectLifecyclePolicy API. A default retry strategy applies to this operation PutObjectLifecyclePolicy()

func (ObjectStorageClient) ReencryptBucket

func (client ObjectStorageClient) ReencryptBucket(ctx context.Context, request ReencryptBucketRequest) (response ReencryptBucketResponse, err error)

ReencryptBucket Re-encrypts the unique data encryption key that encrypts each object written to the bucket by using the most recent version of the master encryption key assigned to the bucket. (All data encryption keys are encrypted by a master encryption key. Master encryption keys are assigned to buckets and managed by Oracle by default, but you can assign a key that you created and control through the Oracle Cloud Infrastructure Key Management service.) The kmsKeyId property of the bucket determines which master encryption key is assigned to the bucket. If you assigned a different Key Management master encryption key to the bucket, you can call this API to re-encrypt all data encryption keys with the newly assigned key. Similarly, you might want to re-encrypt all data encryption keys if the assigned key has been rotated to a new key version since objects were last added to the bucket. If you call this API and there is no kmsKeyId associated with the bucket, the call will fail. Calling this API starts a work request task to re-encrypt the data encryption key of all objects in the bucket. Only objects created before the time of the API call will be re-encrypted. The call can take a long time, depending on how many objects are in the bucket and how big they are. This API returns a work request ID that you can use to retrieve the status of the work request task. All the versions of objects will be re-encrypted whether versioning is enabled or suspended at the bucket.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ReencryptBucket.go.html to see an example of how to use ReencryptBucket API. A default retry strategy applies to this operation ReencryptBucket()

func (ObjectStorageClient) ReencryptObject

func (client ObjectStorageClient) ReencryptObject(ctx context.Context, request ReencryptObjectRequest) (response ReencryptObjectResponse, err error)

ReencryptObject Re-encrypts the data encryption keys that encrypt the object and its chunks. By default, when you create a bucket, the Object Storage service manages the master encryption key used to encrypt each object's data encryption keys. The encryption mechanism that you specify for the bucket applies to the objects it contains. You can alternatively employ one of these encryption strategies for an object: - You can assign a key that you created and control through the Oracle Cloud Infrastructure Vault service. - You can encrypt an object using your own encryption key. The key you supply is known as a customer-provided encryption key (SSE-C).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ReencryptObject.go.html to see an example of how to use ReencryptObject API. A default retry strategy applies to this operation ReencryptObject()

func (ObjectStorageClient) RenameObject

func (client ObjectStorageClient) RenameObject(ctx context.Context, request RenameObjectRequest) (response RenameObjectResponse, err error)

RenameObject Rename an object in the given Object Storage namespace. See Object Names (https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) for object naming requirements.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/RenameObject.go.html to see an example of how to use RenameObject API. A default retry strategy applies to this operation RenameObject()

func (ObjectStorageClient) RestoreObjects

func (client ObjectStorageClient) RestoreObjects(ctx context.Context, request RestoreObjectsRequest) (response RestoreObjectsResponse, err error)

RestoreObjects Restores one or more objects specified by the objectName parameter. By default objects will be restored for 24 hours. Duration can be configured using the hours parameter.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/RestoreObjects.go.html to see an example of how to use RestoreObjects API. A default retry strategy applies to this operation RestoreObjects()

func (*ObjectStorageClient) SetCustomClientConfiguration

func (client *ObjectStorageClient) SetCustomClientConfiguration(config common.CustomClientConfiguration)

SetCustomClientConfiguration sets client with retry and other custom configurations

func (*ObjectStorageClient) SetRegion

func (client *ObjectStorageClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ObjectStorageClient) UpdateBucket

func (client ObjectStorageClient) UpdateBucket(ctx context.Context, request UpdateBucketRequest) (response UpdateBucketResponse, err error)

UpdateBucket Performs a partial or full update of a bucket's user-defined metadata. Use UpdateBucket to move a bucket from one compartment to another within the same tenancy. Supply the compartmentID of the compartment that you want to move the bucket to. For more information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateBucket.go.html to see an example of how to use UpdateBucket API. A default retry strategy applies to this operation UpdateBucket()

func (ObjectStorageClient) UpdateNamespaceMetadata

func (client ObjectStorageClient) UpdateNamespaceMetadata(ctx context.Context, request UpdateNamespaceMetadataRequest) (response UpdateNamespaceMetadataResponse, err error)

UpdateNamespaceMetadata By default, buckets created using the Amazon S3 Compatibility API or the Swift API are created in the root compartment of the Oracle Cloud Infrastructure tenancy. You can change the default Swift/Amazon S3 compartmentId designation to a different compartmentId. All subsequent bucket creations will use the new default compartment, but no previously created buckets will be modified. A user must have OBJECTSTORAGE_NAMESPACE_UPDATE permission to make changes to the default compartments for Amazon S3 and Swift.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateNamespaceMetadata.go.html to see an example of how to use UpdateNamespaceMetadata API. A default retry strategy applies to this operation UpdateNamespaceMetadata()

func (ObjectStorageClient) UpdateObjectStorageTier

func (client ObjectStorageClient) UpdateObjectStorageTier(ctx context.Context, request UpdateObjectStorageTierRequest) (response UpdateObjectStorageTierResponse, err error)

UpdateObjectStorageTier Changes the storage tier of the object specified by the objectName parameter.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateObjectStorageTier.go.html to see an example of how to use UpdateObjectStorageTier API. A default retry strategy applies to this operation UpdateObjectStorageTier()

func (ObjectStorageClient) UpdateRetentionRule

func (client ObjectStorageClient) UpdateRetentionRule(ctx context.Context, request UpdateRetentionRuleRequest) (response UpdateRetentionRuleResponse, err error)

UpdateRetentionRule Updates the specified retention rule. Rule changes take effect typically within 30 seconds.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateRetentionRule.go.html to see an example of how to use UpdateRetentionRule API. A default retry strategy applies to this operation UpdateRetentionRule()

func (ObjectStorageClient) UploadPart

func (client ObjectStorageClient) UploadPart(ctx context.Context, request UploadPartRequest) (response UploadPartResponse, err error)

UploadPart Uploads a single part of a multipart upload.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UploadPart.go.html to see an example of how to use UploadPart API. A default retry strategy applies to this operation UploadPart()

type ObjectSummary

ObjectSummary To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type ObjectSummary struct {

    // The name of the object. Avoid entering confidential information.
    // Example: test/object1.log
    Name *string `mandatory:"true" json:"name"`

    // Size of the object in bytes.
    Size *int64 `mandatory:"false" json:"size"`

    // Base64-encoded MD5 hash of the object data.
    Md5 *string `mandatory:"false" json:"md5"`

    // The date and time the object was created, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current entity tag (ETag) for the object.
    Etag *string `mandatory:"false" json:"etag"`

    // The storage tier that the object is stored in.
    StorageTier StorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`

    // Archival state of an object. This field is set only for objects in Archive tier.
    ArchivalState ArchivalStateEnum `mandatory:"false" json:"archivalState,omitempty"`

    // The date and time the object was modified, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616), section 14.29.
    TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`
}

func (ObjectSummary) String

func (m ObjectSummary) String() string

func (ObjectSummary) ValidateEnumValue

func (m ObjectSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectVersionCollection

ObjectVersionCollection To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type ObjectVersionCollection struct {

    // An array of object version summaries.
    Items []ObjectVersionSummary `mandatory:"true" json:"items"`

    // Prefixes that are common to the results returned by the request if the request specified a delimiter.
    Prefixes []string `mandatory:"false" json:"prefixes"`
}

func (ObjectVersionCollection) String

func (m ObjectVersionCollection) String() string

func (ObjectVersionCollection) ValidateEnumValue

func (m ObjectVersionCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ObjectVersionSummary

ObjectVersionSummary To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type ObjectVersionSummary struct {

    // The name of the object. Avoid entering confidential information.
    // Example: test/object1.log
    Name *string `mandatory:"true" json:"name"`

    // The date and time the object was modified, as described in RFC 2616 (https://tools.ietf.org/rfc/rfc2616#section-14.29).
    TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"`

    // VersionId of the object.
    VersionId *string `mandatory:"true" json:"versionId"`

    // This flag will indicate if the version is deleted or not.
    IsDeleteMarker *bool `mandatory:"true" json:"isDeleteMarker"`

    // Size of the object in bytes.
    Size *int64 `mandatory:"false" json:"size"`

    // Base64-encoded MD5 hash of the object data.
    Md5 *string `mandatory:"false" json:"md5"`

    // The date and time the object was created, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current entity tag (ETag) for the object.
    Etag *string `mandatory:"false" json:"etag"`

    // The storage tier that the object is stored in.
    StorageTier StorageTierEnum `mandatory:"false" json:"storageTier,omitempty"`

    // Archival state of an object. This field is set only for objects in Archive tier.
    ArchivalState ArchivalStateEnum `mandatory:"false" json:"archivalState,omitempty"`
}

func (ObjectVersionSummary) String

func (m ObjectVersionSummary) String() string

func (ObjectVersionSummary) ValidateEnumValue

func (m ObjectVersionSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PatternDetails

PatternDetails Specifying inclusion and exclusion patterns.

type PatternDetails struct {

    // An array of glob patterns to match the object names to include. An empty array includes all objects in the
    // bucket. Exclusion patterns take precedence over inclusion patterns.
    // A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
    // than the special pattern characters described below, matches itself.
    //     Glob patterns must be between 1 and 1024 characters.
    //     The special pattern characters have the following meanings:
    //     \           Escapes the following character
    //     *           Matches any string of characters.
    //     ?           Matches any single character .
    //     [...]       Matches a group of characters. A group of characters can be:
    //                     A set of characters, for example: [Zafg9@]. This matches any character in the brackets.
    //                     A range of characters, for example: [a-z]. This matches any character in the range.
    //                         [a-f] is equivalent to [abcdef].
    //                         For character ranges only the CHARACTER-CHARACTER pattern is supported.
    //                             [ab-yz] is not valid
    //                             [a-mn-z] is not valid
    //                         Character ranges can not start with ^ or :
    //                         To include a '-' in the range, make it the first or last character.
    InclusionPatterns []string `mandatory:"false" json:"inclusionPatterns"`

    // An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion
    // patterns take precedence over inclusion patterns.
    // A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
    // than the special pattern characters described below, matches itself.
    //     Glob patterns must be between 1 and 1024 characters.
    //     The special pattern characters have the following meanings:
    //     \           Escapes the following character
    //     *           Matches any string of characters.
    //     ?           Matches any single character .
    //     [...]       Matches a group of characters. A group of characters can be:
    //                     A set of characters, for example: [Zafg9@]. This matches any character in the brackets.
    //                     A range of characters, for example: [a-z]. This matches any character in the range.
    //                         [a-f] is equivalent to [abcdef].
    //                         For character ranges only the CHARACTER-CHARACTER pattern is supported.
    //                             [ab-yz] is not valid
    //                             [a-mn-z] is not valid
    //                         Character ranges can not start with ^ or :
    //                         To include a '-' in the range, make it the first or last character.
    ExclusionPatterns []string `mandatory:"false" json:"exclusionPatterns"`
}

func (PatternDetails) String

func (m PatternDetails) String() string

func (PatternDetails) ValidateEnumValue

func (m PatternDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreauthenticatedRequest

PreauthenticatedRequest Pre-authenticated requests provide a way to let users access a bucket or an object without having their own credentials. When you create a pre-authenticated request, a unique URL is generated. Users in your organization, partners, or third parties can use this URL to access the targets identified in the pre-authenticated request. See Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm). To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type PreauthenticatedRequest struct {

    // The unique identifier to use when directly addressing the pre-authenticated request.
    Id *string `mandatory:"true" json:"id"`

    // The user-provided name of the pre-authenticated request.
    Name *string `mandatory:"true" json:"name"`

    // The URI to embed in the URL when using the pre-authenticated request.
    AccessUri *string `mandatory:"true" json:"accessUri"`

    // The operation that can be performed on this resource.
    AccessType PreauthenticatedRequestAccessTypeEnum `mandatory:"true" json:"accessType"`

    // The expiration date for the pre-authenticated request as per RFC 3339 (https://tools.ietf.org/html/rfc3339). After
    // this date the pre-authenticated request will no longer be valid.
    TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

    // The date when the pre-authenticated request was created as per specification
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential
    // information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket.
    // Example: test/object1.log
    ObjectName *string `mandatory:"false" json:"objectName"`

    // Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite".
    // Deny: Prevents the user from performing a list operation.
    // ListObjects: Authorizes the user to perform a list operation.
    BucketListingAction PreauthenticatedRequestBucketListingActionEnum `mandatory:"false" json:"bucketListingAction,omitempty"`

    // The full Path for the object.
    FullPath *string `mandatory:"false" json:"fullPath"`
}

func (PreauthenticatedRequest) String

func (m PreauthenticatedRequest) String() string

func (PreauthenticatedRequest) ValidateEnumValue

func (m PreauthenticatedRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreauthenticatedRequestAccessTypeEnum

PreauthenticatedRequestAccessTypeEnum Enum with underlying type: string

type PreauthenticatedRequestAccessTypeEnum string

Set of constants representing the allowable values for PreauthenticatedRequestAccessTypeEnum

const (
    PreauthenticatedRequestAccessTypeObjectread         PreauthenticatedRequestAccessTypeEnum = "ObjectRead"
    PreauthenticatedRequestAccessTypeObjectwrite        PreauthenticatedRequestAccessTypeEnum = "ObjectWrite"
    PreauthenticatedRequestAccessTypeObjectreadwrite    PreauthenticatedRequestAccessTypeEnum = "ObjectReadWrite"
    PreauthenticatedRequestAccessTypeAnyobjectwrite     PreauthenticatedRequestAccessTypeEnum = "AnyObjectWrite"
    PreauthenticatedRequestAccessTypeAnyobjectread      PreauthenticatedRequestAccessTypeEnum = "AnyObjectRead"
    PreauthenticatedRequestAccessTypeAnyobjectreadwrite PreauthenticatedRequestAccessTypeEnum = "AnyObjectReadWrite"
)

func GetMappingPreauthenticatedRequestAccessTypeEnum

func GetMappingPreauthenticatedRequestAccessTypeEnum(val string) (PreauthenticatedRequestAccessTypeEnum, bool)

GetMappingPreauthenticatedRequestAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPreauthenticatedRequestAccessTypeEnumValues

func GetPreauthenticatedRequestAccessTypeEnumValues() []PreauthenticatedRequestAccessTypeEnum

GetPreauthenticatedRequestAccessTypeEnumValues Enumerates the set of values for PreauthenticatedRequestAccessTypeEnum

type PreauthenticatedRequestBucketListingActionEnum

PreauthenticatedRequestBucketListingActionEnum Enum with underlying type: string

type PreauthenticatedRequestBucketListingActionEnum string

Set of constants representing the allowable values for PreauthenticatedRequestBucketListingActionEnum

const (
    PreauthenticatedRequestBucketListingActionDeny        PreauthenticatedRequestBucketListingActionEnum = "Deny"
    PreauthenticatedRequestBucketListingActionListobjects PreauthenticatedRequestBucketListingActionEnum = "ListObjects"
)

func GetMappingPreauthenticatedRequestBucketListingActionEnum

func GetMappingPreauthenticatedRequestBucketListingActionEnum(val string) (PreauthenticatedRequestBucketListingActionEnum, bool)

GetMappingPreauthenticatedRequestBucketListingActionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPreauthenticatedRequestBucketListingActionEnumValues

func GetPreauthenticatedRequestBucketListingActionEnumValues() []PreauthenticatedRequestBucketListingActionEnum

GetPreauthenticatedRequestBucketListingActionEnumValues Enumerates the set of values for PreauthenticatedRequestBucketListingActionEnum

type PreauthenticatedRequestSummary

PreauthenticatedRequestSummary Get summary information about pre-authenticated requests.

type PreauthenticatedRequestSummary struct {

    // The unique identifier to use when directly addressing the pre-authenticated request.
    Id *string `mandatory:"true" json:"id"`

    // The user-provided name of the pre-authenticated request.
    Name *string `mandatory:"true" json:"name"`

    // The operation that can be performed on this resource.
    AccessType PreauthenticatedRequestSummaryAccessTypeEnum `mandatory:"true" json:"accessType"`

    // The expiration date for the pre-authenticated request as per RFC 3339 (https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid.
    TimeExpires *common.SDKTime `mandatory:"true" json:"timeExpires"`

    // The date when the pre-authenticated request was created as per RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The name of object that is being granted access to by the pre-authenticated request. This can be null and if it is,
    // the pre-authenticated request grants access to the entire bucket.
    ObjectName *string `mandatory:"false" json:"objectName"`

    // Specifies whether a list operation is allowed on a PAR with accessType "AnyObjectRead" or "AnyObjectReadWrite".
    // Deny: Prevents the user from performing a list operation.
    // ListObjects: Authorizes the user to perform a list operation.
    BucketListingAction PreauthenticatedRequestBucketListingActionEnum `mandatory:"false" json:"bucketListingAction,omitempty"`
}

func (PreauthenticatedRequestSummary) String

func (m PreauthenticatedRequestSummary) String() string

func (PreauthenticatedRequestSummary) ValidateEnumValue

func (m PreauthenticatedRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PreauthenticatedRequestSummaryAccessTypeEnum

PreauthenticatedRequestSummaryAccessTypeEnum Enum with underlying type: string

type PreauthenticatedRequestSummaryAccessTypeEnum string

Set of constants representing the allowable values for PreauthenticatedRequestSummaryAccessTypeEnum

const (
    PreauthenticatedRequestSummaryAccessTypeObjectread         PreauthenticatedRequestSummaryAccessTypeEnum = "ObjectRead"
    PreauthenticatedRequestSummaryAccessTypeObjectwrite        PreauthenticatedRequestSummaryAccessTypeEnum = "ObjectWrite"
    PreauthenticatedRequestSummaryAccessTypeObjectreadwrite    PreauthenticatedRequestSummaryAccessTypeEnum = "ObjectReadWrite"
    PreauthenticatedRequestSummaryAccessTypeAnyobjectwrite     PreauthenticatedRequestSummaryAccessTypeEnum = "AnyObjectWrite"
    PreauthenticatedRequestSummaryAccessTypeAnyobjectread      PreauthenticatedRequestSummaryAccessTypeEnum = "AnyObjectRead"
    PreauthenticatedRequestSummaryAccessTypeAnyobjectreadwrite PreauthenticatedRequestSummaryAccessTypeEnum = "AnyObjectReadWrite"
)

func GetMappingPreauthenticatedRequestSummaryAccessTypeEnum

func GetMappingPreauthenticatedRequestSummaryAccessTypeEnum(val string) (PreauthenticatedRequestSummaryAccessTypeEnum, bool)

GetMappingPreauthenticatedRequestSummaryAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPreauthenticatedRequestSummaryAccessTypeEnumValues

func GetPreauthenticatedRequestSummaryAccessTypeEnumValues() []PreauthenticatedRequestSummaryAccessTypeEnum

GetPreauthenticatedRequestSummaryAccessTypeEnumValues Enumerates the set of values for PreauthenticatedRequestSummaryAccessTypeEnum

type PutObjectLifecyclePolicyDetails

PutObjectLifecyclePolicyDetails Creates a new object lifecycle policy for a bucket.

type PutObjectLifecyclePolicyDetails struct {

    // The bucket's set of lifecycle policy rules.
    Items []ObjectLifecycleRule `mandatory:"false" json:"items"`
}

func (PutObjectLifecyclePolicyDetails) String

func (m PutObjectLifecyclePolicyDetails) String() string

func (PutObjectLifecyclePolicyDetails) ValidateEnumValue

func (m PutObjectLifecyclePolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PutObjectLifecyclePolicyRequest

PutObjectLifecyclePolicyRequest wrapper for the PutObjectLifecyclePolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/PutObjectLifecyclePolicy.go.html to see an example of how to use PutObjectLifecyclePolicyRequest.

type PutObjectLifecyclePolicyRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The lifecycle policy to apply to the bucket.
    PutObjectLifecyclePolicyDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should
    // fail if the resource already exists.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (PutObjectLifecyclePolicyRequest) BinaryRequestBody

func (request PutObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PutObjectLifecyclePolicyRequest) HTTPRequest

func (request PutObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PutObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath

func (request PutObjectLifecyclePolicyRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (PutObjectLifecyclePolicyRequest) RetryPolicy

func (request PutObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PutObjectLifecyclePolicyRequest) String

func (request PutObjectLifecyclePolicyRequest) String() string

func (PutObjectLifecyclePolicyRequest) ValidateEnumValue

func (request PutObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PutObjectLifecyclePolicyResponse

PutObjectLifecyclePolicyResponse wrapper for the PutObjectLifecyclePolicy operation

type PutObjectLifecyclePolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ObjectLifecyclePolicy instance
    ObjectLifecyclePolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
    // provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) for the object lifecycle policy.
    ETag *string `presentIn:"header" name:"etag"`
}

func (PutObjectLifecyclePolicyResponse) HTTPResponse

func (response PutObjectLifecyclePolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PutObjectLifecyclePolicyResponse) String

func (response PutObjectLifecyclePolicyResponse) String() string

type PutObjectRequest

PutObjectRequest wrapper for the PutObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/PutObject.go.html to see an example of how to use PutObjectRequest.

type PutObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The content length of the body.
    ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"Content-Length"`

    // The object to upload to the object store.
    PutObjectBody io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should
    // fail if the resource already exists.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent.
    // If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body.
    // The only allowed value for this parameter is "100-Continue" (case-insensitive).
    Expect *string `mandatory:"false" contributesTo:"header" name:"Expect"`

    // The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
    // Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
    // MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
    // is returned with the message:
    // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
    ContentMD5 *string `mandatory:"false" contributesTo:"header" name:"Content-MD5"`

    // The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to
    // 'application/octet-stream' if not specified in the PutObject call. Specifying values for this header has no effect
    // on Object Storage behavior. Programs that read the object determine what to do based on the value provided. For example,
    // you could use this header to identify and perform special operations on text only objects.
    ContentType *string `mandatory:"false" contributesTo:"header" name:"Content-Type"`

    // The optional Content-Language header that defines the content language of the object to upload. Specifying
    // values for this header has no effect on Object Storage behavior. Programs that read the object determine what
    // to do based on the value provided. For example, you could use this header to identify and differentiate objects
    // based on a particular language.
    ContentLanguage *string `mandatory:"false" contributesTo:"header" name:"Content-Language"`

    // The optional Content-Encoding header that defines the content encodings that were applied to the object to
    // upload. Specifying values for this header has no effect on Object Storage behavior. Programs that read the
    // object determine what to do based on the value provided. For example, you could use this header to determine
    // what decoding mechanisms need to be applied to obtain the media-type specified by the Content-Type header of
    // the object.
    ContentEncoding *string `mandatory:"false" contributesTo:"header" name:"Content-Encoding"`

    // The optional Content-Disposition header that defines presentational information for the object to be
    // returned in GetObject and HeadObject responses. Specifying values for this header has no effect on Object
    // Storage behavior. Programs that read the object determine what to do based on the value provided.
    // For example, you could use this header to let users download objects with custom filenames in a browser.
    ContentDisposition *string `mandatory:"false" contributesTo:"header" name:"Content-Disposition"`

    // The optional Cache-Control header that defines the caching behavior value to be returned in GetObject and
    // HeadObject responses. Specifying values for this header has no effect on Object Storage behavior. Programs
    // that read the object determine what to do based on the value provided.
    // For example, you could use this header to identify objects that require caching restrictions.
    CacheControl *string `mandatory:"false" contributesTo:"header" name:"Cache-Control"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key
    // Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    OpcSseKmsKeyId *string `mandatory:"false" contributesTo:"header" name:"opc-sse-kms-key-id"`

    // The storage tier that the object should be stored in. If not specified, the object will be stored in
    // the same storage tier as the bucket.
    StorageTier PutObjectStorageTierEnum `mandatory:"false" contributesTo:"header" name:"storage-tier"`

    // Optional user-defined metadata key and value.
    OpcMeta map[string]string `mandatory:"false" contributesTo:"header-collection" prefix:"opc-meta-"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (PutObjectRequest) BinaryRequestBody

func (request PutObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PutObjectRequest) HTTPRequest

func (request PutObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PutObjectRequest) ReplaceMandatoryParamInPath

func (request PutObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (PutObjectRequest) RetryPolicy

func (request PutObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PutObjectRequest) String

func (request PutObjectRequest) String() string

func (PutObjectRequest) ValidateEnumValue

func (request PutObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PutObjectResponse

PutObjectResponse wrapper for the PutObject operation

type PutObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The base-64 encoded MD5 hash of the request body as computed by the server.
    OpcContentMd5 *string `presentIn:"header" name:"opc-content-md5"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`

    // The time the object was modified, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // VersionId of the newly created object
    VersionId *string `presentIn:"header" name:"version-id"`
}

func (PutObjectResponse) HTTPResponse

func (response PutObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PutObjectResponse) String

func (response PutObjectResponse) String() string

type PutObjectStorageTierEnum

PutObjectStorageTierEnum Enum with underlying type: string

type PutObjectStorageTierEnum string

Set of constants representing the allowable values for PutObjectStorageTierEnum

const (
    PutObjectStorageTierStandard         PutObjectStorageTierEnum = "Standard"
    PutObjectStorageTierInfrequentaccess PutObjectStorageTierEnum = "InfrequentAccess"
    PutObjectStorageTierArchive          PutObjectStorageTierEnum = "Archive"
)

func GetMappingPutObjectStorageTierEnum

func GetMappingPutObjectStorageTierEnum(val string) (PutObjectStorageTierEnum, bool)

GetMappingPutObjectStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPutObjectStorageTierEnumValues

func GetPutObjectStorageTierEnumValues() []PutObjectStorageTierEnum

GetPutObjectStorageTierEnumValues Enumerates the set of values for PutObjectStorageTierEnum

type ReencryptBucketRequest

ReencryptBucketRequest wrapper for the ReencryptBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ReencryptBucket.go.html to see an example of how to use ReencryptBucketRequest.

type ReencryptBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ReencryptBucketRequest) BinaryRequestBody

func (request ReencryptBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ReencryptBucketRequest) HTTPRequest

func (request ReencryptBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ReencryptBucketRequest) ReplaceMandatoryParamInPath

func (request ReencryptBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ReencryptBucketRequest) RetryPolicy

func (request ReencryptBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ReencryptBucketRequest) String

func (request ReencryptBucketRequest) String() string

func (ReencryptBucketRequest) ValidateEnumValue

func (request ReencryptBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReencryptBucketResponse

ReencryptBucketResponse wrapper for the ReencryptBucket operation

type ReencryptBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. If you need to contact Oracle about a
    // particular request, provide this request ID.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ReencryptBucketResponse) HTTPResponse

func (response ReencryptBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ReencryptBucketResponse) String

func (response ReencryptBucketResponse) String() string

type ReencryptObjectDetails

ReencryptObjectDetails The details used to re-encrypt the data encryption keys associated with an object. You can only specify either a kmsKeyId or an sseCustomerKey in the request payload, not both. If the request payload is empty, the object is encrypted using the encryption key assigned to the bucket. The bucket encryption mechanism can either be a master encryption key managed by Oracle or the Vault service.

- The sseCustomerKey field specifies the customer-provided encryption key (SSE-C) that will be used to re-encrypt the data encryption keys of the
  object and its chunks.
- The sourceSSECustomerKey field specifies information about the customer-provided encryption key that is currently
  associated with the object source. Specify a value for the sourceSSECustomerKey only if the object
  is encrypted with a customer-provided encryption key.
type ReencryptObjectDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the master encryption key used to call the Vault
    // service to re-encrypt the data encryption keys associated with the object and its chunks. If the kmsKeyId value is
    // empty, whether null or an empty string, the API will perform re-encryption by using the kmsKeyId associated with the
    // bucket or the master encryption key managed by Oracle, depending on the bucket encryption mechanism.
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    SseCustomerKey *SseCustomerKeyDetails `mandatory:"false" json:"sseCustomerKey"`

    SourceSseCustomerKey *SseCustomerKeyDetails `mandatory:"false" json:"sourceSseCustomerKey"`
}

func (ReencryptObjectDetails) String

func (m ReencryptObjectDetails) String() string

func (ReencryptObjectDetails) ValidateEnumValue

func (m ReencryptObjectDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReencryptObjectRequest

ReencryptObjectRequest wrapper for the ReencryptObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/ReencryptObject.go.html to see an example of how to use ReencryptObjectRequest.

type ReencryptObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // Request object for re-encrypting the data encryption key associated with an object.
    ReencryptObjectDetails `contributesTo:"body"`

    // VersionId used to identify a particular version of the object
    VersionId *string `mandatory:"false" contributesTo:"query" name:"versionId"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ReencryptObjectRequest) BinaryRequestBody

func (request ReencryptObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ReencryptObjectRequest) HTTPRequest

func (request ReencryptObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ReencryptObjectRequest) ReplaceMandatoryParamInPath

func (request ReencryptObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (ReencryptObjectRequest) RetryPolicy

func (request ReencryptObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ReencryptObjectRequest) String

func (request ReencryptObjectRequest) String() string

func (ReencryptObjectRequest) ValidateEnumValue

func (request ReencryptObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReencryptObjectResponse

ReencryptObjectResponse wrapper for the ReencryptObject operation

type ReencryptObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ReencryptObjectResponse) HTTPResponse

func (response ReencryptObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ReencryptObjectResponse) String

func (response ReencryptObjectResponse) String() string

type RenameObjectDetails

RenameObjectDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type RenameObjectDetails struct {

    // The name of the source object to be renamed.
    SourceName *string `mandatory:"true" json:"sourceName"`

    // The new name of the source object. Avoid entering confidential information.
    NewName *string `mandatory:"true" json:"newName"`

    // The if-match entity tag (ETag) of the source object.
    SrcObjIfMatchETag *string `mandatory:"false" json:"srcObjIfMatchETag"`

    // The if-match entity tag (ETag) of the new object.
    NewObjIfMatchETag *string `mandatory:"false" json:"newObjIfMatchETag"`

    // The if-none-match entity tag (ETag) of the new object. The only valid value is '*', which indicates
    // request should fail if the new object already exists.
    NewObjIfNoneMatchETag *string `mandatory:"false" json:"newObjIfNoneMatchETag"`
}

func (RenameObjectDetails) String

func (m RenameObjectDetails) String() string

func (RenameObjectDetails) ValidateEnumValue

func (m RenameObjectDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RenameObjectRequest

RenameObjectRequest wrapper for the RenameObject operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/RenameObject.go.html to see an example of how to use RenameObjectRequest.

type RenameObjectRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The sourceName and newName of rename operation. Avoid entering confidential information.
    RenameObjectDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (RenameObjectRequest) BinaryRequestBody

func (request RenameObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RenameObjectRequest) HTTPRequest

func (request RenameObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RenameObjectRequest) ReplaceMandatoryParamInPath

func (request RenameObjectRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (RenameObjectRequest) RetryPolicy

func (request RenameObjectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RenameObjectRequest) String

func (request RenameObjectRequest) String() string

func (RenameObjectRequest) ValidateEnumValue

func (request RenameObjectRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RenameObjectResponse

RenameObjectResponse wrapper for the RenameObject operation

type RenameObjectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`

    // The time the object was modified, as described in RFC 2616 (https://tools.ietf.org/html/rfc2616#section-14.29).
    LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`

    // VersionId of the renamed object
    VersionId *string `presentIn:"header" name:"version-id"`
}

func (RenameObjectResponse) HTTPResponse

func (response RenameObjectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RenameObjectResponse) String

func (response RenameObjectResponse) String() string

type ReplicationPolicy

ReplicationPolicy The details of a replication policy.

type ReplicationPolicy struct {

    // The id of the replication policy.
    Id *string `mandatory:"true" json:"id"`

    // The name of the policy.
    Name *string `mandatory:"true" json:"name"`

    // The destination region to replicate to, for example "us-ashburn-1".
    DestinationRegionName *string `mandatory:"true" json:"destinationRegionName"`

    // The bucket to replicate to in the destination region. Replication policy creation does not automatically
    // create a destination bucket. Create the destination bucket before creating the policy.
    DestinationBucketName *string `mandatory:"true" json:"destinationBucketName"`

    // The date when the replication policy was created as per RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Changes made to the source bucket before this time has been replicated.
    TimeLastSync *common.SDKTime `mandatory:"true" json:"timeLastSync"`

    // The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue
    // described in the status message, the status will become ACTIVE.
    Status ReplicationPolicyStatusEnum `mandatory:"true" json:"status"`

    // A human-readable description of the status.
    StatusMessage *string `mandatory:"true" json:"statusMessage"`
}

func (ReplicationPolicy) String

func (m ReplicationPolicy) String() string

func (ReplicationPolicy) ValidateEnumValue

func (m ReplicationPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicationPolicyStatusEnum

ReplicationPolicyStatusEnum Enum with underlying type: string

type ReplicationPolicyStatusEnum string

Set of constants representing the allowable values for ReplicationPolicyStatusEnum

const (
    ReplicationPolicyStatusActive      ReplicationPolicyStatusEnum = "ACTIVE"
    ReplicationPolicyStatusClientError ReplicationPolicyStatusEnum = "CLIENT_ERROR"
)

func GetMappingReplicationPolicyStatusEnum

func GetMappingReplicationPolicyStatusEnum(val string) (ReplicationPolicyStatusEnum, bool)

GetMappingReplicationPolicyStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationPolicyStatusEnumValues

func GetReplicationPolicyStatusEnumValues() []ReplicationPolicyStatusEnum

GetReplicationPolicyStatusEnumValues Enumerates the set of values for ReplicationPolicyStatusEnum

type ReplicationPolicySummary

ReplicationPolicySummary The summary of a replication policy.

type ReplicationPolicySummary struct {

    // The id of the replication policy.
    Id *string `mandatory:"true" json:"id"`

    // The name of the policy.
    Name *string `mandatory:"true" json:"name"`

    // The destination region to replicate to, for example "us-ashburn-1".
    DestinationRegionName *string `mandatory:"true" json:"destinationRegionName"`

    // The bucket to replicate to in the destination region. Replication policy creation does not automatically
    // create a destination bucket. Create the destination bucket before creating the policy.
    DestinationBucketName *string `mandatory:"true" json:"destinationBucketName"`

    // The date when the replication policy was created as per RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Changes made to the source bucket before this time has been replicated.
    TimeLastSync *common.SDKTime `mandatory:"true" json:"timeLastSync"`

    // The replication status of the policy. If the status is CLIENT_ERROR, once the user fixes the issue
    // described in the status message, the status will become ACTIVE.
    Status ReplicationPolicySummaryStatusEnum `mandatory:"true" json:"status"`

    // A human-readable description of the status.
    StatusMessage *string `mandatory:"true" json:"statusMessage"`
}

func (ReplicationPolicySummary) String

func (m ReplicationPolicySummary) String() string

func (ReplicationPolicySummary) ValidateEnumValue

func (m ReplicationPolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReplicationPolicySummaryStatusEnum

ReplicationPolicySummaryStatusEnum Enum with underlying type: string

type ReplicationPolicySummaryStatusEnum string

Set of constants representing the allowable values for ReplicationPolicySummaryStatusEnum

const (
    ReplicationPolicySummaryStatusActive      ReplicationPolicySummaryStatusEnum = "ACTIVE"
    ReplicationPolicySummaryStatusClientError ReplicationPolicySummaryStatusEnum = "CLIENT_ERROR"
)

func GetMappingReplicationPolicySummaryStatusEnum

func GetMappingReplicationPolicySummaryStatusEnum(val string) (ReplicationPolicySummaryStatusEnum, bool)

GetMappingReplicationPolicySummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetReplicationPolicySummaryStatusEnumValues

func GetReplicationPolicySummaryStatusEnumValues() []ReplicationPolicySummaryStatusEnum

GetReplicationPolicySummaryStatusEnumValues Enumerates the set of values for ReplicationPolicySummaryStatusEnum

type ReplicationSource

ReplicationSource The details of a replication source bucket that replicates to a target destination bucket.

type ReplicationSource struct {

    // The name of the policy.
    PolicyName *string `mandatory:"true" json:"policyName"`

    // The source region replicating data from, for example "us-ashburn-1".
    SourceRegionName *string `mandatory:"true" json:"sourceRegionName"`

    // The source bucket replicating data from.
    SourceBucketName *string `mandatory:"true" json:"sourceBucketName"`
}

func (ReplicationSource) String

func (m ReplicationSource) String() string

func (ReplicationSource) ValidateEnumValue

func (m ReplicationSource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreObjectsDetails

RestoreObjectsDetails The representation of RestoreObjectsDetails

type RestoreObjectsDetails struct {

    // An object that is in an archive storage tier and needs to be restored.
    ObjectName *string `mandatory:"true" json:"objectName"`

    // The number of hours for which this object will be restored.
    // By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter.
    Hours *int `mandatory:"false" json:"hours"`

    // The versionId of the object to restore. Current object version is used by default.
    VersionId *string `mandatory:"false" json:"versionId"`
}

func (RestoreObjectsDetails) String

func (m RestoreObjectsDetails) String() string

func (RestoreObjectsDetails) ValidateEnumValue

func (m RestoreObjectsDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreObjectsRequest

RestoreObjectsRequest wrapper for the RestoreObjects operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/RestoreObjects.go.html to see an example of how to use RestoreObjectsRequest.

type RestoreObjectsRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // Request to restore objects.
    RestoreObjectsDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (RestoreObjectsRequest) BinaryRequestBody

func (request RestoreObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (RestoreObjectsRequest) HTTPRequest

func (request RestoreObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (RestoreObjectsRequest) ReplaceMandatoryParamInPath

func (request RestoreObjectsRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (RestoreObjectsRequest) RetryPolicy

func (request RestoreObjectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (RestoreObjectsRequest) String

func (request RestoreObjectsRequest) String() string

func (RestoreObjectsRequest) ValidateEnumValue

func (request RestoreObjectsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RestoreObjectsResponse

RestoreObjectsResponse wrapper for the RestoreObjects operation

type RestoreObjectsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (RestoreObjectsResponse) HTTPResponse

func (response RestoreObjectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (RestoreObjectsResponse) String

func (response RestoreObjectsResponse) String() string

type RetentionRule

RetentionRule The details of a retention rule.

type RetentionRule struct {

    // Unique identifier for the retention rule.
    Id *string `mandatory:"true" json:"id"`

    // User specified name for the retention rule.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The entity tag (ETag) for the retention rule.
    Etag *string `mandatory:"true" json:"etag"`

    // The date and time that the retention rule was created as per RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time that the retention rule was modified as per RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"`

    Duration *Duration `mandatory:"false" json:"duration"`

    // The date and time as per RFC 3339 (https://tools.ietf.org/html/rfc3339) after which this rule becomes locked.
    // and can only be deleted by deleting the bucket.
    TimeRuleLocked *common.SDKTime `mandatory:"false" json:"timeRuleLocked"`
}

func (RetentionRule) String

func (m RetentionRule) String() string

func (RetentionRule) ValidateEnumValue

func (m RetentionRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetentionRuleCollection

RetentionRuleCollection Retention rule collection.

type RetentionRuleCollection struct {

    // An array of retention rule summaries.
    Items []RetentionRuleSummary `mandatory:"true" json:"items"`
}

func (RetentionRuleCollection) String

func (m RetentionRuleCollection) String() string

func (RetentionRuleCollection) ValidateEnumValue

func (m RetentionRuleCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetentionRuleDetails

RetentionRuleDetails The details to create or update a retention rule.

type RetentionRuleDetails struct {

    // A user-specified name for the retention rule. Names can be helpful in identifying retention rules.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    Duration *Duration `mandatory:"false" json:"duration"`

    // The date and time as per RFC 3339 (https://tools.ietf.org/html/rfc3339) after which this rule is locked
    // and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are
    // allowed and no other properties can be changed. This property cannot be updated for rules that are in a
    // locked state. Specifying it when a duration is not specified is considered an error.
    TimeRuleLocked *common.SDKTime `mandatory:"false" json:"timeRuleLocked"`
}

func (RetentionRuleDetails) String

func (m RetentionRuleDetails) String() string

func (RetentionRuleDetails) ValidateEnumValue

func (m RetentionRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RetentionRuleSummary

RetentionRuleSummary The summary of a retention rule.

type RetentionRuleSummary struct {

    // Unique identifier for the retention rule.
    Id *string `mandatory:"true" json:"id"`

    // User specified name for the retention rule.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The entity tag (ETag) for the retention rule.
    Etag *string `mandatory:"true" json:"etag"`

    // The date and time that the retention rule was created as per RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time that the retention rule was modified as per RFC3339 (https://tools.ietf.org/html/rfc3339).
    TimeModified *common.SDKTime `mandatory:"true" json:"timeModified"`

    Duration *Duration `mandatory:"false" json:"duration"`

    // The date and time as per RFC 3339 (https://tools.ietf.org/html/rfc3339) after which this rule becomes locked.
    // and can only be deleted by deleting the bucket.
    TimeRuleLocked *common.SDKTime `mandatory:"false" json:"timeRuleLocked"`
}

func (RetentionRuleSummary) String

func (m RetentionRuleSummary) String() string

func (RetentionRuleSummary) ValidateEnumValue

func (m RetentionRuleSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SseCustomerKeyDetails

SseCustomerKeyDetails Specifies the details of the customer-provided encryption key (SSE-C) associated with an object.

type SseCustomerKeyDetails struct {

    // Specifies the encryption algorithm. The only supported value is "AES256".
    Algorithm SseCustomerKeyDetailsAlgorithmEnum `mandatory:"true" json:"algorithm"`

    // Specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the object data.
    Key *string `mandatory:"true" json:"key"`

    // Specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity
    // of the encryption key.
    KeySha256 *string `mandatory:"true" json:"keySha256"`
}

func (SseCustomerKeyDetails) String

func (m SseCustomerKeyDetails) String() string

func (SseCustomerKeyDetails) ValidateEnumValue

func (m SseCustomerKeyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SseCustomerKeyDetailsAlgorithmEnum

SseCustomerKeyDetailsAlgorithmEnum Enum with underlying type: string

type SseCustomerKeyDetailsAlgorithmEnum string

Set of constants representing the allowable values for SseCustomerKeyDetailsAlgorithmEnum

const (
    SseCustomerKeyDetailsAlgorithmAes256 SseCustomerKeyDetailsAlgorithmEnum = "AES256"
)

func GetMappingSseCustomerKeyDetailsAlgorithmEnum

func GetMappingSseCustomerKeyDetailsAlgorithmEnum(val string) (SseCustomerKeyDetailsAlgorithmEnum, bool)

GetMappingSseCustomerKeyDetailsAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSseCustomerKeyDetailsAlgorithmEnumValues

func GetSseCustomerKeyDetailsAlgorithmEnumValues() []SseCustomerKeyDetailsAlgorithmEnum

GetSseCustomerKeyDetailsAlgorithmEnumValues Enumerates the set of values for SseCustomerKeyDetailsAlgorithmEnum

type StorageTierEnum

StorageTierEnum Enum with underlying type: string

type StorageTierEnum string

Set of constants representing the allowable values for StorageTierEnum

const (
    StorageTierStandard         StorageTierEnum = "Standard"
    StorageTierInfrequentAccess StorageTierEnum = "InfrequentAccess"
    StorageTierArchive          StorageTierEnum = "Archive"
)

func GetMappingStorageTierEnum

func GetMappingStorageTierEnum(val string) (StorageTierEnum, bool)

GetMappingStorageTierEnum performs case Insensitive comparison on enum value and return the desired enum

func GetStorageTierEnumValues

func GetStorageTierEnumValues() []StorageTierEnum

GetStorageTierEnumValues Enumerates the set of values for StorageTierEnum

type UpdateBucketDetails

UpdateBucketDetails To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).

type UpdateBucketDetails struct {

    // The Object Storage namespace in which the bucket lives.
    Namespace *string `mandatory:"false" json:"namespace"`

    // The compartmentId for the compartment to move the bucket to.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The name of the bucket. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
    // Bucket names must be unique within an Object Storage namespace. Avoid entering confidential information.
    // Example: my-new-bucket1
    Name *string `mandatory:"false" json:"name"`

    // Arbitrary string, up to 4KB, of keys and values for user-defined metadata.
    Metadata map[string]string `mandatory:"false" json:"metadata"`

    // The type of public access enabled on this bucket. A bucket is set to `NoPublicAccess` by default, which only allows an
    // authenticated caller to access the bucket and its contents. When `ObjectRead` is enabled on the bucket, public access
    // is allowed for the `GetObject`, `HeadObject`, and `ListObjects` operations. When `ObjectReadWithoutList` is enabled
    // on the bucket, public access is allowed for the `GetObject` and `HeadObject` operations.
    PublicAccessType UpdateBucketDetailsPublicAccessTypeEnum `mandatory:"false" json:"publicAccessType,omitempty"`

    // Whether or not events are emitted for object state changes in this bucket. By default, `objectEventsEnabled` is
    // set to `false`. Set `objectEventsEnabled` to `true` to emit events for object state changes. For more information
    // about events, see Overview of Events (https://docs.cloud.oracle.com/Content/Events/Concepts/eventsoverview.htm).
    ObjectEventsEnabled *bool `mandatory:"false" json:"objectEventsEnabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Key Management master encryption key to associate
    // with the specified bucket. If this value is empty, the Update operation will remove the associated key, if
    // there is one, from the bucket. (The bucket will continue to be encrypted, but with an encryption key managed
    // by Oracle.)
    KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`

    // The versioning status on the bucket. If in state `Enabled`, multiple versions of the same object can be kept in the bucket.
    // When the object is overwritten or deleted, previous versions will still be available. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted.
    // Versioning cannot be disabled on a bucket once enabled.
    Versioning UpdateBucketDetailsVersioningEnum `mandatory:"false" json:"versioning,omitempty"`

    // The auto tiering status on the bucket. If in state `InfrequentAccess`, objects are transitioned
    // automatically between the 'Standard' and 'InfrequentAccess' tiers based on the access pattern of the objects.
    // When auto tiering is `Disabled`, there will be no automatic transitions between storage tiers.
    AutoTiering BucketAutoTieringEnum `mandatory:"false" json:"autoTiering,omitempty"`
}

func (UpdateBucketDetails) String

func (m UpdateBucketDetails) String() string

func (UpdateBucketDetails) ValidateEnumValue

func (m UpdateBucketDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBucketDetailsPublicAccessTypeEnum

UpdateBucketDetailsPublicAccessTypeEnum Enum with underlying type: string

type UpdateBucketDetailsPublicAccessTypeEnum string

Set of constants representing the allowable values for UpdateBucketDetailsPublicAccessTypeEnum

const (
    UpdateBucketDetailsPublicAccessTypeNopublicaccess        UpdateBucketDetailsPublicAccessTypeEnum = "NoPublicAccess"
    UpdateBucketDetailsPublicAccessTypeObjectread            UpdateBucketDetailsPublicAccessTypeEnum = "ObjectRead"
    UpdateBucketDetailsPublicAccessTypeObjectreadwithoutlist UpdateBucketDetailsPublicAccessTypeEnum = "ObjectReadWithoutList"
)

func GetMappingUpdateBucketDetailsPublicAccessTypeEnum

func GetMappingUpdateBucketDetailsPublicAccessTypeEnum(val string) (UpdateBucketDetailsPublicAccessTypeEnum, bool)

GetMappingUpdateBucketDetailsPublicAccessTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateBucketDetailsPublicAccessTypeEnumValues

func GetUpdateBucketDetailsPublicAccessTypeEnumValues() []UpdateBucketDetailsPublicAccessTypeEnum

GetUpdateBucketDetailsPublicAccessTypeEnumValues Enumerates the set of values for UpdateBucketDetailsPublicAccessTypeEnum

type UpdateBucketDetailsVersioningEnum

UpdateBucketDetailsVersioningEnum Enum with underlying type: string

type UpdateBucketDetailsVersioningEnum string

Set of constants representing the allowable values for UpdateBucketDetailsVersioningEnum

const (
    UpdateBucketDetailsVersioningEnabled   UpdateBucketDetailsVersioningEnum = "Enabled"
    UpdateBucketDetailsVersioningSuspended UpdateBucketDetailsVersioningEnum = "Suspended"
)

func GetMappingUpdateBucketDetailsVersioningEnum

func GetMappingUpdateBucketDetailsVersioningEnum(val string) (UpdateBucketDetailsVersioningEnum, bool)

GetMappingUpdateBucketDetailsVersioningEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateBucketDetailsVersioningEnumValues

func GetUpdateBucketDetailsVersioningEnumValues() []UpdateBucketDetailsVersioningEnum

GetUpdateBucketDetailsVersioningEnumValues Enumerates the set of values for UpdateBucketDetailsVersioningEnum

type UpdateBucketRequest

UpdateBucketRequest wrapper for the UpdateBucket operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateBucket.go.html to see an example of how to use UpdateBucketRequest.

type UpdateBucketRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // Request object for updating a bucket.
    UpdateBucketDetails `contributesTo:"body"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateBucketRequest) BinaryRequestBody

func (request UpdateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateBucketRequest) HTTPRequest

func (request UpdateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateBucketRequest) ReplaceMandatoryParamInPath

func (request UpdateBucketRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (UpdateBucketRequest) RetryPolicy

func (request UpdateBucketRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateBucketRequest) String

func (request UpdateBucketRequest) String() string

func (UpdateBucketRequest) ValidateEnumValue

func (request UpdateBucketRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateBucketResponse

UpdateBucketResponse wrapper for the UpdateBucket operation

type UpdateBucketResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Bucket instance
    Bucket `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the updated bucket.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateBucketResponse) HTTPResponse

func (response UpdateBucketResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateBucketResponse) String

func (response UpdateBucketResponse) String() string

type UpdateNamespaceMetadataDetails

UpdateNamespaceMetadataDetails UpdateNamespaceMetadataDetails is used to update the NamespaceMetadata. To update NamespaceMetadata, a user must have OBJECTSTORAGE_NAMESPACE_UPDATE permission.

type UpdateNamespaceMetadataDetails struct {

    // The updated compartment id for use by an S3 client, if this field is set.
    DefaultS3CompartmentId *string `mandatory:"false" json:"defaultS3CompartmentId"`

    // The updated compartment id for use by a Swift client, if this field is set.
    DefaultSwiftCompartmentId *string `mandatory:"false" json:"defaultSwiftCompartmentId"`
}

func (UpdateNamespaceMetadataDetails) String

func (m UpdateNamespaceMetadataDetails) String() string

func (UpdateNamespaceMetadataDetails) ValidateEnumValue

func (m UpdateNamespaceMetadataDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNamespaceMetadataRequest

UpdateNamespaceMetadataRequest wrapper for the UpdateNamespaceMetadata operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateNamespaceMetadata.go.html to see an example of how to use UpdateNamespaceMetadataRequest.

type UpdateNamespaceMetadataRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // Request object for update NamespaceMetadata.
    UpdateNamespaceMetadataDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateNamespaceMetadataRequest) BinaryRequestBody

func (request UpdateNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNamespaceMetadataRequest) HTTPRequest

func (request UpdateNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNamespaceMetadataRequest) ReplaceMandatoryParamInPath

func (request UpdateNamespaceMetadataRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (UpdateNamespaceMetadataRequest) RetryPolicy

func (request UpdateNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateNamespaceMetadataRequest) String

func (request UpdateNamespaceMetadataRequest) String() string

func (UpdateNamespaceMetadataRequest) ValidateEnumValue

func (request UpdateNamespaceMetadataRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNamespaceMetadataResponse

UpdateNamespaceMetadataResponse wrapper for the UpdateNamespaceMetadata operation

type UpdateNamespaceMetadataResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The NamespaceMetadata instance
    NamespaceMetadata `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateNamespaceMetadataResponse) HTTPResponse

func (response UpdateNamespaceMetadataResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateNamespaceMetadataResponse) String

func (response UpdateNamespaceMetadataResponse) String() string

type UpdateObjectStorageTierDetails

UpdateObjectStorageTierDetails To change the storage tier of an object, we specify the object name and the desired storage tier in the body. Objects can be moved between Standard and InfrequentAccess tiers and from Standard or InfrequentAccess tier to Archive tier. If a version id is specified, only the specified version of the object is moved to a different storage tier, else the current version is used.

type UpdateObjectStorageTierDetails struct {

    // An object for which the storage tier needs to be changed.
    ObjectName *string `mandatory:"true" json:"objectName"`

    // The storage tier that the object should be moved to.
    StorageTier StorageTierEnum `mandatory:"true" json:"storageTier"`

    // The versionId of the object. Current object version is used by default.
    VersionId *string `mandatory:"false" json:"versionId"`
}

func (UpdateObjectStorageTierDetails) String

func (m UpdateObjectStorageTierDetails) String() string

func (UpdateObjectStorageTierDetails) ValidateEnumValue

func (m UpdateObjectStorageTierDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStorageTierRequest

UpdateObjectStorageTierRequest wrapper for the UpdateObjectStorageTier operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateObjectStorageTier.go.html to see an example of how to use UpdateObjectStorageTierRequest.

type UpdateObjectStorageTierRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The object name and the desired storage tier.
    UpdateObjectStorageTierDetails `contributesTo:"body"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateObjectStorageTierRequest) BinaryRequestBody

func (request UpdateObjectStorageTierRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateObjectStorageTierRequest) HTTPRequest

func (request UpdateObjectStorageTierRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateObjectStorageTierRequest) ReplaceMandatoryParamInPath

func (request UpdateObjectStorageTierRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (UpdateObjectStorageTierRequest) RetryPolicy

func (request UpdateObjectStorageTierRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateObjectStorageTierRequest) String

func (request UpdateObjectStorageTierRequest) String() string

func (UpdateObjectStorageTierRequest) ValidateEnumValue

func (request UpdateObjectStorageTierRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateObjectStorageTierResponse

UpdateObjectStorageTierResponse wrapper for the UpdateObjectStorageTier operation

type UpdateObjectStorageTierResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateObjectStorageTierResponse) HTTPResponse

func (response UpdateObjectStorageTierResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateObjectStorageTierResponse) String

func (response UpdateObjectStorageTierResponse) String() string

type UpdateRetentionRuleDetails

UpdateRetentionRuleDetails The details to update a retention rule.

type UpdateRetentionRuleDetails struct {

    // A user-specified name for the retention rule. Names can be helpful in identifying retention rules.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    Duration *Duration `mandatory:"false" json:"duration"`

    // The date and time as per RFC 3339 (https://tools.ietf.org/html/rfc3339) after which this rule is locked
    // and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are
    // allowed and no other properties can be changed. This property cannot be updated for rules that are in a
    // locked state. Specifying it when a duration is not specified is considered an error.
    TimeRuleLocked *common.SDKTime `mandatory:"false" json:"timeRuleLocked"`
}

func (UpdateRetentionRuleDetails) String

func (m UpdateRetentionRuleDetails) String() string

func (UpdateRetentionRuleDetails) ValidateEnumValue

func (m UpdateRetentionRuleDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRetentionRuleRequest

UpdateRetentionRuleRequest wrapper for the UpdateRetentionRule operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UpdateRetentionRule.go.html to see an example of how to use UpdateRetentionRuleRequest.

type UpdateRetentionRuleRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The ID of the retention rule.
    RetentionRuleId *string `mandatory:"true" contributesTo:"path" name:"retentionRuleId"`

    // Request object for updating the retention rule.
    UpdateRetentionRuleDetails `contributesTo:"body"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateRetentionRuleRequest) BinaryRequestBody

func (request UpdateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRetentionRuleRequest) HTTPRequest

func (request UpdateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRetentionRuleRequest) ReplaceMandatoryParamInPath

func (request UpdateRetentionRuleRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (UpdateRetentionRuleRequest) RetryPolicy

func (request UpdateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRetentionRuleRequest) String

func (request UpdateRetentionRuleRequest) String() string

func (UpdateRetentionRuleRequest) ValidateEnumValue

func (request UpdateRetentionRuleRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateRetentionRuleResponse

UpdateRetentionRuleResponse wrapper for the UpdateRetentionRule operation

type UpdateRetentionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RetentionRule instance
    RetentionRule `presentIn:"body"`

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The entity tag (ETag) for the retention rule that was updated.
    Etag *string `presentIn:"header" name:"etag"`
}

func (UpdateRetentionRuleResponse) HTTPResponse

func (response UpdateRetentionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRetentionRuleResponse) String

func (response UpdateRetentionRuleResponse) String() string

type UploadPartRequest

UploadPartRequest wrapper for the UploadPart operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/objectstorage/UploadPart.go.html to see an example of how to use UploadPartRequest.

type UploadPartRequest struct {

    // The Object Storage namespace used for the request.
    NamespaceName *string `mandatory:"true" contributesTo:"path" name:"namespaceName"`

    // The name of the bucket. Avoid entering confidential information.
    // Example: `my-new-bucket1`
    BucketName *string `mandatory:"true" contributesTo:"path" name:"bucketName"`

    // The name of the object. Avoid entering confidential information.
    // Example: `test/object1.log`
    ObjectName *string `mandatory:"true" contributesTo:"path" name:"objectName"`

    // The upload ID for a multipart upload.
    UploadId *string `mandatory:"true" contributesTo:"query" name:"uploadId"`

    // The part number that identifies the object part currently being uploaded.
    UploadPartNum *int `mandatory:"true" contributesTo:"query" name:"uploadPartNum"`

    // The content length of the body.
    ContentLength *int64 `mandatory:"false" contributesTo:"header" name:"Content-Length"`

    // The part being uploaded to the Object Storage service.
    UploadPartBody io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"`

    // The client request ID for tracing.
    OpcClientRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-client-request-id"`

    // The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of
    // the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload
    // the resource.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The entity tag (ETag) to avoid matching. The only valid value is '*', which indicates that the request should
    // fail if the resource already exists.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-match"`

    // A value of `100-continue` requests preliminary verification of the request method, path, and headers before the request body is sent.
    // If no error results from such verification, the server will send a 100 (Continue) interim response to indicate readiness for the request body.
    // The only allowed value for this parameter is "100-Continue" (case-insensitive).
    Expect *string `mandatory:"false" contributesTo:"header" name:"Expect"`

    // The optional base-64 header that defines the encoded MD5 hash of the body. If the optional Content-MD5 header is present, Object
    // Storage performs an integrity check on the body of the HTTP request by computing the MD5 hash for the body and comparing it to the
    // MD5 hash supplied in the header. If the two hashes do not match, the object is rejected and an HTTP-400 Unmatched Content MD5 error
    // is returned with the message:
    // "The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)"
    ContentMD5 *string `mandatory:"false" contributesTo:"header" name:"Content-MD5"`

    // The optional header that specifies "AES256" as the encryption algorithm. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerAlgorithm *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-algorithm"`

    // The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
    // decrypt the data. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKey *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key"`

    // The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This
    // value is used to check the integrity of the encryption key. For more information, see
    // Using Your Own Keys for Server-Side Encryption (https://docs.cloud.oracle.com/Content/Object/Tasks/usingyourencryptionkeys.htm).
    OpcSseCustomerKeySha256 *string `mandatory:"false" contributesTo:"header" name:"opc-sse-customer-key-sha256"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a master encryption key used to call the Key
    // Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
    OpcSseKmsKeyId *string `mandatory:"false" contributesTo:"header" name:"opc-sse-kms-key-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UploadPartRequest) BinaryRequestBody

func (request UploadPartRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UploadPartRequest) HTTPRequest

func (request UploadPartRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UploadPartRequest) ReplaceMandatoryParamInPath

func (request UploadPartRequest) ReplaceMandatoryParamInPath(client *common.BaseClient, mandatoryParamMap map[string][]common.TemplateParamForPerRealmEndpoint)

ReplaceMandatoryParamInPath replaces the mandatory parameter in the path with the value provided. Not all services are supporting this feature and this method will be a no-op for those services.

func (UploadPartRequest) RetryPolicy

func (request UploadPartRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UploadPartRequest) String

func (request UploadPartRequest) String() string

func (UploadPartRequest) ValidateEnumValue

func (request UploadPartRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UploadPartResponse

UploadPartResponse wrapper for the UploadPart operation

type UploadPartResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.
    OpcClientRequestId *string `presentIn:"header" name:"opc-client-request-id"`

    // Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular
    // request, provide this request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The base64-encoded MD5 hash of the request body, as computed by the server.
    OpcContentMd5 *string `presentIn:"header" name:"opc-content-md5"`

    // The entity tag (ETag) for the object.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UploadPartResponse) HTTPResponse

func (response UploadPartResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UploadPartResponse) String

func (response UploadPartResponse) String() string

type WorkRequest

WorkRequest A description of workRequest status.

type WorkRequest struct {

    // The type of work request.
    OperationType WorkRequestOperationTypeEnum `mandatory:"false" json:"operationType,omitempty"`

    // The status of the specified work request.
    Status WorkRequestStatusEnum `mandatory:"false" json:"status,omitempty"`

    // The id of the work request.
    Id *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work
    // requests are scoped to the same compartment as the resource the work request affects.
    // If the work request affects multiple resources and those resources are not in the same compartment, the OCID of
    // the primary resource is used. For example, you can copy an object in a bucket in one compartment to a bucket in
    // another compartment. In this case, the OCID of the source compartment is used.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // Percentage of the work request completed.
    PercentComplete *float32 `mandatory:"false" json:"percentComplete"`

    // The date and time the work request was created, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The date and time the work request was started, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError The representation of WorkRequestError

type WorkRequestError struct {

    // A machine-usable code for the error that occurred. For the list of error codes,
    // see API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
    Code *string `mandatory:"false" json:"code"`

    // A human-readable description of the issue that produced the error.
    Message *string `mandatory:"false" json:"message"`

    // The time the error occurred.
    Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry The representation of WorkRequestLogEntry

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"false" json:"message"`

    // The date and time the log message was written, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestOperationTypeEnum

WorkRequestOperationTypeEnum Enum with underlying type: string

type WorkRequestOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
    WorkRequestOperationTypeCopyObject WorkRequestOperationTypeEnum = "COPY_OBJECT"
    WorkRequestOperationTypeReencrypt  WorkRequestOperationTypeEnum = "REENCRYPT"
)

func GetMappingWorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

WorkRequestResource The representation of WorkRequestResource

type WorkRequestResource struct {

    // The status of the work request.
    ActionType WorkRequestResourceActionTypeEnum `mandatory:"false" json:"actionType,omitempty"`

    // The resource type the work request affects.
    EntityType *string `mandatory:"false" json:"entityType"`

    // The resource type identifier.
    Identifier *string `mandatory:"false" json:"identifier"`

    // The URI path that you can use for a GET request to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`

    // The metadata of the resource.
    Metadata map[string]string `mandatory:"false" json:"metadata"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceActionTypeEnum

WorkRequestResourceActionTypeEnum Enum with underlying type: string

type WorkRequestResourceActionTypeEnum string

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

const (
    WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
    WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
    WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
    WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
    WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
    WorkRequestResourceActionTypeRead       WorkRequestResourceActionTypeEnum = "READ"
    WorkRequestResourceActionTypeWritten    WorkRequestResourceActionTypeEnum = "WRITTEN"
)

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestResourceMetadataKeyEnum

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

type WorkRequestResourceMetadataKeyEnum string

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

const (
    WorkRequestResourceMetadataKeyRegion    WorkRequestResourceMetadataKeyEnum = "REGION"
    WorkRequestResourceMetadataKeyNamespace WorkRequestResourceMetadataKeyEnum = "NAMESPACE"
    WorkRequestResourceMetadataKeyBucket    WorkRequestResourceMetadataKeyEnum = "BUCKET"
    WorkRequestResourceMetadataKeyObject    WorkRequestResourceMetadataKeyEnum = "OBJECT"
)

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestStatusEnum

WorkRequestStatusEnum Enum with underlying type: string

type WorkRequestStatusEnum string

Set of constants representing the allowable values for WorkRequestStatusEnum

const (
    WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestStatusCompleted  WorkRequestStatusEnum = "COMPLETED"
    WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
    WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

func GetMappingWorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

type WorkRequestSummary

WorkRequestSummary A summary of the status of a work request.

type WorkRequestSummary struct {

    // The type of work request.
    OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"false" json:"operationType,omitempty"`

    // The status of a specified work request.
    Status WorkRequestSummaryStatusEnum `mandatory:"false" json:"status,omitempty"`

    // The id of the work request.
    Id *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. Work
    // requests are scoped to the same compartment as the resource the work request affects.
    // If the work request affects multiple resources and those resources are not in the same compartment, the OCID of
    // the primary resource is used. For example, you can copy an object in a bucket in one compartment to a bucket in
    // another compartment. In this case, the OCID of the source compartment is used.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    Resources []WorkRequestResource `mandatory:"false" json:"resources"`

    // Percentage of the work request completed.
    PercentComplete *float32 `mandatory:"false" json:"percentComplete"`

    // The date and time the work request was created, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

    // The date and time the work request was started, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the work request was finished, as described in
    // RFC 3339 (https://tools.ietf.org/html/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

func (m WorkRequestSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestSummaryOperationTypeEnum

WorkRequestSummaryOperationTypeEnum Enum with underlying type: string

type WorkRequestSummaryOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum

const (
    WorkRequestSummaryOperationTypeCopyObject WorkRequestSummaryOperationTypeEnum = "COPY_OBJECT"
    WorkRequestSummaryOperationTypeReencrypt  WorkRequestSummaryOperationTypeEnum = "REENCRYPT"
)

func GetMappingWorkRequestSummaryOperationTypeEnum

func GetMappingWorkRequestSummaryOperationTypeEnum(val string) (WorkRequestSummaryOperationTypeEnum, bool)

GetMappingWorkRequestSummaryOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestSummaryOperationTypeEnumValues

func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum

type WorkRequestSummaryStatusEnum

WorkRequestSummaryStatusEnum Enum with underlying type: string

type WorkRequestSummaryStatusEnum string

Set of constants representing the allowable values for WorkRequestSummaryStatusEnum

const (
    WorkRequestSummaryStatusAccepted   WorkRequestSummaryStatusEnum = "ACCEPTED"
    WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS"
    WorkRequestSummaryStatusFailed     WorkRequestSummaryStatusEnum = "FAILED"
    WorkRequestSummaryStatusCompleted  WorkRequestSummaryStatusEnum = "COMPLETED"
    WorkRequestSummaryStatusCanceling  WorkRequestSummaryStatusEnum = "CANCELING"
    WorkRequestSummaryStatusCanceled   WorkRequestSummaryStatusEnum = "CANCELED"
)

func GetMappingWorkRequestSummaryStatusEnum

func GetMappingWorkRequestSummaryStatusEnum(val string) (WorkRequestSummaryStatusEnum, bool)

GetMappingWorkRequestSummaryStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestSummaryStatusEnumValues

func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum

Subdirectories

Name Synopsis
..
transfer Package transfer simplifies interaction with the Object Storage service by abstracting away the method used to upload objects.