oci-queue 2.123.1 → 2.125.0
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 +51 -1
- package/lib/client.js +336 -7
- package/lib/client.js.map +1 -1
- package/lib/model/capability-details.d.ts +22 -0
- package/lib/model/capability-details.js +72 -0
- package/lib/model/capability-details.js.map +1 -0
- package/lib/model/consumer-group-collection.d.ts +26 -0
- package/lib/model/consumer-group-collection.js +61 -0
- package/lib/model/consumer-group-collection.js.map +1 -0
- package/lib/model/consumer-group-summary.d.ts +87 -0
- package/lib/model/consumer-group-summary.js +29 -0
- package/lib/model/consumer-group-summary.js.map +1 -0
- package/lib/model/consumer-group.d.ts +110 -0
- package/lib/model/consumer-group.js +44 -0
- package/lib/model/consumer-group.js.map +1 -0
- package/lib/model/consumer-groups-capability-details.d.ts +47 -0
- package/lib/model/consumer-groups-capability-details.js +54 -0
- package/lib/model/consumer-groups-capability-details.js.map +1 -0
- package/lib/model/create-consumer-group-details.d.ts +64 -0
- package/lib/model/create-consumer-group-details.js +29 -0
- package/lib/model/create-consumer-group-details.js.map +1 -0
- package/lib/model/create-queue-details.d.ts +5 -0
- package/lib/model/create-queue-details.js +34 -2
- package/lib/model/create-queue-details.js.map +1 -1
- package/lib/model/index.d.ts +18 -0
- package/lib/model/index.js +19 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/large-messages-capability-details.d.ts +24 -0
- package/lib/model/large-messages-capability-details.js +54 -0
- package/lib/model/large-messages-capability-details.js.map +1 -0
- package/lib/model/operation-type.d.ts +3 -0
- package/lib/model/operation-type.js +3 -0
- package/lib/model/operation-type.js.map +1 -1
- package/lib/model/purge-queue-details.d.ts +7 -0
- package/lib/model/purge-queue-details.js.map +1 -1
- package/lib/model/queue-capability.d.ts +28 -0
- package/lib/model/queue-capability.js +39 -0
- package/lib/model/queue-capability.js.map +1 -0
- package/lib/model/queue-stats.d.ts +4 -0
- package/lib/model/queue-stats.js.map +1 -1
- package/lib/model/queue-summary.d.ts +13 -0
- package/lib/model/queue-summary.js +10 -0
- package/lib/model/queue-summary.js.map +1 -1
- package/lib/model/queue.d.ts +5 -0
- package/lib/model/queue.js +34 -2
- package/lib/model/queue.js.map +1 -1
- package/lib/model/update-consumer-group-details.d.ts +61 -0
- package/lib/model/update-consumer-group-details.js +29 -0
- package/lib/model/update-consumer-group-details.js.map +1 -0
- package/lib/model/update-queue-details.d.ts +5 -0
- package/lib/model/update-queue-details.js +34 -2
- package/lib/model/update-queue-details.js.map +1 -1
- package/lib/queueadmin-waiter.d.ts +8 -0
- package/lib/queueadmin-waiter.js +12 -0
- package/lib/queueadmin-waiter.js.map +1 -1
- package/lib/request/create-consumer-group-request.d.ts +36 -0
- package/lib/request/create-consumer-group-request.js +15 -0
- package/lib/request/create-consumer-group-request.js.map +1 -0
- package/lib/request/delete-consumer-group-request.d.ts +35 -0
- package/lib/request/delete-consumer-group-request.js +15 -0
- package/lib/request/delete-consumer-group-request.js.map +1 -0
- package/lib/request/delete-message-request.d.ts +4 -0
- package/lib/request/delete-messages-request.d.ts +4 -0
- package/lib/request/get-consumer-group-request.d.ts +26 -0
- package/lib/request/get-consumer-group-request.js +15 -0
- package/lib/request/get-consumer-group-request.js.map +1 -0
- package/lib/request/get-messages-request.d.ts +4 -0
- package/lib/request/get-stats-request.d.ts +4 -0
- package/lib/request/index.d.ts +10 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-channels-request.d.ts +4 -0
- package/lib/request/list-consumer-groups-request.d.ts +62 -0
- package/lib/request/list-consumer-groups-request.js +24 -0
- package/lib/request/list-consumer-groups-request.js.map +1 -0
- package/lib/request/update-consumer-group-request.d.ts +40 -0
- package/lib/request/update-consumer-group-request.js +15 -0
- package/lib/request/update-consumer-group-request.js.map +1 -0
- package/lib/request/update-message-request.d.ts +4 -0
- package/lib/request/update-messages-request.d.ts +4 -0
- package/lib/response/create-consumer-group-response.d.ts +25 -0
- package/lib/response/create-consumer-group-response.js +15 -0
- package/lib/response/create-consumer-group-response.js.map +1 -0
- package/lib/response/delete-consumer-group-response.d.ts +25 -0
- package/lib/response/delete-consumer-group-response.js +15 -0
- package/lib/response/delete-consumer-group-response.js.map +1 -0
- package/lib/response/get-consumer-group-response.d.ts +30 -0
- package/lib/response/get-consumer-group-response.js +15 -0
- package/lib/response/get-consumer-group-response.js.map +1 -0
- package/lib/response/index.d.ts +10 -0
- package/lib/response/list-consumer-groups-response.d.ts +32 -0
- package/lib/response/list-consumer-groups-response.js +15 -0
- package/lib/response/list-consumer-groups-response.js.map +1 -0
- package/lib/response/update-consumer-group-response.d.ts +25 -0
- package/lib/response/update-consumer-group-response.js +15 -0
- package/lib/response/update-consumer-group-response.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Queue API
|
|
4
|
+
* Use the Queue API to produce and consume messages, create queues, and manage related items. For more information, see [Queue](https://docs.oracle.com/iaas/Content/queue/overview.htm).
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.QueueCapability = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Possible capabilities for a queue.
|
|
18
|
+
**/
|
|
19
|
+
var QueueCapability;
|
|
20
|
+
(function (QueueCapability) {
|
|
21
|
+
QueueCapability["ConsumerGroups"] = "CONSUMER_GROUPS";
|
|
22
|
+
QueueCapability["LargeMessages"] = "LARGE_MESSAGES";
|
|
23
|
+
/**
|
|
24
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
25
|
+
* version of the SDK.
|
|
26
|
+
*/
|
|
27
|
+
QueueCapability["UnknownValue"] = "UNKNOWN_VALUE";
|
|
28
|
+
})(QueueCapability = exports.QueueCapability || (exports.QueueCapability = {}));
|
|
29
|
+
(function (QueueCapability) {
|
|
30
|
+
function getJsonObj(obj) {
|
|
31
|
+
return obj;
|
|
32
|
+
}
|
|
33
|
+
QueueCapability.getJsonObj = getJsonObj;
|
|
34
|
+
function getDeserializedJsonObj(obj) {
|
|
35
|
+
return obj;
|
|
36
|
+
}
|
|
37
|
+
QueueCapability.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
38
|
+
})(QueueCapability = exports.QueueCapability || (exports.QueueCapability = {}));
|
|
39
|
+
//# sourceMappingURL=queue-capability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue-capability.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue-capability.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAKH;;IAEI;AACJ,IAAY,eASX;AATD,WAAY,eAAe;IACzB,qDAAkC,CAAA;IAClC,mDAAgC,CAAA;IAEhC;;;OAGG;IACH,iDAA8B,CAAA;AAChC,CAAC,EATW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAS1B;AAED,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB;QAC7C,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,0BAAU,aAEzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAoB;QACzD,OAAO,GAAG,CAAC;IACb,CAAC;IAFe,sCAAsB,yBAErC,CAAA;AACH,CAAC,EAPgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAO/B"}
|
|
@@ -21,6 +21,10 @@ export interface QueueStats {
|
|
|
21
21
|
* If channelId is present in GetStats call, the channel id will be returned in the GetStats response.
|
|
22
22
|
*/
|
|
23
23
|
"channelId"?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If consumerGroupId is present in GetStats call, the consumer group id will be returned in the GetStats response.
|
|
26
|
+
*/
|
|
27
|
+
"consumerGroupId"?: string;
|
|
24
28
|
}
|
|
25
29
|
export declare namespace QueueStats {
|
|
26
30
|
function getJsonObj(obj: QueueStats): object;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-stats.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue-stats.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;
|
|
1
|
+
{"version":3,"file":"queue-stats.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue-stats.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAmBlC,IAAiB,UAAU,CAuB1B;AAvBD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;YAClE,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;SAC7D,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,qBAAU,aAUzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS;YAC9E,KAAK,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS;SACzE,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,iCAAsB,yBAUrC,CAAA;AACH,CAAC,EAvBgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAuB1B"}
|
|
@@ -80,8 +80,21 @@ export interface QueueSummary {
|
|
|
80
80
|
[key: string]: any;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
|
+
/**
|
|
84
|
+
* The list of capabilities enabled on the queue
|
|
85
|
+
*/
|
|
86
|
+
"capabilities"?: Array<QueueSummary.Capabilities>;
|
|
83
87
|
}
|
|
84
88
|
export declare namespace QueueSummary {
|
|
89
|
+
enum Capabilities {
|
|
90
|
+
ConsumerGroups = "CONSUMER_GROUPS",
|
|
91
|
+
LargeMessages = "LARGE_MESSAGES",
|
|
92
|
+
/**
|
|
93
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
94
|
+
* version of the SDK.
|
|
95
|
+
*/
|
|
96
|
+
UnknownValue = "UNKNOWN_VALUE"
|
|
97
|
+
}
|
|
85
98
|
function getJsonObj(obj: QueueSummary): object;
|
|
86
99
|
function getDeserializedJsonObj(obj: QueueSummary): object;
|
|
87
100
|
}
|
|
@@ -15,6 +15,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.QueueSummary = void 0;
|
|
16
16
|
var QueueSummary;
|
|
17
17
|
(function (QueueSummary) {
|
|
18
|
+
let Capabilities;
|
|
19
|
+
(function (Capabilities) {
|
|
20
|
+
Capabilities["ConsumerGroups"] = "CONSUMER_GROUPS";
|
|
21
|
+
Capabilities["LargeMessages"] = "LARGE_MESSAGES";
|
|
22
|
+
/**
|
|
23
|
+
* This value is used if a service returns a value for this enum that is not recognized by this
|
|
24
|
+
* version of the SDK.
|
|
25
|
+
*/
|
|
26
|
+
Capabilities["UnknownValue"] = "UNKNOWN_VALUE";
|
|
27
|
+
})(Capabilities = QueueSummary.Capabilities || (QueueSummary.Capabilities = {}));
|
|
18
28
|
function getJsonObj(obj) {
|
|
19
29
|
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
30
|
return jsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue-summary.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;
|
|
1
|
+
{"version":3,"file":"queue-summary.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAuEH,IAAiB,YAAY,CAqB5B;AArBD,WAAiB,YAAY;IAC3B,IAAY,YAQX;IARD,WAAY,YAAY;QACtB,kDAAkC,CAAA;QAClC,gDAAgC,CAAA;QAChC;;;WAGG;QACH,8CAA8B,CAAA;IAChC,CAAC,EARW,YAAY,GAAZ,yBAAY,KAAZ,yBAAY,QAQvB;IAED,SAAgB,UAAU,CAAC,GAAiB;QAC1C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAiB;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAsB,yBAIrC,CAAA;AACH,CAAC,EArBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAqB5B"}
|
package/lib/model/queue.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* A detailed representation of a queue and its configuration.
|
|
15
16
|
*/
|
|
@@ -104,6 +105,10 @@ export interface Queue {
|
|
|
104
105
|
* The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
105
106
|
*/
|
|
106
107
|
"channelConsumptionLimit"?: number;
|
|
108
|
+
/**
|
|
109
|
+
* The list of capabilities enabled on the queue
|
|
110
|
+
*/
|
|
111
|
+
"capabilities"?: Array<model.CapabilityDetails>;
|
|
107
112
|
}
|
|
108
113
|
export declare namespace Queue {
|
|
109
114
|
enum LifecycleState {
|
package/lib/model/queue.js
CHANGED
|
@@ -11,8 +11,28 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.Queue = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var Queue;
|
|
17
37
|
(function (Queue) {
|
|
18
38
|
let LifecycleState;
|
|
@@ -31,12 +51,24 @@ var Queue;
|
|
|
31
51
|
LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
|
|
32
52
|
})(LifecycleState = Queue.LifecycleState || (Queue.LifecycleState = {}));
|
|
33
53
|
function getJsonObj(obj) {
|
|
34
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
54
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
55
|
+
"capabilities": obj.capabilities
|
|
56
|
+
? obj.capabilities.map(item => {
|
|
57
|
+
return model.CapabilityDetails.getJsonObj(item);
|
|
58
|
+
})
|
|
59
|
+
: undefined
|
|
60
|
+
});
|
|
35
61
|
return jsonObj;
|
|
36
62
|
}
|
|
37
63
|
Queue.getJsonObj = getJsonObj;
|
|
38
64
|
function getDeserializedJsonObj(obj) {
|
|
39
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
65
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
66
|
+
"capabilities": obj.capabilities
|
|
67
|
+
? obj.capabilities.map(item => {
|
|
68
|
+
return model.CapabilityDetails.getDeserializedJsonObj(item);
|
|
69
|
+
})
|
|
70
|
+
: undefined
|
|
71
|
+
});
|
|
40
72
|
return jsonObj;
|
|
41
73
|
}
|
|
42
74
|
Queue.getDeserializedJsonObj = getDeserializedJsonObj;
|
package/lib/model/queue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/queue.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA6FlC,IAAiB,KAAK,CA4CrB;AA5CD,WAAiB,KAAK;IACpB,IAAY,cAaX;IAbD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAbW,cAAc,GAAd,oBAAc,KAAd,oBAAc,QAazB;IAED,SAAgB,UAAU,CAAC,GAAU;QACnC,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,gBAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAU;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,4BAAsB,yBAarC,CAAA;AACH,CAAC,EA5CgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA4CrB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Queue API
|
|
3
|
+
* Use the Queue API to produce and consume messages, create queues, and manage related items. For more information, see [Queue](https://docs.oracle.com/iaas/Content/queue/overview.htm).
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* The information to be updated.
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateConsumerGroupDetails {
|
|
17
|
+
/**
|
|
18
|
+
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the consumer group.
|
|
19
|
+
*/
|
|
20
|
+
"displayName"?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The filter used by the consumer group. Only messages matching the filter will be available by consumers of the group.
|
|
23
|
+
*/
|
|
24
|
+
"filter"?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Used to enable or disable the consumer group.
|
|
27
|
+
* An enabled consumer group will have a lifecycle state of ACTIVE, while a disabled will have its state as INACTIVE.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"isEnabled"?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* The number of times a message can be delivered to a consumer before being moved to the dead letter queue.
|
|
33
|
+
* A value of 0 indicates that the DLQ is not used.
|
|
34
|
+
* Changing that value to a lower threshold does not retroactively move in-flight messages in the dead letter queue.
|
|
35
|
+
* A value of -1 unsets the delivery count for the consumer group (i.e. it will now be using the value set at the queue level).
|
|
36
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
37
|
+
*/
|
|
38
|
+
"deadLetterQueueDeliveryCount"?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
41
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
"freeformTags"?: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
49
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
"definedTags"?: {
|
|
53
|
+
[key: string]: {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export declare namespace UpdateConsumerGroupDetails {
|
|
59
|
+
function getJsonObj(obj: UpdateConsumerGroupDetails): object;
|
|
60
|
+
function getDeserializedJsonObj(obj: UpdateConsumerGroupDetails): object;
|
|
61
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Queue API
|
|
4
|
+
* Use the Queue API to produce and consume messages, create queues, and manage related items. For more information, see [Queue](https://docs.oracle.com/iaas/Content/queue/overview.htm).
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UpdateConsumerGroupDetails = void 0;
|
|
16
|
+
var UpdateConsumerGroupDetails;
|
|
17
|
+
(function (UpdateConsumerGroupDetails) {
|
|
18
|
+
function getJsonObj(obj) {
|
|
19
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
20
|
+
return jsonObj;
|
|
21
|
+
}
|
|
22
|
+
UpdateConsumerGroupDetails.getJsonObj = getJsonObj;
|
|
23
|
+
function getDeserializedJsonObj(obj) {
|
|
24
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
25
|
+
return jsonObj;
|
|
26
|
+
}
|
|
27
|
+
UpdateConsumerGroupDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
28
|
+
})(UpdateConsumerGroupDetails = exports.UpdateConsumerGroupDetails || (exports.UpdateConsumerGroupDetails = {}));
|
|
29
|
+
//# sourceMappingURL=update-consumer-group-details.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-consumer-group-details.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/update-consumer-group-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6CH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
11
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
12
|
*/
|
|
13
|
+
import * as model from "../model";
|
|
13
14
|
/**
|
|
14
15
|
* The information to be updated.
|
|
15
16
|
*/
|
|
@@ -41,6 +42,10 @@ export interface UpdateQueueDetails {
|
|
|
41
42
|
* The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. A string with a length of 0 means the custom key should be removed from queue.
|
|
42
43
|
*/
|
|
43
44
|
"customEncryptionKeyId"?: string;
|
|
45
|
+
/**
|
|
46
|
+
* The list of capabilities enabled on the queue
|
|
47
|
+
*/
|
|
48
|
+
"capabilities"?: Array<model.CapabilityDetails>;
|
|
44
49
|
/**
|
|
45
50
|
* Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
|
|
46
51
|
* Example: {@code {\"bar-key\": \"value\"}}
|
|
@@ -11,17 +11,49 @@
|
|
|
11
11
|
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
12
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
13
|
*/
|
|
14
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
17
|
+
}) : (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
o[k2] = m[k];
|
|
20
|
+
}));
|
|
21
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
22
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
23
|
+
}) : function(o, v) {
|
|
24
|
+
o["default"] = v;
|
|
25
|
+
});
|
|
26
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
27
|
+
if (mod && mod.__esModule) return mod;
|
|
28
|
+
var result = {};
|
|
29
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
30
|
+
__setModuleDefault(result, mod);
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
14
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
34
|
exports.UpdateQueueDetails = void 0;
|
|
35
|
+
const model = __importStar(require("../model"));
|
|
16
36
|
var UpdateQueueDetails;
|
|
17
37
|
(function (UpdateQueueDetails) {
|
|
18
38
|
function getJsonObj(obj) {
|
|
19
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
39
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
40
|
+
"capabilities": obj.capabilities
|
|
41
|
+
? obj.capabilities.map(item => {
|
|
42
|
+
return model.CapabilityDetails.getJsonObj(item);
|
|
43
|
+
})
|
|
44
|
+
: undefined
|
|
45
|
+
});
|
|
20
46
|
return jsonObj;
|
|
21
47
|
}
|
|
22
48
|
UpdateQueueDetails.getJsonObj = getJsonObj;
|
|
23
49
|
function getDeserializedJsonObj(obj) {
|
|
24
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
50
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
"capabilities": obj.capabilities
|
|
52
|
+
? obj.capabilities.map(item => {
|
|
53
|
+
return model.CapabilityDetails.getDeserializedJsonObj(item);
|
|
54
|
+
})
|
|
55
|
+
: undefined
|
|
56
|
+
});
|
|
25
57
|
return jsonObj;
|
|
26
58
|
}
|
|
27
59
|
UpdateQueueDetails.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-queue-details.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/update-queue-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG
|
|
1
|
+
{"version":3,"file":"update-queue-details.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/model/update-queue-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAoDlC,IAAiB,kBAAkB,CA6BlC;AA7BD,WAAiB,kBAAkB;IACjC,SAAgB,UAAU,CAAC,GAAuB;QAChD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBAClD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,6BAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAuB;QAC5D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,cAAc,EAAE,GAAG,CAAC,YAAY;gBAC9B,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAC9D,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,yCAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QA6BlC"}
|
|
@@ -18,6 +18,14 @@ export declare class QueueAdminWaiter {
|
|
|
18
18
|
private client;
|
|
19
19
|
private readonly config?;
|
|
20
20
|
constructor(client: QueueAdminClient, config?: Partial<import("oci-common/lib/waiter").WaiterConfigurationDetails> | undefined);
|
|
21
|
+
/**
|
|
22
|
+
* Waits forConsumerGroup till it reaches any of the provided states
|
|
23
|
+
*
|
|
24
|
+
* @param request the request to send
|
|
25
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
26
|
+
* @return response returns GetConsumerGroupResponse | null (null in case of 404 response)
|
|
27
|
+
*/
|
|
28
|
+
forConsumerGroup(request: serviceRequests.GetConsumerGroupRequest, ...targetStates: models.ConsumerGroup.LifecycleState[]): Promise<serviceResponses.GetConsumerGroupResponse | null>;
|
|
21
29
|
/**
|
|
22
30
|
* Waits forQueue till it reaches any of the provided states
|
|
23
31
|
*
|
package/lib/queueadmin-waiter.js
CHANGED
|
@@ -48,6 +48,18 @@ class QueueAdminWaiter {
|
|
|
48
48
|
this.client = client;
|
|
49
49
|
this.config = config;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Waits forConsumerGroup till it reaches any of the provided states
|
|
53
|
+
*
|
|
54
|
+
* @param request the request to send
|
|
55
|
+
* @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states
|
|
56
|
+
* @return response returns GetConsumerGroupResponse | null (null in case of 404 response)
|
|
57
|
+
*/
|
|
58
|
+
forConsumerGroup(request, ...targetStates) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return oci_common_1.genericTerminalConditionWaiter(this.config, () => this.client.getConsumerGroup(request), response => targetStates.includes(response.consumerGroup.lifecycleState), targetStates.includes(models.ConsumerGroup.LifecycleState.Deleted));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
51
63
|
/**
|
|
52
64
|
* Waits forQueue till it reaches any of the provided states
|
|
53
65
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queueadmin-waiter.js","sourceRoot":"","sources":["../../../../lib/queue/lib/queueadmin-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,gBAAgB;IAC3B,YACU,MAAwB,EACf,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAkB;QACf,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,QAAQ,CACnB,OAAwC,EACxC,GAAG,YAA2C;;YAE9C,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EACnC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAe,CAAC,EACjE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAC3D,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;
|
|
1
|
+
{"version":3,"file":"queueadmin-waiter.js","sourceRoot":"","sources":["../../../../lib/queue/lib/queueadmin-waiter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIH,gDAAkC;AAElC,2CAAgG;AAEhG,MAAa,gBAAgB;IAC3B,YACU,MAAwB,EACf,MAA4B;QADrC,WAAM,GAAN,MAAM,CAAkB;QACf,WAAM,GAAN,MAAM,CAAsB;IAC5C,CAAC;IAEJ;;;;;;OAMG;IACU,gBAAgB,CAC3B,OAAgD,EAChD,GAAG,YAAmD;;YAEtD,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAC3C,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAe,CAAC,EACzE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CACnE,CAAC;QACJ,CAAC;KAAA;IAED;;;;;;OAMG;IACU,QAAQ,CACnB,OAAwC,EACxC,GAAG,YAA2C;;YAE9C,OAAO,2CAA8B,CACnC,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,EACnC,QAAQ,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAe,CAAC,EACjE,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAC3D,CAAC;QACJ,CAAC;KAAA;IAED;;;;;OAKG;IACU,cAAc,CACzB,OAA8C;;YAE9C,OAAO,0BAAa,CAClB,IAAI,CAAC,MAAM,EACX,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,EACzC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAC/D,CAAC;QACJ,CAAC;KAAA;CACF;AA3DD,4CA2DC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import * as model from "../model";
|
|
14
|
+
import common = require("oci-common");
|
|
15
|
+
/**
|
|
16
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/queue/CreateConsumerGroup.ts.html |here} to see how to use CreateConsumerGroupRequest.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateConsumerGroupRequest extends common.BaseRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Details for the new consumer group.
|
|
21
|
+
*/
|
|
22
|
+
"createConsumerGroupDetails": model.CreateConsumerGroupDetails;
|
|
23
|
+
/**
|
|
24
|
+
* A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
25
|
+
* server error without risk of executing that same action again. Retry tokens expire after 24
|
|
26
|
+
* hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
27
|
+
* has been deleted and purged from the system, then a retry of the original creation request
|
|
28
|
+
* might be rejected.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
"opcRetryToken"?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
34
|
+
*/
|
|
35
|
+
"opcRequestId"?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=create-consumer-group-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-consumer-group-request.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/request/create-consumer-group-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/queue/DeleteConsumerGroup.ts.html |here} to see how to use DeleteConsumerGroupRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteConsumerGroupRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The unique consumer group identifier.
|
|
20
|
+
*/
|
|
21
|
+
"consumerGroupId": string;
|
|
22
|
+
/**
|
|
23
|
+
* For optimistic concurrency control. In the PUT or DELETE call
|
|
24
|
+
* for a resource, set the {@code if-match} parameter to the value of the
|
|
25
|
+
* etag from a previous GET or POST response for that resource.
|
|
26
|
+
* The resource will be updated or deleted only if the etag you
|
|
27
|
+
* provide matches the resource's current etag value.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
"ifMatch"?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
33
|
+
*/
|
|
34
|
+
"opcRequestId"?: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=delete-consumer-group-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-consumer-group-request.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/request/delete-consumer-group-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -27,4 +27,8 @@ export interface DeleteMessageRequest extends common.BaseRequest {
|
|
|
27
27
|
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
28
28
|
*/
|
|
29
29
|
"opcRequestId"?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional parameter to specify a consumer group.
|
|
32
|
+
*/
|
|
33
|
+
"consumerGroupId"?: string;
|
|
30
34
|
}
|
|
@@ -24,6 +24,10 @@ export interface DeleteMessagesRequest extends common.BaseRequest {
|
|
|
24
24
|
* Details for the messages to delete.
|
|
25
25
|
*/
|
|
26
26
|
"deleteMessagesDetails": model.DeleteMessagesDetails;
|
|
27
|
+
/**
|
|
28
|
+
* Optional parameter to specify a consumer group.
|
|
29
|
+
*/
|
|
30
|
+
"consumerGroupId"?: string;
|
|
27
31
|
/**
|
|
28
32
|
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
29
33
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
*
|
|
4
|
+
* OpenAPI spec version: 20210201
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
11
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
12
|
+
*/
|
|
13
|
+
import common = require("oci-common");
|
|
14
|
+
/**
|
|
15
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/queue/GetConsumerGroup.ts.html |here} to see how to use GetConsumerGroupRequest.
|
|
16
|
+
*/
|
|
17
|
+
export interface GetConsumerGroupRequest extends common.BaseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The unique consumer group identifier.
|
|
20
|
+
*/
|
|
21
|
+
"consumerGroupId": string;
|
|
22
|
+
/**
|
|
23
|
+
* Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
|
|
24
|
+
*/
|
|
25
|
+
"opcRequestId"?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 20210201
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved.
|
|
12
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
//# sourceMappingURL=get-consumer-group-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-consumer-group-request.js","sourceRoot":"","sources":["../../../../../lib/queue/lib/request/get-consumer-group-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|