@aws-sdk/client-cloudcontrol 3.1076.0 → 3.1078.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/dist-cjs/index.js +19 -85
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/CancelResourceRequestCommand.js +2 -14
- package/dist-es/commands/CreateResourceCommand.js +2 -14
- package/dist-es/commands/DeleteResourceCommand.js +2 -14
- package/dist-es/commands/GetResourceCommand.js +2 -14
- package/dist-es/commands/GetResourceRequestStatusCommand.js +2 -14
- package/dist-es/commands/ListResourceRequestsCommand.js +2 -14
- package/dist-es/commands/ListResourcesCommand.js +2 -14
- package/dist-es/commands/UpdateResourceCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/CancelResourceRequestCommand.d.ts +3 -8
- package/dist-types/commands/CreateResourceCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourceCommand.d.ts +3 -8
- package/dist-types/commands/GetResourceCommand.d.ts +3 -8
- package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +3 -8
- package/dist-types/commands/ListResourceRequestsCommand.d.ts +3 -8
- package/dist-types/commands/ListResourcesCommand.d.ts +3 -8
- package/dist-types/commands/UpdateResourceCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/CancelResourceRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourceRequestStatusCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListResourceRequestsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultCloudControlHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -817,6 +819,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
817
819
|
serviceTarget: "CloudApiService",
|
|
818
820
|
},
|
|
819
821
|
serviceId: config?.serviceId ?? "CloudControl",
|
|
822
|
+
sha256: config?.sha256 ?? Sha256,
|
|
820
823
|
urlParser: config?.urlParser ?? parseUrl,
|
|
821
824
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
822
825
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -850,7 +853,6 @@ const getRuntimeConfig = (config) => {
|
|
|
850
853
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
851
854
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
852
855
|
}, config),
|
|
853
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
854
856
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
855
857
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
856
858
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -938,100 +940,32 @@ class CloudControlClient extends Client {
|
|
|
938
940
|
}
|
|
939
941
|
}
|
|
940
942
|
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
})
|
|
947
|
-
.s("CloudApiService", "CancelResourceRequest", {})
|
|
948
|
-
.n("CloudControlClient", "CancelResourceRequestCommand")
|
|
949
|
-
.sc(CancelResourceRequest$)
|
|
950
|
-
.build() {
|
|
943
|
+
const command = makeBuilder(commonParams, "CloudApiService", "CloudControlClient", getEndpointPlugin);
|
|
944
|
+
const _ep0 = {};
|
|
945
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
946
|
+
|
|
947
|
+
class CancelResourceRequestCommand extends command(_ep0, _mw0, "CancelResourceRequest", CancelResourceRequest$) {
|
|
951
948
|
}
|
|
952
949
|
|
|
953
|
-
class CreateResourceCommand extends
|
|
954
|
-
.classBuilder()
|
|
955
|
-
.ep(commonParams)
|
|
956
|
-
.m(function (Command, cs, config, o) {
|
|
957
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
958
|
-
})
|
|
959
|
-
.s("CloudApiService", "CreateResource", {})
|
|
960
|
-
.n("CloudControlClient", "CreateResourceCommand")
|
|
961
|
-
.sc(CreateResource$)
|
|
962
|
-
.build() {
|
|
950
|
+
class CreateResourceCommand extends command(_ep0, _mw0, "CreateResource", CreateResource$) {
|
|
963
951
|
}
|
|
964
952
|
|
|
965
|
-
class DeleteResourceCommand extends
|
|
966
|
-
.classBuilder()
|
|
967
|
-
.ep(commonParams)
|
|
968
|
-
.m(function (Command, cs, config, o) {
|
|
969
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
970
|
-
})
|
|
971
|
-
.s("CloudApiService", "DeleteResource", {})
|
|
972
|
-
.n("CloudControlClient", "DeleteResourceCommand")
|
|
973
|
-
.sc(DeleteResource$)
|
|
974
|
-
.build() {
|
|
953
|
+
class DeleteResourceCommand extends command(_ep0, _mw0, "DeleteResource", DeleteResource$) {
|
|
975
954
|
}
|
|
976
955
|
|
|
977
|
-
class GetResourceCommand extends
|
|
978
|
-
.classBuilder()
|
|
979
|
-
.ep(commonParams)
|
|
980
|
-
.m(function (Command, cs, config, o) {
|
|
981
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
982
|
-
})
|
|
983
|
-
.s("CloudApiService", "GetResource", {})
|
|
984
|
-
.n("CloudControlClient", "GetResourceCommand")
|
|
985
|
-
.sc(GetResource$)
|
|
986
|
-
.build() {
|
|
956
|
+
class GetResourceCommand extends command(_ep0, _mw0, "GetResource", GetResource$) {
|
|
987
957
|
}
|
|
988
958
|
|
|
989
|
-
class GetResourceRequestStatusCommand extends
|
|
990
|
-
.classBuilder()
|
|
991
|
-
.ep(commonParams)
|
|
992
|
-
.m(function (Command, cs, config, o) {
|
|
993
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
994
|
-
})
|
|
995
|
-
.s("CloudApiService", "GetResourceRequestStatus", {})
|
|
996
|
-
.n("CloudControlClient", "GetResourceRequestStatusCommand")
|
|
997
|
-
.sc(GetResourceRequestStatus$)
|
|
998
|
-
.build() {
|
|
959
|
+
class GetResourceRequestStatusCommand extends command(_ep0, _mw0, "GetResourceRequestStatus", GetResourceRequestStatus$) {
|
|
999
960
|
}
|
|
1000
961
|
|
|
1001
|
-
class ListResourceRequestsCommand extends
|
|
1002
|
-
.classBuilder()
|
|
1003
|
-
.ep(commonParams)
|
|
1004
|
-
.m(function (Command, cs, config, o) {
|
|
1005
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1006
|
-
})
|
|
1007
|
-
.s("CloudApiService", "ListResourceRequests", {})
|
|
1008
|
-
.n("CloudControlClient", "ListResourceRequestsCommand")
|
|
1009
|
-
.sc(ListResourceRequests$)
|
|
1010
|
-
.build() {
|
|
962
|
+
class ListResourceRequestsCommand extends command(_ep0, _mw0, "ListResourceRequests", ListResourceRequests$) {
|
|
1011
963
|
}
|
|
1012
964
|
|
|
1013
|
-
class ListResourcesCommand extends
|
|
1014
|
-
.classBuilder()
|
|
1015
|
-
.ep(commonParams)
|
|
1016
|
-
.m(function (Command, cs, config, o) {
|
|
1017
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1018
|
-
})
|
|
1019
|
-
.s("CloudApiService", "ListResources", {})
|
|
1020
|
-
.n("CloudControlClient", "ListResourcesCommand")
|
|
1021
|
-
.sc(ListResources$)
|
|
1022
|
-
.build() {
|
|
965
|
+
class ListResourcesCommand extends command(_ep0, _mw0, "ListResources", ListResources$) {
|
|
1023
966
|
}
|
|
1024
967
|
|
|
1025
|
-
class UpdateResourceCommand extends
|
|
1026
|
-
.classBuilder()
|
|
1027
|
-
.ep(commonParams)
|
|
1028
|
-
.m(function (Command, cs, config, o) {
|
|
1029
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1030
|
-
})
|
|
1031
|
-
.s("CloudApiService", "UpdateResource", {})
|
|
1032
|
-
.n("CloudControlClient", "UpdateResourceCommand")
|
|
1033
|
-
.sc(UpdateResource$)
|
|
1034
|
-
.build() {
|
|
968
|
+
class UpdateResourceCommand extends command(_ep0, _mw0, "UpdateResource", UpdateResource$) {
|
|
1035
969
|
}
|
|
1036
970
|
|
|
1037
971
|
const paginateListResourceRequests = createPaginator(CloudControlClient, ListResourceRequestsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "CloudApiService", "CloudControlClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CancelResourceRequest$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CancelResourceRequestCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "CancelResourceRequest", {})
|
|
13
|
-
.n("CloudControlClient", "CancelResourceRequestCommand")
|
|
14
|
-
.sc(CancelResourceRequest$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CancelResourceRequestCommand extends command(_ep0, _mw0, "CancelResourceRequest", CancelResourceRequest$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "CreateResource", {})
|
|
13
|
-
.n("CloudControlClient", "CreateResourceCommand")
|
|
14
|
-
.sc(CreateResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateResourceCommand extends command(_ep0, _mw0, "CreateResource", CreateResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "DeleteResource", {})
|
|
13
|
-
.n("CloudControlClient", "DeleteResourceCommand")
|
|
14
|
-
.sc(DeleteResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteResourceCommand extends command(_ep0, _mw0, "DeleteResource", DeleteResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "GetResource", {})
|
|
13
|
-
.n("CloudControlClient", "GetResourceCommand")
|
|
14
|
-
.sc(GetResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetResourceCommand extends command(_ep0, _mw0, "GetResource", GetResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetResourceRequestStatus$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourceRequestStatusCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "GetResourceRequestStatus", {})
|
|
13
|
-
.n("CloudControlClient", "GetResourceRequestStatusCommand")
|
|
14
|
-
.sc(GetResourceRequestStatus$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetResourceRequestStatusCommand extends command(_ep0, _mw0, "GetResourceRequestStatus", GetResourceRequestStatus$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListResourceRequests$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListResourceRequestsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "ListResourceRequests", {})
|
|
13
|
-
.n("CloudControlClient", "ListResourceRequestsCommand")
|
|
14
|
-
.sc(ListResourceRequests$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListResourceRequestsCommand extends command(_ep0, _mw0, "ListResourceRequests", ListResourceRequests$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListResources$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListResourcesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "ListResources", {})
|
|
13
|
-
.n("CloudControlClient", "ListResourcesCommand")
|
|
14
|
-
.sc(ListResources$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListResourcesCommand extends command(_ep0, _mw0, "ListResources", ListResources$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudApiService", "UpdateResource", {})
|
|
13
|
-
.n("CloudControlClient", "UpdateResourceCommand")
|
|
14
|
-
.sc(UpdateResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateResourceCommand extends command(_ep0, _mw0, "UpdateResource", UpdateResource$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "CloudApiService",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "CloudControl",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./CloudControlClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { CancelResourceRequestInput, CancelResourceRequestOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CancelResourceRequestCommandInput extends CancelResourceRequest
|
|
|
22
19
|
export interface CancelResourceRequestCommandOutput extends CancelResourceRequestOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CancelResourceRequestCommand_base: {
|
|
25
|
-
new (input: CancelResourceRequestCommandInput): import("@smithy/core/client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CancelResourceRequestCommandInput): import("@smithy/core/client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CancelResourceRequestCommandInput): import("@smithy/core/client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CancelResourceRequestCommandInput): import("@smithy/core/client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { CreateResourceInput, CreateResourceOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateResourceCommandInput extends CreateResourceInput {
|
|
|
22
19
|
export interface CreateResourceCommandOutput extends CreateResourceOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateResourceCommand_base: {
|
|
25
|
-
new (input: CreateResourceCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateResourceCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateResourceCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateResourceCommandInput): import("@smithy/core/client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { DeleteResourceInput, DeleteResourceOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteResourceCommandInput extends DeleteResourceInput {
|
|
|
22
19
|
export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteResourceCommand_base: {
|
|
25
|
-
new (input: DeleteResourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteResourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteResourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteResourceCommandInput): import("@smithy/core/client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { GetResourceInput, GetResourceOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetResourceCommandInput extends GetResourceInput {
|
|
|
22
19
|
export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetResourceCommand_base: {
|
|
25
|
-
new (input: GetResourceCommandInput): import("@smithy/core/client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetResourceCommandInput): import("@smithy/core/client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetResourceCommandInput): import("@smithy/core/client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetResourceCommandInput): import("@smithy/core/client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about the current state of the specified resource. For details, see
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { GetResourceRequestStatusInput, GetResourceRequestStatusOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetResourceRequestStatusCommandInput extends GetResourceRequest
|
|
|
22
19
|
export interface GetResourceRequestStatusCommandOutput extends GetResourceRequestStatusOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetResourceRequestStatusCommand_base: {
|
|
25
|
-
new (input: GetResourceRequestStatusCommandInput): import("@smithy/core/client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetResourceRequestStatusCommandInput): import("@smithy/core/client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetResourceRequestStatusCommandInput): import("@smithy/core/client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetResourceRequestStatusCommandInput): import("@smithy/core/client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns the current status of a resource operation request. For more information, see
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { ListResourceRequestsInput, ListResourceRequestsOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListResourceRequestsCommandInput extends ListResourceRequestsIn
|
|
|
22
19
|
export interface ListResourceRequestsCommandOutput extends ListResourceRequestsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListResourceRequestsCommand_base: {
|
|
25
|
-
new (input: ListResourceRequestsCommandInput): import("@smithy/core/client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (...[input]: [] | [ListResourceRequestsCommandInput]): import("@smithy/core/client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListResourceRequestsCommandInput): import("@smithy/core/client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListResourceRequestsCommandInput]): import("@smithy/core/client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns existing resource operation requests. This includes requests of all status types.
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudControlClient";
|
|
4
2
|
import type { ListResourcesInput, ListResourcesOutput } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface ListResourcesCommandInput extends ListResourcesInput {
|
|
|
22
19
|
export interface ListResourcesCommandOutput extends ListResourcesOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const ListResourcesCommand_base: {
|
|
25
|
-
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListResourcesCommandInput): import("@smithy/core/client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, import("..").CloudControlClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Returns information about the specified resources. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
|