oci-functions 2.54.0 → 2.55.1

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.
Files changed (110) hide show
  1. package/lib/client.d.ts +66 -12
  2. package/lib/client.js +356 -12
  3. package/lib/client.js.map +1 -1
  4. package/lib/functionsmanagement-waiter.d.ts +16 -0
  5. package/lib/functionsmanagement-waiter.js +24 -0
  6. package/lib/functionsmanagement-waiter.js.map +1 -1
  7. package/lib/model/config-details.d.ts +34 -0
  8. package/lib/model/config-details.js +30 -0
  9. package/lib/model/config-details.js.map +1 -0
  10. package/lib/model/create-function-details.d.ts +2 -1
  11. package/lib/model/create-function-details.js +6 -0
  12. package/lib/model/create-function-details.js.map +1 -1
  13. package/lib/model/function-source-details.d.ts +24 -0
  14. package/lib/model/function-source-details.js +69 -0
  15. package/lib/model/function-source-details.js.map +1 -0
  16. package/lib/model/function-summary.d.ts +2 -15
  17. package/lib/model/function-summary.js +6 -15
  18. package/lib/model/function-summary.js.map +1 -1
  19. package/lib/model/function.d.ts +1 -0
  20. package/lib/model/function.js +6 -0
  21. package/lib/model/function.js.map +1 -1
  22. package/lib/model/index.d.ts +30 -0
  23. package/lib/model/index.js +31 -1
  24. package/lib/model/index.js.map +1 -1
  25. package/lib/model/pbf-listing-summary.d.ts +82 -0
  26. package/lib/model/pbf-listing-summary.js +68 -0
  27. package/lib/model/pbf-listing-summary.js.map +1 -0
  28. package/lib/model/pbf-listing-version-summary.d.ts +89 -0
  29. package/lib/model/pbf-listing-version-summary.js +78 -0
  30. package/lib/model/pbf-listing-version-summary.js.map +1 -0
  31. package/lib/model/pbf-listing-version.d.ts +101 -0
  32. package/lib/model/pbf-listing-version.js +89 -0
  33. package/lib/model/pbf-listing-version.js.map +1 -0
  34. package/lib/model/pbf-listing-versions-collection.d.ts +29 -0
  35. package/lib/model/pbf-listing-versions-collection.js +62 -0
  36. package/lib/model/pbf-listing-versions-collection.js.map +1 -0
  37. package/lib/model/pbf-listing.d.ts +95 -0
  38. package/lib/model/pbf-listing.js +79 -0
  39. package/lib/model/pbf-listing.js.map +1 -0
  40. package/lib/model/pbf-listings-collection.d.ts +27 -0
  41. package/lib/model/pbf-listings-collection.js +62 -0
  42. package/lib/model/pbf-listings-collection.js.map +1 -0
  43. package/lib/model/policy-details.d.ts +30 -0
  44. package/lib/model/policy-details.js +30 -0
  45. package/lib/model/policy-details.js.map +1 -0
  46. package/lib/model/pre-built-function-source-details.d.ts +32 -0
  47. package/lib/model/pre-built-function-source-details.js +55 -0
  48. package/lib/model/pre-built-function-source-details.js.map +1 -0
  49. package/lib/model/publisher-details.d.ts +26 -0
  50. package/lib/model/publisher-details.js +30 -0
  51. package/lib/model/publisher-details.js.map +1 -0
  52. package/lib/model/requirement-details.d.ts +35 -0
  53. package/lib/model/requirement-details.js +62 -0
  54. package/lib/model/requirement-details.js.map +1 -0
  55. package/lib/model/trigger-summary.d.ts +26 -0
  56. package/lib/model/trigger-summary.js +30 -0
  57. package/lib/model/trigger-summary.js.map +1 -0
  58. package/lib/model/trigger.d.ts +26 -0
  59. package/lib/model/trigger.js +30 -0
  60. package/lib/model/trigger.js.map +1 -0
  61. package/lib/model/triggers-collection.d.ts +27 -0
  62. package/lib/model/triggers-collection.js +62 -0
  63. package/lib/model/triggers-collection.js.map +1 -0
  64. package/lib/request/change-application-compartment-request.d.ts +1 -1
  65. package/lib/request/create-application-request.d.ts +1 -1
  66. package/lib/request/create-function-request.d.ts +1 -1
  67. package/lib/request/delete-application-request.d.ts +1 -1
  68. package/lib/request/delete-function-request.d.ts +1 -1
  69. package/lib/request/get-application-request.d.ts +1 -1
  70. package/lib/request/get-function-request.d.ts +1 -1
  71. package/lib/request/get-pbf-listing-request.d.ts +28 -0
  72. package/lib/request/get-pbf-listing-request.js +15 -0
  73. package/lib/request/get-pbf-listing-request.js.map +1 -0
  74. package/lib/request/get-pbf-listing-version-request.d.ts +28 -0
  75. package/lib/request/get-pbf-listing-version-request.js +15 -0
  76. package/lib/request/get-pbf-listing-version-request.js.map +1 -0
  77. package/lib/request/index.d.ts +10 -0
  78. package/lib/request/index.js +7 -1
  79. package/lib/request/index.js.map +1 -1
  80. package/lib/request/invoke-function-request.d.ts +1 -1
  81. package/lib/request/list-applications-request.d.ts +1 -1
  82. package/lib/request/list-functions-request.d.ts +1 -1
  83. package/lib/request/list-pbf-listing-versions-request.d.ts +83 -0
  84. package/lib/request/list-pbf-listing-versions-request.js +29 -0
  85. package/lib/request/list-pbf-listing-versions-request.js.map +1 -0
  86. package/lib/request/list-pbf-listings-request.d.ts +83 -0
  87. package/lib/request/list-pbf-listings-request.js +29 -0
  88. package/lib/request/list-pbf-listings-request.js.map +1 -0
  89. package/lib/request/list-triggers-request.d.ts +54 -0
  90. package/lib/request/list-triggers-request.js +24 -0
  91. package/lib/request/list-triggers-request.js.map +1 -0
  92. package/lib/request/update-application-request.d.ts +1 -1
  93. package/lib/request/update-function-request.d.ts +1 -1
  94. package/lib/response/get-pbf-listing-response.d.ts +30 -0
  95. package/lib/response/get-pbf-listing-response.js +15 -0
  96. package/lib/response/get-pbf-listing-response.js.map +1 -0
  97. package/lib/response/get-pbf-listing-version-response.d.ts +30 -0
  98. package/lib/response/get-pbf-listing-version-response.js +15 -0
  99. package/lib/response/get-pbf-listing-version-response.js.map +1 -0
  100. package/lib/response/index.d.ts +10 -0
  101. package/lib/response/list-pbf-listing-versions-response.d.ts +32 -0
  102. package/lib/response/list-pbf-listing-versions-response.js +15 -0
  103. package/lib/response/list-pbf-listing-versions-response.js.map +1 -0
  104. package/lib/response/list-pbf-listings-response.d.ts +32 -0
  105. package/lib/response/list-pbf-listings-response.js +15 -0
  106. package/lib/response/list-pbf-listings-response.js.map +1 -0
  107. package/lib/response/list-triggers-response.d.ts +32 -0
  108. package/lib/response/list-triggers-response.js +15 -0
  109. package/lib/response/list-triggers-response.js.map +1 -0
  110. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -48,7 +48,7 @@ export declare class FunctionsInvokeClient {
48
48
  * @param InvokeFunctionRequest
49
49
  * @return InvokeFunctionResponse
50
50
  * @throws OciError when an error occurs
51
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/InvokeFunction.ts.html |here} to see how to use InvokeFunction API.
51
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/InvokeFunction.ts.html |here} to see how to use InvokeFunction API.
52
52
  */
