oci-core 2.122.1 → 2.122.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.
Files changed (67) hide show
  1. package/lib/client.d.ts +39 -0
  2. package/lib/client.js +276 -1
  3. package/lib/client.js.map +1 -1
  4. package/lib/compute-waiter.d.ts +18 -0
  5. package/lib/compute-waiter.js +30 -0
  6. package/lib/compute-waiter.js.map +1 -1
  7. package/lib/model/component-version.d.ts +36 -0
  8. package/lib/model/component-version.js +36 -0
  9. package/lib/model/component-version.js.map +1 -0
  10. package/lib/model/compute-host-summary.d.ts +5 -0
  11. package/lib/model/compute-host-summary.js.map +1 -1
  12. package/lib/model/compute-host.d.ts +10 -0
  13. package/lib/model/compute-host.js.map +1 -1
  14. package/lib/model/firmware-bundle-summary.d.ts +67 -0
  15. package/lib/model/firmware-bundle-summary.js +74 -0
  16. package/lib/model/firmware-bundle-summary.js.map +1 -0
  17. package/lib/model/firmware-bundle-transitions.d.ts +36 -0
  18. package/lib/model/firmware-bundle-transitions.js +36 -0
  19. package/lib/model/firmware-bundle-transitions.js.map +1 -0
  20. package/lib/model/firmware-bundle.d.ts +78 -0
  21. package/lib/model/firmware-bundle.js +85 -0
  22. package/lib/model/firmware-bundle.js.map +1 -0
  23. package/lib/model/firmware-bundles-collection.d.ts +33 -0
  24. package/lib/model/firmware-bundles-collection.js +68 -0
  25. package/lib/model/firmware-bundles-collection.js.map +1 -0
  26. package/lib/model/host-group-configuration.d.ts +13 -0
  27. package/lib/model/host-group-configuration.js +10 -0
  28. package/lib/model/host-group-configuration.js.map +1 -1
  29. package/lib/model/i-scsi-volume-attachment.d.ts +7 -0
  30. package/lib/model/i-scsi-volume-attachment.js.map +1 -1
  31. package/lib/model/index.d.ts +12 -0
  32. package/lib/model/index.js +24 -12
  33. package/lib/model/index.js.map +1 -1
  34. package/lib/model/platform-versions.d.ts +37 -0
  35. package/lib/model/platform-versions.js +68 -0
  36. package/lib/model/platform-versions.js.map +1 -0
  37. package/lib/model/shape.d.ts +5 -0
  38. package/lib/model/shape.js.map +1 -1
  39. package/lib/request/apply-host-configuration-request.d.ts +45 -0
  40. package/lib/request/apply-host-configuration-request.js +15 -0
  41. package/lib/request/apply-host-configuration-request.js.map +1 -0
  42. package/lib/request/check-host-configuration-request.d.ts +45 -0
  43. package/lib/request/check-host-configuration-request.js +15 -0
  44. package/lib/request/check-host-configuration-request.js.map +1 -0
  45. package/lib/request/get-firmware-bundle-request.d.ts +28 -0
  46. package/lib/request/get-firmware-bundle-request.js +15 -0
  47. package/lib/request/get-firmware-bundle-request.js.map +1 -0
  48. package/lib/request/index.d.ts +8 -0
  49. package/lib/request/index.js.map +1 -1
  50. package/lib/request/list-firmware-bundles-request.d.ts +57 -0
  51. package/lib/request/list-firmware-bundles-request.js +15 -0
  52. package/lib/request/list-firmware-bundles-request.js.map +1 -0
  53. package/lib/request/list-shapes-request.d.ts +4 -0
  54. package/lib/response/apply-host-configuration-response.d.ts +42 -0
  55. package/lib/response/apply-host-configuration-response.js +15 -0
  56. package/lib/response/apply-host-configuration-response.js.map +1 -0
  57. package/lib/response/check-host-configuration-response.d.ts +35 -0
  58. package/lib/response/check-host-configuration-response.js +15 -0
  59. package/lib/response/check-host-configuration-response.js.map +1 -0
  60. package/lib/response/get-firmware-bundle-response.d.ts +25 -0
  61. package/lib/response/get-firmware-bundle-response.js +15 -0
  62. package/lib/response/get-firmware-bundle-response.js.map +1 -0
  63. package/lib/response/index.d.ts +8 -0
  64. package/lib/response/list-firmware-bundles-response.d.ts +32 -0
  65. package/lib/response/list-firmware-bundles-response.js +15 -0
  66. package/lib/response/list-firmware-bundles-response.js.map +1 -0
  67. package/package.json +3 -3
