Documentation ¶
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, ...) (http.Request, error)
- func (request AbortMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
- func (request AbortMultipartUploadRequest) String() string
- func (request AbortMultipartUploadRequest) ValidateEnumValue() (bool, error)
- type AbortMultipartUploadResponse
- type ArchivalStateEnum
- type Bucket
- type BucketAutoTieringEnum
- type BucketPublicAccessTypeEnum
- type BucketStorageTierEnum
- type BucketSummary
- type BucketVersioningEnum
- type CancelWorkRequestRequest
- func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CancelWorkRequestRequest) String() string
- func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
- type CancelWorkRequestResponse
- type CommitMultipartUploadDetails
- type CommitMultipartUploadPartDetails
- type CommitMultipartUploadRequest
- func (request CommitMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CommitMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CommitMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
- func (request CommitMultipartUploadRequest) String() string
- func (request CommitMultipartUploadRequest) ValidateEnumValue() (bool, error)
- type CommitMultipartUploadResponse
- type CopyObjectDetails
- type CopyObjectRequest
- func (request CopyObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CopyObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CopyObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request CopyObjectRequest) String() string
- func (request CopyObjectRequest) ValidateEnumValue() (bool, error)
- type CopyObjectResponse
- type CreateBucketDetails
- type CreateBucketDetailsPublicAccessTypeEnum
- type CreateBucketDetailsStorageTierEnum
- type CreateBucketDetailsVersioningEnum
- type CreateBucketRequest
- func (request CreateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateBucketRequest) String() string
- func (request CreateBucketRequest) ValidateEnumValue() (bool, error)
- type CreateBucketResponse
- type CreateMultipartUploadDetails
- type CreateMultipartUploadRequest
- func (request CreateMultipartUploadRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateMultipartUploadRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateMultipartUploadRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateMultipartUploadRequest) String() string
- func (request CreateMultipartUploadRequest) ValidateEnumValue() (bool, error)
- type CreateMultipartUploadResponse
- type CreatePreauthenticatedRequestDetails
- type CreatePreauthenticatedRequestDetailsAccessTypeEnum
- type CreatePreauthenticatedRequestRequest
- func (request CreatePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreatePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreatePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request CreatePreauthenticatedRequestRequest) String() string
- func (request CreatePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
- type CreatePreauthenticatedRequestResponse
- type CreateReplicationPolicyDetails
- type CreateReplicationPolicyRequest
- func (request CreateReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateReplicationPolicyRequest) String() string
- func (request CreateReplicationPolicyRequest) ValidateEnumValue() (bool, error)
- type CreateReplicationPolicyResponse
- type CreateRetentionRuleDetails
- type CreateRetentionRuleRequest
- func (request CreateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request CreateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateRetentionRuleRequest) String() string
- func (request CreateRetentionRuleRequest) ValidateEnumValue() (bool, error)
- type CreateRetentionRuleResponse
- type DeleteBucketRequest
- func (request DeleteBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteBucketRequest) String() string
- func (request DeleteBucketRequest) ValidateEnumValue() (bool, error)
- type DeleteBucketResponse
- type DeleteObjectLifecyclePolicyRequest
- func (request DeleteObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteObjectLifecyclePolicyRequest) String() string
- func (request DeleteObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
- type DeleteObjectLifecyclePolicyResponse
- type DeleteObjectRequest
- func (request DeleteObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteObjectRequest) String() string
- func (request DeleteObjectRequest) ValidateEnumValue() (bool, error)
- type DeleteObjectResponse
- type DeletePreauthenticatedRequestRequest
- func (request DeletePreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeletePreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeletePreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request DeletePreauthenticatedRequestRequest) String() string
- func (request DeletePreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
- type DeletePreauthenticatedRequestResponse
- type DeleteReplicationPolicyRequest
- func (request DeleteReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteReplicationPolicyRequest) String() string
- func (request DeleteReplicationPolicyRequest) ValidateEnumValue() (bool, error)
- type DeleteReplicationPolicyResponse
- type DeleteRetentionRuleRequest
- func (request DeleteRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request DeleteRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteRetentionRuleRequest) String() string
- func (request DeleteRetentionRuleRequest) ValidateEnumValue() (bool, error)
- type DeleteRetentionRuleResponse
- type Duration
- type DurationTimeUnitEnum
- type GetBucketFieldsEnum
- type GetBucketRequest
- func (request GetBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request GetBucketRequest) String() string
- func (request GetBucketRequest) ValidateEnumValue() (bool, error)
- type GetBucketResponse
- type GetNamespaceMetadataRequest
- func (request GetNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy
- func (request GetNamespaceMetadataRequest) String() string
- func (request GetNamespaceMetadataRequest) ValidateEnumValue() (bool, error)
- type GetNamespaceMetadataResponse
- type GetNamespaceRequest
- func (request GetNamespaceRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetNamespaceRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetNamespaceRequest) RetryPolicy() *common.RetryPolicy
- func (request GetNamespaceRequest) String() string
- func (request GetNamespaceRequest) ValidateEnumValue() (bool, error)
- type GetNamespaceResponse
- type GetObjectArchivalStateEnum
- type GetObjectLifecyclePolicyRequest
- func (request GetObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request GetObjectLifecyclePolicyRequest) String() string
- func (request GetObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
- type GetObjectLifecyclePolicyResponse
- type GetObjectRequest
- func (request GetObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request GetObjectRequest) String() string
- func (request GetObjectRequest) ValidateEnumValue() (bool, error)
- type GetObjectResponse
- type GetObjectStorageTierEnum
- type GetPreauthenticatedRequestRequest
- func (request GetPreauthenticatedRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetPreauthenticatedRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetPreauthenticatedRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetPreauthenticatedRequestRequest) String() string
- func (request GetPreauthenticatedRequestRequest) ValidateEnumValue() (bool, error)
- type GetPreauthenticatedRequestResponse
- type GetReplicationPolicyRequest
- func (request GetReplicationPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetReplicationPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetReplicationPolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request GetReplicationPolicyRequest) String() string
- func (request GetReplicationPolicyRequest) ValidateEnumValue() (bool, error)
- type GetReplicationPolicyResponse
- type GetRetentionRuleRequest
- func (request GetRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
- func (request GetRetentionRuleRequest) String() string
- func (request GetRetentionRuleRequest) ValidateEnumValue() (bool, error)
- type GetRetentionRuleResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
- type GetWorkRequestResponse
- type HeadBucketRequest
- func (request HeadBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request HeadBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request HeadBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request HeadBucketRequest) String() string
- func (request HeadBucketRequest) ValidateEnumValue() (bool, error)
- type HeadBucketResponse
- type HeadObjectArchivalStateEnum
- type HeadObjectRequest
- func (request HeadObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request HeadObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request HeadObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request HeadObjectRequest) String() string
- func (request HeadObjectRequest) ValidateEnumValue() (bool, error)
- type HeadObjectResponse
- type HeadObjectStorageTierEnum
- type ListBucketsFieldsEnum
- type ListBucketsRequest
- func (request ListBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListBucketsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListBucketsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListBucketsRequest) String() string
- func (request ListBucketsRequest) ValidateEnumValue() (bool, error)
- type ListBucketsResponse
- type ListMultipartUploadPartsRequest
- func (request ListMultipartUploadPartsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListMultipartUploadPartsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListMultipartUploadPartsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListMultipartUploadPartsRequest) String() string
- func (request ListMultipartUploadPartsRequest) ValidateEnumValue() (bool, error)
- type ListMultipartUploadPartsResponse
- type ListMultipartUploadsRequest
- func (request ListMultipartUploadsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListMultipartUploadsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListMultipartUploadsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListMultipartUploadsRequest) String() string
- func (request ListMultipartUploadsRequest) ValidateEnumValue() (bool, error)
- type ListMultipartUploadsResponse
- type ListObjectVersionsFieldsEnum
- type ListObjectVersionsRequest
- func (request ListObjectVersionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListObjectVersionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListObjectVersionsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListObjectVersionsRequest) String() string
- func (request ListObjectVersionsRequest) ValidateEnumValue() (bool, error)
- type ListObjectVersionsResponse
- type ListObjects
- type ListObjectsRequest
- func (request ListObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListObjectsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListObjectsRequest) String() string
- func (request ListObjectsRequest) ValidateEnumValue() (bool, error)
- type ListObjectsResponse
- type ListPreauthenticatedRequestsRequest
- func (request ListPreauthenticatedRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListPreauthenticatedRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListPreauthenticatedRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListPreauthenticatedRequestsRequest) String() string
- func (request ListPreauthenticatedRequestsRequest) ValidateEnumValue() (bool, error)
- type ListPreauthenticatedRequestsResponse
- type ListReplicationPoliciesRequest
- func (request ListReplicationPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListReplicationPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListReplicationPoliciesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListReplicationPoliciesRequest) String() string
- func (request ListReplicationPoliciesRequest) ValidateEnumValue() (bool, error)
- type ListReplicationPoliciesResponse
- type ListReplicationSourcesRequest
- func (request ListReplicationSourcesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListReplicationSourcesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListReplicationSourcesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListReplicationSourcesRequest) String() string
- func (request ListReplicationSourcesRequest) ValidateEnumValue() (bool, error)
- type ListReplicationSourcesResponse
- type ListRetentionRulesRequest
- func (request ListRetentionRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListRetentionRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListRetentionRulesRequest) RetryPolicy() *common.RetryPolicy
- func (request ListRetentionRulesRequest) String() string
- func (request ListRetentionRulesRequest) ValidateEnumValue() (bool, error)
- type ListRetentionRulesResponse
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestLogsResponse
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
- type ListWorkRequestsResponse
- type MakeBucketWritableRequest
- func (request MakeBucketWritableRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request MakeBucketWritableRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request MakeBucketWritableRequest) RetryPolicy() *common.RetryPolicy
- func (request MakeBucketWritableRequest) String() string
- func (request MakeBucketWritableRequest) ValidateEnumValue() (bool, error)
- type MakeBucketWritableResponse
- type MultipartUpload
- type MultipartUploadPartSummary
- type NamespaceMetadata
- type ObjectLifecyclePolicy
- type ObjectLifecycleRule
- type ObjectLifecycleRuleTimeUnitEnum
- type ObjectNameFilter
- type ObjectStorageClient
- 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) 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
- type ObjectVersionCollection
- type ObjectVersionSummary
- type PatternDetails
- type PreauthenticatedRequest
- type PreauthenticatedRequestAccessTypeEnum
- type PreauthenticatedRequestBucketListingActionEnum
- type PreauthenticatedRequestSummary
- type PreauthenticatedRequestSummaryAccessTypeEnum
- type PutObjectLifecyclePolicyDetails
- type PutObjectLifecyclePolicyRequest
- func (request PutObjectLifecyclePolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request PutObjectLifecyclePolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request PutObjectLifecyclePolicyRequest) RetryPolicy() *common.RetryPolicy
- func (request PutObjectLifecyclePolicyRequest) String() string
- func (request PutObjectLifecyclePolicyRequest) ValidateEnumValue() (bool, error)
- type PutObjectLifecyclePolicyResponse
- type PutObjectRequest
- func (request PutObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request PutObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request PutObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request PutObjectRequest) String() string
- func (request PutObjectRequest) ValidateEnumValue() (bool, error)
- type PutObjectResponse
- type PutObjectStorageTierEnum
- type ReencryptBucketRequest
- func (request ReencryptBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ReencryptBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ReencryptBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request ReencryptBucketRequest) String() string
- func (request ReencryptBucketRequest) ValidateEnumValue() (bool, error)
- type ReencryptBucketResponse
- type ReencryptObjectDetails
- type ReencryptObjectRequest
- func (request ReencryptObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ReencryptObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request ReencryptObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request ReencryptObjectRequest) String() string
- func (request ReencryptObjectRequest) ValidateEnumValue() (bool, error)
- type ReencryptObjectResponse
- type RenameObjectDetails
- type RenameObjectRequest
- func (request RenameObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RenameObjectRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RenameObjectRequest) RetryPolicy() *common.RetryPolicy
- func (request RenameObjectRequest) String() string
- func (request RenameObjectRequest) ValidateEnumValue() (bool, error)
- type RenameObjectResponse
- type ReplicationPolicy
- type ReplicationPolicyStatusEnum
- type ReplicationPolicySummary
- type ReplicationPolicySummaryStatusEnum
- type ReplicationSource
- type RestoreObjectsDetails
- type RestoreObjectsRequest
- func (request RestoreObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request RestoreObjectsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request RestoreObjectsRequest) RetryPolicy() *common.RetryPolicy
- func (request RestoreObjectsRequest) String() string
- func (request RestoreObjectsRequest) ValidateEnumValue() (bool, error)
- type RestoreObjectsResponse
- type RetentionRule
- type RetentionRuleCollection
- type RetentionRuleDetails
- type RetentionRuleSummary
- type SseCustomerKeyDetails
- type SseCustomerKeyDetailsAlgorithmEnum
- type StorageTierEnum
- type UpdateBucketDetails
- type UpdateBucketDetailsPublicAccessTypeEnum
- type UpdateBucketDetailsVersioningEnum
- type UpdateBucketRequest
- func (request UpdateBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateBucketRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateBucketRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateBucketRequest) String() string
- func (request UpdateBucketRequest) ValidateEnumValue() (bool, error)
- type UpdateBucketResponse
- type UpdateNamespaceMetadataDetails
- type UpdateNamespaceMetadataRequest
- func (request UpdateNamespaceMetadataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateNamespaceMetadataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateNamespaceMetadataRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateNamespaceMetadataRequest) String() string
- func (request UpdateNamespaceMetadataRequest) ValidateEnumValue() (bool, error)
- type UpdateNamespaceMetadataResponse
- type UpdateObjectStorageTierDetails
- type UpdateObjectStorageTierRequest
- func (request UpdateObjectStorageTierRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateObjectStorageTierRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateObjectStorageTierRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateObjectStorageTierRequest) String() string
- func (request UpdateObjectStorageTierRequest) ValidateEnumValue() (bool, error)
- type UpdateObjectStorageTierResponse
- type UpdateRetentionRuleDetails
- type UpdateRetentionRuleRequest
- func (request UpdateRetentionRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateRetentionRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UpdateRetentionRuleRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateRetentionRuleRequest) String() string
- func (request UpdateRetentionRuleRequest) ValidateEnumValue() (bool, error)
- type UpdateRetentionRuleResponse
- type UploadPartRequest
- func (request UploadPartRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UploadPartRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error)
- func (request UploadPartRequest) RetryPolicy() *common.RetryPolicy
- func (request UploadPartRequest) String() string
- func (request UploadPartRequest) ValidateEnumValue() (bool, error)
- type UploadPartResponse
- type WorkRequest
- type WorkRequestError
- type WorkRequestLogEntry
- type WorkRequestOperationTypeEnum
- type WorkRequestResource
- type WorkRequestResourceActionTypeEnum
- type WorkRequestResourceMetadataKeyEnum
- type WorkRequestStatusEnum
- type WorkRequestSummary
- type WorkRequestSummaryOperationTypeEnum
- type WorkRequestSummaryStatusEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Types ¶
type 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 }
AbortMultipartUploadRequest wrapper for the AbortMultipartUpload operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/AbortMultipartUpload.go.html to see an example of how to use AbortMultipartUploadRequest.
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) 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 ¶
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"` }
AbortMultipartUploadResponse wrapper for the AbortMultipartUpload operation
func (AbortMultipartUploadResponse) HTTPResponse ¶
func (response AbortMultipartUploadResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (AbortMultipartUploadResponse) String ¶
func (response AbortMultipartUploadResponse) String() string
type ArchivalStateEnum ¶
type ArchivalStateEnum string
ArchivalStateEnum Enum with underlying type: string
const ( ArchivalStateArchived ArchivalStateEnum = "Archived" ArchivalStateRestoring ArchivalStateEnum = "Restoring" ArchivalStateRestored ArchivalStateEnum = "Restored" )
Set of constants representing the allowable values for ArchivalStateEnum
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 ¶
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"` }
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).
func (Bucket) ValidateEnumValue ¶
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 ¶
type BucketAutoTieringEnum string
BucketAutoTieringEnum Enum with underlying type: string
const ( BucketAutoTieringDisabled BucketAutoTieringEnum = "Disabled" BucketAutoTieringInfrequentaccess BucketAutoTieringEnum = "InfrequentAccess" )
Set of constants representing the allowable values for BucketAutoTieringEnum
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 ¶
type BucketPublicAccessTypeEnum string
BucketPublicAccessTypeEnum Enum with underlying type: string
const ( BucketPublicAccessTypeNopublicaccess BucketPublicAccessTypeEnum = "NoPublicAccess" BucketPublicAccessTypeObjectread BucketPublicAccessTypeEnum = "ObjectRead" BucketPublicAccessTypeObjectreadwithoutlist BucketPublicAccessTypeEnum = "ObjectReadWithoutList" )
Set of constants representing the allowable values for BucketPublicAccessTypeEnum
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 ¶
type BucketStorageTierEnum string
BucketStorageTierEnum Enum with underlying type: string
const ( BucketStorageTierStandard BucketStorageTierEnum = "Standard" BucketStorageTierArchive BucketStorageTierEnum = "Archive" )
Set of constants representing the allowable values for BucketStorageTierEnum
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 ¶
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"` }
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).
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 ¶
type BucketVersioningEnum string
BucketVersioningEnum Enum with underlying type: string
const ( BucketVersioningEnabled BucketVersioningEnum = "Enabled" BucketVersioningSuspended BucketVersioningEnum = "Suspended" BucketVersioningDisabled BucketVersioningEnum = "Disabled" )
Set of constants representing the allowable values for BucketVersioningEnum
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 ¶
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 }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
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) 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 ¶
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"` }
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
func (CancelWorkRequestResponse) HTTPResponse ¶
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CancelWorkRequestResponse) String ¶
func (response CancelWorkRequestResponse) String() string
type CommitMultipartUploadDetails ¶
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"` }
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).
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 ¶
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"` }
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).
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 ¶
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 }
CommitMultipartUploadRequest wrapper for the CommitMultipartUpload operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CommitMultipartUpload.go.html to see an example of how to use CommitMultipartUploadRequest.
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) 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 ¶
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"` }
CommitMultipartUploadResponse wrapper for the CommitMultipartUpload operation
func (CommitMultipartUploadResponse) HTTPResponse ¶
func (response CommitMultipartUploadResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CommitMultipartUploadResponse) String ¶
func (response CommitMultipartUploadResponse) String() string
type CopyObjectDetails ¶
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"` }
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).
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 ¶
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 }
CopyObjectRequest wrapper for the CopyObject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CopyObject.go.html to see an example of how to use CopyObjectRequest.
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) 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 ¶
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"` }
CopyObjectResponse wrapper for the CopyObject operation
func (CopyObjectResponse) HTTPResponse ¶
func (response CopyObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CopyObjectResponse) String ¶
func (response CopyObjectResponse) String() string
type CreateBucketDetails ¶
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"` }
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).
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 ¶
type CreateBucketDetailsPublicAccessTypeEnum string
CreateBucketDetailsPublicAccessTypeEnum Enum with underlying type: string
const ( CreateBucketDetailsPublicAccessTypeNopublicaccess CreateBucketDetailsPublicAccessTypeEnum = "NoPublicAccess" CreateBucketDetailsPublicAccessTypeObjectread CreateBucketDetailsPublicAccessTypeEnum = "ObjectRead" CreateBucketDetailsPublicAccessTypeObjectreadwithoutlist CreateBucketDetailsPublicAccessTypeEnum = "ObjectReadWithoutList" )
Set of constants representing the allowable values for CreateBucketDetailsPublicAccessTypeEnum
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 ¶
type CreateBucketDetailsStorageTierEnum string
CreateBucketDetailsStorageTierEnum Enum with underlying type: string
const ( CreateBucketDetailsStorageTierStandard CreateBucketDetailsStorageTierEnum = "Standard" CreateBucketDetailsStorageTierArchive CreateBucketDetailsStorageTierEnum = "Archive" )
Set of constants representing the allowable values for CreateBucketDetailsStorageTierEnum
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 ¶
type CreateBucketDetailsVersioningEnum string
CreateBucketDetailsVersioningEnum Enum with underlying type: string
const ( CreateBucketDetailsVersioningEnabled CreateBucketDetailsVersioningEnum = "Enabled" CreateBucketDetailsVersioningDisabled CreateBucketDetailsVersioningEnum = "Disabled" )
Set of constants representing the allowable values for CreateBucketDetailsVersioningEnum
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 ¶
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 }
CreateBucketRequest wrapper for the CreateBucket operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CreateBucket.go.html to see an example of how to use CreateBucketRequest.
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) 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 ¶
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"` }
CreateBucketResponse wrapper for the CreateBucket operation
func (CreateBucketResponse) HTTPResponse ¶
func (response CreateBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateBucketResponse) String ¶
func (response CreateBucketResponse) String() string
type CreateMultipartUploadDetails ¶
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"` }
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).
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 ¶
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 }
CreateMultipartUploadRequest wrapper for the CreateMultipartUpload operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CreateMultipartUpload.go.html to see an example of how to use CreateMultipartUploadRequest.
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) 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 ¶
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"` }
CreateMultipartUploadResponse wrapper for the CreateMultipartUpload operation
func (CreateMultipartUploadResponse) HTTPResponse ¶
func (response CreateMultipartUploadResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateMultipartUploadResponse) String ¶
func (response CreateMultipartUploadResponse) String() string
type 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"` }
CreatePreauthenticatedRequestDetails The representation of CreatePreauthenticatedRequestDetails
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 ¶
type CreatePreauthenticatedRequestDetailsAccessTypeEnum string
CreatePreauthenticatedRequestDetailsAccessTypeEnum Enum with underlying type: string
const ( CreatePreauthenticatedRequestDetailsAccessTypeObjectread CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectRead" CreatePreauthenticatedRequestDetailsAccessTypeObjectwrite CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectWrite" CreatePreauthenticatedRequestDetailsAccessTypeObjectreadwrite CreatePreauthenticatedRequestDetailsAccessTypeEnum = "ObjectReadWrite" CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectwrite CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectWrite" CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectread CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectRead" CreatePreauthenticatedRequestDetailsAccessTypeAnyobjectreadwrite CreatePreauthenticatedRequestDetailsAccessTypeEnum = "AnyObjectReadWrite" )
Set of constants representing the allowable values for CreatePreauthenticatedRequestDetailsAccessTypeEnum
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 ¶
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 }
CreatePreauthenticatedRequestRequest wrapper for the CreatePreauthenticatedRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CreatePreauthenticatedRequest.go.html to see an example of how to use CreatePreauthenticatedRequestRequest.
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) 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 ¶
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"` }
CreatePreauthenticatedRequestResponse wrapper for the CreatePreauthenticatedRequest operation
func (CreatePreauthenticatedRequestResponse) HTTPResponse ¶
func (response CreatePreauthenticatedRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreatePreauthenticatedRequestResponse) String ¶
func (response CreatePreauthenticatedRequestResponse) String() string
type CreateReplicationPolicyDetails ¶
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"` }
CreateReplicationPolicyDetails The details to create a replication policy.
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 ¶
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 }
CreateReplicationPolicyRequest wrapper for the CreateReplicationPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CreateReplicationPolicy.go.html to see an example of how to use CreateReplicationPolicyRequest.
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) 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 ¶
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"` }
CreateReplicationPolicyResponse wrapper for the CreateReplicationPolicy operation
func (CreateReplicationPolicyResponse) HTTPResponse ¶
func (response CreateReplicationPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateReplicationPolicyResponse) String ¶
func (response CreateReplicationPolicyResponse) String() string
type CreateRetentionRuleDetails ¶
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"` }
CreateRetentionRuleDetails The details to create a retention rule.
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 ¶
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 }
CreateRetentionRuleRequest wrapper for the CreateRetentionRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/CreateRetentionRule.go.html to see an example of how to use CreateRetentionRuleRequest.
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) 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 ¶
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"` }
CreateRetentionRuleResponse wrapper for the CreateRetentionRule operation
func (CreateRetentionRuleResponse) HTTPResponse ¶
func (response CreateRetentionRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateRetentionRuleResponse) String ¶
func (response CreateRetentionRuleResponse) String() string
type 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 }
DeleteBucketRequest wrapper for the DeleteBucket operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeleteBucket.go.html to see an example of how to use DeleteBucketRequest.
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) 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 ¶
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"` }
DeleteBucketResponse wrapper for the DeleteBucket operation
func (DeleteBucketResponse) HTTPResponse ¶
func (response DeleteBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteBucketResponse) String ¶
func (response DeleteBucketResponse) String() string
type 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 }
DeleteObjectLifecyclePolicyRequest wrapper for the DeleteObjectLifecyclePolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeleteObjectLifecyclePolicy.go.html to see an example of how to use DeleteObjectLifecyclePolicyRequest.
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) 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 ¶
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"` }
DeleteObjectLifecyclePolicyResponse wrapper for the DeleteObjectLifecyclePolicy operation
func (DeleteObjectLifecyclePolicyResponse) HTTPResponse ¶
func (response DeleteObjectLifecyclePolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteObjectLifecyclePolicyResponse) String ¶
func (response DeleteObjectLifecyclePolicyResponse) String() string
type 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 }
DeleteObjectRequest wrapper for the DeleteObject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeleteObject.go.html to see an example of how to use DeleteObjectRequest.
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) 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 ¶
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"` }
DeleteObjectResponse wrapper for the DeleteObject operation
func (DeleteObjectResponse) HTTPResponse ¶
func (response DeleteObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteObjectResponse) String ¶
func (response DeleteObjectResponse) String() string
type 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 }
DeletePreauthenticatedRequestRequest wrapper for the DeletePreauthenticatedRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeletePreauthenticatedRequest.go.html to see an example of how to use DeletePreauthenticatedRequestRequest.
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) 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 ¶
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"` }
DeletePreauthenticatedRequestResponse wrapper for the DeletePreauthenticatedRequest operation
func (DeletePreauthenticatedRequestResponse) HTTPResponse ¶
func (response DeletePreauthenticatedRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeletePreauthenticatedRequestResponse) String ¶
func (response DeletePreauthenticatedRequestResponse) String() string
type 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 }
DeleteReplicationPolicyRequest wrapper for the DeleteReplicationPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeleteReplicationPolicy.go.html to see an example of how to use DeleteReplicationPolicyRequest.
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) 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 ¶
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"` }
DeleteReplicationPolicyResponse wrapper for the DeleteReplicationPolicy operation
func (DeleteReplicationPolicyResponse) HTTPResponse ¶
func (response DeleteReplicationPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteReplicationPolicyResponse) String ¶
func (response DeleteReplicationPolicyResponse) String() string
type 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 }
DeleteRetentionRuleRequest wrapper for the DeleteRetentionRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/DeleteRetentionRule.go.html to see an example of how to use DeleteRetentionRuleRequest.
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) 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 ¶
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"` }
DeleteRetentionRuleResponse wrapper for the DeleteRetentionRule operation
func (DeleteRetentionRuleResponse) HTTPResponse ¶
func (response DeleteRetentionRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteRetentionRuleResponse) String ¶
func (response DeleteRetentionRuleResponse) String() string
type Duration ¶
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"` }
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.
func (Duration) ValidateEnumValue ¶
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 ¶
type DurationTimeUnitEnum string
DurationTimeUnitEnum Enum with underlying type: string
const ( DurationTimeUnitYears DurationTimeUnitEnum = "YEARS" DurationTimeUnitDays DurationTimeUnitEnum = "DAYS" )
Set of constants representing the allowable values for DurationTimeUnitEnum
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 ¶
type GetBucketFieldsEnum string
GetBucketFieldsEnum Enum with underlying type: string
const ( GetBucketFieldsApproximatecount GetBucketFieldsEnum = "approximateCount" GetBucketFieldsApproximatesize GetBucketFieldsEnum = "approximateSize" GetBucketFieldsAutotiering GetBucketFieldsEnum = "autoTiering" )
Set of constants representing the allowable values for GetBucketFieldsEnum
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 ¶
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 }
GetBucketRequest wrapper for the GetBucket operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetBucket.go.html to see an example of how to use GetBucketRequest.
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) 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 ¶
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 }
GetBucketResponse wrapper for the GetBucket operation
func (GetBucketResponse) HTTPResponse ¶
func (response GetBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBucketResponse) String ¶
func (response GetBucketResponse) String() string
type 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 }
GetNamespaceMetadataRequest wrapper for the GetNamespaceMetadata operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetNamespaceMetadata.go.html to see an example of how to use GetNamespaceMetadataRequest.
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) 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 ¶
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"` }
GetNamespaceMetadataResponse wrapper for the GetNamespaceMetadata operation
func (GetNamespaceMetadataResponse) HTTPResponse ¶
func (response GetNamespaceMetadataResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetNamespaceMetadataResponse) String ¶
func (response GetNamespaceMetadataResponse) String() string
type 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 }
GetNamespaceRequest wrapper for the GetNamespace operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetNamespace.go.html to see an example of how to use GetNamespaceRequest.
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) 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 ¶
type GetNamespaceResponse struct { // The underlying http response RawResponse *http.Response // The string instance Value *string `presentIn:"body"` }
GetNamespaceResponse wrapper for the GetNamespace operation
func (GetNamespaceResponse) HTTPResponse ¶
func (response GetNamespaceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetNamespaceResponse) String ¶
func (response GetNamespaceResponse) String() string
type GetObjectArchivalStateEnum ¶
type GetObjectArchivalStateEnum string
GetObjectArchivalStateEnum Enum with underlying type: string
const ( GetObjectArchivalStateArchived GetObjectArchivalStateEnum = "Archived" GetObjectArchivalStateRestoring GetObjectArchivalStateEnum = "Restoring" GetObjectArchivalStateRestored GetObjectArchivalStateEnum = "Restored" )
Set of constants representing the allowable values for GetObjectArchivalStateEnum
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 ¶
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 }
GetObjectLifecyclePolicyRequest wrapper for the GetObjectLifecyclePolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetObjectLifecyclePolicy.go.html to see an example of how to use GetObjectLifecyclePolicyRequest.
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) 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 ¶
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"` }
GetObjectLifecyclePolicyResponse wrapper for the GetObjectLifecyclePolicy operation
func (GetObjectLifecyclePolicyResponse) HTTPResponse ¶
func (response GetObjectLifecyclePolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetObjectLifecyclePolicyResponse) String ¶
func (response GetObjectLifecyclePolicyResponse) String() string
type 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 }
GetObjectRequest wrapper for the GetObject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetObject.go.html to see an example of how to use GetObjectRequest.
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) 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 ¶
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 requested 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 }
GetObjectResponse wrapper for the GetObject operation
func (GetObjectResponse) HTTPResponse ¶
func (response GetObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetObjectResponse) String ¶
func (response GetObjectResponse) String() string
type GetObjectStorageTierEnum ¶
type GetObjectStorageTierEnum string
GetObjectStorageTierEnum Enum with underlying type: string
const ( GetObjectStorageTierStandard GetObjectStorageTierEnum = "Standard" GetObjectStorageTierInfrequentaccess GetObjectStorageTierEnum = "InfrequentAccess" GetObjectStorageTierArchive GetObjectStorageTierEnum = "Archive" )
Set of constants representing the allowable values for GetObjectStorageTierEnum
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 ¶
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 }
GetPreauthenticatedRequestRequest wrapper for the GetPreauthenticatedRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetPreauthenticatedRequest.go.html to see an example of how to use GetPreauthenticatedRequestRequest.
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) 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 ¶
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"` }
GetPreauthenticatedRequestResponse wrapper for the GetPreauthenticatedRequest operation
func (GetPreauthenticatedRequestResponse) HTTPResponse ¶
func (response GetPreauthenticatedRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetPreauthenticatedRequestResponse) String ¶
func (response GetPreauthenticatedRequestResponse) String() string
type 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 }
GetReplicationPolicyRequest wrapper for the GetReplicationPolicy operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetReplicationPolicy.go.html to see an example of how to use GetReplicationPolicyRequest.
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) 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 ¶
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"` }
GetReplicationPolicyResponse wrapper for the GetReplicationPolicy operation
func (GetReplicationPolicyResponse) HTTPResponse ¶
func (response GetReplicationPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetReplicationPolicyResponse) String ¶
func (response GetReplicationPolicyResponse) String() string
type 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 }
GetRetentionRuleRequest wrapper for the GetRetentionRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetRetentionRule.go.html to see an example of how to use GetRetentionRuleRequest.
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) 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 ¶
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"` }
GetRetentionRuleResponse wrapper for the GetRetentionRule operation
func (GetRetentionRuleResponse) HTTPResponse ¶
func (response GetRetentionRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetRetentionRuleResponse) String ¶
func (response GetRetentionRuleResponse) String() string
type 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 }
GetWorkRequestRequest wrapper for the GetWorkRequest operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
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) 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 ¶
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"` }
GetWorkRequestResponse wrapper for the GetWorkRequest operation
func (GetWorkRequestResponse) HTTPResponse ¶
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetWorkRequestResponse) String ¶
func (response GetWorkRequestResponse) String() string
type 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 }
HeadBucketRequest wrapper for the HeadBucket operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/HeadBucket.go.html to see an example of how to use HeadBucketRequest.
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) 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 ¶
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 }
HeadBucketResponse wrapper for the HeadBucket operation
func (HeadBucketResponse) HTTPResponse ¶
func (response HeadBucketResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (HeadBucketResponse) String ¶
func (response HeadBucketResponse) String() string
type HeadObjectArchivalStateEnum ¶
type HeadObjectArchivalStateEnum string
HeadObjectArchivalStateEnum Enum with underlying type: string
const ( HeadObjectArchivalStateArchived HeadObjectArchivalStateEnum = "Archived" HeadObjectArchivalStateRestoring HeadObjectArchivalStateEnum = "Restoring" HeadObjectArchivalStateRestored HeadObjectArchivalStateEnum = "Restored" )
Set of constants representing the allowable values for HeadObjectArchivalStateEnum
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 ¶
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 }
HeadObjectRequest wrapper for the HeadObject operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/HeadObject.go.html to see an example of how to use HeadObjectRequest.
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) 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 ¶
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 }
HeadObjectResponse wrapper for the HeadObject operation
func (HeadObjectResponse) HTTPResponse ¶
func (response HeadObjectResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (HeadObjectResponse) String ¶
func (response HeadObjectResponse) String() string
type HeadObjectStorageTierEnum ¶
type HeadObjectStorageTierEnum string
HeadObjectStorageTierEnum Enum with underlying type: string
const ( HeadObjectStorageTierStandard HeadObjectStorageTierEnum = "Standard" HeadObjectStorageTierInfrequentaccess HeadObjectStorageTierEnum = "InfrequentAccess" HeadObjectStorageTierArchive HeadObjectStorageTierEnum = "Archive" )
Set of constants representing the allowable values for HeadObjectStorageTierEnum
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 ¶
type ListBucketsFieldsEnum string
ListBucketsFieldsEnum Enum with underlying type: string
const (
ListBucketsFieldsTags ListBucketsFieldsEnum = "tags"
)
Set of constants representing the allowable values for ListBucketsFieldsEnum
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 ¶
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 }
ListBucketsRequest wrapper for the ListBuckets operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListBuckets.go.html to see an example of how to use ListBucketsRequest.
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) 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 ¶
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"` }
ListBucketsResponse wrapper for the ListBuckets operation
func (ListBucketsResponse) HTTPResponse ¶
func (response ListBucketsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListBucketsResponse) String ¶
func (response ListBucketsResponse) String() string
type 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 }
ListMultipartUploadPartsRequest wrapper for the ListMultipartUploadParts operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListMultipartUploadParts.go.html to see an example of how to use ListMultipartUploadPartsRequest.
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) 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 ¶
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"` }
ListMultipartUploadPartsResponse wrapper for the ListMultipartUploadParts operation
func (ListMultipartUploadPartsResponse) HTTPResponse ¶
func (response ListMultipartUploadPartsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListMultipartUploadPartsResponse) String ¶
func (response ListMultipartUploadPartsResponse) String() string
type 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 }
ListMultipartUploadsRequest wrapper for the ListMultipartUploads operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListMultipartUploads.go.html to see an example of how to use ListMultipartUploadsRequest.
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) 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 ¶
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"` }
ListMultipartUploadsResponse wrapper for the ListMultipartUploads operation
func (ListMultipartUploadsResponse) HTTPResponse ¶
func (response ListMultipartUploadsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListMultipartUploadsResponse) String ¶
func (response ListMultipartUploadsResponse) String() string
type ListObjectVersionsFieldsEnum ¶
type ListObjectVersionsFieldsEnum string
ListObjectVersionsFieldsEnum Enum with underlying type: string
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" )
Set of constants representing the allowable values for ListObjectVersionsFieldsEnum
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 ¶
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 }
ListObjectVersionsRequest wrapper for the ListObjectVersions operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListObjectVersions.go.html to see an example of how to use ListObjectVersionsRequest.
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) 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 ¶
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"` }
ListObjectVersionsResponse wrapper for the ListObjectVersions operation
func (ListObjectVersionsResponse) HTTPResponse ¶
func (response ListObjectVersionsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListObjectVersionsResponse) String ¶
func (response ListObjectVersionsResponse) String() string
type ListObjects ¶
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"` }
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).
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 ¶
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 }
ListObjectsRequest wrapper for the ListObjects operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListObjects.go.html to see an example of how to use ListObjectsRequest.
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) 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 ¶
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"` }
ListObjectsResponse wrapper for the ListObjects operation
func (ListObjectsResponse) HTTPResponse ¶
func (response ListObjectsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListObjectsResponse) String ¶
func (response ListObjectsResponse) String() string
type 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 }
ListPreauthenticatedRequestsRequest wrapper for the ListPreauthenticatedRequests operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListPreauthenticatedRequests.go.html to see an example of how to use ListPreauthenticatedRequestsRequest.
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) 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 ¶
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"` }
ListPreauthenticatedRequestsResponse wrapper for the ListPreauthenticatedRequests operation
func (ListPreauthenticatedRequestsResponse) HTTPResponse ¶
func (response ListPreauthenticatedRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListPreauthenticatedRequestsResponse) String ¶
func (response ListPreauthenticatedRequestsResponse) String() string
type 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 }
ListReplicationPoliciesRequest wrapper for the ListReplicationPolicies operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/objectstorage/ListReplicationPolicies.go.html to see an example of how to use ListReplicationPoliciesRequest.
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) 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 ¶
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-re