53
53
  invokeFunction(invokeFunctionRequest: requests.InvokeFunctionRequest): Promise<responses.InvokeFunctionResponse>;
54
54
  }
@@ -115,7 +115,7 @@ export declare class FunctionsManagementClient {
115
115
  * @param ChangeApplicationCompartmentRequest
116
116
  * @return ChangeApplicationCompartmentResponse
117
117
  * @throws OciError when an error occurs
118
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
118
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
119
119
  */
120
120
  changeApplicationCompartment(changeApplicationCompartmentRequest: requests.ChangeApplicationCompartmentRequest): Promise<responses.ChangeApplicationCompartmentResponse>;
121
121
  /**
@@ -124,7 +124,7 @@ export declare class FunctionsManagementClient {
124
124
  * @param CreateApplicationRequest
125
125
  * @return CreateApplicationResponse
126
126
  * @throws OciError when an error occurs
127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/CreateApplication.ts.html |here} to see how to use CreateApplication API.
127
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/CreateApplication.ts.html |here} to see how to use CreateApplication API.
128
128
  */
129
129
  createApplication(createApplicationRequest: requests.CreateApplicationRequest): Promise<responses.CreateApplicationResponse>;
130
130
  /**
@@ -133,7 +133,7 @@ export declare class FunctionsManagementClient {
133
133
  * @param CreateFunctionRequest
134
134
  * @return CreateFunctionResponse
135
135
  * @throws OciError when an error occurs
136
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/CreateFunction.ts.html |here} to see how to use CreateFunction API.
136
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/CreateFunction.ts.html |here} to see how to use CreateFunction API.
137
137
  */
138
138
  createFunction(createFunctionRequest: requests.CreateFunctionRequest): Promise<responses.CreateFunctionResponse>;
139
139
  /**
@@ -142,7 +142,7 @@ export declare class FunctionsManagementClient {
142
142
  * @param DeleteApplicationRequest
143
143
  * @return DeleteApplicationResponse
144
144
  * @throws OciError when an error occurs
145
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
145
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
146
146
  */
147
147
  deleteApplication(deleteApplicationRequest: requests.DeleteApplicationRequest): Promise<responses.DeleteApplicationResponse>;
148
148
  /**
@@ -151,7 +151,7 @@ export declare class FunctionsManagementClient {
151
151
  * @param DeleteFunctionRequest
152
152
  * @return DeleteFunctionResponse
153
153
  * @throws OciError when an error occurs
154
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/DeleteFunction.ts.html |here} to see how to use DeleteFunction API.
154
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/DeleteFunction.ts.html |here} to see how to use DeleteFunction API.
155
155
  */
156
156
  deleteFunction(deleteFunctionRequest: requests.DeleteFunctionRequest): Promise<responses.DeleteFunctionResponse>;
157
157
  /**
@@ -160,7 +160,7 @@ export declare class FunctionsManagementClient {
160
160
  * @param GetApplicationRequest
161
161
  * @return GetApplicationResponse
162
162
  * @throws OciError when an error occurs
163
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/GetApplication.ts.html |here} to see how to use GetApplication API.
163
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetApplication.ts.html |here} to see how to use GetApplication API.
164
164
  */
165
165
  getApplication(getApplicationRequest: requests.GetApplicationRequest): Promise<responses.GetApplicationResponse>;
166
166
  /**
@@ -169,16 +169,35 @@ export declare class FunctionsManagementClient {
169
169
  * @param GetFunctionRequest
170
170
  * @return GetFunctionResponse
171
171
  * @throws OciError when an error occurs
172
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/GetFunction.ts.html |here} to see how to use GetFunction API.
172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetFunction.ts.html |here} to see how to use GetFunction API.
173
173
  */
174
174
  getFunction(getFunctionRequest: requests.GetFunctionRequest): Promise<responses.GetFunctionResponse>;
175
+ /**
176
+ * Fetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.
177
+ *
178
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
179
+ * @param GetPbfListingRequest
180
+ * @return GetPbfListingResponse
181
+ * @throws OciError when an error occurs
182
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetPbfListing.ts.html |here} to see how to use GetPbfListing API.
183
+ */
184
+ getPbfListing(getPbfListingRequest: requests.GetPbfListingRequest): Promise<responses.GetPbfListingResponse>;
185
+ /**
186
+ * Gets a PbfListingVersion by identifier for a PbfListing.
187
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
188
+ * @param GetPbfListingVersionRequest
189
+ * @return GetPbfListingVersionResponse
190
+ * @throws OciError when an error occurs
191
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetPbfListingVersion.ts.html |here} to see how to use GetPbfListingVersion API.
192
+ */
193
+ getPbfListingVersion(getPbfListingVersionRequest: requests.GetPbfListingVersionRequest): Promise<responses.GetPbfListingVersionResponse>;
175
194
  /**
176
195
  * Lists applications for a compartment.
177
196
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
178
197
  * @param ListApplicationsRequest
179
198
  * @return ListApplicationsResponse
180
199
  * @throws OciError when an error occurs
181
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ListApplications.ts.html |here} to see how to use ListApplications API.
200
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListApplications.ts.html |here} to see how to use ListApplications API.
182
201
  */
183
202
  listApplications(listApplicationsRequest: requests.ListApplicationsRequest): Promise<responses.ListApplicationsResponse>;
184
203
  /**
@@ -219,7 +238,7 @@ export declare class FunctionsManagementClient {
219
238
  * @param ListFunctionsRequest
220
239
  * @return ListFunctionsResponse
221
240
  * @throws OciError when an error occurs
222
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ListFunctions.ts.html |here} to see how to use ListFunctions API.
241
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListFunctions.ts.html |here} to see how to use ListFunctions API.
223
242
  */
224
243
  listFunctions(listFunctionsRequest: requests.ListFunctionsRequest): Promise<responses.ListFunctionsResponse>;
225
244
  /**
@@ -254,13 +273,48 @@ export declare class FunctionsManagementClient {
254
273
  * @param request a request which can be sent to the service operation
255
274
  */
256
275
  listFunctionsResponseIterator(request: requests.ListFunctionsRequest): AsyncIterableIterator<responses.ListFunctionsResponse>;
276
+ /**
277
+ * Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection
278
+ * containing an array of PbfListingVersionSummary response models.
279
+ * <p>
280
+ Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall
281
+ * be thrown.
282
+ *
283
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
284
+ * @param ListPbfListingVersionsRequest
285
+ * @return ListPbfListingVersionsResponse
286
+ * @throws OciError when an error occurs
287
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListPbfListingVersions.ts.html |here} to see how to use ListPbfListingVersions API.
288
+ */
289
+ listPbfListingVersions(listPbfListingVersionsRequest: requests.ListPbfListingVersionsRequest): Promise<responses.ListPbfListingVersionsResponse>;
290
+ /**
291
+ * Fetches a wrapped list of all Pre-built Function(PBF) Listings. Returns a PbfListingCollection containing
292
+ * an array of PbfListingSummary response models.
293
+ *
294
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
295
+ * @param ListPbfListingsRequest
296
+ * @return ListPbfListingsResponse
297
+ * @throws OciError when an error occurs
298
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListPbfListings.ts.html |here} to see how to use ListPbfListings API.
299
+ */
300
+ listPbfListings(listPbfListingsRequest: requests.ListPbfListingsRequest): Promise<responses.ListPbfListingsResponse>;
301
+ /**
302
+ * Returns a list of Triggers.
303
+ *
304
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
305
+ * @param ListTriggersRequest
306
+ * @return ListTriggersResponse
307
+ * @throws OciError when an error occurs
308
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListTriggers.ts.html |here} to see how to use ListTriggers API.
309
+ */
310
+ listTriggers(listTriggersRequest: requests.ListTriggersRequest): Promise<responses.ListTriggersResponse>;
257
311
  /**
258
312
  * Modifies an application
259
313
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
260
314
  * @param UpdateApplicationRequest
261
315
  * @return UpdateApplicationResponse
262
316
  * @throws OciError when an error occurs
263
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
317
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
264
318
  */
265
319
  updateApplication(updateApplicationRequest: requests.UpdateApplicationRequest): Promise<responses.UpdateApplicationResponse>;
266
320
  /**
@@ -269,7 +323,7 @@ export declare class FunctionsManagementClient {
269
323
  * @param UpdateFunctionRequest
270
324
  * @return UpdateFunctionResponse
271
325
  * @throws OciError when an error occurs
272
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/UpdateFunction.ts.html |here} to see how to use UpdateFunction API.
326
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/UpdateFunction.ts.html |here} to see how to use UpdateFunction API.
273
327
  */
274
328
  updateFunction(updateFunctionRequest: requests.UpdateFunctionRequest): Promise<responses.UpdateFunctionResponse>;
275
329
  }