package/lib/client.d.ts CHANGED
@@ -1227,6 +1227,15 @@ export declare class ComputeClient {
1227
1227
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.ts.html |here} to see how to use AddImageShapeCompatibilityEntry API.
1228
1228
  */
1229
1229
  addImageShapeCompatibilityEntry(addImageShapeCompatibilityEntryRequest: requests.AddImageShapeCompatibilityEntryRequest): Promise<responses.AddImageShapeCompatibilityEntryResponse>;
1230
+ /**
1231
+ * Triggers the asynchronous process that applies the host's target configuration
1232
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1233
+ * @param ApplyHostConfigurationRequest
1234
+ * @return ApplyHostConfigurationResponse
1235
+ * @throws OciError when an error occurs
1236
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ApplyHostConfiguration.ts.html |here} to see how to use ApplyHostConfiguration API.
1237
+ */
1238
+ applyHostConfiguration(applyHostConfigurationRequest: requests.ApplyHostConfigurationRequest): Promise<responses.ApplyHostConfigurationResponse>;
1230
1239
  /**
1231
1240
  * Attaches the specified boot volume to the specified instance.
1232
1241
  *
@@ -1423,6 +1432,15 @@ export declare class ComputeClient {
1423
1432
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ChangeInstanceCompartment.ts.html |here} to see how to use ChangeInstanceCompartment API.
1424
1433
  */
1425
1434
  changeInstanceCompartment(changeInstanceCompartmentRequest: requests.ChangeInstanceCompartmentRequest): Promise<responses.ChangeInstanceCompartmentResponse>;
1435
+ /**
1436
+ * Marks the host to be checked for conformance to its target configuration
1437
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
1438
+ * @param CheckHostConfigurationRequest
1439
+ * @return CheckHostConfigurationResponse
1440
+ * @throws OciError when an error occurs
1441
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/CheckHostConfiguration.ts.html |here} to see how to use CheckHostConfiguration API.
1442
+ */
1443
+ checkHostConfiguration(checkHostConfigurationRequest: requests.CheckHostConfigurationRequest): Promise<responses.CheckHostConfigurationResponse>;
1426
1444
  /**
1427
1445
  * Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions.
1428
1446
  *
@@ -1934,6 +1952,16 @@ export declare class ComputeClient {
1934
1952
  * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetDedicatedVmHost.ts.html |here} to see how to use GetDedicatedVmHost API.
1935
1953
  */
1936
1954
  getDedicatedVmHost(getDedicatedVmHostRequest: requests.GetDedicatedVmHostRequest): Promise<responses.GetDedicatedVmHostResponse>;
1955
+ /**
1956
+ * Returns the Firmware Bundle matching the provided firmwareBundleId.
1957
+ *
1958
+ * This operation does not retry by default if the user has not defined a retry configuration.
1959
+ * @param GetFirmwareBundleRequest
1960
+ * @return GetFirmwareBundleResponse
1961
+ * @throws OciError when an error occurs
1962
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetFirmwareBundle.ts.html |here} to see how to use GetFirmwareBundle API.
1963
+ */
1964
+ getFirmwareBundle(getFirmwareBundleRequest: requests.GetFirmwareBundleRequest): Promise<responses.GetFirmwareBundleResponse>;
1937
1965
  /**
1938
1966
  * Gets the specified image.
1939
1967
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -2874,6 +2902,17 @@ export declare class ComputeClient {
2874
2902
  * @param request a request which can be sent to the service operation
2875
2903
  */
2876
2904
  listDedicatedVmHostsResponseIterator(request: requests.ListDedicatedVmHostsRequest): AsyncIterableIterator<responses.ListDedicatedVmHostsResponse>;
