oci-objectstorage 2.139.0 → 2.139.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +3 -0
- package/lib/client.js +119 -58
- package/lib/client.js.map +1 -1
- package/lib/model/bucket-summary.d.ts +7 -7
- package/lib/model/bucket.d.ts +7 -7
- package/lib/model/create-bucket-details.d.ts +7 -7
- package/lib/model/update-bucket-details.d.ts +11 -10
- package/lib/model/update-bucket-details.js.map +1 -1
- package/lib/request/put-object-request.d.ts +4 -3
- package/package.json +2 -2
|
@@ -67,13 +67,13 @@ export interface BucketSummary {
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
/**
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
* The bucket scope determines weather the bucket name must be unique within the tenancy and region (essentially the namespace) or across all tenancies in the region. The bucket scope also determines if the bucket supports S3 virtual-hosted style URL's or not.
|
|
71
|
+
* <p>
|
|
72
|
+
Allowed values:
|
|
73
|
+
* NAMESPACE: Only supports path-style bucket access, bucket name only needs to be unique within the tenancy and region.
|
|
74
|
+
* REGION: Supports both path-style and virtual-hosted URL style access, bucket name needs to be unique across all tenancies in the region.
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
77
|
"bucketScope"?: string;
|
|
78
78
|
}
|
|
79
79
|
export declare namespace BucketSummary {
|
package/lib/model/bucket.d.ts
CHANGED
|
@@ -160,13 +160,13 @@ export interface Bucket {
|
|
|
160
160
|
*/
|
|
161
161
|
"autoTiering"?: Bucket.AutoTiering;
|
|
162
162
|
/**
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
163
|
+
* The bucket scope determines weather the bucket name must be unique within the tenancy and region (essentially the namespace) or across all tenancies in the region. The bucket scope also determines if the bucket supports S3 virtual-hosted style URL's or not.
|
|
164
|
+
* <p>
|
|
165
|
+
Allowed values:
|
|
166
|
+
* NAMESPACE: Only supports path-style bucket access, bucket name only needs to be unique within the tenancy and region.
|
|
167
|
+
* REGION: Supports both path-style and virtual-hosted URL style access, bucket name needs to be unique across all tenancies in the region.
|
|
168
|
+
*
|
|
169
|
+
*/
|
|
170
170
|
"bucketScope"?: Bucket.BucketScope;
|
|
171
171
|
}
|
|
172
172
|
export declare namespace Bucket {
|
|
@@ -108,13 +108,13 @@ export interface CreateBucketDetails {
|
|
|
108
108
|
*/
|
|
109
109
|
"autoTiering"?: string;
|
|
110
110
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
* The bucket scope determines weather the bucket name must be unique within the tenancy and region (essentially the namespace) or across all tenancies in the region. The bucket scope also determines if the bucket supports S3 virtual-hosted style URL's or not.
|
|
112
|
+
* <p>
|
|
113
|
+
Allowed values:
|
|
114
|
+
* NAMESPACE: Only supports path-style bucket access, bucket name only needs to be unique within the tenancy and region.
|
|
115
|
+
* REGION: Supports both path-style and virtual-hosted URL style access, bucket name needs to be unique across all tenancies in the region.
|
|
116
|
+
*
|
|
117
|
+
*/
|
|
118
118
|
"bucketScope"?: string;
|
|
119
119
|
}
|
|
120
120
|
export declare namespace CreateBucketDetails {
|
|
@@ -106,16 +106,17 @@ export interface UpdateBucketDetails {
|
|
|
106
106
|
*/
|
|
107
107
|
"autoTiering"?: string;
|
|
108
108
|
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
109
|
+
* The bucket scope determines weather the bucket name must be unique within the tenancy and region (essentially the namespace) or across all tenancies in the region. The bucket scope also determines if the bucket supports S3 virtual-hosted style URL's or not.
|
|
110
|
+
* <p>
|
|
111
|
+
Allowed values:
|
|
112
|
+
* NAMESPACE: Only supports path-style bucket access, bucket name only needs to be unique within the tenancy and region.
|
|
113
|
+
* REGION: Supports both path-style and virtual-hosted URL style access, bucket name needs to be unique across all tenancies in the region.
|
|
114
|
+
* <p>
|
|
115
|
+
BucketScope can only be updated from NAMESPACE to REGION, it cannot be updated from REGION to NAMESPACE.
|
|
116
|
+
* Updating bucket scope is possible only if the bucket name is valid and there is no existing regionally unique
|
|
117
|
+
* bucket with the same name.
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
119
120
|
"bucketScope"?: string;
|
|
120
121
|
}
|
|
121
122
|
export declare namespace UpdateBucketDetails {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-bucket-details.js","sourceRoot":"","sources":["../../../../../lib/objectstorage/lib/model/update-bucket-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;
|
|
1
|
+
{"version":3,"file":"update-bucket-details.js","sourceRoot":"","sources":["../../../../../lib/objectstorage/lib/model/update-bucket-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAwGH,IAAiB,mBAAmB,CAsBnC;AAtBD,WAAiB,mBAAmB;IAClC,IAAY,gBAIX;IAJD,WAAY,gBAAgB;QAC1B,qDAAiC,CAAA;QACjC,6CAAyB,CAAA;QACzB,mEAA+C,CAAA;IACjD,CAAC,EAJW,gBAAgB,GAAhB,oCAAgB,KAAhB,oCAAgB,QAI3B;IAED,IAAY,UAGX;IAHD,WAAY,UAAU;QACpB,iCAAmB,CAAA;QACnB,qCAAuB,CAAA;IACzB,CAAC,EAHW,UAAU,GAAV,8BAAU,KAAV,8BAAU,QAGrB;IAED,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EAtBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAsBnC"}
|
|
@@ -120,9 +120,10 @@ export interface PutObjectRequest extends common.BaseRequest {
|
|
|
120
120
|
"opcContentSha384"?: string;
|
|
121
121
|
/**
|
|
122
122
|
* The optional Content-Type header that defines the standard MIME type format of the object. Content type defaults to
|
|
123
|
-
* 'application/octet-stream' if not specified in the PutObject call.
|
|
124
|
-
*
|
|
125
|
-
*
|
|
123
|
+
* 'application/octet-stream' if not specified in the PutObject call. In the OCI CLI, you can set this value to 'auto'
|
|
124
|
+
* to have the CLI infer the content type from the file name. Specifying values for this header has no effect on Object
|
|
125
|
+
* Storage behavior. Programs that read the object determine what to do based on the value provided. For example, you
|
|
126
|
+
* could use this header to identify and perform special operations on text only objects.
|
|
126
127
|
*
|
|
127
128
|
*/
|
|
128
129
|
"contentType"?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-objectstorage",
|
|
3
|
-
"version": "2.139.
|
|
3
|
+
"version": "2.139.2",
|
|
4
4
|
"description": "OCI NodeJS client for ObjectStorage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.139.
|
|
18
|
+
"oci-common": "2.139.2",
|
|
19
19
|
"await-semaphore": "^0.1.3",
|
|
20
20
|
"opossum": "5.0.1"
|
|
21
21
|
},
|