package/lib/client.js CHANGED
@@ -111,7 +111,7 @@ class FunctionsInvokeClient {
111
111
  * @param InvokeFunctionRequest
112
112
  * @return InvokeFunctionResponse
113
113
  * @throws OciError when an error occurs
114
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/InvokeFunction.ts.html |here} to see how to use InvokeFunction API.
114
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/InvokeFunction.ts.html |here} to see how to use InvokeFunction API.
115
115
  */
116
116
  invokeFunction(invokeFunctionRequest) {
117
117
  return __awaiter(this, void 0, void 0, function* () {
@@ -279,7 +279,7 @@ class FunctionsManagementClient {
279
279
  * @param ChangeApplicationCompartmentRequest
280
280
  * @return ChangeApplicationCompartmentResponse
281
281
  * @throws OciError when an error occurs
282
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
282
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ChangeApplicationCompartment.ts.html |here} to see how to use ChangeApplicationCompartment API.
283
283
  */
284
284
  changeApplicationCompartment(changeApplicationCompartmentRequest) {
285
285
  return __awaiter(this, void 0, void 0, function* () {
@@ -335,7 +335,7 @@ class FunctionsManagementClient {
335
335
  * @param CreateApplicationRequest
336
336
  * @return CreateApplicationResponse
337
337
  * @throws OciError when an error occurs
338
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/CreateApplication.ts.html |here} to see how to use CreateApplication API.
338
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/CreateApplication.ts.html |here} to see how to use CreateApplication API.
339
339
  */
340
340
  createApplication(createApplicationRequest) {
341
341
  return __awaiter(this, void 0, void 0, function* () {
@@ -397,7 +397,7 @@ class FunctionsManagementClient {
397
397
  * @param CreateFunctionRequest
398
398
  * @return CreateFunctionResponse
399
399
  * @throws OciError when an error occurs
400
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/CreateFunction.ts.html |here} to see how to use CreateFunction API.
400
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/CreateFunction.ts.html |here} to see how to use CreateFunction API.
401
401
  */
402
402
  createFunction(createFunctionRequest) {
403
403
  return __awaiter(this, void 0, void 0, function* () {
@@ -459,7 +459,7 @@ class FunctionsManagementClient {
459
459
  * @param DeleteApplicationRequest
460
460
  * @return DeleteApplicationResponse
461
461
  * @throws OciError when an error occurs
462
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/DeleteApplication.ts.html |here} to see how to use DeleteApplication API.
463
463
  */
464
464
  deleteApplication(deleteApplicationRequest) {
465
465
  return __awaiter(this, void 0, void 0, function* () {
@@ -514,7 +514,7 @@ class FunctionsManagementClient {
514
514
  * @param DeleteFunctionRequest
515
515
  * @return DeleteFunctionResponse
516
516
  * @throws OciError when an error occurs
517
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/DeleteFunction.ts.html |here} to see how to use DeleteFunction API.
517
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/DeleteFunction.ts.html |here} to see how to use DeleteFunction API.
518
518
  */
519
519
  deleteFunction(deleteFunctionRequest) {
520
520
  return __awaiter(this, void 0, void 0, function* () {
@@ -569,7 +569,7 @@ class FunctionsManagementClient {
569
569
  * @param GetApplicationRequest
570
570
  * @return GetApplicationResponse
571
571
  * @throws OciError when an error occurs
572
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/GetApplication.ts.html |here} to see how to use GetApplication API.
572
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetApplication.ts.html |here} to see how to use GetApplication API.
573
573
  */
574
574
  getApplication(getApplicationRequest) {
575
575
  return __awaiter(this, void 0, void 0, function* () {
@@ -632,7 +632,7 @@ class FunctionsManagementClient {
632
632
  * @param GetFunctionRequest
633
633
  * @return GetFunctionResponse
634
634
  * @throws OciError when an error occurs
635
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/GetFunction.ts.html |here} to see how to use GetFunction API.
635
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetFunction.ts.html |here} to see how to use GetFunction API.
636
636
  */
637
637
  getFunction(getFunctionRequest) {
638
638
  return __awaiter(this, void 0, void 0, function* () {
@@ -689,13 +689,140 @@ class FunctionsManagementClient {
689
689
  }
690
690
  });
691
691
  }
692
+ /**
693
+ * Fetches a Pre-built Function(PBF) Listing. Returns a PbfListing response model.
694
+ *
695
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
696
+ * @param GetPbfListingRequest
697
+ * @return GetPbfListingResponse
698
+ * @throws OciError when an error occurs
699
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetPbfListing.ts.html |here} to see how to use GetPbfListing API.
700
+ */
701
+ getPbfListing(getPbfListingRequest) {
702
+ return __awaiter(this, void 0, void 0, function* () {
703
+ if (this.logger)
704
+ this.logger.debug("Calling operation FunctionsManagementClient#getPbfListing.");
705
+ const operationName = "getPbfListing";
706
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/functions/20181201/PbfListing/GetPbfListing";
707
+ const pathParams = {
708
+ "{pbfListingId}": getPbfListingRequest.pbfListingId
709
+ };
710
+ const queryParams = {};
711
+ let headerParams = {
712
+ "Content-Type": common.Constants.APPLICATION_JSON,
713
+ "opc-request-id": getPbfListingRequest.opcRequestId
714
+ };
715
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
716
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPbfListingRequest.retryConfiguration, specRetryConfiguration);
717
+ if (this.logger)
718
+ retrier.logger = this.logger;
719
+ const request = yield oci_common_2.composeRequest({
720
+ baseEndpoint: this._endpoint,
721
+ defaultHeaders: this._defaultHeaders,
722
+ path: "/pbfListings/{pbfListingId}",
723
+ method: "GET",
724
+ pathParams: pathParams,
725
+ headerParams: headerParams,
726
+ queryParams: queryParams
727
+ });
728
+ try {
729
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
730
+ const sdkResponse = oci_common_2.composeResponse({
731
+ responseObject: {},
732
+ body: yield response.json(),
733
+ bodyKey: "pbfListing",
734
+ bodyModel: model.PbfListing,
735
+ type: "model.PbfListing",
736
+ responseHeaders: [
737
+ {
738
+ value: response.headers.get("etag"),
739
+ key: "etag",
740
+ dataType: "string"
741
+ },
742
+ {
743
+ value: response.headers.get("opc-request-id"),
744
+ key: "opcRequestId",
745
+ dataType: "string"
746
+ }
747
+ ]
748
+ });
749
+ return sdkResponse;
750
+ }
751
+ catch (err) {
752
+ throw err;
753
+ }
754
+ });
755
+ }
756
+ /**
757
+ * Gets a PbfListingVersion by identifier for a PbfListing.
758
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
759
+ * @param GetPbfListingVersionRequest
760
+ * @return GetPbfListingVersionResponse
761
+ * @throws OciError when an error occurs
762
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/GetPbfListingVersion.ts.html |here} to see how to use GetPbfListingVersion API.
763
+ */
764
+ getPbfListingVersion(getPbfListingVersionRequest) {
765
+ return __awaiter(this, void 0, void 0, function* () {
766
+ if (this.logger)
767
+ this.logger.debug("Calling operation FunctionsManagementClient#getPbfListingVersion.");
768
+ const operationName = "getPbfListingVersion";
769
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/functions/20181201/PbfListingVersion/GetPbfListingVersion";
770
+ const pathParams = {
771
+ "{pbfListingVersionId}": getPbfListingVersionRequest.pbfListingVersionId
772
+ };
773
+ const queryParams = {};
774
+ let headerParams = {
775
+ "Content-Type": common.Constants.APPLICATION_JSON,
776
+ "opc-request-id": getPbfListingVersionRequest.opcRequestId
777
+ };
778
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
779
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPbfListingVersionRequest.retryConfiguration, specRetryConfiguration);
780
+ if (this.logger)
781
+ retrier.logger = this.logger;
782
+ const request = yield oci_common_2.composeRequest({
783
+ baseEndpoint: this._endpoint,
784
+ defaultHeaders: this._defaultHeaders,
785
+ path: "/pbfListingVersions/{pbfListingVersionId}",
786
+ method: "GET",
787
+ pathParams: pathParams,
788
+ headerParams: headerParams,
789
+ queryParams: queryParams
790
+ });
791
+ try {
792
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
793
+ const sdkResponse = oci_common_2.composeResponse({
794
+ responseObject: {},
795
+ body: yield response.json(),
796
+ bodyKey: "pbfListingVersion",
797
+ bodyModel: model.PbfListingVersion,
798
+ type: "model.PbfListingVersion",
799
+ responseHeaders: [
800
+ {
801
+ value: response.headers.get("etag"),
802
+ key: "etag",
803
+ dataType: "string"
804
+ },
805
+ {
806
+ value: response.headers.get("opc-request-id"),
807
+ key: "opcRequestId",
808
+ dataType: "string"
809
+ }
810
+ ]
811
+ });
812
+ return sdkResponse;
813
+ }
814
+ catch (err) {
815
+ throw err;
816
+ }
817
+ });
818
+ }
692
819
  /**
693
820
  * Lists applications for a compartment.
694
821
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
695
822
  * @param ListApplicationsRequest
696
823
  * @return ListApplicationsResponse
697
824
  * @throws OciError when an error occurs
698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ListApplications.ts.html |here} to see how to use ListApplications API.
825
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListApplications.ts.html |here} to see how to use ListApplications API.
699
826
  */
700
827
  listApplications(listApplicationsRequest) {
701
828
  return __awaiter(this, void 0, void 0, function* () {
@@ -805,7 +932,7 @@ class FunctionsManagementClient {
805
932
  * @param ListFunctionsRequest
806
933
  * @return ListFunctionsResponse
807
934
  * @throws OciError when an error occurs
808
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/ListFunctions.ts.html |here} to see how to use ListFunctions API.
935
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListFunctions.ts.html |here} to see how to use ListFunctions API.
809
936
  */
810
937
  listFunctions(listFunctionsRequest) {
811
938
  return __awaiter(this, void 0, void 0, function* () {
@@ -909,13 +1036,230 @@ class FunctionsManagementClient {
909
1036
  listFunctionsResponseIterator(request) {
910
1037
  return oci_common_1.paginateResponses(request, req => this.listFunctions(req));
911
1038
  }
1039
+ /**
1040
+ * Fetches a wrapped list of all Pre-built Function(PBF) Listing versions. Returns a PbfListingVersionCollection
1041
+ * containing an array of PbfListingVersionSummary response models.
1042
+ * <p>
1043
+ Note that the PbfListingIdentifier must be provided as a query parameter, otherwise an exception shall
1044
+ * be thrown.
1045
+ *
1046
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1047
+ * @param ListPbfListingVersionsRequest
1048
+ * @return ListPbfListingVersionsResponse
1049
+ * @throws OciError when an error occurs
1050
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListPbfListingVersions.ts.html |here} to see how to use ListPbfListingVersions API.
1051
+ */
1052
+ listPbfListingVersions(listPbfListingVersionsRequest) {
1053
+ return __awaiter(this, void 0, void 0, function* () {
1054
+ if (this.logger)
1055
+ this.logger.debug("Calling operation FunctionsManagementClient#listPbfListingVersions.");
1056
+ const operationName = "listPbfListingVersions";
1057
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/functions/20181201/PbfListingVersion/ListPbfListingVersions";
1058
+ const pathParams = {};
1059
+ const queryParams = {
1060
+ "pbfListingId": listPbfListingVersionsRequest.pbfListingId,
1061
+ "pbfListingVersionId": listPbfListingVersionsRequest.pbfListingVersionId,
1062
+ "name": listPbfListingVersionsRequest.name,
1063
+ "isCurrentVersion": listPbfListingVersionsRequest.isCurrentVersion,
1064
+ "lifecycleState": listPbfListingVersionsRequest.lifecycleState,
1065
+ "limit": listPbfListingVersionsRequest.limit,
1066
+ "page": listPbfListingVersionsRequest.page,
1067
+ "sortOrder": listPbfListingVersionsRequest.sortOrder,
1068
+ "sortBy": listPbfListingVersionsRequest.sortBy
1069
+ };
1070
+ let headerParams = {
1071
+ "Content-Type": common.Constants.APPLICATION_JSON,
1072
+ "opc-request-id": listPbfListingVersionsRequest.opcRequestId
1073
+ };
1074
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1075
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPbfListingVersionsRequest.retryConfiguration, specRetryConfiguration);
1076
+ if (this.logger)
1077
+ retrier.logger = this.logger;
1078
+ const request = yield oci_common_2.composeRequest({
1079
+ baseEndpoint: this._endpoint,
1080
+ defaultHeaders: this._defaultHeaders,
1081
+ path: "/pbfListingVersions",
1082
+ method: "GET",
1083
+ pathParams: pathParams,
1084
+ headerParams: headerParams,
1085
+ queryParams: queryParams
1086
+ });
1087
+ try {
1088
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1089
+ const sdkResponse = oci_common_2.composeResponse({
1090
+ responseObject: {},
1091
+ body: yield response.json(),
1092
+ bodyKey: "pbfListingVersionsCollection",
1093
+ bodyModel: model.PbfListingVersionsCollection,
1094
+ type: "model.PbfListingVersionsCollection",
1095
+ responseHeaders: [
1096
+ {
1097
+ value: response.headers.get("opc-request-id"),
1098
+ key: "opcRequestId",
1099
+ dataType: "string"
1100
+ },
1101
+ {
1102
+ value: response.headers.get("opc-next-page"),
1103
+ key: "opcNextPage",
1104
+ dataType: "string"
1105
+ }
1106
+ ]
1107
+ });
1108
+ return sdkResponse;
1109
+ }
1110
+ catch (err) {
1111
+ throw err;
1112
+ }
1113
+ });
1114
+ }
1115
+ /**
1116
+ * Fetches a wrapped list of all Pre-built Function(PBF) Listings. Returns a PbfListingCollection containing
1117
+ * an array of PbfListingSummary response models.
1118
+ *
1119
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1120
+ * @param ListPbfListingsRequest
1121
+ * @return ListPbfListingsResponse
1122
+ * @throws OciError when an error occurs
1123
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListPbfListings.ts.html |here} to see how to use ListPbfListings API.
1124
+ */
1125
+ listPbfListings(listPbfListingsRequest) {
1126
+ return __awaiter(this, void 0, void 0, function* () {
1127
+ if (this.logger)
1128
+ this.logger.debug("Calling operation FunctionsManagementClient#listPbfListings.");
1129
+ const operationName = "listPbfListings";
1130
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/functions/20181201/PbfListing/ListPbfListings";
1131
+ const pathParams = {};
1132
+ const queryParams = {
1133
+ "pbfListingId": listPbfListingsRequest.pbfListingId,
1134
+ "name": listPbfListingsRequest.name,
1135
+ "nameContains": listPbfListingsRequest.nameContains,
1136
+ "nameStartsWith": listPbfListingsRequest.nameStartsWith,
1137
+ "trigger": listPbfListingsRequest.trigger,
1138
+ "lifecycleState": listPbfListingsRequest.lifecycleState,
1139
+ "limit": listPbfListingsRequest.limit,
1140
+ "page": listPbfListingsRequest.page,
1141
+ "sortOrder": listPbfListingsRequest.sortOrder,
1142
+ "sortBy": listPbfListingsRequest.sortBy
1143
+ };
1144
+ let headerParams = {
1145
+ "Content-Type": common.Constants.APPLICATION_JSON,
1146
+ "opc-request-id": listPbfListingsRequest.opcRequestId
1147
+ };
1148
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1149
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPbfListingsRequest.retryConfiguration, specRetryConfiguration);
1150
+ if (this.logger)
1151
+ retrier.logger = this.logger;
1152
+ const request = yield oci_common_2.composeRequest({
1153
+ baseEndpoint: this._endpoint,
1154
+ defaultHeaders: this._defaultHeaders,
1155
+ path: "/pbfListings",
1156
+ method: "GET",
1157
+ pathParams: pathParams,
1158
+ headerParams: headerParams,
1159
+ queryParams: queryParams
1160
+ });
1161
+ try {
1162
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1163
+ const sdkResponse = oci_common_2.composeResponse({
1164
+ responseObject: {},
1165
+ body: yield response.json(),
1166
+ bodyKey: "pbfListingsCollection",
1167
+ bodyModel: model.PbfListingsCollection,
1168
+ type: "model.PbfListingsCollection",
1169
+ responseHeaders: [
1170
+ {
1171
+ value: response.headers.get("opc-request-id"),
1172
+ key: "opcRequestId",
1173
+ dataType: "string"
1174
+ },
1175
+ {
1176
+ value: response.headers.get("opc-next-page"),
1177
+ key: "opcNextPage",
1178
+ dataType: "string"
1179
+ }
1180
+ ]
1181
+ });
1182
+ return sdkResponse;
1183
+ }
1184
+ catch (err) {
1185
+ throw err;
1186
+ }
1187
+ });
1188
+ }
1189
+ /**
1190
+ * Returns a list of Triggers.
1191
+ *
1192
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1193
+ * @param ListTriggersRequest
1194
+ * @return ListTriggersResponse
1195
+ * @throws OciError when an error occurs
1196
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/ListTriggers.ts.html |here} to see how to use ListTriggers API.
1197
+ */
1198
+ listTriggers(listTriggersRequest) {
1199
+ return __awaiter(this, void 0, void 0, function* () {
1200
+ if (this.logger)
1201
+ this.logger.debug("Calling operation FunctionsManagementClient#listTriggers.");
1202
+ const operationName = "listTriggers";
1203
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/functions/20181201/TriggersCollection/ListTriggers";
1204
+ const pathParams = {};
1205
+ const queryParams = {
1206
+ "name": listTriggersRequest.name,
1207
+ "limit": listTriggersRequest.limit,
1208
+ "page": listTriggersRequest.page,
1209
+ "sortOrder": listTriggersRequest.sortOrder
1210
+ };
1211
+ let headerParams = {
1212
+ "Content-Type": common.Constants.APPLICATION_JSON,
1213
+ "opc-request-id": listTriggersRequest.opcRequestId
1214
+ };
1215
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
1216
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTriggersRequest.retryConfiguration, specRetryConfiguration);
1217
+ if (this.logger)
1218
+ retrier.logger = this.logger;
1219
+ const request = yield oci_common_2.composeRequest({
1220
+ baseEndpoint: this._endpoint,
1221
+ defaultHeaders: this._defaultHeaders,
1222
+ path: "/pbfListings/triggers",
1223
+ method: "GET",
1224
+ pathParams: pathParams,
1225
+ headerParams: headerParams,
1226
+ queryParams: queryParams
1227
+ });
1228
+ try {
1229
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1230
+ const sdkResponse = oci_common_2.composeResponse({
1231
+ responseObject: {},
1232
+ body: yield response.json(),
1233
+ bodyKey: "triggersCollection",
1234
+ bodyModel: model.TriggersCollection,
1235
+ type: "model.TriggersCollection",
1236
+ responseHeaders: [
1237
+ {
1238
+ value: response.headers.get("opc-request-id"),
1239
+ key: "opcRequestId",
1240
+ dataType: "string"
1241
+ },
1242
+ {
1243
+ value: response.headers.get("opc-next-page"),
1244
+ key: "opcNextPage",
1245
+ dataType: "string"
1246
+ }
1247
+ ]
1248
+ });
1249
+ return sdkResponse;
1250
+ }
1251
+ catch (err) {
1252
+ throw err;
1253
+ }
1254
+ });
1255
+ }
912
1256
  /**
913
1257
  * Modifies an application
914
1258
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
915
1259
  * @param UpdateApplicationRequest
916
1260
  * @return UpdateApplicationResponse
917
1261
  * @throws OciError when an error occurs
918
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
1262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/UpdateApplication.ts.html |here} to see how to use UpdateApplication API.
919
1263
  */
920
1264
  updateApplication(updateApplicationRequest) {
921
1265
  return __awaiter(this, void 0, void 0, function* () {
@@ -980,7 +1324,7 @@ class FunctionsManagementClient {
980
1324
  * @param UpdateFunctionRequest
981
1325
  * @return UpdateFunctionResponse
982
1326
  * @throws OciError when an error occurs
983
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.54.0/functions/UpdateFunction.ts.html |here} to see how to use UpdateFunction API.
1327
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.55.1/functions/UpdateFunction.ts.html |here} to see how to use UpdateFunction API.
984
1328
  */
985
1329
  updateFunction(updateFunctionRequest) {
986
1330
  return __awaiter(this, void 0, void 0, function* () {