2905
+ /**
2906
+ * Gets a list of all Firmware Bundles in a compartment for specified platform. Can filter results to include
2907
+ * only the default (recommended) Firmware Bundle for the given platform.
2908
+ *
2909
+ * This operation does not retry by default if the user has not defined a retry configuration.
2910
+ * @param ListFirmwareBundlesRequest
2911
+ * @return ListFirmwareBundlesResponse
2912
+ * @throws OciError when an error occurs
2913
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListFirmwareBundles.ts.html |here} to see how to use ListFirmwareBundles API.
2914
+ */
2915
+ listFirmwareBundles(listFirmwareBundlesRequest: requests.ListFirmwareBundlesRequest): Promise<responses.ListFirmwareBundlesResponse>;
2877
2916
  /**
2878
2917
  * Lists the compatible shapes for the specified image.
2879
2918
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
package/lib/client.js CHANGED
@@ -4812,6 +4812,81 @@ class ComputeClient {
4812
4812
  }
4813
4813
  });
4814
4814
  }
4815
+ /**
4816
+ * Triggers the asynchronous process that applies the host's target configuration
4817
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
4818
+ * @param ApplyHostConfigurationRequest
4819
+ * @return ApplyHostConfigurationResponse
4820
+ * @throws OciError when an error occurs
4821
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ApplyHostConfiguration.ts.html |here} to see how to use ApplyHostConfiguration API.
4822
+ */
4823
+ applyHostConfiguration(applyHostConfigurationRequest) {
4824
+ return __awaiter(this, void 0, void 0, function* () {
4825
+ if (this.logger)
4826
+ this.logger.debug("Calling operation ComputeClient#applyHostConfiguration.");
4827
+ const operationName = "applyHostConfiguration";
4828
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/ApplyHostConfiguration";
4829
+ const pathParams = {
4830
+ "{computeHostId}": applyHostConfigurationRequest.computeHostId
4831
+ };
4832
+ const queryParams = {};
4833
+ let headerParams = {
4834
+ "Content-Type": common.Constants.APPLICATION_JSON,
4835
+ "if-match": applyHostConfigurationRequest.ifMatch,
4836
+ "opc-request-id": applyHostConfigurationRequest.opcRequestId,
4837
+ "opc-retry-token": applyHostConfigurationRequest.opcRetryToken
4838
+ };
4839
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
4840
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, applyHostConfigurationRequest.retryConfiguration, specRetryConfiguration);
4841
+ if (this.logger)
4842
+ retrier.logger = this.logger;
4843
+ const request = yield oci_common_2.composeRequest({
4844
+ baseEndpoint: this._endpoint,
4845
+ defaultHeaders: this._defaultHeaders,
4846
+ path: "/computeHosts/{computeHostId}/actions/applyConfiguration",
4847
+ method: "POST",
4848
+ pathParams: pathParams,
4849
+ headerParams: headerParams,
4850
+ queryParams: queryParams
4851
+ });
4852
+ try {
4853
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4854
+ const sdkResponse = oci_common_2.composeResponse({
4855
+ responseObject: {},
4856
+ body: yield response.json(),
4857
+ bodyKey: "computeHost",
4858
+ bodyModel: model.ComputeHost,
4859
+ type: "model.ComputeHost",
4860
+ responseHeaders: [
4861
+ {
4862
+ value: response.headers.get("opc-request-id"),
4863
+ key: "opcRequestId",
4864
+ dataType: "string"
4865
+ },
4866
+ {
4867
+ value: response.headers.get("opc-work-request-id"),
4868
+ key: "opcWorkRequestId",
4869
+ dataType: "string"
4870
+ },
4871
+ {
4872
+ value: response.headers.get("etag"),
4873
+ key: "etag",
4874
+ dataType: "string"
4875
+ },
4876
+ {
4877
+ value: response.headers.get("location"),
4878
+ key: "location",
4879
+ dataType: "string"
4880
+ }
4881
+ ]
4882
+ });
4883
+ return sdkResponse;
4884
+ }
4885
+ catch (err) {
4886
+ throw err;
4887
+ }
4888
+ });
4889
+ }
4815
4890
  /**
4816
4891
  * Attaches the specified boot volume to the specified instance.
4817
4892
  *
@@ -5860,6 +5935,76 @@ class ComputeClient {
5860
5935
  }
5861
5936
  });
5862
5937
  }
5938
+ /**
5939
+ * Marks the host to be checked for conformance to its target configuration
5940
+ * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
5941
+ * @param CheckHostConfigurationRequest
5942
+ * @return CheckHostConfigurationResponse
5943
+ * @throws OciError when an error occurs
5944
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/CheckHostConfiguration.ts.html |here} to see how to use CheckHostConfiguration API.
5945
+ */
5946
+ checkHostConfiguration(checkHostConfigurationRequest) {
5947
+ return __awaiter(this, void 0, void 0, function* () {
5948
+ if (this.logger)
5949
+ this.logger.debug("Calling operation ComputeClient#checkHostConfiguration.");
5950
+ const operationName = "checkHostConfiguration";
5951
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ComputeHost/CheckHostConfiguration";
5952
+ const pathParams = {
5953
+ "{computeHostId}": checkHostConfigurationRequest.computeHostId
5954
+ };
5955
+ const queryParams = {};
5956
+ let headerParams = {
5957
+ "Content-Type": common.Constants.APPLICATION_JSON,
5958
+ "if-match": checkHostConfigurationRequest.ifMatch,
5959
+ "opc-request-id": checkHostConfigurationRequest.opcRequestId,
5960
+ "opc-retry-token": checkHostConfigurationRequest.opcRetryToken
5961
+ };
5962
+ const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
5963
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, checkHostConfigurationRequest.retryConfiguration, specRetryConfiguration);
5964
+ if (this.logger)
5965
+ retrier.logger = this.logger;
5966
+ const request = yield oci_common_2.composeRequest({
5967
+ baseEndpoint: this._endpoint,
5968
+ defaultHeaders: this._defaultHeaders,
5969
+ path: "/computeHosts/{computeHostId}/actions/checkConfiguration",
5970
+ method: "POST",
5971
+ pathParams: pathParams,
5972
+ headerParams: headerParams,
5973
+ queryParams: queryParams
5974
+ });
5975
+ try {
5976
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
5977
+ const sdkResponse = oci_common_2.composeResponse({
5978
+ responseObject: {},
5979
+ body: yield response.json(),
5980
+ bodyKey: "computeHost",
5981
+ bodyModel: model.ComputeHost,
5982
+ type: "model.ComputeHost",
5983
+ responseHeaders: [
5984
+ {
5985
+ value: response.headers.get("opc-request-id"),
5986
+ key: "opcRequestId",
5987
+ dataType: "string"
5988
+ },
5989
+ {
5990
+ value: response.headers.get("etag"),
5991
+ key: "etag",
5992
+ dataType: "string"
5993
+ },
5994
+ {
5995
+ value: response.headers.get("location"),
5996
+ key: "location",
5997
+ dataType: "string"
5998
+ }
5999
+ ]
6000
+ });
6001
+ return sdkResponse;
6002
+ }
6003
+ catch (err) {
6004
+ throw err;
6005
+ }
6006
+ });
6007
+ }
5863
6008
  /**
5864
6009
  * Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions.
5865
6010
  *
@@ -8688,6 +8833,65 @@ class ComputeClient {
8688
8833
  }
8689
8834
  });
8690
8835
  }
8836
+ /**
8837
+ * Returns the Firmware Bundle matching the provided firmwareBundleId.
8838
+ *
8839
+ * This operation does not retry by default if the user has not defined a retry configuration.
8840
+ * @param GetFirmwareBundleRequest
8841
+ * @return GetFirmwareBundleResponse
8842
+ * @throws OciError when an error occurs
8843
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/GetFirmwareBundle.ts.html |here} to see how to use GetFirmwareBundle API.
8844
+ */
8845
+ getFirmwareBundle(getFirmwareBundleRequest) {
8846
+ return __awaiter(this, void 0, void 0, function* () {
8847
+ if (this.logger)
8848
+ this.logger.debug("Calling operation ComputeClient#getFirmwareBundle.");
8849
+ const operationName = "getFirmwareBundle";
8850
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FirmwareBundle/GetFirmwareBundle";
8851
+ const pathParams = {
8852
+ "{firmwareBundleId}": getFirmwareBundleRequest.firmwareBundleId
8853
+ };
8854
+ const queryParams = {};
8855
+ let headerParams = {
8856
+ "Content-Type": common.Constants.APPLICATION_JSON,
8857
+ "opc-request-id": getFirmwareBundleRequest.opcRequestId
8858
+ };
8859
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
8860
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getFirmwareBundleRequest.retryConfiguration, specRetryConfiguration);
8861
+ if (this.logger)
8862
+ retrier.logger = this.logger;
8863
+ const request = yield oci_common_2.composeRequest({
8864
+ baseEndpoint: this._endpoint,
8865
+ defaultHeaders: this._defaultHeaders,
8866
+ path: "/firmwareBundles/{firmwareBundleId}",
8867
+ method: "GET",
8868
+ pathParams: pathParams,
8869
+ headerParams: headerParams,
8870
+ queryParams: queryParams
8871
+ });
8872
+ try {
8873
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
8874
+ const sdkResponse = oci_common_2.composeResponse({
8875
+ responseObject: {},
8876
+ body: yield response.json(),
8877
+ bodyKey: "firmwareBundle",
8878
+ bodyModel: model.FirmwareBundle,
8879
+ type: "model.FirmwareBundle",
8880
+ responseHeaders: [
8881
+ {
8882
+ value: response.headers.get("opc-request-id"),
8883
+ key: "opcRequestId",
8884
+ dataType: "string"
8885
+ }
8886
+ ]
8887
+ });
8888
+ return sdkResponse;
8889
+ }
8890
+ catch (err) {
8891
+ throw err;
8892
+ }
8893
+ });
8894
+ }
8691
8895
  /**
8692
8896
  * Gets the specified image.
8693
8897
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -11895,6 +12099,76 @@ class ComputeClient {
11895
12099
  listDedicatedVmHostsResponseIterator(request) {
11896
12100
  return oci_common_1.paginateResponses(request, req => this.listDedicatedVmHosts(req));
11897
12101
  }
12102
+ /**
12103
+ * Gets a list of all Firmware Bundles in a compartment for specified platform. Can filter results to include
12104
+ * only the default (recommended) Firmware Bundle for the given platform.
12105
+ *
12106
+ * This operation does not retry by default if the user has not defined a retry configuration.
12107
+ * @param ListFirmwareBundlesRequest
12108
+ * @return ListFirmwareBundlesResponse
12109
+ * @throws OciError when an error occurs
12110
+ * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/ListFirmwareBundles.ts.html |here} to see how to use ListFirmwareBundles API.
12111
+ */
12112
+ listFirmwareBundles(listFirmwareBundlesRequest) {
12113
+ return __awaiter(this, void 0, void 0, function* () {
12114
+ if (this.logger)
12115
+ this.logger.debug("Calling operation ComputeClient#listFirmwareBundles.");
12116
+ const operationName = "listFirmwareBundles";
12117
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/FirmwareBundlesCollection/ListFirmwareBundles";
12118
+ const pathParams = {};
12119
+ const queryParams = {
12120
+ "compartmentId": listFirmwareBundlesRequest.compartmentId,
12121
+ "platform": listFirmwareBundlesRequest.platform,
12122
+ "isDefaultBundle": listFirmwareBundlesRequest.isDefaultBundle,
12123
+ "limit": listFirmwareBundlesRequest.limit,
12124
+ "page": listFirmwareBundlesRequest.page,
12125
+ "lifecycleState": listFirmwareBundlesRequest.lifecycleState
12126
+ };
12127
+ let headerParams = {
12128
+ "Content-Type": common.Constants.APPLICATION_JSON,
12129
+ "opc-request-id": listFirmwareBundlesRequest.opcRequestId
12130
+ };
12131
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
12132
+ const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFirmwareBundlesRequest.retryConfiguration, specRetryConfiguration);
12133
+ if (this.logger)
12134
+ retrier.logger = this.logger;
12135
+ const request = yield oci_common_2.composeRequest({
12136
+ baseEndpoint: this._endpoint,
12137
+ defaultHeaders: this._defaultHeaders,
12138
+ path: "/firmwareBundles",
12139
+ method: "GET",
12140
+ pathParams: pathParams,
12141
+ headerParams: headerParams,
12142
+ queryParams: queryParams
12143
+ });
12144
+ try {
12145
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
12146
+ const sdkResponse = oci_common_2.composeResponse({
12147
+ responseObject: {},
12148
+ body: yield response.json(),
12149
+ bodyKey: "firmwareBundlesCollection",
12150
+ bodyModel: model.FirmwareBundlesCollection,
12151
+ type: "model.FirmwareBundlesCollection",
12152
+ responseHeaders: [
12153
+ {
12154
+ value: response.headers.get("opc-next-page"),
12155
+ key: "opcNextPage",
12156
+ dataType: "string"
12157
+ },
12158
+ {
12159
+ value: response.headers.get("opc-request-id"),
12160
+ key: "opcRequestId",
12161
+ dataType: "string"
12162
+ }
12163
+ ]
12164
+ });
12165
+ return sdkResponse;
12166
+ }
12167
+ catch (err) {
12168
+ throw err;
12169
+ }
12170
+ });
12171
+ }
11898
12172
  /**
11899
12173
  * Lists the compatible shapes for the specified image.
11900
12174
  * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
@@ -12594,7 +12868,8 @@ class ComputeClient {
12594
12868
  "compartmentId": listShapesRequest.compartmentId,
12595
12869
  "limit": listShapesRequest.limit,
12596
12870
  "page": listShapesRequest.page,
12597
- "imageId": listShapesRequest.imageId
12871
+ "imageId": listShapesRequest.imageId,
12872
+ "shape": listShapesRequest.shape
12598
12873
  };
12599
12874
  let headerParams = {
12600
12875
  "Content-Type": common.Constants.APPLICATION_JSON