@aws-sdk/client-odb 3.841.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/LICENSE +201 -0
- package/README.md +525 -0
- package/dist-cjs/Odb.js +91 -0
- package/dist-cjs/OdbClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AcceptMarketplaceRegistrationCommand.js +26 -0
- package/dist-cjs/commands/CreateCloudAutonomousVmClusterCommand.js +26 -0
- package/dist-cjs/commands/CreateCloudExadataInfrastructureCommand.js +27 -0
- package/dist-cjs/commands/CreateCloudVmClusterCommand.js +26 -0
- package/dist-cjs/commands/CreateOdbNetworkCommand.js +26 -0
- package/dist-cjs/commands/CreateOdbPeeringConnectionCommand.js +26 -0
- package/dist-cjs/commands/DeleteCloudAutonomousVmClusterCommand.js +26 -0
- package/dist-cjs/commands/DeleteCloudExadataInfrastructureCommand.js +26 -0
- package/dist-cjs/commands/DeleteCloudVmClusterCommand.js +26 -0
- package/dist-cjs/commands/DeleteOdbNetworkCommand.js +26 -0
- package/dist-cjs/commands/DeleteOdbPeeringConnectionCommand.js +26 -0
- package/dist-cjs/commands/GetCloudAutonomousVmClusterCommand.js +26 -0
- package/dist-cjs/commands/GetCloudExadataInfrastructureCommand.js +27 -0
- package/dist-cjs/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.js +26 -0
- package/dist-cjs/commands/GetCloudVmClusterCommand.js +27 -0
- package/dist-cjs/commands/GetDbNodeCommand.js +26 -0
- package/dist-cjs/commands/GetDbServerCommand.js +26 -0
- package/dist-cjs/commands/GetOciOnboardingStatusCommand.js +26 -0
- package/dist-cjs/commands/GetOdbNetworkCommand.js +26 -0
- package/dist-cjs/commands/GetOdbPeeringConnectionCommand.js +26 -0
- package/dist-cjs/commands/InitializeServiceCommand.js +26 -0
- package/dist-cjs/commands/ListAutonomousVirtualMachinesCommand.js +26 -0
- package/dist-cjs/commands/ListCloudAutonomousVmClustersCommand.js +26 -0
- package/dist-cjs/commands/ListCloudExadataInfrastructuresCommand.js +27 -0
- package/dist-cjs/commands/ListCloudVmClustersCommand.js +27 -0
- package/dist-cjs/commands/ListDbNodesCommand.js +26 -0
- package/dist-cjs/commands/ListDbServersCommand.js +26 -0
- package/dist-cjs/commands/ListDbSystemShapesCommand.js +26 -0
- package/dist-cjs/commands/ListGiVersionsCommand.js +26 -0
- package/dist-cjs/commands/ListOdbNetworksCommand.js +26 -0
- package/dist-cjs/commands/ListOdbPeeringConnectionsCommand.js +26 -0
- package/dist-cjs/commands/ListSystemVersionsCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/RebootDbNodeCommand.js +26 -0
- package/dist-cjs/commands/StartDbNodeCommand.js +26 -0
- package/dist-cjs/commands/StopDbNodeCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateCloudExadataInfrastructureCommand.js +26 -0
- package/dist-cjs/commands/UpdateOdbNetworkCommand.js +26 -0
- package/dist-cjs/commands/index.js +43 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/OdbServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +303 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAutonomousVirtualMachinesPaginator.js +7 -0
- package/dist-cjs/pagination/ListCloudAutonomousVmClustersPaginator.js +7 -0
- package/dist-cjs/pagination/ListCloudExadataInfrastructuresPaginator.js +7 -0
- package/dist-cjs/pagination/ListCloudVmClustersPaginator.js +7 -0
- package/dist-cjs/pagination/ListDbNodesPaginator.js +7 -0
- package/dist-cjs/pagination/ListDbServersPaginator.js +7 -0
- package/dist-cjs/pagination/ListDbSystemShapesPaginator.js +7 -0
- package/dist-cjs/pagination/ListGiVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListOdbNetworksPaginator.js +7 -0
- package/dist-cjs/pagination/ListOdbPeeringConnectionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListSystemVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +15 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1698 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/Odb.js +87 -0
- package/dist-es/OdbClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AcceptMarketplaceRegistrationCommand.js +22 -0
- package/dist-es/commands/CreateCloudAutonomousVmClusterCommand.js +22 -0
- package/dist-es/commands/CreateCloudExadataInfrastructureCommand.js +23 -0
- package/dist-es/commands/CreateCloudVmClusterCommand.js +22 -0
- package/dist-es/commands/CreateOdbNetworkCommand.js +22 -0
- package/dist-es/commands/CreateOdbPeeringConnectionCommand.js +22 -0
- package/dist-es/commands/DeleteCloudAutonomousVmClusterCommand.js +22 -0
- package/dist-es/commands/DeleteCloudExadataInfrastructureCommand.js +22 -0
- package/dist-es/commands/DeleteCloudVmClusterCommand.js +22 -0
- package/dist-es/commands/DeleteOdbNetworkCommand.js +22 -0
- package/dist-es/commands/DeleteOdbPeeringConnectionCommand.js +22 -0
- package/dist-es/commands/GetCloudAutonomousVmClusterCommand.js +22 -0
- package/dist-es/commands/GetCloudExadataInfrastructureCommand.js +23 -0
- package/dist-es/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.js +22 -0
- package/dist-es/commands/GetCloudVmClusterCommand.js +23 -0
- package/dist-es/commands/GetDbNodeCommand.js +22 -0
- package/dist-es/commands/GetDbServerCommand.js +22 -0
- package/dist-es/commands/GetOciOnboardingStatusCommand.js +22 -0
- package/dist-es/commands/GetOdbNetworkCommand.js +22 -0
- package/dist-es/commands/GetOdbPeeringConnectionCommand.js +22 -0
- package/dist-es/commands/InitializeServiceCommand.js +22 -0
- package/dist-es/commands/ListAutonomousVirtualMachinesCommand.js +22 -0
- package/dist-es/commands/ListCloudAutonomousVmClustersCommand.js +22 -0
- package/dist-es/commands/ListCloudExadataInfrastructuresCommand.js +23 -0
- package/dist-es/commands/ListCloudVmClustersCommand.js +23 -0
- package/dist-es/commands/ListDbNodesCommand.js +22 -0
- package/dist-es/commands/ListDbServersCommand.js +22 -0
- package/dist-es/commands/ListDbSystemShapesCommand.js +22 -0
- package/dist-es/commands/ListGiVersionsCommand.js +22 -0
- package/dist-es/commands/ListOdbNetworksCommand.js +22 -0
- package/dist-es/commands/ListOdbPeeringConnectionsCommand.js +22 -0
- package/dist-es/commands/ListSystemVersionsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/RebootDbNodeCommand.js +22 -0
- package/dist-es/commands/StartDbNodeCommand.js +22 -0
- package/dist-es/commands/StopDbNodeCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateCloudExadataInfrastructureCommand.js +22 -0
- package/dist-es/commands/UpdateOdbNetworkCommand.js +22 -0
- package/dist-es/commands/index.js +40 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/OdbServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +283 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAutonomousVirtualMachinesPaginator.js +4 -0
- package/dist-es/pagination/ListCloudAutonomousVmClustersPaginator.js +4 -0
- package/dist-es/pagination/ListCloudExadataInfrastructuresPaginator.js +4 -0
- package/dist-es/pagination/ListCloudVmClustersPaginator.js +4 -0
- package/dist-es/pagination/ListDbNodesPaginator.js +4 -0
- package/dist-es/pagination/ListDbServersPaginator.js +4 -0
- package/dist-es/pagination/ListDbSystemShapesPaginator.js +4 -0
- package/dist-es/pagination/ListGiVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListOdbNetworksPaginator.js +4 -0
- package/dist-es/pagination/ListOdbPeeringConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListSystemVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +12 -0
- package/dist-es/protocols/Aws_json1_0.js +1614 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/Odb.d.ts +299 -0
- package/dist-types/OdbClient.d.ts +227 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AcceptMarketplaceRegistrationCommand.d.ts +85 -0
- package/dist-types/commands/CreateCloudAutonomousVmClusterCommand.d.ts +139 -0
- package/dist-types/commands/CreateCloudExadataInfrastructureCommand.d.ts +133 -0
- package/dist-types/commands/CreateCloudVmClusterCommand.d.ts +126 -0
- package/dist-types/commands/CreateOdbNetworkCommand.d.ts +106 -0
- package/dist-types/commands/CreateOdbPeeringConnectionCommand.d.ts +99 -0
- package/dist-types/commands/DeleteCloudAutonomousVmClusterCommand.d.ts +85 -0
- package/dist-types/commands/DeleteCloudExadataInfrastructureCommand.d.ts +88 -0
- package/dist-types/commands/DeleteCloudVmClusterCommand.d.ts +85 -0
- package/dist-types/commands/DeleteOdbNetworkCommand.d.ts +86 -0
- package/dist-types/commands/DeleteOdbPeeringConnectionCommand.d.ts +85 -0
- package/dist-types/commands/GetCloudAutonomousVmClusterCommand.d.ts +162 -0
- package/dist-types/commands/GetCloudExadataInfrastructureCommand.d.ts +153 -0
- package/dist-types/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.d.ts +103 -0
- package/dist-types/commands/GetCloudVmClusterCommand.d.ts +151 -0
- package/dist-types/commands/GetDbNodeCommand.d.ts +117 -0
- package/dist-types/commands/GetDbServerCommand.d.ts +120 -0
- package/dist-types/commands/GetOciOnboardingStatusCommand.d.ts +84 -0
- package/dist-types/commands/GetOdbNetworkCommand.d.ts +140 -0
- package/dist-types/commands/GetOdbPeeringConnectionCommand.d.ts +98 -0
- package/dist-types/commands/InitializeServiceCommand.d.ts +80 -0
- package/dist-types/commands/ListAutonomousVirtualMachinesCommand.d.ts +106 -0
- package/dist-types/commands/ListCloudAutonomousVmClustersCommand.d.ts +167 -0
- package/dist-types/commands/ListCloudExadataInfrastructuresCommand.d.ts +154 -0
- package/dist-types/commands/ListCloudVmClustersCommand.d.ts +156 -0
- package/dist-types/commands/ListDbNodesCommand.d.ts +119 -0
- package/dist-types/commands/ListDbServersCommand.d.ts +124 -0
- package/dist-types/commands/ListDbSystemShapesCommand.d.ts +115 -0
- package/dist-types/commands/ListGiVersionsCommand.d.ts +91 -0
- package/dist-types/commands/ListOdbNetworksCommand.d.ts +141 -0
- package/dist-types/commands/ListOdbPeeringConnectionsCommand.d.ts +103 -0
- package/dist-types/commands/ListSystemVersionsCommand.d.ts +99 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +77 -0
- package/dist-types/commands/RebootDbNodeCommand.d.ts +90 -0
- package/dist-types/commands/StartDbNodeCommand.d.ts +90 -0
- package/dist-types/commands/StopDbNodeCommand.d.ts +90 -0
- package/dist-types/commands/TagResourceCommand.d.ts +79 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +76 -0
- package/dist-types/commands/UpdateCloudExadataInfrastructureCommand.d.ts +117 -0
- package/dist-types/commands/UpdateOdbNetworkCommand.d.ts +103 -0
- package/dist-types/commands/index.d.ts +40 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/OdbServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +4654 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAutonomousVirtualMachinesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudAutonomousVmClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudExadataInfrastructuresPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCloudVmClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDbNodesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDbServersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDbSystemShapesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGiVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOdbNetworksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOdbPeeringConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSystemVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +362 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/Odb.d.ts +700 -0
- package/dist-types/ts3.4/OdbClient.d.ts +356 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
- package/dist-types/ts3.4/commands/AcceptMarketplaceRegistrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCloudAutonomousVmClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCloudExadataInfrastructureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCloudVmClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateOdbNetworkCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateOdbPeeringConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCloudAutonomousVmClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCloudExadataInfrastructureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCloudVmClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteOdbNetworkCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteOdbPeeringConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudAutonomousVmClusterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudExadataInfrastructureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudExadataInfrastructureUnallocatedResourcesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCloudVmClusterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetDbNodeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDbServerCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOciOnboardingStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetOdbNetworkCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOdbPeeringConnectionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InitializeServiceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListAutonomousVirtualMachinesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCloudAutonomousVmClustersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCloudExadataInfrastructuresCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCloudVmClustersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDbNodesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDbServersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDbSystemShapesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGiVersionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListOdbNetworksCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListOdbPeeringConnectionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSystemVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RebootDbNodeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartDbNodeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopDbNodeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateCloudExadataInfrastructureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateOdbNetworkCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +40 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/OdbServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1187 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAutonomousVirtualMachinesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudAutonomousVmClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudExadataInfrastructuresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCloudVmClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDbNodesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDbServersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDbSystemShapesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGiVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOdbNetworksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOdbPeeringConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSystemVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +485 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,1614 @@
|
|
|
1
|
+
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
+
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
+
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { OdbServiceException as __BaseException } from "../models/OdbServiceException";
|
|
7
|
+
export const se_AcceptMarketplaceRegistrationCommand = async (input, context) => {
|
|
8
|
+
const headers = sharedHeaders("AcceptMarketplaceRegistration");
|
|
9
|
+
let body;
|
|
10
|
+
body = JSON.stringify(_json(input));
|
|
11
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
12
|
+
};
|
|
13
|
+
export const se_CreateCloudAutonomousVmClusterCommand = async (input, context) => {
|
|
14
|
+
const headers = sharedHeaders("CreateCloudAutonomousVmCluster");
|
|
15
|
+
let body;
|
|
16
|
+
body = JSON.stringify(se_CreateCloudAutonomousVmClusterInput(input, context));
|
|
17
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
18
|
+
};
|
|
19
|
+
export const se_CreateCloudExadataInfrastructureCommand = async (input, context) => {
|
|
20
|
+
const headers = sharedHeaders("CreateCloudExadataInfrastructure");
|
|
21
|
+
let body;
|
|
22
|
+
body = JSON.stringify(se_CreateCloudExadataInfrastructureInput(input, context));
|
|
23
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
24
|
+
};
|
|
25
|
+
export const se_CreateCloudVmClusterCommand = async (input, context) => {
|
|
26
|
+
const headers = sharedHeaders("CreateCloudVmCluster");
|
|
27
|
+
let body;
|
|
28
|
+
body = JSON.stringify(se_CreateCloudVmClusterInput(input, context));
|
|
29
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
|
+
};
|
|
31
|
+
export const se_CreateOdbNetworkCommand = async (input, context) => {
|
|
32
|
+
const headers = sharedHeaders("CreateOdbNetwork");
|
|
33
|
+
let body;
|
|
34
|
+
body = JSON.stringify(se_CreateOdbNetworkInput(input, context));
|
|
35
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
|
+
};
|
|
37
|
+
export const se_CreateOdbPeeringConnectionCommand = async (input, context) => {
|
|
38
|
+
const headers = sharedHeaders("CreateOdbPeeringConnection");
|
|
39
|
+
let body;
|
|
40
|
+
body = JSON.stringify(se_CreateOdbPeeringConnectionInput(input, context));
|
|
41
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
42
|
+
};
|
|
43
|
+
export const se_DeleteCloudAutonomousVmClusterCommand = async (input, context) => {
|
|
44
|
+
const headers = sharedHeaders("DeleteCloudAutonomousVmCluster");
|
|
45
|
+
let body;
|
|
46
|
+
body = JSON.stringify(_json(input));
|
|
47
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
|
+
};
|
|
49
|
+
export const se_DeleteCloudExadataInfrastructureCommand = async (input, context) => {
|
|
50
|
+
const headers = sharedHeaders("DeleteCloudExadataInfrastructure");
|
|
51
|
+
let body;
|
|
52
|
+
body = JSON.stringify(_json(input));
|
|
53
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
54
|
+
};
|
|
55
|
+
export const se_DeleteCloudVmClusterCommand = async (input, context) => {
|
|
56
|
+
const headers = sharedHeaders("DeleteCloudVmCluster");
|
|
57
|
+
let body;
|
|
58
|
+
body = JSON.stringify(_json(input));
|
|
59
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
60
|
+
};
|
|
61
|
+
export const se_DeleteOdbNetworkCommand = async (input, context) => {
|
|
62
|
+
const headers = sharedHeaders("DeleteOdbNetwork");
|
|
63
|
+
let body;
|
|
64
|
+
body = JSON.stringify(_json(input));
|
|
65
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
66
|
+
};
|
|
67
|
+
export const se_DeleteOdbPeeringConnectionCommand = async (input, context) => {
|
|
68
|
+
const headers = sharedHeaders("DeleteOdbPeeringConnection");
|
|
69
|
+
let body;
|
|
70
|
+
body = JSON.stringify(_json(input));
|
|
71
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
|
+
};
|
|
73
|
+
export const se_GetCloudAutonomousVmClusterCommand = async (input, context) => {
|
|
74
|
+
const headers = sharedHeaders("GetCloudAutonomousVmCluster");
|
|
75
|
+
let body;
|
|
76
|
+
body = JSON.stringify(_json(input));
|
|
77
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
|
+
};
|
|
79
|
+
export const se_GetCloudExadataInfrastructureCommand = async (input, context) => {
|
|
80
|
+
const headers = sharedHeaders("GetCloudExadataInfrastructure");
|
|
81
|
+
let body;
|
|
82
|
+
body = JSON.stringify(_json(input));
|
|
83
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
84
|
+
};
|
|
85
|
+
export const se_GetCloudExadataInfrastructureUnallocatedResourcesCommand = async (input, context) => {
|
|
86
|
+
const headers = sharedHeaders("GetCloudExadataInfrastructureUnallocatedResources");
|
|
87
|
+
let body;
|
|
88
|
+
body = JSON.stringify(_json(input));
|
|
89
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
|
+
};
|
|
91
|
+
export const se_GetCloudVmClusterCommand = async (input, context) => {
|
|
92
|
+
const headers = sharedHeaders("GetCloudVmCluster");
|
|
93
|
+
let body;
|
|
94
|
+
body = JSON.stringify(_json(input));
|
|
95
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
96
|
+
};
|
|
97
|
+
export const se_GetDbNodeCommand = async (input, context) => {
|
|
98
|
+
const headers = sharedHeaders("GetDbNode");
|
|
99
|
+
let body;
|
|
100
|
+
body = JSON.stringify(_json(input));
|
|
101
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
102
|
+
};
|
|
103
|
+
export const se_GetDbServerCommand = async (input, context) => {
|
|
104
|
+
const headers = sharedHeaders("GetDbServer");
|
|
105
|
+
let body;
|
|
106
|
+
body = JSON.stringify(_json(input));
|
|
107
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
108
|
+
};
|
|
109
|
+
export const se_GetOciOnboardingStatusCommand = async (input, context) => {
|
|
110
|
+
const headers = sharedHeaders("GetOciOnboardingStatus");
|
|
111
|
+
let body;
|
|
112
|
+
body = JSON.stringify(_json(input));
|
|
113
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
|
+
};
|
|
115
|
+
export const se_GetOdbNetworkCommand = async (input, context) => {
|
|
116
|
+
const headers = sharedHeaders("GetOdbNetwork");
|
|
117
|
+
let body;
|
|
118
|
+
body = JSON.stringify(_json(input));
|
|
119
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
|
+
};
|
|
121
|
+
export const se_GetOdbPeeringConnectionCommand = async (input, context) => {
|
|
122
|
+
const headers = sharedHeaders("GetOdbPeeringConnection");
|
|
123
|
+
let body;
|
|
124
|
+
body = JSON.stringify(_json(input));
|
|
125
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
126
|
+
};
|
|
127
|
+
export const se_InitializeServiceCommand = async (input, context) => {
|
|
128
|
+
const headers = sharedHeaders("InitializeService");
|
|
129
|
+
let body;
|
|
130
|
+
body = JSON.stringify(_json(input));
|
|
131
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
|
+
};
|
|
133
|
+
export const se_ListAutonomousVirtualMachinesCommand = async (input, context) => {
|
|
134
|
+
const headers = sharedHeaders("ListAutonomousVirtualMachines");
|
|
135
|
+
let body;
|
|
136
|
+
body = JSON.stringify(_json(input));
|
|
137
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
138
|
+
};
|
|
139
|
+
export const se_ListCloudAutonomousVmClustersCommand = async (input, context) => {
|
|
140
|
+
const headers = sharedHeaders("ListCloudAutonomousVmClusters");
|
|
141
|
+
let body;
|
|
142
|
+
body = JSON.stringify(_json(input));
|
|
143
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
144
|
+
};
|
|
145
|
+
export const se_ListCloudExadataInfrastructuresCommand = async (input, context) => {
|
|
146
|
+
const headers = sharedHeaders("ListCloudExadataInfrastructures");
|
|
147
|
+
let body;
|
|
148
|
+
body = JSON.stringify(_json(input));
|
|
149
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
+
};
|
|
151
|
+
export const se_ListCloudVmClustersCommand = async (input, context) => {
|
|
152
|
+
const headers = sharedHeaders("ListCloudVmClusters");
|
|
153
|
+
let body;
|
|
154
|
+
body = JSON.stringify(_json(input));
|
|
155
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
|
+
};
|
|
157
|
+
export const se_ListDbNodesCommand = async (input, context) => {
|
|
158
|
+
const headers = sharedHeaders("ListDbNodes");
|
|
159
|
+
let body;
|
|
160
|
+
body = JSON.stringify(_json(input));
|
|
161
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
+
};
|
|
163
|
+
export const se_ListDbServersCommand = async (input, context) => {
|
|
164
|
+
const headers = sharedHeaders("ListDbServers");
|
|
165
|
+
let body;
|
|
166
|
+
body = JSON.stringify(_json(input));
|
|
167
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
168
|
+
};
|
|
169
|
+
export const se_ListDbSystemShapesCommand = async (input, context) => {
|
|
170
|
+
const headers = sharedHeaders("ListDbSystemShapes");
|
|
171
|
+
let body;
|
|
172
|
+
body = JSON.stringify(_json(input));
|
|
173
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
174
|
+
};
|
|
175
|
+
export const se_ListGiVersionsCommand = async (input, context) => {
|
|
176
|
+
const headers = sharedHeaders("ListGiVersions");
|
|
177
|
+
let body;
|
|
178
|
+
body = JSON.stringify(_json(input));
|
|
179
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
180
|
+
};
|
|
181
|
+
export const se_ListOdbNetworksCommand = async (input, context) => {
|
|
182
|
+
const headers = sharedHeaders("ListOdbNetworks");
|
|
183
|
+
let body;
|
|
184
|
+
body = JSON.stringify(_json(input));
|
|
185
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
186
|
+
};
|
|
187
|
+
export const se_ListOdbPeeringConnectionsCommand = async (input, context) => {
|
|
188
|
+
const headers = sharedHeaders("ListOdbPeeringConnections");
|
|
189
|
+
let body;
|
|
190
|
+
body = JSON.stringify(_json(input));
|
|
191
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
192
|
+
};
|
|
193
|
+
export const se_ListSystemVersionsCommand = async (input, context) => {
|
|
194
|
+
const headers = sharedHeaders("ListSystemVersions");
|
|
195
|
+
let body;
|
|
196
|
+
body = JSON.stringify(_json(input));
|
|
197
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
|
+
};
|
|
199
|
+
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
200
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
201
|
+
let body;
|
|
202
|
+
body = JSON.stringify(_json(input));
|
|
203
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
|
+
};
|
|
205
|
+
export const se_RebootDbNodeCommand = async (input, context) => {
|
|
206
|
+
const headers = sharedHeaders("RebootDbNode");
|
|
207
|
+
let body;
|
|
208
|
+
body = JSON.stringify(_json(input));
|
|
209
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
210
|
+
};
|
|
211
|
+
export const se_StartDbNodeCommand = async (input, context) => {
|
|
212
|
+
const headers = sharedHeaders("StartDbNode");
|
|
213
|
+
let body;
|
|
214
|
+
body = JSON.stringify(_json(input));
|
|
215
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
|
+
};
|
|
217
|
+
export const se_StopDbNodeCommand = async (input, context) => {
|
|
218
|
+
const headers = sharedHeaders("StopDbNode");
|
|
219
|
+
let body;
|
|
220
|
+
body = JSON.stringify(_json(input));
|
|
221
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
+
};
|
|
223
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
224
|
+
const headers = sharedHeaders("TagResource");
|
|
225
|
+
let body;
|
|
226
|
+
body = JSON.stringify(_json(input));
|
|
227
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
+
};
|
|
229
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
230
|
+
const headers = sharedHeaders("UntagResource");
|
|
231
|
+
let body;
|
|
232
|
+
body = JSON.stringify(_json(input));
|
|
233
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
+
};
|
|
235
|
+
export const se_UpdateCloudExadataInfrastructureCommand = async (input, context) => {
|
|
236
|
+
const headers = sharedHeaders("UpdateCloudExadataInfrastructure");
|
|
237
|
+
let body;
|
|
238
|
+
body = JSON.stringify(_json(input));
|
|
239
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
+
};
|
|
241
|
+
export const se_UpdateOdbNetworkCommand = async (input, context) => {
|
|
242
|
+
const headers = sharedHeaders("UpdateOdbNetwork");
|
|
243
|
+
let body;
|
|
244
|
+
body = JSON.stringify(_json(input));
|
|
245
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
+
};
|
|
247
|
+
export const de_AcceptMarketplaceRegistrationCommand = async (output, context) => {
|
|
248
|
+
if (output.statusCode >= 300) {
|
|
249
|
+
return de_CommandError(output, context);
|
|
250
|
+
}
|
|
251
|
+
const data = await parseBody(output.body, context);
|
|
252
|
+
let contents = {};
|
|
253
|
+
contents = _json(data);
|
|
254
|
+
const response = {
|
|
255
|
+
$metadata: deserializeMetadata(output),
|
|
256
|
+
...contents,
|
|
257
|
+
};
|
|
258
|
+
return response;
|
|
259
|
+
};
|
|
260
|
+
export const de_CreateCloudAutonomousVmClusterCommand = async (output, context) => {
|
|
261
|
+
if (output.statusCode >= 300) {
|
|
262
|
+
return de_CommandError(output, context);
|
|
263
|
+
}
|
|
264
|
+
const data = await parseBody(output.body, context);
|
|
265
|
+
let contents = {};
|
|
266
|
+
contents = _json(data);
|
|
267
|
+
const response = {
|
|
268
|
+
$metadata: deserializeMetadata(output),
|
|
269
|
+
...contents,
|
|
270
|
+
};
|
|
271
|
+
return response;
|
|
272
|
+
};
|
|
273
|
+
export const de_CreateCloudExadataInfrastructureCommand = async (output, context) => {
|
|
274
|
+
if (output.statusCode >= 300) {
|
|
275
|
+
return de_CommandError(output, context);
|
|
276
|
+
}
|
|
277
|
+
const data = await parseBody(output.body, context);
|
|
278
|
+
let contents = {};
|
|
279
|
+
contents = _json(data);
|
|
280
|
+
const response = {
|
|
281
|
+
$metadata: deserializeMetadata(output),
|
|
282
|
+
...contents,
|
|
283
|
+
};
|
|
284
|
+
return response;
|
|
285
|
+
};
|
|
286
|
+
export const de_CreateCloudVmClusterCommand = async (output, context) => {
|
|
287
|
+
if (output.statusCode >= 300) {
|
|
288
|
+
return de_CommandError(output, context);
|
|
289
|
+
}
|
|
290
|
+
const data = await parseBody(output.body, context);
|
|
291
|
+
let contents = {};
|
|
292
|
+
contents = _json(data);
|
|
293
|
+
const response = {
|
|
294
|
+
$metadata: deserializeMetadata(output),
|
|
295
|
+
...contents,
|
|
296
|
+
};
|
|
297
|
+
return response;
|
|
298
|
+
};
|
|
299
|
+
export const de_CreateOdbNetworkCommand = async (output, context) => {
|
|
300
|
+
if (output.statusCode >= 300) {
|
|
301
|
+
return de_CommandError(output, context);
|
|
302
|
+
}
|
|
303
|
+
const data = await parseBody(output.body, context);
|
|
304
|
+
let contents = {};
|
|
305
|
+
contents = _json(data);
|
|
306
|
+
const response = {
|
|
307
|
+
$metadata: deserializeMetadata(output),
|
|
308
|
+
...contents,
|
|
309
|
+
};
|
|
310
|
+
return response;
|
|
311
|
+
};
|
|
312
|
+
export const de_CreateOdbPeeringConnectionCommand = async (output, context) => {
|
|
313
|
+
if (output.statusCode >= 300) {
|
|
314
|
+
return de_CommandError(output, context);
|
|
315
|
+
}
|
|
316
|
+
const data = await parseBody(output.body, context);
|
|
317
|
+
let contents = {};
|
|
318
|
+
contents = _json(data);
|
|
319
|
+
const response = {
|
|
320
|
+
$metadata: deserializeMetadata(output),
|
|
321
|
+
...contents,
|
|
322
|
+
};
|
|
323
|
+
return response;
|
|
324
|
+
};
|
|
325
|
+
export const de_DeleteCloudAutonomousVmClusterCommand = async (output, context) => {
|
|
326
|
+
if (output.statusCode >= 300) {
|
|
327
|
+
return de_CommandError(output, context);
|
|
328
|
+
}
|
|
329
|
+
const data = await parseBody(output.body, context);
|
|
330
|
+
let contents = {};
|
|
331
|
+
contents = _json(data);
|
|
332
|
+
const response = {
|
|
333
|
+
$metadata: deserializeMetadata(output),
|
|
334
|
+
...contents,
|
|
335
|
+
};
|
|
336
|
+
return response;
|
|
337
|
+
};
|
|
338
|
+
export const de_DeleteCloudExadataInfrastructureCommand = async (output, context) => {
|
|
339
|
+
if (output.statusCode >= 300) {
|
|
340
|
+
return de_CommandError(output, context);
|
|
341
|
+
}
|
|
342
|
+
const data = await parseBody(output.body, context);
|
|
343
|
+
let contents = {};
|
|
344
|
+
contents = _json(data);
|
|
345
|
+
const response = {
|
|
346
|
+
$metadata: deserializeMetadata(output),
|
|
347
|
+
...contents,
|
|
348
|
+
};
|
|
349
|
+
return response;
|
|
350
|
+
};
|
|
351
|
+
export const de_DeleteCloudVmClusterCommand = async (output, context) => {
|
|
352
|
+
if (output.statusCode >= 300) {
|
|
353
|
+
return de_CommandError(output, context);
|
|
354
|
+
}
|
|
355
|
+
const data = await parseBody(output.body, context);
|
|
356
|
+
let contents = {};
|
|
357
|
+
contents = _json(data);
|
|
358
|
+
const response = {
|
|
359
|
+
$metadata: deserializeMetadata(output),
|
|
360
|
+
...contents,
|
|
361
|
+
};
|
|
362
|
+
return response;
|
|
363
|
+
};
|
|
364
|
+
export const de_DeleteOdbNetworkCommand = async (output, context) => {
|
|
365
|
+
if (output.statusCode >= 300) {
|
|
366
|
+
return de_CommandError(output, context);
|
|
367
|
+
}
|
|
368
|
+
const data = await parseBody(output.body, context);
|
|
369
|
+
let contents = {};
|
|
370
|
+
contents = _json(data);
|
|
371
|
+
const response = {
|
|
372
|
+
$metadata: deserializeMetadata(output),
|
|
373
|
+
...contents,
|
|
374
|
+
};
|
|
375
|
+
return response;
|
|
376
|
+
};
|
|
377
|
+
export const de_DeleteOdbPeeringConnectionCommand = async (output, context) => {
|
|
378
|
+
if (output.statusCode >= 300) {
|
|
379
|
+
return de_CommandError(output, context);
|
|
380
|
+
}
|
|
381
|
+
const data = await parseBody(output.body, context);
|
|
382
|
+
let contents = {};
|
|
383
|
+
contents = _json(data);
|
|
384
|
+
const response = {
|
|
385
|
+
$metadata: deserializeMetadata(output),
|
|
386
|
+
...contents,
|
|
387
|
+
};
|
|
388
|
+
return response;
|
|
389
|
+
};
|
|
390
|
+
export const de_GetCloudAutonomousVmClusterCommand = async (output, context) => {
|
|
391
|
+
if (output.statusCode >= 300) {
|
|
392
|
+
return de_CommandError(output, context);
|
|
393
|
+
}
|
|
394
|
+
const data = await parseBody(output.body, context);
|
|
395
|
+
let contents = {};
|
|
396
|
+
contents = de_GetCloudAutonomousVmClusterOutput(data, context);
|
|
397
|
+
const response = {
|
|
398
|
+
$metadata: deserializeMetadata(output),
|
|
399
|
+
...contents,
|
|
400
|
+
};
|
|
401
|
+
return response;
|
|
402
|
+
};
|
|
403
|
+
export const de_GetCloudExadataInfrastructureCommand = async (output, context) => {
|
|
404
|
+
if (output.statusCode >= 300) {
|
|
405
|
+
return de_CommandError(output, context);
|
|
406
|
+
}
|
|
407
|
+
const data = await parseBody(output.body, context);
|
|
408
|
+
let contents = {};
|
|
409
|
+
contents = de_GetCloudExadataInfrastructureOutput(data, context);
|
|
410
|
+
const response = {
|
|
411
|
+
$metadata: deserializeMetadata(output),
|
|
412
|
+
...contents,
|
|
413
|
+
};
|
|
414
|
+
return response;
|
|
415
|
+
};
|
|
416
|
+
export const de_GetCloudExadataInfrastructureUnallocatedResourcesCommand = async (output, context) => {
|
|
417
|
+
if (output.statusCode >= 300) {
|
|
418
|
+
return de_CommandError(output, context);
|
|
419
|
+
}
|
|
420
|
+
const data = await parseBody(output.body, context);
|
|
421
|
+
let contents = {};
|
|
422
|
+
contents = de_GetCloudExadataInfrastructureUnallocatedResourcesOutput(data, context);
|
|
423
|
+
const response = {
|
|
424
|
+
$metadata: deserializeMetadata(output),
|
|
425
|
+
...contents,
|
|
426
|
+
};
|
|
427
|
+
return response;
|
|
428
|
+
};
|
|
429
|
+
export const de_GetCloudVmClusterCommand = async (output, context) => {
|
|
430
|
+
if (output.statusCode >= 300) {
|
|
431
|
+
return de_CommandError(output, context);
|
|
432
|
+
}
|
|
433
|
+
const data = await parseBody(output.body, context);
|
|
434
|
+
let contents = {};
|
|
435
|
+
contents = de_GetCloudVmClusterOutput(data, context);
|
|
436
|
+
const response = {
|
|
437
|
+
$metadata: deserializeMetadata(output),
|
|
438
|
+
...contents,
|
|
439
|
+
};
|
|
440
|
+
return response;
|
|
441
|
+
};
|
|
442
|
+
export const de_GetDbNodeCommand = async (output, context) => {
|
|
443
|
+
if (output.statusCode >= 300) {
|
|
444
|
+
return de_CommandError(output, context);
|
|
445
|
+
}
|
|
446
|
+
const data = await parseBody(output.body, context);
|
|
447
|
+
let contents = {};
|
|
448
|
+
contents = de_GetDbNodeOutput(data, context);
|
|
449
|
+
const response = {
|
|
450
|
+
$metadata: deserializeMetadata(output),
|
|
451
|
+
...contents,
|
|
452
|
+
};
|
|
453
|
+
return response;
|
|
454
|
+
};
|
|
455
|
+
export const de_GetDbServerCommand = async (output, context) => {
|
|
456
|
+
if (output.statusCode >= 300) {
|
|
457
|
+
return de_CommandError(output, context);
|
|
458
|
+
}
|
|
459
|
+
const data = await parseBody(output.body, context);
|
|
460
|
+
let contents = {};
|
|
461
|
+
contents = de_GetDbServerOutput(data, context);
|
|
462
|
+
const response = {
|
|
463
|
+
$metadata: deserializeMetadata(output),
|
|
464
|
+
...contents,
|
|
465
|
+
};
|
|
466
|
+
return response;
|
|
467
|
+
};
|
|
468
|
+
export const de_GetOciOnboardingStatusCommand = async (output, context) => {
|
|
469
|
+
if (output.statusCode >= 300) {
|
|
470
|
+
return de_CommandError(output, context);
|
|
471
|
+
}
|
|
472
|
+
const data = await parseBody(output.body, context);
|
|
473
|
+
let contents = {};
|
|
474
|
+
contents = _json(data);
|
|
475
|
+
const response = {
|
|
476
|
+
$metadata: deserializeMetadata(output),
|
|
477
|
+
...contents,
|
|
478
|
+
};
|
|
479
|
+
return response;
|
|
480
|
+
};
|
|
481
|
+
export const de_GetOdbNetworkCommand = async (output, context) => {
|
|
482
|
+
if (output.statusCode >= 300) {
|
|
483
|
+
return de_CommandError(output, context);
|
|
484
|
+
}
|
|
485
|
+
const data = await parseBody(output.body, context);
|
|
486
|
+
let contents = {};
|
|
487
|
+
contents = de_GetOdbNetworkOutput(data, context);
|
|
488
|
+
const response = {
|
|
489
|
+
$metadata: deserializeMetadata(output),
|
|
490
|
+
...contents,
|
|
491
|
+
};
|
|
492
|
+
return response;
|
|
493
|
+
};
|
|
494
|
+
export const de_GetOdbPeeringConnectionCommand = async (output, context) => {
|
|
495
|
+
if (output.statusCode >= 300) {
|
|
496
|
+
return de_CommandError(output, context);
|
|
497
|
+
}
|
|
498
|
+
const data = await parseBody(output.body, context);
|
|
499
|
+
let contents = {};
|
|
500
|
+
contents = de_GetOdbPeeringConnectionOutput(data, context);
|
|
501
|
+
const response = {
|
|
502
|
+
$metadata: deserializeMetadata(output),
|
|
503
|
+
...contents,
|
|
504
|
+
};
|
|
505
|
+
return response;
|
|
506
|
+
};
|
|
507
|
+
export const de_InitializeServiceCommand = async (output, context) => {
|
|
508
|
+
if (output.statusCode >= 300) {
|
|
509
|
+
return de_CommandError(output, context);
|
|
510
|
+
}
|
|
511
|
+
const data = await parseBody(output.body, context);
|
|
512
|
+
let contents = {};
|
|
513
|
+
contents = _json(data);
|
|
514
|
+
const response = {
|
|
515
|
+
$metadata: deserializeMetadata(output),
|
|
516
|
+
...contents,
|
|
517
|
+
};
|
|
518
|
+
return response;
|
|
519
|
+
};
|
|
520
|
+
export const de_ListAutonomousVirtualMachinesCommand = async (output, context) => {
|
|
521
|
+
if (output.statusCode >= 300) {
|
|
522
|
+
return de_CommandError(output, context);
|
|
523
|
+
}
|
|
524
|
+
const data = await parseBody(output.body, context);
|
|
525
|
+
let contents = {};
|
|
526
|
+
contents = _json(data);
|
|
527
|
+
const response = {
|
|
528
|
+
$metadata: deserializeMetadata(output),
|
|
529
|
+
...contents,
|
|
530
|
+
};
|
|
531
|
+
return response;
|
|
532
|
+
};
|
|
533
|
+
export const de_ListCloudAutonomousVmClustersCommand = async (output, context) => {
|
|
534
|
+
if (output.statusCode >= 300) {
|
|
535
|
+
return de_CommandError(output, context);
|
|
536
|
+
}
|
|
537
|
+
const data = await parseBody(output.body, context);
|
|
538
|
+
let contents = {};
|
|
539
|
+
contents = de_ListCloudAutonomousVmClustersOutput(data, context);
|
|
540
|
+
const response = {
|
|
541
|
+
$metadata: deserializeMetadata(output),
|
|
542
|
+
...contents,
|
|
543
|
+
};
|
|
544
|
+
return response;
|
|
545
|
+
};
|
|
546
|
+
export const de_ListCloudExadataInfrastructuresCommand = async (output, context) => {
|
|
547
|
+
if (output.statusCode >= 300) {
|
|
548
|
+
return de_CommandError(output, context);
|
|
549
|
+
}
|
|
550
|
+
const data = await parseBody(output.body, context);
|
|
551
|
+
let contents = {};
|
|
552
|
+
contents = de_ListCloudExadataInfrastructuresOutput(data, context);
|
|
553
|
+
const response = {
|
|
554
|
+
$metadata: deserializeMetadata(output),
|
|
555
|
+
...contents,
|
|
556
|
+
};
|
|
557
|
+
return response;
|
|
558
|
+
};
|
|
559
|
+
export const de_ListCloudVmClustersCommand = async (output, context) => {
|
|
560
|
+
if (output.statusCode >= 300) {
|
|
561
|
+
return de_CommandError(output, context);
|
|
562
|
+
}
|
|
563
|
+
const data = await parseBody(output.body, context);
|
|
564
|
+
let contents = {};
|
|
565
|
+
contents = de_ListCloudVmClustersOutput(data, context);
|
|
566
|
+
const response = {
|
|
567
|
+
$metadata: deserializeMetadata(output),
|
|
568
|
+
...contents,
|
|
569
|
+
};
|
|
570
|
+
return response;
|
|
571
|
+
};
|
|
572
|
+
export const de_ListDbNodesCommand = async (output, context) => {
|
|
573
|
+
if (output.statusCode >= 300) {
|
|
574
|
+
return de_CommandError(output, context);
|
|
575
|
+
}
|
|
576
|
+
const data = await parseBody(output.body, context);
|
|
577
|
+
let contents = {};
|
|
578
|
+
contents = de_ListDbNodesOutput(data, context);
|
|
579
|
+
const response = {
|
|
580
|
+
$metadata: deserializeMetadata(output),
|
|
581
|
+
...contents,
|
|
582
|
+
};
|
|
583
|
+
return response;
|
|
584
|
+
};
|
|
585
|
+
export const de_ListDbServersCommand = async (output, context) => {
|
|
586
|
+
if (output.statusCode >= 300) {
|
|
587
|
+
return de_CommandError(output, context);
|
|
588
|
+
}
|
|
589
|
+
const data = await parseBody(output.body, context);
|
|
590
|
+
let contents = {};
|
|
591
|
+
contents = de_ListDbServersOutput(data, context);
|
|
592
|
+
const response = {
|
|
593
|
+
$metadata: deserializeMetadata(output),
|
|
594
|
+
...contents,
|
|
595
|
+
};
|
|
596
|
+
return response;
|
|
597
|
+
};
|
|
598
|
+
export const de_ListDbSystemShapesCommand = async (output, context) => {
|
|
599
|
+
if (output.statusCode >= 300) {
|
|
600
|
+
return de_CommandError(output, context);
|
|
601
|
+
}
|
|
602
|
+
const data = await parseBody(output.body, context);
|
|
603
|
+
let contents = {};
|
|
604
|
+
contents = _json(data);
|
|
605
|
+
const response = {
|
|
606
|
+
$metadata: deserializeMetadata(output),
|
|
607
|
+
...contents,
|
|
608
|
+
};
|
|
609
|
+
return response;
|
|
610
|
+
};
|
|
611
|
+
export const de_ListGiVersionsCommand = async (output, context) => {
|
|
612
|
+
if (output.statusCode >= 300) {
|
|
613
|
+
return de_CommandError(output, context);
|
|
614
|
+
}
|
|
615
|
+
const data = await parseBody(output.body, context);
|
|
616
|
+
let contents = {};
|
|
617
|
+
contents = _json(data);
|
|
618
|
+
const response = {
|
|
619
|
+
$metadata: deserializeMetadata(output),
|
|
620
|
+
...contents,
|
|
621
|
+
};
|
|
622
|
+
return response;
|
|
623
|
+
};
|
|
624
|
+
export const de_ListOdbNetworksCommand = async (output, context) => {
|
|
625
|
+
if (output.statusCode >= 300) {
|
|
626
|
+
return de_CommandError(output, context);
|
|
627
|
+
}
|
|
628
|
+
const data = await parseBody(output.body, context);
|
|
629
|
+
let contents = {};
|
|
630
|
+
contents = de_ListOdbNetworksOutput(data, context);
|
|
631
|
+
const response = {
|
|
632
|
+
$metadata: deserializeMetadata(output),
|
|
633
|
+
...contents,
|
|
634
|
+
};
|
|
635
|
+
return response;
|
|
636
|
+
};
|
|
637
|
+
export const de_ListOdbPeeringConnectionsCommand = async (output, context) => {
|
|
638
|
+
if (output.statusCode >= 300) {
|
|
639
|
+
return de_CommandError(output, context);
|
|
640
|
+
}
|
|
641
|
+
const data = await parseBody(output.body, context);
|
|
642
|
+
let contents = {};
|
|
643
|
+
contents = de_ListOdbPeeringConnectionsOutput(data, context);
|
|
644
|
+
const response = {
|
|
645
|
+
$metadata: deserializeMetadata(output),
|
|
646
|
+
...contents,
|
|
647
|
+
};
|
|
648
|
+
return response;
|
|
649
|
+
};
|
|
650
|
+
export const de_ListSystemVersionsCommand = async (output, context) => {
|
|
651
|
+
if (output.statusCode >= 300) {
|
|
652
|
+
return de_CommandError(output, context);
|
|
653
|
+
}
|
|
654
|
+
const data = await parseBody(output.body, context);
|
|
655
|
+
let contents = {};
|
|
656
|
+
contents = _json(data);
|
|
657
|
+
const response = {
|
|
658
|
+
$metadata: deserializeMetadata(output),
|
|
659
|
+
...contents,
|
|
660
|
+
};
|
|
661
|
+
return response;
|
|
662
|
+
};
|
|
663
|
+
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
664
|
+
if (output.statusCode >= 300) {
|
|
665
|
+
return de_CommandError(output, context);
|
|
666
|
+
}
|
|
667
|
+
const data = await parseBody(output.body, context);
|
|
668
|
+
let contents = {};
|
|
669
|
+
contents = _json(data);
|
|
670
|
+
const response = {
|
|
671
|
+
$metadata: deserializeMetadata(output),
|
|
672
|
+
...contents,
|
|
673
|
+
};
|
|
674
|
+
return response;
|
|
675
|
+
};
|
|
676
|
+
export const de_RebootDbNodeCommand = async (output, context) => {
|
|
677
|
+
if (output.statusCode >= 300) {
|
|
678
|
+
return de_CommandError(output, context);
|
|
679
|
+
}
|
|
680
|
+
const data = await parseBody(output.body, context);
|
|
681
|
+
let contents = {};
|
|
682
|
+
contents = _json(data);
|
|
683
|
+
const response = {
|
|
684
|
+
$metadata: deserializeMetadata(output),
|
|
685
|
+
...contents,
|
|
686
|
+
};
|
|
687
|
+
return response;
|
|
688
|
+
};
|
|
689
|
+
export const de_StartDbNodeCommand = async (output, context) => {
|
|
690
|
+
if (output.statusCode >= 300) {
|
|
691
|
+
return de_CommandError(output, context);
|
|
692
|
+
}
|
|
693
|
+
const data = await parseBody(output.body, context);
|
|
694
|
+
let contents = {};
|
|
695
|
+
contents = _json(data);
|
|
696
|
+
const response = {
|
|
697
|
+
$metadata: deserializeMetadata(output),
|
|
698
|
+
...contents,
|
|
699
|
+
};
|
|
700
|
+
return response;
|
|
701
|
+
};
|
|
702
|
+
export const de_StopDbNodeCommand = async (output, context) => {
|
|
703
|
+
if (output.statusCode >= 300) {
|
|
704
|
+
return de_CommandError(output, context);
|
|
705
|
+
}
|
|
706
|
+
const data = await parseBody(output.body, context);
|
|
707
|
+
let contents = {};
|
|
708
|
+
contents = _json(data);
|
|
709
|
+
const response = {
|
|
710
|
+
$metadata: deserializeMetadata(output),
|
|
711
|
+
...contents,
|
|
712
|
+
};
|
|
713
|
+
return response;
|
|
714
|
+
};
|
|
715
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
716
|
+
if (output.statusCode >= 300) {
|
|
717
|
+
return de_CommandError(output, context);
|
|
718
|
+
}
|
|
719
|
+
const data = await parseBody(output.body, context);
|
|
720
|
+
let contents = {};
|
|
721
|
+
contents = _json(data);
|
|
722
|
+
const response = {
|
|
723
|
+
$metadata: deserializeMetadata(output),
|
|
724
|
+
...contents,
|
|
725
|
+
};
|
|
726
|
+
return response;
|
|
727
|
+
};
|
|
728
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
729
|
+
if (output.statusCode >= 300) {
|
|
730
|
+
return de_CommandError(output, context);
|
|
731
|
+
}
|
|
732
|
+
const data = await parseBody(output.body, context);
|
|
733
|
+
let contents = {};
|
|
734
|
+
contents = _json(data);
|
|
735
|
+
const response = {
|
|
736
|
+
$metadata: deserializeMetadata(output),
|
|
737
|
+
...contents,
|
|
738
|
+
};
|
|
739
|
+
return response;
|
|
740
|
+
};
|
|
741
|
+
export const de_UpdateCloudExadataInfrastructureCommand = async (output, context) => {
|
|
742
|
+
if (output.statusCode >= 300) {
|
|
743
|
+
return de_CommandError(output, context);
|
|
744
|
+
}
|
|
745
|
+
const data = await parseBody(output.body, context);
|
|
746
|
+
let contents = {};
|
|
747
|
+
contents = _json(data);
|
|
748
|
+
const response = {
|
|
749
|
+
$metadata: deserializeMetadata(output),
|
|
750
|
+
...contents,
|
|
751
|
+
};
|
|
752
|
+
return response;
|
|
753
|
+
};
|
|
754
|
+
export const de_UpdateOdbNetworkCommand = async (output, context) => {
|
|
755
|
+
if (output.statusCode >= 300) {
|
|
756
|
+
return de_CommandError(output, context);
|
|
757
|
+
}
|
|
758
|
+
const data = await parseBody(output.body, context);
|
|
759
|
+
let contents = {};
|
|
760
|
+
contents = _json(data);
|
|
761
|
+
const response = {
|
|
762
|
+
$metadata: deserializeMetadata(output),
|
|
763
|
+
...contents,
|
|
764
|
+
};
|
|
765
|
+
return response;
|
|
766
|
+
};
|
|
767
|
+
const de_CommandError = async (output, context) => {
|
|
768
|
+
const parsedOutput = {
|
|
769
|
+
...output,
|
|
770
|
+
body: await parseErrorBody(output.body, context),
|
|
771
|
+
};
|
|
772
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
773
|
+
switch (errorCode) {
|
|
774
|
+
case "AccessDeniedException":
|
|
775
|
+
case "com.amazonaws.odb#AccessDeniedException":
|
|
776
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
777
|
+
case "ConflictException":
|
|
778
|
+
case "com.amazonaws.odb#ConflictException":
|
|
779
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
780
|
+
case "InternalServerException":
|
|
781
|
+
case "com.amazonaws.odb#InternalServerException":
|
|
782
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
783
|
+
case "ThrottlingException":
|
|
784
|
+
case "com.amazonaws.odb#ThrottlingException":
|
|
785
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
786
|
+
case "ValidationException":
|
|
787
|
+
case "com.amazonaws.odb#ValidationException":
|
|
788
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
789
|
+
case "ResourceNotFoundException":
|
|
790
|
+
case "com.amazonaws.odb#ResourceNotFoundException":
|
|
791
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
792
|
+
case "ServiceQuotaExceededException":
|
|
793
|
+
case "com.amazonaws.odb#ServiceQuotaExceededException":
|
|
794
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
795
|
+
default:
|
|
796
|
+
const parsedBody = parsedOutput.body;
|
|
797
|
+
return throwDefaultError({
|
|
798
|
+
output,
|
|
799
|
+
parsedBody,
|
|
800
|
+
errorCode,
|
|
801
|
+
});
|
|
802
|
+
}
|
|
803
|
+
};
|
|
804
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
805
|
+
const body = parsedOutput.body;
|
|
806
|
+
const deserialized = _json(body);
|
|
807
|
+
const exception = new AccessDeniedException({
|
|
808
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
809
|
+
...deserialized,
|
|
810
|
+
});
|
|
811
|
+
return __decorateServiceException(exception, body);
|
|
812
|
+
};
|
|
813
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
814
|
+
const body = parsedOutput.body;
|
|
815
|
+
const deserialized = _json(body);
|
|
816
|
+
const exception = new ConflictException({
|
|
817
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
818
|
+
...deserialized,
|
|
819
|
+
});
|
|
820
|
+
return __decorateServiceException(exception, body);
|
|
821
|
+
};
|
|
822
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
823
|
+
const body = parsedOutput.body;
|
|
824
|
+
const deserialized = _json(body);
|
|
825
|
+
const exception = new InternalServerException({
|
|
826
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
827
|
+
...deserialized,
|
|
828
|
+
});
|
|
829
|
+
return __decorateServiceException(exception, body);
|
|
830
|
+
};
|
|
831
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
832
|
+
const body = parsedOutput.body;
|
|
833
|
+
const deserialized = _json(body);
|
|
834
|
+
const exception = new ResourceNotFoundException({
|
|
835
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
836
|
+
...deserialized,
|
|
837
|
+
});
|
|
838
|
+
return __decorateServiceException(exception, body);
|
|
839
|
+
};
|
|
840
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
841
|
+
const body = parsedOutput.body;
|
|
842
|
+
const deserialized = _json(body);
|
|
843
|
+
const exception = new ServiceQuotaExceededException({
|
|
844
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
845
|
+
...deserialized,
|
|
846
|
+
});
|
|
847
|
+
return __decorateServiceException(exception, body);
|
|
848
|
+
};
|
|
849
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
850
|
+
const body = parsedOutput.body;
|
|
851
|
+
const deserialized = _json(body);
|
|
852
|
+
const exception = new ThrottlingException({
|
|
853
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
854
|
+
...deserialized,
|
|
855
|
+
});
|
|
856
|
+
return __decorateServiceException(exception, body);
|
|
857
|
+
};
|
|
858
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
859
|
+
const body = parsedOutput.body;
|
|
860
|
+
const deserialized = _json(body);
|
|
861
|
+
const exception = new ValidationException({
|
|
862
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
863
|
+
...deserialized,
|
|
864
|
+
});
|
|
865
|
+
return __decorateServiceException(exception, body);
|
|
866
|
+
};
|
|
867
|
+
const se_CreateCloudAutonomousVmClusterInput = (input, context) => {
|
|
868
|
+
return take(input, {
|
|
869
|
+
autonomousDataStorageSizeInTBs: __serializeFloat,
|
|
870
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
871
|
+
cloudExadataInfrastructureId: [],
|
|
872
|
+
cpuCoreCountPerNode: [],
|
|
873
|
+
dbServers: _json,
|
|
874
|
+
description: [],
|
|
875
|
+
displayName: [],
|
|
876
|
+
isMtlsEnabledVmCluster: [],
|
|
877
|
+
licenseModel: [],
|
|
878
|
+
maintenanceWindow: _json,
|
|
879
|
+
memoryPerOracleComputeUnitInGBs: [],
|
|
880
|
+
odbNetworkId: [],
|
|
881
|
+
scanListenerPortNonTls: [],
|
|
882
|
+
scanListenerPortTls: [],
|
|
883
|
+
tags: _json,
|
|
884
|
+
timeZone: [],
|
|
885
|
+
totalContainerDatabases: [],
|
|
886
|
+
});
|
|
887
|
+
};
|
|
888
|
+
const se_CreateCloudExadataInfrastructureInput = (input, context) => {
|
|
889
|
+
return take(input, {
|
|
890
|
+
availabilityZone: [],
|
|
891
|
+
availabilityZoneId: [],
|
|
892
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
893
|
+
computeCount: [],
|
|
894
|
+
customerContactsToSendToOCI: _json,
|
|
895
|
+
databaseServerType: [],
|
|
896
|
+
displayName: [],
|
|
897
|
+
maintenanceWindow: _json,
|
|
898
|
+
shape: [],
|
|
899
|
+
storageCount: [],
|
|
900
|
+
storageServerType: [],
|
|
901
|
+
tags: _json,
|
|
902
|
+
});
|
|
903
|
+
};
|
|
904
|
+
const se_CreateCloudVmClusterInput = (input, context) => {
|
|
905
|
+
return take(input, {
|
|
906
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
907
|
+
cloudExadataInfrastructureId: [],
|
|
908
|
+
clusterName: [],
|
|
909
|
+
cpuCoreCount: [],
|
|
910
|
+
dataCollectionOptions: _json,
|
|
911
|
+
dataStorageSizeInTBs: __serializeFloat,
|
|
912
|
+
dbNodeStorageSizeInGBs: [],
|
|
913
|
+
dbServers: _json,
|
|
914
|
+
displayName: [],
|
|
915
|
+
giVersion: [],
|
|
916
|
+
hostname: [],
|
|
917
|
+
isLocalBackupEnabled: [],
|
|
918
|
+
isSparseDiskgroupEnabled: [],
|
|
919
|
+
licenseModel: [],
|
|
920
|
+
memorySizeInGBs: [],
|
|
921
|
+
odbNetworkId: [],
|
|
922
|
+
scanListenerPortTcp: [],
|
|
923
|
+
sshPublicKeys: _json,
|
|
924
|
+
systemVersion: [],
|
|
925
|
+
tags: _json,
|
|
926
|
+
timeZone: [],
|
|
927
|
+
});
|
|
928
|
+
};
|
|
929
|
+
const se_CreateOdbNetworkInput = (input, context) => {
|
|
930
|
+
return take(input, {
|
|
931
|
+
availabilityZone: [],
|
|
932
|
+
availabilityZoneId: [],
|
|
933
|
+
backupSubnetCidr: [],
|
|
934
|
+
clientSubnetCidr: [],
|
|
935
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
936
|
+
customDomainName: [],
|
|
937
|
+
defaultDnsPrefix: [],
|
|
938
|
+
displayName: [],
|
|
939
|
+
s3Access: [],
|
|
940
|
+
s3PolicyDocument: [],
|
|
941
|
+
tags: _json,
|
|
942
|
+
zeroEtlAccess: [],
|
|
943
|
+
});
|
|
944
|
+
};
|
|
945
|
+
const se_CreateOdbPeeringConnectionInput = (input, context) => {
|
|
946
|
+
return take(input, {
|
|
947
|
+
clientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
948
|
+
displayName: [],
|
|
949
|
+
odbNetworkId: [],
|
|
950
|
+
peerNetworkId: [],
|
|
951
|
+
tags: _json,
|
|
952
|
+
});
|
|
953
|
+
};
|
|
954
|
+
const de_CloudAutonomousVmCluster = (output, context) => {
|
|
955
|
+
return take(output, {
|
|
956
|
+
autonomousDataStoragePercentage: __limitedParseFloat32,
|
|
957
|
+
autonomousDataStorageSizeInTBs: __limitedParseDouble,
|
|
958
|
+
availableAutonomousDataStorageSizeInTBs: __limitedParseDouble,
|
|
959
|
+
availableContainerDatabases: __expectInt32,
|
|
960
|
+
availableCpus: __limitedParseFloat32,
|
|
961
|
+
cloudAutonomousVmClusterArn: __expectString,
|
|
962
|
+
cloudAutonomousVmClusterId: __expectString,
|
|
963
|
+
cloudExadataInfrastructureId: __expectString,
|
|
964
|
+
computeModel: __expectString,
|
|
965
|
+
cpuCoreCount: __expectInt32,
|
|
966
|
+
cpuCoreCountPerNode: __expectInt32,
|
|
967
|
+
cpuPercentage: __limitedParseFloat32,
|
|
968
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
969
|
+
dataStorageSizeInGBs: __limitedParseDouble,
|
|
970
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
971
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
972
|
+
dbServers: _json,
|
|
973
|
+
description: __expectString,
|
|
974
|
+
displayName: __expectString,
|
|
975
|
+
domain: __expectString,
|
|
976
|
+
exadataStorageInTBsLowestScaledValue: __limitedParseDouble,
|
|
977
|
+
hostname: __expectString,
|
|
978
|
+
isMtlsEnabledVmCluster: __expectBoolean,
|
|
979
|
+
licenseModel: __expectString,
|
|
980
|
+
maintenanceWindow: _json,
|
|
981
|
+
maxAcdsLowestScaledValue: __expectInt32,
|
|
982
|
+
memoryPerOracleComputeUnitInGBs: __expectInt32,
|
|
983
|
+
memorySizeInGBs: __expectInt32,
|
|
984
|
+
nodeCount: __expectInt32,
|
|
985
|
+
nonProvisionableAutonomousContainerDatabases: __expectInt32,
|
|
986
|
+
ociResourceAnchorName: __expectString,
|
|
987
|
+
ociUrl: __expectString,
|
|
988
|
+
ocid: __expectString,
|
|
989
|
+
odbNetworkId: __expectString,
|
|
990
|
+
percentProgress: __limitedParseFloat32,
|
|
991
|
+
provisionableAutonomousContainerDatabases: __expectInt32,
|
|
992
|
+
provisionedAutonomousContainerDatabases: __expectInt32,
|
|
993
|
+
provisionedCpus: __limitedParseFloat32,
|
|
994
|
+
reclaimableCpus: __limitedParseFloat32,
|
|
995
|
+
reservedCpus: __limitedParseFloat32,
|
|
996
|
+
scanListenerPortNonTls: __expectInt32,
|
|
997
|
+
scanListenerPortTls: __expectInt32,
|
|
998
|
+
shape: __expectString,
|
|
999
|
+
status: __expectString,
|
|
1000
|
+
statusReason: __expectString,
|
|
1001
|
+
timeDatabaseSslCertificateExpires: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1002
|
+
timeOrdsCertificateExpires: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1003
|
+
timeZone: __expectString,
|
|
1004
|
+
totalContainerDatabases: __expectInt32,
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
1007
|
+
const de_CloudAutonomousVmClusterList = (output, context) => {
|
|
1008
|
+
const retVal = (output || [])
|
|
1009
|
+
.filter((e) => e != null)
|
|
1010
|
+
.map((entry) => {
|
|
1011
|
+
return de_CloudAutonomousVmClusterSummary(entry, context);
|
|
1012
|
+
});
|
|
1013
|
+
return retVal;
|
|
1014
|
+
};
|
|
1015
|
+
const de_CloudAutonomousVmClusterResourceDetails = (output, context) => {
|
|
1016
|
+
return take(output, {
|
|
1017
|
+
cloudAutonomousVmClusterId: __expectString,
|
|
1018
|
+
unallocatedAdbStorageInTBs: __limitedParseDouble,
|
|
1019
|
+
});
|
|
1020
|
+
};
|
|
1021
|
+
const de_CloudAutonomousVmClusterResourceDetailsList = (output, context) => {
|
|
1022
|
+
const retVal = (output || [])
|
|
1023
|
+
.filter((e) => e != null)
|
|
1024
|
+
.map((entry) => {
|
|
1025
|
+
return de_CloudAutonomousVmClusterResourceDetails(entry, context);
|
|
1026
|
+
});
|
|
1027
|
+
return retVal;
|
|
1028
|
+
};
|
|
1029
|
+
const de_CloudAutonomousVmClusterSummary = (output, context) => {
|
|
1030
|
+
return take(output, {
|
|
1031
|
+
autonomousDataStoragePercentage: __limitedParseFloat32,
|
|
1032
|
+
autonomousDataStorageSizeInTBs: __limitedParseDouble,
|
|
1033
|
+
availableAutonomousDataStorageSizeInTBs: __limitedParseDouble,
|
|
1034
|
+
availableContainerDatabases: __expectInt32,
|
|
1035
|
+
availableCpus: __limitedParseFloat32,
|
|
1036
|
+
cloudAutonomousVmClusterArn: __expectString,
|
|
1037
|
+
cloudAutonomousVmClusterId: __expectString,
|
|
1038
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1039
|
+
computeModel: __expectString,
|
|
1040
|
+
cpuCoreCount: __expectInt32,
|
|
1041
|
+
cpuCoreCountPerNode: __expectInt32,
|
|
1042
|
+
cpuPercentage: __limitedParseFloat32,
|
|
1043
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1044
|
+
dataStorageSizeInGBs: __limitedParseDouble,
|
|
1045
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
1046
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1047
|
+
dbServers: _json,
|
|
1048
|
+
description: __expectString,
|
|
1049
|
+
displayName: __expectString,
|
|
1050
|
+
domain: __expectString,
|
|
1051
|
+
exadataStorageInTBsLowestScaledValue: __limitedParseDouble,
|
|
1052
|
+
hostname: __expectString,
|
|
1053
|
+
isMtlsEnabledVmCluster: __expectBoolean,
|
|
1054
|
+
licenseModel: __expectString,
|
|
1055
|
+
maintenanceWindow: _json,
|
|
1056
|
+
maxAcdsLowestScaledValue: __expectInt32,
|
|
1057
|
+
memoryPerOracleComputeUnitInGBs: __expectInt32,
|
|
1058
|
+
memorySizeInGBs: __expectInt32,
|
|
1059
|
+
nodeCount: __expectInt32,
|
|
1060
|
+
nonProvisionableAutonomousContainerDatabases: __expectInt32,
|
|
1061
|
+
ociResourceAnchorName: __expectString,
|
|
1062
|
+
ociUrl: __expectString,
|
|
1063
|
+
ocid: __expectString,
|
|
1064
|
+
odbNetworkId: __expectString,
|
|
1065
|
+
percentProgress: __limitedParseFloat32,
|
|
1066
|
+
provisionableAutonomousContainerDatabases: __expectInt32,
|
|
1067
|
+
provisionedAutonomousContainerDatabases: __expectInt32,
|
|
1068
|
+
provisionedCpus: __limitedParseFloat32,
|
|
1069
|
+
reclaimableCpus: __limitedParseFloat32,
|
|
1070
|
+
reservedCpus: __limitedParseFloat32,
|
|
1071
|
+
scanListenerPortNonTls: __expectInt32,
|
|
1072
|
+
scanListenerPortTls: __expectInt32,
|
|
1073
|
+
shape: __expectString,
|
|
1074
|
+
status: __expectString,
|
|
1075
|
+
statusReason: __expectString,
|
|
1076
|
+
timeDatabaseSslCertificateExpires: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1077
|
+
timeOrdsCertificateExpires: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1078
|
+
timeZone: __expectString,
|
|
1079
|
+
totalContainerDatabases: __expectInt32,
|
|
1080
|
+
});
|
|
1081
|
+
};
|
|
1082
|
+
const de_CloudExadataInfrastructure = (output, context) => {
|
|
1083
|
+
return take(output, {
|
|
1084
|
+
activatedStorageCount: __expectInt32,
|
|
1085
|
+
additionalStorageCount: __expectInt32,
|
|
1086
|
+
availabilityZone: __expectString,
|
|
1087
|
+
availabilityZoneId: __expectString,
|
|
1088
|
+
availableStorageSizeInGBs: __expectInt32,
|
|
1089
|
+
cloudExadataInfrastructureArn: __expectString,
|
|
1090
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1091
|
+
computeCount: __expectInt32,
|
|
1092
|
+
computeModel: __expectString,
|
|
1093
|
+
cpuCount: __expectInt32,
|
|
1094
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1095
|
+
customerContactsToSendToOCI: _json,
|
|
1096
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
1097
|
+
databaseServerType: __expectString,
|
|
1098
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1099
|
+
dbServerVersion: __expectString,
|
|
1100
|
+
displayName: __expectString,
|
|
1101
|
+
lastMaintenanceRunId: __expectString,
|
|
1102
|
+
maintenanceWindow: _json,
|
|
1103
|
+
maxCpuCount: __expectInt32,
|
|
1104
|
+
maxDataStorageInTBs: __limitedParseDouble,
|
|
1105
|
+
maxDbNodeStorageSizeInGBs: __expectInt32,
|
|
1106
|
+
maxMemoryInGBs: __expectInt32,
|
|
1107
|
+
memorySizeInGBs: __expectInt32,
|
|
1108
|
+
monthlyDbServerVersion: __expectString,
|
|
1109
|
+
monthlyStorageServerVersion: __expectString,
|
|
1110
|
+
nextMaintenanceRunId: __expectString,
|
|
1111
|
+
ociResourceAnchorName: __expectString,
|
|
1112
|
+
ociUrl: __expectString,
|
|
1113
|
+
ocid: __expectString,
|
|
1114
|
+
percentProgress: __limitedParseFloat32,
|
|
1115
|
+
shape: __expectString,
|
|
1116
|
+
status: __expectString,
|
|
1117
|
+
statusReason: __expectString,
|
|
1118
|
+
storageCount: __expectInt32,
|
|
1119
|
+
storageServerType: __expectString,
|
|
1120
|
+
storageServerVersion: __expectString,
|
|
1121
|
+
totalStorageSizeInGBs: __expectInt32,
|
|
1122
|
+
});
|
|
1123
|
+
};
|
|
1124
|
+
const de_CloudExadataInfrastructureList = (output, context) => {
|
|
1125
|
+
const retVal = (output || [])
|
|
1126
|
+
.filter((e) => e != null)
|
|
1127
|
+
.map((entry) => {
|
|
1128
|
+
return de_CloudExadataInfrastructureSummary(entry, context);
|
|
1129
|
+
});
|
|
1130
|
+
return retVal;
|
|
1131
|
+
};
|
|
1132
|
+
const de_CloudExadataInfrastructureSummary = (output, context) => {
|
|
1133
|
+
return take(output, {
|
|
1134
|
+
activatedStorageCount: __expectInt32,
|
|
1135
|
+
additionalStorageCount: __expectInt32,
|
|
1136
|
+
availabilityZone: __expectString,
|
|
1137
|
+
availabilityZoneId: __expectString,
|
|
1138
|
+
availableStorageSizeInGBs: __expectInt32,
|
|
1139
|
+
cloudExadataInfrastructureArn: __expectString,
|
|
1140
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1141
|
+
computeCount: __expectInt32,
|
|
1142
|
+
computeModel: __expectString,
|
|
1143
|
+
cpuCount: __expectInt32,
|
|
1144
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1145
|
+
customerContactsToSendToOCI: _json,
|
|
1146
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
1147
|
+
databaseServerType: __expectString,
|
|
1148
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1149
|
+
dbServerVersion: __expectString,
|
|
1150
|
+
displayName: __expectString,
|
|
1151
|
+
lastMaintenanceRunId: __expectString,
|
|
1152
|
+
maintenanceWindow: _json,
|
|
1153
|
+
maxCpuCount: __expectInt32,
|
|
1154
|
+
maxDataStorageInTBs: __limitedParseDouble,
|
|
1155
|
+
maxDbNodeStorageSizeInGBs: __expectInt32,
|
|
1156
|
+
maxMemoryInGBs: __expectInt32,
|
|
1157
|
+
memorySizeInGBs: __expectInt32,
|
|
1158
|
+
monthlyDbServerVersion: __expectString,
|
|
1159
|
+
monthlyStorageServerVersion: __expectString,
|
|
1160
|
+
nextMaintenanceRunId: __expectString,
|
|
1161
|
+
ociResourceAnchorName: __expectString,
|
|
1162
|
+
ociUrl: __expectString,
|
|
1163
|
+
ocid: __expectString,
|
|
1164
|
+
percentProgress: __limitedParseFloat32,
|
|
1165
|
+
shape: __expectString,
|
|
1166
|
+
status: __expectString,
|
|
1167
|
+
statusReason: __expectString,
|
|
1168
|
+
storageCount: __expectInt32,
|
|
1169
|
+
storageServerType: __expectString,
|
|
1170
|
+
storageServerVersion: __expectString,
|
|
1171
|
+
totalStorageSizeInGBs: __expectInt32,
|
|
1172
|
+
});
|
|
1173
|
+
};
|
|
1174
|
+
const de_CloudExadataInfrastructureUnallocatedResources = (output, context) => {
|
|
1175
|
+
return take(output, {
|
|
1176
|
+
cloudAutonomousVmClusters: (_) => de_CloudAutonomousVmClusterResourceDetailsList(_, context),
|
|
1177
|
+
cloudExadataInfrastructureDisplayName: __expectString,
|
|
1178
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1179
|
+
exadataStorageInTBs: __limitedParseDouble,
|
|
1180
|
+
localStorageInGBs: __expectInt32,
|
|
1181
|
+
memoryInGBs: __expectInt32,
|
|
1182
|
+
ocpus: __expectInt32,
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
const de_CloudVmCluster = (output, context) => {
|
|
1186
|
+
return take(output, {
|
|
1187
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1188
|
+
cloudVmClusterArn: __expectString,
|
|
1189
|
+
cloudVmClusterId: __expectString,
|
|
1190
|
+
clusterName: __expectString,
|
|
1191
|
+
computeModel: __expectString,
|
|
1192
|
+
cpuCoreCount: __expectInt32,
|
|
1193
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1194
|
+
dataCollectionOptions: _json,
|
|
1195
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
1196
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1197
|
+
dbServers: _json,
|
|
1198
|
+
diskRedundancy: __expectString,
|
|
1199
|
+
displayName: __expectString,
|
|
1200
|
+
domain: __expectString,
|
|
1201
|
+
giVersion: __expectString,
|
|
1202
|
+
hostname: __expectString,
|
|
1203
|
+
iormConfigCache: _json,
|
|
1204
|
+
isLocalBackupEnabled: __expectBoolean,
|
|
1205
|
+
isSparseDiskgroupEnabled: __expectBoolean,
|
|
1206
|
+
lastUpdateHistoryEntryId: __expectString,
|
|
1207
|
+
licenseModel: __expectString,
|
|
1208
|
+
listenerPort: __expectInt32,
|
|
1209
|
+
memorySizeInGBs: __expectInt32,
|
|
1210
|
+
nodeCount: __expectInt32,
|
|
1211
|
+
ociResourceAnchorName: __expectString,
|
|
1212
|
+
ociUrl: __expectString,
|
|
1213
|
+
ocid: __expectString,
|
|
1214
|
+
odbNetworkId: __expectString,
|
|
1215
|
+
percentProgress: __limitedParseFloat32,
|
|
1216
|
+
scanDnsName: __expectString,
|
|
1217
|
+
scanDnsRecordId: __expectString,
|
|
1218
|
+
scanIpIds: _json,
|
|
1219
|
+
shape: __expectString,
|
|
1220
|
+
sshPublicKeys: _json,
|
|
1221
|
+
status: __expectString,
|
|
1222
|
+
statusReason: __expectString,
|
|
1223
|
+
storageSizeInGBs: __expectInt32,
|
|
1224
|
+
systemVersion: __expectString,
|
|
1225
|
+
timeZone: __expectString,
|
|
1226
|
+
vipIds: _json,
|
|
1227
|
+
});
|
|
1228
|
+
};
|
|
1229
|
+
const de_CloudVmClusterList = (output, context) => {
|
|
1230
|
+
const retVal = (output || [])
|
|
1231
|
+
.filter((e) => e != null)
|
|
1232
|
+
.map((entry) => {
|
|
1233
|
+
return de_CloudVmClusterSummary(entry, context);
|
|
1234
|
+
});
|
|
1235
|
+
return retVal;
|
|
1236
|
+
};
|
|
1237
|
+
const de_CloudVmClusterSummary = (output, context) => {
|
|
1238
|
+
return take(output, {
|
|
1239
|
+
cloudExadataInfrastructureId: __expectString,
|
|
1240
|
+
cloudVmClusterArn: __expectString,
|
|
1241
|
+
cloudVmClusterId: __expectString,
|
|
1242
|
+
clusterName: __expectString,
|
|
1243
|
+
computeModel: __expectString,
|
|
1244
|
+
cpuCoreCount: __expectInt32,
|
|
1245
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1246
|
+
dataCollectionOptions: _json,
|
|
1247
|
+
dataStorageSizeInTBs: __limitedParseDouble,
|
|
1248
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1249
|
+
dbServers: _json,
|
|
1250
|
+
diskRedundancy: __expectString,
|
|
1251
|
+
displayName: __expectString,
|
|
1252
|
+
domain: __expectString,
|
|
1253
|
+
giVersion: __expectString,
|
|
1254
|
+
hostname: __expectString,
|
|
1255
|
+
iormConfigCache: _json,
|
|
1256
|
+
isLocalBackupEnabled: __expectBoolean,
|
|
1257
|
+
isSparseDiskgroupEnabled: __expectBoolean,
|
|
1258
|
+
lastUpdateHistoryEntryId: __expectString,
|
|
1259
|
+
licenseModel: __expectString,
|
|
1260
|
+
listenerPort: __expectInt32,
|
|
1261
|
+
memorySizeInGBs: __expectInt32,
|
|
1262
|
+
nodeCount: __expectInt32,
|
|
1263
|
+
ociResourceAnchorName: __expectString,
|
|
1264
|
+
ociUrl: __expectString,
|
|
1265
|
+
ocid: __expectString,
|
|
1266
|
+
odbNetworkId: __expectString,
|
|
1267
|
+
percentProgress: __limitedParseFloat32,
|
|
1268
|
+
scanDnsName: __expectString,
|
|
1269
|
+
scanDnsRecordId: __expectString,
|
|
1270
|
+
scanIpIds: _json,
|
|
1271
|
+
shape: __expectString,
|
|
1272
|
+
sshPublicKeys: _json,
|
|
1273
|
+
status: __expectString,
|
|
1274
|
+
statusReason: __expectString,
|
|
1275
|
+
storageSizeInGBs: __expectInt32,
|
|
1276
|
+
systemVersion: __expectString,
|
|
1277
|
+
timeZone: __expectString,
|
|
1278
|
+
vipIds: _json,
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
const de_DbNode = (output, context) => {
|
|
1282
|
+
return take(output, {
|
|
1283
|
+
additionalDetails: __expectString,
|
|
1284
|
+
backupIpId: __expectString,
|
|
1285
|
+
backupVnic2Id: __expectString,
|
|
1286
|
+
backupVnicId: __expectString,
|
|
1287
|
+
cpuCoreCount: __expectInt32,
|
|
1288
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1289
|
+
dbNodeArn: __expectString,
|
|
1290
|
+
dbNodeId: __expectString,
|
|
1291
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1292
|
+
dbServerId: __expectString,
|
|
1293
|
+
dbSystemId: __expectString,
|
|
1294
|
+
faultDomain: __expectString,
|
|
1295
|
+
floatingIpAddress: __expectString,
|
|
1296
|
+
hostIpId: __expectString,
|
|
1297
|
+
hostname: __expectString,
|
|
1298
|
+
maintenanceType: __expectString,
|
|
1299
|
+
memorySizeInGBs: __expectInt32,
|
|
1300
|
+
ociResourceAnchorName: __expectString,
|
|
1301
|
+
ocid: __expectString,
|
|
1302
|
+
privateIpAddress: __expectString,
|
|
1303
|
+
softwareStorageSizeInGB: __expectInt32,
|
|
1304
|
+
status: __expectString,
|
|
1305
|
+
statusReason: __expectString,
|
|
1306
|
+
timeMaintenanceWindowEnd: __expectString,
|
|
1307
|
+
timeMaintenanceWindowStart: __expectString,
|
|
1308
|
+
totalCpuCoreCount: __expectInt32,
|
|
1309
|
+
vnic2Id: __expectString,
|
|
1310
|
+
vnicId: __expectString,
|
|
1311
|
+
});
|
|
1312
|
+
};
|
|
1313
|
+
const de_DbNodeList = (output, context) => {
|
|
1314
|
+
const retVal = (output || [])
|
|
1315
|
+
.filter((e) => e != null)
|
|
1316
|
+
.map((entry) => {
|
|
1317
|
+
return de_DbNodeSummary(entry, context);
|
|
1318
|
+
});
|
|
1319
|
+
return retVal;
|
|
1320
|
+
};
|
|
1321
|
+
const de_DbNodeSummary = (output, context) => {
|
|
1322
|
+
return take(output, {
|
|
1323
|
+
additionalDetails: __expectString,
|
|
1324
|
+
backupIpId: __expectString,
|
|
1325
|
+
backupVnic2Id: __expectString,
|
|
1326
|
+
backupVnicId: __expectString,
|
|
1327
|
+
cpuCoreCount: __expectInt32,
|
|
1328
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1329
|
+
dbNodeArn: __expectString,
|
|
1330
|
+
dbNodeId: __expectString,
|
|
1331
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1332
|
+
dbServerId: __expectString,
|
|
1333
|
+
dbSystemId: __expectString,
|
|
1334
|
+
faultDomain: __expectString,
|
|
1335
|
+
hostIpId: __expectString,
|
|
1336
|
+
hostname: __expectString,
|
|
1337
|
+
maintenanceType: __expectString,
|
|
1338
|
+
memorySizeInGBs: __expectInt32,
|
|
1339
|
+
ociResourceAnchorName: __expectString,
|
|
1340
|
+
ocid: __expectString,
|
|
1341
|
+
softwareStorageSizeInGB: __expectInt32,
|
|
1342
|
+
status: __expectString,
|
|
1343
|
+
statusReason: __expectString,
|
|
1344
|
+
timeMaintenanceWindowEnd: __expectString,
|
|
1345
|
+
timeMaintenanceWindowStart: __expectString,
|
|
1346
|
+
totalCpuCoreCount: __expectInt32,
|
|
1347
|
+
vnic2Id: __expectString,
|
|
1348
|
+
vnicId: __expectString,
|
|
1349
|
+
});
|
|
1350
|
+
};
|
|
1351
|
+
const de_DbServer = (output, context) => {
|
|
1352
|
+
return take(output, {
|
|
1353
|
+
autonomousVirtualMachineIds: _json,
|
|
1354
|
+
autonomousVmClusterIds: _json,
|
|
1355
|
+
computeModel: __expectString,
|
|
1356
|
+
cpuCoreCount: __expectInt32,
|
|
1357
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1358
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1359
|
+
dbServerId: __expectString,
|
|
1360
|
+
dbServerPatchingDetails: _json,
|
|
1361
|
+
displayName: __expectString,
|
|
1362
|
+
exadataInfrastructureId: __expectString,
|
|
1363
|
+
maxCpuCount: __expectInt32,
|
|
1364
|
+
maxDbNodeStorageInGBs: __expectInt32,
|
|
1365
|
+
maxMemoryInGBs: __expectInt32,
|
|
1366
|
+
memorySizeInGBs: __expectInt32,
|
|
1367
|
+
ociResourceAnchorName: __expectString,
|
|
1368
|
+
ocid: __expectString,
|
|
1369
|
+
shape: __expectString,
|
|
1370
|
+
status: __expectString,
|
|
1371
|
+
statusReason: __expectString,
|
|
1372
|
+
vmClusterIds: _json,
|
|
1373
|
+
});
|
|
1374
|
+
};
|
|
1375
|
+
const de_DbServerList = (output, context) => {
|
|
1376
|
+
const retVal = (output || [])
|
|
1377
|
+
.filter((e) => e != null)
|
|
1378
|
+
.map((entry) => {
|
|
1379
|
+
return de_DbServerSummary(entry, context);
|
|
1380
|
+
});
|
|
1381
|
+
return retVal;
|
|
1382
|
+
};
|
|
1383
|
+
const de_DbServerSummary = (output, context) => {
|
|
1384
|
+
return take(output, {
|
|
1385
|
+
autonomousVirtualMachineIds: _json,
|
|
1386
|
+
autonomousVmClusterIds: _json,
|
|
1387
|
+
computeModel: __expectString,
|
|
1388
|
+
cpuCoreCount: __expectInt32,
|
|
1389
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1390
|
+
dbNodeStorageSizeInGBs: __expectInt32,
|
|
1391
|
+
dbServerId: __expectString,
|
|
1392
|
+
dbServerPatchingDetails: _json,
|
|
1393
|
+
displayName: __expectString,
|
|
1394
|
+
exadataInfrastructureId: __expectString,
|
|
1395
|
+
maxCpuCount: __expectInt32,
|
|
1396
|
+
maxDbNodeStorageInGBs: __expectInt32,
|
|
1397
|
+
maxMemoryInGBs: __expectInt32,
|
|
1398
|
+
memorySizeInGBs: __expectInt32,
|
|
1399
|
+
ociResourceAnchorName: __expectString,
|
|
1400
|
+
ocid: __expectString,
|
|
1401
|
+
shape: __expectString,
|
|
1402
|
+
status: __expectString,
|
|
1403
|
+
statusReason: __expectString,
|
|
1404
|
+
vmClusterIds: _json,
|
|
1405
|
+
});
|
|
1406
|
+
};
|
|
1407
|
+
const de_GetCloudAutonomousVmClusterOutput = (output, context) => {
|
|
1408
|
+
return take(output, {
|
|
1409
|
+
cloudAutonomousVmCluster: (_) => de_CloudAutonomousVmCluster(_, context),
|
|
1410
|
+
});
|
|
1411
|
+
};
|
|
1412
|
+
const de_GetCloudExadataInfrastructureOutput = (output, context) => {
|
|
1413
|
+
return take(output, {
|
|
1414
|
+
cloudExadataInfrastructure: (_) => de_CloudExadataInfrastructure(_, context),
|
|
1415
|
+
});
|
|
1416
|
+
};
|
|
1417
|
+
const de_GetCloudExadataInfrastructureUnallocatedResourcesOutput = (output, context) => {
|
|
1418
|
+
return take(output, {
|
|
1419
|
+
cloudExadataInfrastructureUnallocatedResources: (_) => de_CloudExadataInfrastructureUnallocatedResources(_, context),
|
|
1420
|
+
});
|
|
1421
|
+
};
|
|
1422
|
+
const de_GetCloudVmClusterOutput = (output, context) => {
|
|
1423
|
+
return take(output, {
|
|
1424
|
+
cloudVmCluster: (_) => de_CloudVmCluster(_, context),
|
|
1425
|
+
});
|
|
1426
|
+
};
|
|
1427
|
+
const de_GetDbNodeOutput = (output, context) => {
|
|
1428
|
+
return take(output, {
|
|
1429
|
+
dbNode: (_) => de_DbNode(_, context),
|
|
1430
|
+
});
|
|
1431
|
+
};
|
|
1432
|
+
const de_GetDbServerOutput = (output, context) => {
|
|
1433
|
+
return take(output, {
|
|
1434
|
+
dbServer: (_) => de_DbServer(_, context),
|
|
1435
|
+
});
|
|
1436
|
+
};
|
|
1437
|
+
const de_GetOdbNetworkOutput = (output, context) => {
|
|
1438
|
+
return take(output, {
|
|
1439
|
+
odbNetwork: (_) => de_OdbNetwork(_, context),
|
|
1440
|
+
});
|
|
1441
|
+
};
|
|
1442
|
+
const de_GetOdbPeeringConnectionOutput = (output, context) => {
|
|
1443
|
+
return take(output, {
|
|
1444
|
+
odbPeeringConnection: (_) => de_OdbPeeringConnection(_, context),
|
|
1445
|
+
});
|
|
1446
|
+
};
|
|
1447
|
+
const de_ListCloudAutonomousVmClustersOutput = (output, context) => {
|
|
1448
|
+
return take(output, {
|
|
1449
|
+
cloudAutonomousVmClusters: (_) => de_CloudAutonomousVmClusterList(_, context),
|
|
1450
|
+
nextToken: __expectString,
|
|
1451
|
+
});
|
|
1452
|
+
};
|
|
1453
|
+
const de_ListCloudExadataInfrastructuresOutput = (output, context) => {
|
|
1454
|
+
return take(output, {
|
|
1455
|
+
cloudExadataInfrastructures: (_) => de_CloudExadataInfrastructureList(_, context),
|
|
1456
|
+
nextToken: __expectString,
|
|
1457
|
+
});
|
|
1458
|
+
};
|
|
1459
|
+
const de_ListCloudVmClustersOutput = (output, context) => {
|
|
1460
|
+
return take(output, {
|
|
1461
|
+
cloudVmClusters: (_) => de_CloudVmClusterList(_, context),
|
|
1462
|
+
nextToken: __expectString,
|
|
1463
|
+
});
|
|
1464
|
+
};
|
|
1465
|
+
const de_ListDbNodesOutput = (output, context) => {
|
|
1466
|
+
return take(output, {
|
|
1467
|
+
dbNodes: (_) => de_DbNodeList(_, context),
|
|
1468
|
+
nextToken: __expectString,
|
|
1469
|
+
});
|
|
1470
|
+
};
|
|
1471
|
+
const de_ListDbServersOutput = (output, context) => {
|
|
1472
|
+
return take(output, {
|
|
1473
|
+
dbServers: (_) => de_DbServerList(_, context),
|
|
1474
|
+
nextToken: __expectString,
|
|
1475
|
+
});
|
|
1476
|
+
};
|
|
1477
|
+
const de_ListOdbNetworksOutput = (output, context) => {
|
|
1478
|
+
return take(output, {
|
|
1479
|
+
nextToken: __expectString,
|
|
1480
|
+
odbNetworks: (_) => de_OdbNetworkList(_, context),
|
|
1481
|
+
});
|
|
1482
|
+
};
|
|
1483
|
+
const de_ListOdbPeeringConnectionsOutput = (output, context) => {
|
|
1484
|
+
return take(output, {
|
|
1485
|
+
nextToken: __expectString,
|
|
1486
|
+
odbPeeringConnections: (_) => de_OdbPeeringConnectionList(_, context),
|
|
1487
|
+
});
|
|
1488
|
+
};
|
|
1489
|
+
const de_OdbNetwork = (output, context) => {
|
|
1490
|
+
return take(output, {
|
|
1491
|
+
availabilityZone: __expectString,
|
|
1492
|
+
availabilityZoneId: __expectString,
|
|
1493
|
+
backupSubnetCidr: __expectString,
|
|
1494
|
+
clientSubnetCidr: __expectString,
|
|
1495
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1496
|
+
customDomainName: __expectString,
|
|
1497
|
+
defaultDnsPrefix: __expectString,
|
|
1498
|
+
displayName: __expectString,
|
|
1499
|
+
managedServices: _json,
|
|
1500
|
+
ociDnsForwardingConfigs: _json,
|
|
1501
|
+
ociNetworkAnchorId: __expectString,
|
|
1502
|
+
ociNetworkAnchorUrl: __expectString,
|
|
1503
|
+
ociResourceAnchorName: __expectString,
|
|
1504
|
+
ociVcnId: __expectString,
|
|
1505
|
+
ociVcnUrl: __expectString,
|
|
1506
|
+
odbNetworkArn: __expectString,
|
|
1507
|
+
odbNetworkId: __expectString,
|
|
1508
|
+
peeredCidrs: _json,
|
|
1509
|
+
percentProgress: __limitedParseFloat32,
|
|
1510
|
+
status: __expectString,
|
|
1511
|
+
statusReason: __expectString,
|
|
1512
|
+
});
|
|
1513
|
+
};
|
|
1514
|
+
const de_OdbNetworkList = (output, context) => {
|
|
1515
|
+
const retVal = (output || [])
|
|
1516
|
+
.filter((e) => e != null)
|
|
1517
|
+
.map((entry) => {
|
|
1518
|
+
return de_OdbNetworkSummary(entry, context);
|
|
1519
|
+
});
|
|
1520
|
+
return retVal;
|
|
1521
|
+
};
|
|
1522
|
+
const de_OdbNetworkSummary = (output, context) => {
|
|
1523
|
+
return take(output, {
|
|
1524
|
+
availabilityZone: __expectString,
|
|
1525
|
+
availabilityZoneId: __expectString,
|
|
1526
|
+
backupSubnetCidr: __expectString,
|
|
1527
|
+
clientSubnetCidr: __expectString,
|
|
1528
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1529
|
+
customDomainName: __expectString,
|
|
1530
|
+
defaultDnsPrefix: __expectString,
|
|
1531
|
+
displayName: __expectString,
|
|
1532
|
+
managedServices: _json,
|
|
1533
|
+
ociDnsForwardingConfigs: _json,
|
|
1534
|
+
ociNetworkAnchorId: __expectString,
|
|
1535
|
+
ociNetworkAnchorUrl: __expectString,
|
|
1536
|
+
ociResourceAnchorName: __expectString,
|
|
1537
|
+
ociVcnId: __expectString,
|
|
1538
|
+
ociVcnUrl: __expectString,
|
|
1539
|
+
odbNetworkArn: __expectString,
|
|
1540
|
+
odbNetworkId: __expectString,
|
|
1541
|
+
peeredCidrs: _json,
|
|
1542
|
+
percentProgress: __limitedParseFloat32,
|
|
1543
|
+
status: __expectString,
|
|
1544
|
+
statusReason: __expectString,
|
|
1545
|
+
});
|
|
1546
|
+
};
|
|
1547
|
+
const de_OdbPeeringConnection = (output, context) => {
|
|
1548
|
+
return take(output, {
|
|
1549
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1550
|
+
displayName: __expectString,
|
|
1551
|
+
odbNetworkArn: __expectString,
|
|
1552
|
+
odbPeeringConnectionArn: __expectString,
|
|
1553
|
+
odbPeeringConnectionId: __expectString,
|
|
1554
|
+
odbPeeringConnectionType: __expectString,
|
|
1555
|
+
peerNetworkArn: __expectString,
|
|
1556
|
+
percentProgress: __limitedParseFloat32,
|
|
1557
|
+
status: __expectString,
|
|
1558
|
+
statusReason: __expectString,
|
|
1559
|
+
});
|
|
1560
|
+
};
|
|
1561
|
+
const de_OdbPeeringConnectionList = (output, context) => {
|
|
1562
|
+
const retVal = (output || [])
|
|
1563
|
+
.filter((e) => e != null)
|
|
1564
|
+
.map((entry) => {
|
|
1565
|
+
return de_OdbPeeringConnectionSummary(entry, context);
|
|
1566
|
+
});
|
|
1567
|
+
return retVal;
|
|
1568
|
+
};
|
|
1569
|
+
const de_OdbPeeringConnectionSummary = (output, context) => {
|
|
1570
|
+
return take(output, {
|
|
1571
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1572
|
+
displayName: __expectString,
|
|
1573
|
+
odbNetworkArn: __expectString,
|
|
1574
|
+
odbPeeringConnectionArn: __expectString,
|
|
1575
|
+
odbPeeringConnectionId: __expectString,
|
|
1576
|
+
odbPeeringConnectionType: __expectString,
|
|
1577
|
+
peerNetworkArn: __expectString,
|
|
1578
|
+
percentProgress: __limitedParseFloat32,
|
|
1579
|
+
status: __expectString,
|
|
1580
|
+
statusReason: __expectString,
|
|
1581
|
+
});
|
|
1582
|
+
};
|
|
1583
|
+
const deserializeMetadata = (output) => ({
|
|
1584
|
+
httpStatusCode: output.statusCode,
|
|
1585
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1586
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1587
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1588
|
+
});
|
|
1589
|
+
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1590
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
1591
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1592
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1593
|
+
const contents = {
|
|
1594
|
+
protocol,
|
|
1595
|
+
hostname,
|
|
1596
|
+
port,
|
|
1597
|
+
method: "POST",
|
|
1598
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1599
|
+
headers,
|
|
1600
|
+
};
|
|
1601
|
+
if (resolvedHostname !== undefined) {
|
|
1602
|
+
contents.hostname = resolvedHostname;
|
|
1603
|
+
}
|
|
1604
|
+
if (body !== undefined) {
|
|
1605
|
+
contents.body = body;
|
|
1606
|
+
}
|
|
1607
|
+
return new __HttpRequest(contents);
|
|
1608
|
+
};
|
|
1609
|
+
function sharedHeaders(operation) {
|
|
1610
|
+
return {
|
|
1611
|
+
"content-type": "application/x-amz-json-1.0",
|
|
1612
|
+
"x-amz-target": `Odb.${operation}`,
|
|
1613
|
+
};
|
|
1614
|
+
}
|