@aws-sdk/client-service-catalog-appregistry 3.1075.0 → 3.1076.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 +951 -15
- 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/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ServiceCatalogAppRegistryServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -75
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -663
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
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");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
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
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultServiceCatalogAppRegistryHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "servicecatalog",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultServiceCatalogAppRegistryHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,806 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://servicecatalog-appregistry.{Region}.amazonaws.com", i],
|
|
95
|
+
["https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
96
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
97
|
+
["https://servicecatalog-appregistry.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
98
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
99
|
+
["https://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
100
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
const root = 2;
|
|
104
|
+
const r = 100_000_000;
|
|
105
|
+
const nodes = new Int32Array([
|
|
106
|
+
-1, 1, -1,
|
|
107
|
+
0, 13, 3,
|
|
108
|
+
1, 4, r + 12,
|
|
109
|
+
2, 5, r + 12,
|
|
110
|
+
3, 8, 6,
|
|
111
|
+
4, 7, r + 11,
|
|
112
|
+
5, r + 9, r + 10,
|
|
113
|
+
4, 11, 9,
|
|
114
|
+
6, 10, r + 8,
|
|
115
|
+
7, r + 6, r + 7,
|
|
116
|
+
5, 12, r + 5,
|
|
117
|
+
6, r + 4, r + 5,
|
|
118
|
+
3, r + 1, 14,
|
|
119
|
+
4, r + 2, r + 3,
|
|
120
|
+
]);
|
|
121
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
122
|
+
|
|
123
|
+
const cache = new EndpointCache({
|
|
124
|
+
size: 50,
|
|
125
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
126
|
+
});
|
|
127
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
128
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
129
|
+
endpointParams: endpointParams,
|
|
130
|
+
logger: context.logger,
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
|
+
|
|
135
|
+
class ServiceCatalogAppRegistryServiceException extends ServiceException {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
super(options);
|
|
138
|
+
Object.setPrototypeOf(this, ServiceCatalogAppRegistryServiceException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class ConflictException extends ServiceCatalogAppRegistryServiceException {
|
|
143
|
+
name = "ConflictException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "ConflictException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class InternalServerException extends ServiceCatalogAppRegistryServiceException {
|
|
155
|
+
name = "InternalServerException";
|
|
156
|
+
$fault = "server";
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "InternalServerException",
|
|
160
|
+
$fault: "server",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
class ResourceNotFoundException extends ServiceCatalogAppRegistryServiceException {
|
|
167
|
+
name = "ResourceNotFoundException";
|
|
168
|
+
$fault = "client";
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "ResourceNotFoundException",
|
|
172
|
+
$fault: "client",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
class ServiceQuotaExceededException extends ServiceCatalogAppRegistryServiceException {
|
|
179
|
+
name = "ServiceQuotaExceededException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ServiceQuotaExceededException",
|
|
184
|
+
$fault: "client",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class ValidationException extends ServiceCatalogAppRegistryServiceException {
|
|
191
|
+
name = "ValidationException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ValidationException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
class ThrottlingException extends ServiceCatalogAppRegistryServiceException {
|
|
203
|
+
name = "ThrottlingException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
serviceCode;
|
|
206
|
+
constructor(opts) {
|
|
207
|
+
super({
|
|
208
|
+
name: "ThrottlingException",
|
|
209
|
+
$fault: "client",
|
|
210
|
+
...opts,
|
|
211
|
+
});
|
|
212
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
213
|
+
this.serviceCode = opts.serviceCode;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const _A = "Application";
|
|
218
|
+
const _AAG = "AssociateAttributeGroup";
|
|
219
|
+
const _AAGR = "AssociateAttributeGroupRequest";
|
|
220
|
+
const _AAGRs = "AssociateAttributeGroupResponse";
|
|
221
|
+
const _AG = "AttributeGroup";
|
|
222
|
+
const _AGD = "AttributeGroupDetails";
|
|
223
|
+
const _AGDL = "AttributeGroupDetailsList";
|
|
224
|
+
const _AGS = "AttributeGroupSummary";
|
|
225
|
+
const _AGSt = "AttributeGroupSummaries";
|
|
226
|
+
const _AR = "AssociateResource";
|
|
227
|
+
const _ARC = "AppRegistryConfiguration";
|
|
228
|
+
const _ARR = "AssociateResourceRequest";
|
|
229
|
+
const _ARRs = "AssociateResourceResponse";
|
|
230
|
+
const _AS = "ApplicationSummary";
|
|
231
|
+
const _ASp = "ApplicationSummaries";
|
|
232
|
+
const _ATR = "ApplicationTagResult";
|
|
233
|
+
const _CA = "CreateApplication";
|
|
234
|
+
const _CAG = "CreateAttributeGroup";
|
|
235
|
+
const _CAGR = "CreateAttributeGroupRequest";
|
|
236
|
+
const _CAGRr = "CreateAttributeGroupResponse";
|
|
237
|
+
const _CAR = "CreateApplicationRequest";
|
|
238
|
+
const _CARr = "CreateApplicationResponse";
|
|
239
|
+
const _CE = "ConflictException";
|
|
240
|
+
const _DA = "DeleteApplication";
|
|
241
|
+
const _DAG = "DeleteAttributeGroup";
|
|
242
|
+
const _DAGR = "DeleteAttributeGroupRequest";
|
|
243
|
+
const _DAGRe = "DeleteAttributeGroupResponse";
|
|
244
|
+
const _DAGRi = "DisassociateAttributeGroupRequest";
|
|
245
|
+
const _DAGRis = "DisassociateAttributeGroupResponse";
|
|
246
|
+
const _DAGi = "DisassociateAttributeGroup";
|
|
247
|
+
const _DAR = "DeleteApplicationRequest";
|
|
248
|
+
const _DARe = "DeleteApplicationResponse";
|
|
249
|
+
const _DR = "DisassociateResource";
|
|
250
|
+
const _DRR = "DisassociateResourceRequest";
|
|
251
|
+
const _DRRi = "DisassociateResourceResponse";
|
|
252
|
+
const _GA = "GetApplication";
|
|
253
|
+
const _GAG = "GetAttributeGroup";
|
|
254
|
+
const _GAGR = "GetAttributeGroupRequest";
|
|
255
|
+
const _GAGRe = "GetAttributeGroupResponse";
|
|
256
|
+
const _GAR = "GetApplicationRequest";
|
|
257
|
+
const _GARR = "GetAssociatedResourceRequest";
|
|
258
|
+
const _GARRe = "GetAssociatedResourceResponse";
|
|
259
|
+
const _GARe = "GetApplicationResponse";
|
|
260
|
+
const _GARet = "GetAssociatedResource";
|
|
261
|
+
const _GC = "GetConfiguration";
|
|
262
|
+
const _GCR = "GetConfigurationResponse";
|
|
263
|
+
const _I = "Integrations";
|
|
264
|
+
const _ISE = "InternalServerException";
|
|
265
|
+
const _LA = "ListApplications";
|
|
266
|
+
const _LAAG = "ListAssociatedAttributeGroups";
|
|
267
|
+
const _LAAGR = "ListAssociatedAttributeGroupsRequest";
|
|
268
|
+
const _LAAGRi = "ListAssociatedAttributeGroupsResponse";
|
|
269
|
+
const _LAG = "ListAttributeGroups";
|
|
270
|
+
const _LAGFA = "ListAttributeGroupsForApplication";
|
|
271
|
+
const _LAGFAR = "ListAttributeGroupsForApplicationRequest";
|
|
272
|
+
const _LAGFARi = "ListAttributeGroupsForApplicationResponse";
|
|
273
|
+
const _LAGR = "ListAttributeGroupsRequest";
|
|
274
|
+
const _LAGRi = "ListAttributeGroupsResponse";
|
|
275
|
+
const _LAR = "ListApplicationsRequest";
|
|
276
|
+
const _LARR = "ListAssociatedResourcesRequest";
|
|
277
|
+
const _LARRi = "ListAssociatedResourcesResponse";
|
|
278
|
+
const _LARi = "ListApplicationsResponse";
|
|
279
|
+
const _LARis = "ListAssociatedResources";
|
|
280
|
+
const _LTFR = "ListTagsForResource";
|
|
281
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
282
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
283
|
+
const _PC = "PutConfiguration";
|
|
284
|
+
const _PCR = "PutConfigurationRequest";
|
|
285
|
+
const _R = "Resource";
|
|
286
|
+
const _RD = "ResourceDetails";
|
|
287
|
+
const _RG = "ResourceGroup";
|
|
288
|
+
const _RI = "ResourceInfo";
|
|
289
|
+
const _RIe = "ResourceIntegrations";
|
|
290
|
+
const _RL = "ResourcesList";
|
|
291
|
+
const _RLI = "ResourcesListItem";
|
|
292
|
+
const _RNFE = "ResourceNotFoundException";
|
|
293
|
+
const _Re = "Resources";
|
|
294
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
295
|
+
const _SR = "SyncResource";
|
|
296
|
+
const _SRR = "SyncResourceRequest";
|
|
297
|
+
const _SRRy = "SyncResourceResponse";
|
|
298
|
+
const _TE = "ThrottlingException";
|
|
299
|
+
const _TQC = "TagQueryConfiguration";
|
|
300
|
+
const _TR = "TagResource";
|
|
301
|
+
const _TRR = "TagResourceRequest";
|
|
302
|
+
const _TRRa = "TagResourceResponse";
|
|
303
|
+
const _UA = "UpdateApplication";
|
|
304
|
+
const _UAG = "UpdateAttributeGroup";
|
|
305
|
+
const _UAGR = "UpdateAttributeGroupRequest";
|
|
306
|
+
const _UAGRp = "UpdateAttributeGroupResponse";
|
|
307
|
+
const _UAR = "UpdateApplicationRequest";
|
|
308
|
+
const _UARp = "UpdateApplicationResponse";
|
|
309
|
+
const _UR = "UntagResource";
|
|
310
|
+
const _URR = "UntagResourceRequest";
|
|
311
|
+
const _URRn = "UntagResourceResponse";
|
|
312
|
+
const _VE = "ValidationException";
|
|
313
|
+
const _a = "arn";
|
|
314
|
+
const _aA = "applicationArn";
|
|
315
|
+
const _aG = "attributeGroup";
|
|
316
|
+
const _aGA = "attributeGroupArn";
|
|
317
|
+
const _aGD = "attributeGroupsDetails";
|
|
318
|
+
const _aGt = "attributeGroups";
|
|
319
|
+
const _aRC = "associatedResourceCount";
|
|
320
|
+
const _aT = "applicationTag";
|
|
321
|
+
const _aTR = "applicationTagResult";
|
|
322
|
+
const _aTRG = "applicationTagResourceGroup";
|
|
323
|
+
const _aTS = "applicationTagStatus";
|
|
324
|
+
const _aTc = "actionTaken";
|
|
325
|
+
const _aTs = "associationTime";
|
|
326
|
+
const _ap = "application";
|
|
327
|
+
const _app = "applications";
|
|
328
|
+
const _at = "attributes";
|
|
329
|
+
const _c = "client";
|
|
330
|
+
const _cB = "createdBy";
|
|
331
|
+
const _cT = "creationTime";
|
|
332
|
+
const _cTl = "clientToken";
|
|
333
|
+
const _co = "configuration";
|
|
334
|
+
const _d = "description";
|
|
335
|
+
const _e = "error";
|
|
336
|
+
const _eM = "errorMessage";
|
|
337
|
+
const _h = "http";
|
|
338
|
+
const _hE = "httpError";
|
|
339
|
+
const _hQ = "httpQuery";
|
|
340
|
+
const _i = "id";
|
|
341
|
+
const _in = "integrations";
|
|
342
|
+
const _lUT = "lastUpdateTime";
|
|
343
|
+
const _m = "message";
|
|
344
|
+
const _mR = "maxResults";
|
|
345
|
+
const _n = "name";
|
|
346
|
+
const _nT = "nextToken";
|
|
347
|
+
const _o = "options";
|
|
348
|
+
const _r = "resources";
|
|
349
|
+
const _rA = "resourceArn";
|
|
350
|
+
const _rD = "resourceDetails";
|
|
351
|
+
const _rG = "resourceGroup";
|
|
352
|
+
const _rT = "resourceType";
|
|
353
|
+
const _rTS = "resourceTagStatus";
|
|
354
|
+
const _re = "resource";
|
|
355
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.servicecatalogappregistry";
|
|
356
|
+
const _sC = "serviceCode";
|
|
357
|
+
const _se = "server";
|
|
358
|
+
const _st = "state";
|
|
359
|
+
const _sta = "status";
|
|
360
|
+
const _t = "tags";
|
|
361
|
+
const _tK = "tagKey";
|
|
362
|
+
const _tKa = "tagKeys";
|
|
363
|
+
const _tQC = "tagQueryConfiguration";
|
|
364
|
+
const _tV = "tagValue";
|
|
365
|
+
const n0 = "com.amazonaws.servicecatalogappregistry";
|
|
366
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
367
|
+
var ServiceCatalogAppRegistryServiceException$ = [-3, _s, "ServiceCatalogAppRegistryServiceException", 0, [], []];
|
|
368
|
+
_s_registry.registerError(ServiceCatalogAppRegistryServiceException$, ServiceCatalogAppRegistryServiceException);
|
|
369
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
370
|
+
var ConflictException$ = [-3, n0, _CE,
|
|
371
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
372
|
+
[_m],
|
|
373
|
+
[0]
|
|
374
|
+
];
|
|
375
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
376
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
377
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
378
|
+
[_m],
|
|
379
|
+
[0]
|
|
380
|
+
];
|
|
381
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
382
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
383
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
384
|
+
[_m],
|
|
385
|
+
[0]
|
|
386
|
+
];
|
|
387
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
388
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
389
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
390
|
+
[_m],
|
|
391
|
+
[0]
|
|
392
|
+
];
|
|
393
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
394
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
395
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
396
|
+
[_m, _sC],
|
|
397
|
+
[0, 0], 1
|
|
398
|
+
];
|
|
399
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
400
|
+
var ValidationException$ = [-3, n0, _VE,
|
|
401
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
402
|
+
[_m],
|
|
403
|
+
[0]
|
|
404
|
+
];
|
|
405
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
406
|
+
const errorTypeRegistries = [
|
|
407
|
+
_s_registry,
|
|
408
|
+
n0_registry,
|
|
409
|
+
];
|
|
410
|
+
var Application$ = [3, n0, _A,
|
|
411
|
+
0,
|
|
412
|
+
[_i, _a, _n, _d, _cT, _lUT, _t, _aT],
|
|
413
|
+
[0, 0, 0, 0, 5, 5, 128 | 0, 128 | 0]
|
|
414
|
+
];
|
|
415
|
+
var ApplicationSummary$ = [3, n0, _AS,
|
|
416
|
+
0,
|
|
417
|
+
[_i, _a, _n, _d, _cT, _lUT],
|
|
418
|
+
[0, 0, 0, 0, 5, 5]
|
|
419
|
+
];
|
|
420
|
+
var ApplicationTagResult$ = [3, n0, _ATR,
|
|
421
|
+
0,
|
|
422
|
+
[_aTS, _eM, _r, _nT],
|
|
423
|
+
[0, 0, () => ResourcesList, 0]
|
|
424
|
+
];
|
|
425
|
+
var AppRegistryConfiguration$ = [3, n0, _ARC,
|
|
426
|
+
0,
|
|
427
|
+
[_tQC],
|
|
428
|
+
[() => TagQueryConfiguration$]
|
|
429
|
+
];
|
|
430
|
+
var AssociateAttributeGroupRequest$ = [3, n0, _AAGR,
|
|
431
|
+
0,
|
|
432
|
+
[_ap, _aG],
|
|
433
|
+
[[0, 1], [0, 1]], 2
|
|
434
|
+
];
|
|
435
|
+
var AssociateAttributeGroupResponse$ = [3, n0, _AAGRs,
|
|
436
|
+
0,
|
|
437
|
+
[_aA, _aGA],
|
|
438
|
+
[0, 0]
|
|
439
|
+
];
|
|
440
|
+
var AssociateResourceRequest$ = [3, n0, _ARR,
|
|
441
|
+
0,
|
|
442
|
+
[_ap, _rT, _re, _o],
|
|
443
|
+
[[0, 1], [0, 1], [0, 1], 64 | 0], 3
|
|
444
|
+
];
|
|
445
|
+
var AssociateResourceResponse$ = [3, n0, _ARRs,
|
|
446
|
+
0,
|
|
447
|
+
[_aA, _rA, _o],
|
|
448
|
+
[0, 0, 64 | 0]
|
|
449
|
+
];
|
|
450
|
+
var AttributeGroup$ = [3, n0, _AG,
|
|
451
|
+
0,
|
|
452
|
+
[_i, _a, _n, _d, _cT, _lUT, _t],
|
|
453
|
+
[0, 0, 0, 0, 5, 5, 128 | 0]
|
|
454
|
+
];
|
|
455
|
+
var AttributeGroupDetails$ = [3, n0, _AGD,
|
|
456
|
+
0,
|
|
457
|
+
[_i, _a, _n, _cB],
|
|
458
|
+
[0, 0, 0, 0]
|
|
459
|
+
];
|
|
460
|
+
var AttributeGroupSummary$ = [3, n0, _AGS,
|
|
461
|
+
0,
|
|
462
|
+
[_i, _a, _n, _d, _cT, _lUT, _cB],
|
|
463
|
+
[0, 0, 0, 0, 5, 5, 0]
|
|
464
|
+
];
|
|
465
|
+
var CreateApplicationRequest$ = [3, n0, _CAR,
|
|
466
|
+
0,
|
|
467
|
+
[_n, _d, _t, _cTl],
|
|
468
|
+
[0, 0, 128 | 0, [0, 4]], 1
|
|
469
|
+
];
|
|
470
|
+
var CreateApplicationResponse$ = [3, n0, _CARr,
|
|
471
|
+
0,
|
|
472
|
+
[_ap],
|
|
473
|
+
[() => Application$]
|
|
474
|
+
];
|
|
475
|
+
var CreateAttributeGroupRequest$ = [3, n0, _CAGR,
|
|
476
|
+
0,
|
|
477
|
+
[_n, _at, _d, _t, _cTl],
|
|
478
|
+
[0, 0, 0, 128 | 0, [0, 4]], 2
|
|
479
|
+
];
|
|
480
|
+
var CreateAttributeGroupResponse$ = [3, n0, _CAGRr,
|
|
481
|
+
0,
|
|
482
|
+
[_aG],
|
|
483
|
+
[() => AttributeGroup$]
|
|
484
|
+
];
|
|
485
|
+
var DeleteApplicationRequest$ = [3, n0, _DAR,
|
|
486
|
+
0,
|
|
487
|
+
[_ap],
|
|
488
|
+
[[0, 1]], 1
|
|
489
|
+
];
|
|
490
|
+
var DeleteApplicationResponse$ = [3, n0, _DARe,
|
|
491
|
+
0,
|
|
492
|
+
[_ap],
|
|
493
|
+
[() => ApplicationSummary$]
|
|
494
|
+
];
|
|
495
|
+
var DeleteAttributeGroupRequest$ = [3, n0, _DAGR,
|
|
496
|
+
0,
|
|
497
|
+
[_aG],
|
|
498
|
+
[[0, 1]], 1
|
|
499
|
+
];
|
|
500
|
+
var DeleteAttributeGroupResponse$ = [3, n0, _DAGRe,
|
|
501
|
+
0,
|
|
502
|
+
[_aG],
|
|
503
|
+
[() => AttributeGroupSummary$]
|
|
504
|
+
];
|
|
505
|
+
var DisassociateAttributeGroupRequest$ = [3, n0, _DAGRi,
|
|
506
|
+
0,
|
|
507
|
+
[_ap, _aG],
|
|
508
|
+
[[0, 1], [0, 1]], 2
|
|
509
|
+
];
|
|
510
|
+
var DisassociateAttributeGroupResponse$ = [3, n0, _DAGRis,
|
|
511
|
+
0,
|
|
512
|
+
[_aA, _aGA],
|
|
513
|
+
[0, 0]
|
|
514
|
+
];
|
|
515
|
+
var DisassociateResourceRequest$ = [3, n0, _DRR,
|
|
516
|
+
0,
|
|
517
|
+
[_ap, _rT, _re],
|
|
518
|
+
[[0, 1], [0, 1], [0, 1]], 3
|
|
519
|
+
];
|
|
520
|
+
var DisassociateResourceResponse$ = [3, n0, _DRRi,
|
|
521
|
+
0,
|
|
522
|
+
[_aA, _rA],
|
|
523
|
+
[0, 0]
|
|
524
|
+
];
|
|
525
|
+
var GetApplicationRequest$ = [3, n0, _GAR,
|
|
526
|
+
0,
|
|
527
|
+
[_ap],
|
|
528
|
+
[[0, 1]], 1
|
|
529
|
+
];
|
|
530
|
+
var GetApplicationResponse$ = [3, n0, _GARe,
|
|
531
|
+
0,
|
|
532
|
+
[_i, _a, _n, _d, _cT, _lUT, _aRC, _t, _in, _aT],
|
|
533
|
+
[0, 0, 0, 0, 5, 5, 1, 128 | 0, () => Integrations$, 128 | 0]
|
|
534
|
+
];
|
|
535
|
+
var GetAssociatedResourceRequest$ = [3, n0, _GARR,
|
|
536
|
+
0,
|
|
537
|
+
[_ap, _rT, _re, _nT, _rTS, _mR],
|
|
538
|
+
[[0, 1], [0, 1], [0, 1], [0, { [_hQ]: _nT }], [64 | 0, { [_hQ]: _rTS }], [1, { [_hQ]: _mR }]], 3
|
|
539
|
+
];
|
|
540
|
+
var GetAssociatedResourceResponse$ = [3, n0, _GARRe,
|
|
541
|
+
0,
|
|
542
|
+
[_re, _o, _aTR],
|
|
543
|
+
[() => Resource$, 64 | 0, () => ApplicationTagResult$]
|
|
544
|
+
];
|
|
545
|
+
var GetAttributeGroupRequest$ = [3, n0, _GAGR,
|
|
546
|
+
0,
|
|
547
|
+
[_aG],
|
|
548
|
+
[[0, 1]], 1
|
|
549
|
+
];
|
|
550
|
+
var GetAttributeGroupResponse$ = [3, n0, _GAGRe,
|
|
551
|
+
0,
|
|
552
|
+
[_i, _a, _n, _d, _at, _cT, _lUT, _t, _cB],
|
|
553
|
+
[0, 0, 0, 0, 0, 5, 5, 128 | 0, 0]
|
|
554
|
+
];
|
|
555
|
+
var GetConfigurationResponse$ = [3, n0, _GCR,
|
|
556
|
+
0,
|
|
557
|
+
[_co],
|
|
558
|
+
[() => AppRegistryConfiguration$]
|
|
559
|
+
];
|
|
560
|
+
var Integrations$ = [3, n0, _I,
|
|
561
|
+
0,
|
|
562
|
+
[_rG, _aTRG],
|
|
563
|
+
[() => ResourceGroup$, () => ResourceGroup$]
|
|
564
|
+
];
|
|
565
|
+
var ListApplicationsRequest$ = [3, n0, _LAR,
|
|
566
|
+
0,
|
|
567
|
+
[_nT, _mR],
|
|
568
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
569
|
+
];
|
|
570
|
+
var ListApplicationsResponse$ = [3, n0, _LARi,
|
|
571
|
+
0,
|
|
572
|
+
[_app, _nT],
|
|
573
|
+
[() => ApplicationSummaries, 0]
|
|
574
|
+
];
|
|
575
|
+
var ListAssociatedAttributeGroupsRequest$ = [3, n0, _LAAGR,
|
|
576
|
+
0,
|
|
577
|
+
[_ap, _nT, _mR],
|
|
578
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
579
|
+
];
|
|
580
|
+
var ListAssociatedAttributeGroupsResponse$ = [3, n0, _LAAGRi,
|
|
581
|
+
0,
|
|
582
|
+
[_aGt, _nT],
|
|
583
|
+
[64 | 0, 0]
|
|
584
|
+
];
|
|
585
|
+
var ListAssociatedResourcesRequest$ = [3, n0, _LARR,
|
|
586
|
+
0,
|
|
587
|
+
[_ap, _nT, _mR],
|
|
588
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
589
|
+
];
|
|
590
|
+
var ListAssociatedResourcesResponse$ = [3, n0, _LARRi,
|
|
591
|
+
0,
|
|
592
|
+
[_r, _nT],
|
|
593
|
+
[() => Resources, 0]
|
|
594
|
+
];
|
|
595
|
+
var ListAttributeGroupsForApplicationRequest$ = [3, n0, _LAGFAR,
|
|
596
|
+
0,
|
|
597
|
+
[_ap, _nT, _mR],
|
|
598
|
+
[[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
|
|
599
|
+
];
|
|
600
|
+
var ListAttributeGroupsForApplicationResponse$ = [3, n0, _LAGFARi,
|
|
601
|
+
0,
|
|
602
|
+
[_aGD, _nT],
|
|
603
|
+
[() => AttributeGroupDetailsList, 0]
|
|
604
|
+
];
|
|
605
|
+
var ListAttributeGroupsRequest$ = [3, n0, _LAGR,
|
|
606
|
+
0,
|
|
607
|
+
[_nT, _mR],
|
|
608
|
+
[[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
|
|
609
|
+
];
|
|
610
|
+
var ListAttributeGroupsResponse$ = [3, n0, _LAGRi,
|
|
611
|
+
0,
|
|
612
|
+
[_aGt, _nT],
|
|
613
|
+
[() => AttributeGroupSummaries, 0]
|
|
614
|
+
];
|
|
615
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
616
|
+
0,
|
|
617
|
+
[_rA],
|
|
618
|
+
[[0, 1]], 1
|
|
619
|
+
];
|
|
620
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
621
|
+
0,
|
|
622
|
+
[_t],
|
|
623
|
+
[128 | 0]
|
|
624
|
+
];
|
|
625
|
+
var PutConfigurationRequest$ = [3, n0, _PCR,
|
|
626
|
+
0,
|
|
627
|
+
[_co],
|
|
628
|
+
[() => AppRegistryConfiguration$], 1
|
|
629
|
+
];
|
|
630
|
+
var Resource$ = [3, n0, _R,
|
|
631
|
+
0,
|
|
632
|
+
[_n, _a, _aTs, _in],
|
|
633
|
+
[0, 0, 5, () => ResourceIntegrations$]
|
|
634
|
+
];
|
|
635
|
+
var ResourceDetails$ = [3, n0, _RD,
|
|
636
|
+
0,
|
|
637
|
+
[_tV],
|
|
638
|
+
[0]
|
|
639
|
+
];
|
|
640
|
+
var ResourceGroup$ = [3, n0, _RG,
|
|
641
|
+
0,
|
|
642
|
+
[_st, _a, _eM],
|
|
643
|
+
[0, 0, 0]
|
|
644
|
+
];
|
|
645
|
+
var ResourceInfo$ = [3, n0, _RI,
|
|
646
|
+
0,
|
|
647
|
+
[_n, _a, _rT, _rD, _o],
|
|
648
|
+
[0, 0, 0, () => ResourceDetails$, 64 | 0]
|
|
649
|
+
];
|
|
650
|
+
var ResourceIntegrations$ = [3, n0, _RIe,
|
|
651
|
+
0,
|
|
652
|
+
[_rG],
|
|
653
|
+
[() => ResourceGroup$]
|
|
654
|
+
];
|
|
655
|
+
var ResourcesListItem$ = [3, n0, _RLI,
|
|
656
|
+
0,
|
|
657
|
+
[_rA, _eM, _sta, _rT],
|
|
658
|
+
[0, 0, 0, 0]
|
|
659
|
+
];
|
|
660
|
+
var SyncResourceRequest$ = [3, n0, _SRR,
|
|
661
|
+
0,
|
|
662
|
+
[_rT, _re],
|
|
663
|
+
[[0, 1], [0, 1]], 2
|
|
664
|
+
];
|
|
665
|
+
var SyncResourceResponse$ = [3, n0, _SRRy,
|
|
666
|
+
0,
|
|
667
|
+
[_aA, _rA, _aTc],
|
|
668
|
+
[0, 0, 0]
|
|
669
|
+
];
|
|
670
|
+
var TagQueryConfiguration$ = [3, n0, _TQC,
|
|
671
|
+
0,
|
|
672
|
+
[_tK],
|
|
673
|
+
[0]
|
|
674
|
+
];
|
|
675
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
676
|
+
0,
|
|
677
|
+
[_rA, _t],
|
|
678
|
+
[[0, 1], 128 | 0], 2
|
|
679
|
+
];
|
|
680
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
681
|
+
0,
|
|
682
|
+
[],
|
|
683
|
+
[]
|
|
684
|
+
];
|
|
685
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
686
|
+
0,
|
|
687
|
+
[_rA, _tKa],
|
|
688
|
+
[[0, 1], [64 | 0, { [_hQ]: _tKa }]], 2
|
|
689
|
+
];
|
|
690
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
691
|
+
0,
|
|
692
|
+
[],
|
|
693
|
+
[]
|
|
694
|
+
];
|
|
695
|
+
var UpdateApplicationRequest$ = [3, n0, _UAR,
|
|
696
|
+
0,
|
|
697
|
+
[_ap, _n, _d],
|
|
698
|
+
[[0, 1], 0, 0], 1
|
|
699
|
+
];
|
|
700
|
+
var UpdateApplicationResponse$ = [3, n0, _UARp,
|
|
701
|
+
0,
|
|
702
|
+
[_ap],
|
|
703
|
+
[() => Application$]
|
|
704
|
+
];
|
|
705
|
+
var UpdateAttributeGroupRequest$ = [3, n0, _UAGR,
|
|
706
|
+
0,
|
|
707
|
+
[_aG, _n, _d, _at],
|
|
708
|
+
[[0, 1], 0, 0, 0], 1
|
|
709
|
+
];
|
|
710
|
+
var UpdateAttributeGroupResponse$ = [3, n0, _UAGRp,
|
|
711
|
+
0,
|
|
712
|
+
[_aG],
|
|
713
|
+
[() => AttributeGroup$]
|
|
714
|
+
];
|
|
715
|
+
var __Unit = "unit";
|
|
716
|
+
var ApplicationSummaries = [1, n0, _ASp,
|
|
717
|
+
0, () => ApplicationSummary$
|
|
718
|
+
];
|
|
719
|
+
var AttributeGroupDetailsList = [1, n0, _AGDL,
|
|
720
|
+
0, () => AttributeGroupDetails$
|
|
721
|
+
];
|
|
722
|
+
var AttributeGroupSummaries = [1, n0, _AGSt,
|
|
723
|
+
0, () => AttributeGroupSummary$
|
|
724
|
+
];
|
|
725
|
+
var Resources = [1, n0, _Re,
|
|
726
|
+
0, () => ResourceInfo$
|
|
727
|
+
];
|
|
728
|
+
var ResourcesList = [1, n0, _RL,
|
|
729
|
+
0, () => ResourcesListItem$
|
|
730
|
+
];
|
|
731
|
+
var AssociateAttributeGroup$ = [9, n0, _AAG,
|
|
732
|
+
{ [_h]: ["PUT", "/applications/{application}/attribute-groups/{attributeGroup}", 200] }, () => AssociateAttributeGroupRequest$, () => AssociateAttributeGroupResponse$
|
|
733
|
+
];
|
|
734
|
+
var AssociateResource$ = [9, n0, _AR,
|
|
735
|
+
{ [_h]: ["PUT", "/applications/{application}/resources/{resourceType}/{resource}", 200] }, () => AssociateResourceRequest$, () => AssociateResourceResponse$
|
|
736
|
+
];
|
|
737
|
+
var CreateApplication$ = [9, n0, _CA,
|
|
738
|
+
{ [_h]: ["POST", "/applications", 201] }, () => CreateApplicationRequest$, () => CreateApplicationResponse$
|
|
739
|
+
];
|
|
740
|
+
var CreateAttributeGroup$ = [9, n0, _CAG,
|
|
741
|
+
{ [_h]: ["POST", "/attribute-groups", 201] }, () => CreateAttributeGroupRequest$, () => CreateAttributeGroupResponse$
|
|
742
|
+
];
|
|
743
|
+
var DeleteApplication$ = [9, n0, _DA,
|
|
744
|
+
{ [_h]: ["DELETE", "/applications/{application}", 200] }, () => DeleteApplicationRequest$, () => DeleteApplicationResponse$
|
|
745
|
+
];
|
|
746
|
+
var DeleteAttributeGroup$ = [9, n0, _DAG,
|
|
747
|
+
{ [_h]: ["DELETE", "/attribute-groups/{attributeGroup}", 200] }, () => DeleteAttributeGroupRequest$, () => DeleteAttributeGroupResponse$
|
|
748
|
+
];
|
|
749
|
+
var DisassociateAttributeGroup$ = [9, n0, _DAGi,
|
|
750
|
+
{ [_h]: ["DELETE", "/applications/{application}/attribute-groups/{attributeGroup}", 200] }, () => DisassociateAttributeGroupRequest$, () => DisassociateAttributeGroupResponse$
|
|
751
|
+
];
|
|
752
|
+
var DisassociateResource$ = [9, n0, _DR,
|
|
753
|
+
{ [_h]: ["DELETE", "/applications/{application}/resources/{resourceType}/{resource}", 200] }, () => DisassociateResourceRequest$, () => DisassociateResourceResponse$
|
|
754
|
+
];
|
|
755
|
+
var GetApplication$ = [9, n0, _GA,
|
|
756
|
+
{ [_h]: ["GET", "/applications/{application}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
|
|
757
|
+
];
|
|
758
|
+
var GetAssociatedResource$ = [9, n0, _GARet,
|
|
759
|
+
{ [_h]: ["GET", "/applications/{application}/resources/{resourceType}/{resource}", 200] }, () => GetAssociatedResourceRequest$, () => GetAssociatedResourceResponse$
|
|
760
|
+
];
|
|
761
|
+
var GetAttributeGroup$ = [9, n0, _GAG,
|
|
762
|
+
{ [_h]: ["GET", "/attribute-groups/{attributeGroup}", 200] }, () => GetAttributeGroupRequest$, () => GetAttributeGroupResponse$
|
|
763
|
+
];
|
|
764
|
+
var GetConfiguration$ = [9, n0, _GC,
|
|
765
|
+
{ [_h]: ["GET", "/configuration", 200] }, () => __Unit, () => GetConfigurationResponse$
|
|
766
|
+
];
|
|
767
|
+
var ListApplications$ = [9, n0, _LA,
|
|
768
|
+
{ [_h]: ["GET", "/applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
|
|
769
|
+
];
|
|
770
|
+
var ListAssociatedAttributeGroups$ = [9, n0, _LAAG,
|
|
771
|
+
{ [_h]: ["GET", "/applications/{application}/attribute-groups", 200] }, () => ListAssociatedAttributeGroupsRequest$, () => ListAssociatedAttributeGroupsResponse$
|
|
772
|
+
];
|
|
773
|
+
var ListAssociatedResources$ = [9, n0, _LARis,
|
|
774
|
+
{ [_h]: ["GET", "/applications/{application}/resources", 200] }, () => ListAssociatedResourcesRequest$, () => ListAssociatedResourcesResponse$
|
|
775
|
+
];
|
|
776
|
+
var ListAttributeGroups$ = [9, n0, _LAG,
|
|
777
|
+
{ [_h]: ["GET", "/attribute-groups", 200] }, () => ListAttributeGroupsRequest$, () => ListAttributeGroupsResponse$
|
|
778
|
+
];
|
|
779
|
+
var ListAttributeGroupsForApplication$ = [9, n0, _LAGFA,
|
|
780
|
+
{ [_h]: ["GET", "/applications/{application}/attribute-group-details", 200] }, () => ListAttributeGroupsForApplicationRequest$, () => ListAttributeGroupsForApplicationResponse$
|
|
781
|
+
];
|
|
782
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
783
|
+
{ [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
784
|
+
];
|
|
785
|
+
var PutConfiguration$ = [9, n0, _PC,
|
|
786
|
+
{ [_h]: ["PUT", "/configuration", 200] }, () => PutConfigurationRequest$, () => __Unit
|
|
787
|
+
];
|
|
788
|
+
var SyncResource$ = [9, n0, _SR,
|
|
789
|
+
{ [_h]: ["POST", "/sync/{resourceType}/{resource}", 200] }, () => SyncResourceRequest$, () => SyncResourceResponse$
|
|
790
|
+
];
|
|
791
|
+
var TagResource$ = [9, n0, _TR,
|
|
792
|
+
{ [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
793
|
+
];
|
|
794
|
+
var UntagResource$ = [9, n0, _UR,
|
|
795
|
+
{ [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
796
|
+
];
|
|
797
|
+
var UpdateApplication$ = [9, n0, _UA,
|
|
798
|
+
{ [_h]: ["PATCH", "/applications/{application}", 200] }, () => UpdateApplicationRequest$, () => UpdateApplicationResponse$
|
|
799
|
+
];
|
|
800
|
+
var UpdateAttributeGroup$ = [9, n0, _UAG,
|
|
801
|
+
{ [_h]: ["PATCH", "/attribute-groups/{attributeGroup}", 200] }, () => UpdateAttributeGroupRequest$, () => UpdateAttributeGroupResponse$
|
|
802
|
+
];
|
|
803
|
+
|
|
804
|
+
const getRuntimeConfig$1 = (config) => {
|
|
805
|
+
return {
|
|
806
|
+
apiVersion: "2020-06-24",
|
|
807
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
808
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
809
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
810
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
811
|
+
extensions: config?.extensions ?? [],
|
|
812
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultServiceCatalogAppRegistryHttpAuthSchemeProvider,
|
|
813
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
814
|
+
{
|
|
815
|
+
schemeId: "aws.auth#sigv4",
|
|
816
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
817
|
+
signer: new AwsSdkSigV4Signer(),
|
|
818
|
+
},
|
|
819
|
+
],
|
|
820
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
821
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
822
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
823
|
+
defaultNamespace: "com.amazonaws.servicecatalogappregistry",
|
|
824
|
+
errorTypeRegistries,
|
|
825
|
+
version: "2020-06-24",
|
|
826
|
+
serviceTarget: "AWS242AppRegistry",
|
|
827
|
+
},
|
|
828
|
+
serviceId: config?.serviceId ?? "Service Catalog AppRegistry",
|
|
829
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
830
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
831
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
const getRuntimeConfig = (config) => {
|
|
836
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
837
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
838
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
839
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
840
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
841
|
+
const loaderConfig = {
|
|
842
|
+
profile: config?.profile,
|
|
843
|
+
logger: clientSharedValues.logger,
|
|
844
|
+
};
|
|
845
|
+
return {
|
|
846
|
+
...clientSharedValues,
|
|
847
|
+
...config,
|
|
848
|
+
runtime: "node",
|
|
849
|
+
defaultsMode,
|
|
850
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
851
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
852
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
853
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
854
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
855
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
856
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
857
|
+
retryMode: config?.retryMode ??
|
|
858
|
+
loadConfig({
|
|
859
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
860
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
861
|
+
}, config),
|
|
862
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
863
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
864
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
865
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
866
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
|
|
34
870
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
871
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
872
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -478,38 +1314,138 @@ const SyncAction = {
|
|
|
478
1314
|
START_SYNC: "START_SYNC",
|
|
479
1315
|
};
|
|
480
1316
|
|
|
1317
|
+
exports.AppRegistryConfiguration$ = AppRegistryConfiguration$;
|
|
1318
|
+
exports.Application$ = Application$;
|
|
1319
|
+
exports.ApplicationSummary$ = ApplicationSummary$;
|
|
1320
|
+
exports.ApplicationTagResult$ = ApplicationTagResult$;
|
|
481
1321
|
exports.ApplicationTagStatus = ApplicationTagStatus;
|
|
1322
|
+
exports.AssociateAttributeGroup$ = AssociateAttributeGroup$;
|
|
482
1323
|
exports.AssociateAttributeGroupCommand = AssociateAttributeGroupCommand;
|
|
1324
|
+
exports.AssociateAttributeGroupRequest$ = AssociateAttributeGroupRequest$;
|
|
1325
|
+
exports.AssociateAttributeGroupResponse$ = AssociateAttributeGroupResponse$;
|
|
1326
|
+
exports.AssociateResource$ = AssociateResource$;
|
|
483
1327
|
exports.AssociateResourceCommand = AssociateResourceCommand;
|
|
1328
|
+
exports.AssociateResourceRequest$ = AssociateResourceRequest$;
|
|
1329
|
+
exports.AssociateResourceResponse$ = AssociateResourceResponse$;
|
|
484
1330
|
exports.AssociationOption = AssociationOption;
|
|
1331
|
+
exports.AttributeGroup$ = AttributeGroup$;
|
|
1332
|
+
exports.AttributeGroupDetails$ = AttributeGroupDetails$;
|
|
1333
|
+
exports.AttributeGroupSummary$ = AttributeGroupSummary$;
|
|
1334
|
+
exports.ConflictException = ConflictException;
|
|
1335
|
+
exports.ConflictException$ = ConflictException$;
|
|
1336
|
+
exports.CreateApplication$ = CreateApplication$;
|
|
485
1337
|
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
1338
|
+
exports.CreateApplicationRequest$ = CreateApplicationRequest$;
|
|
1339
|
+
exports.CreateApplicationResponse$ = CreateApplicationResponse$;
|
|
1340
|
+
exports.CreateAttributeGroup$ = CreateAttributeGroup$;
|
|
486
1341
|
exports.CreateAttributeGroupCommand = CreateAttributeGroupCommand;
|
|
1342
|
+
exports.CreateAttributeGroupRequest$ = CreateAttributeGroupRequest$;
|
|
1343
|
+
exports.CreateAttributeGroupResponse$ = CreateAttributeGroupResponse$;
|
|
1344
|
+
exports.DeleteApplication$ = DeleteApplication$;
|
|
487
1345
|
exports.DeleteApplicationCommand = DeleteApplicationCommand;
|
|
1346
|
+
exports.DeleteApplicationRequest$ = DeleteApplicationRequest$;
|
|
1347
|
+
exports.DeleteApplicationResponse$ = DeleteApplicationResponse$;
|
|
1348
|
+
exports.DeleteAttributeGroup$ = DeleteAttributeGroup$;
|
|
488
1349
|
exports.DeleteAttributeGroupCommand = DeleteAttributeGroupCommand;
|
|
1350
|
+
exports.DeleteAttributeGroupRequest$ = DeleteAttributeGroupRequest$;
|
|
1351
|
+
exports.DeleteAttributeGroupResponse$ = DeleteAttributeGroupResponse$;
|
|
1352
|
+
exports.DisassociateAttributeGroup$ = DisassociateAttributeGroup$;
|
|
489
1353
|
exports.DisassociateAttributeGroupCommand = DisassociateAttributeGroupCommand;
|
|
1354
|
+
exports.DisassociateAttributeGroupRequest$ = DisassociateAttributeGroupRequest$;
|
|
1355
|
+
exports.DisassociateAttributeGroupResponse$ = DisassociateAttributeGroupResponse$;
|
|
1356
|
+
exports.DisassociateResource$ = DisassociateResource$;
|
|
490
1357
|
exports.DisassociateResourceCommand = DisassociateResourceCommand;
|
|
1358
|
+
exports.DisassociateResourceRequest$ = DisassociateResourceRequest$;
|
|
1359
|
+
exports.DisassociateResourceResponse$ = DisassociateResourceResponse$;
|
|
1360
|
+
exports.GetApplication$ = GetApplication$;
|
|
491
1361
|
exports.GetApplicationCommand = GetApplicationCommand;
|
|
1362
|
+
exports.GetApplicationRequest$ = GetApplicationRequest$;
|
|
1363
|
+
exports.GetApplicationResponse$ = GetApplicationResponse$;
|
|
1364
|
+
exports.GetAssociatedResource$ = GetAssociatedResource$;
|
|
492
1365
|
exports.GetAssociatedResourceCommand = GetAssociatedResourceCommand;
|
|
1366
|
+
exports.GetAssociatedResourceRequest$ = GetAssociatedResourceRequest$;
|
|
1367
|
+
exports.GetAssociatedResourceResponse$ = GetAssociatedResourceResponse$;
|
|
1368
|
+
exports.GetAttributeGroup$ = GetAttributeGroup$;
|
|
493
1369
|
exports.GetAttributeGroupCommand = GetAttributeGroupCommand;
|
|
1370
|
+
exports.GetAttributeGroupRequest$ = GetAttributeGroupRequest$;
|
|
1371
|
+
exports.GetAttributeGroupResponse$ = GetAttributeGroupResponse$;
|
|
1372
|
+
exports.GetConfiguration$ = GetConfiguration$;
|
|
494
1373
|
exports.GetConfigurationCommand = GetConfigurationCommand;
|
|
1374
|
+
exports.GetConfigurationResponse$ = GetConfigurationResponse$;
|
|
1375
|
+
exports.Integrations$ = Integrations$;
|
|
1376
|
+
exports.InternalServerException = InternalServerException;
|
|
1377
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1378
|
+
exports.ListApplications$ = ListApplications$;
|
|
495
1379
|
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
1380
|
+
exports.ListApplicationsRequest$ = ListApplicationsRequest$;
|
|
1381
|
+
exports.ListApplicationsResponse$ = ListApplicationsResponse$;
|
|
1382
|
+
exports.ListAssociatedAttributeGroups$ = ListAssociatedAttributeGroups$;
|
|
496
1383
|
exports.ListAssociatedAttributeGroupsCommand = ListAssociatedAttributeGroupsCommand;
|
|
1384
|
+
exports.ListAssociatedAttributeGroupsRequest$ = ListAssociatedAttributeGroupsRequest$;
|
|
1385
|
+
exports.ListAssociatedAttributeGroupsResponse$ = ListAssociatedAttributeGroupsResponse$;
|
|
1386
|
+
exports.ListAssociatedResources$ = ListAssociatedResources$;
|
|
497
1387
|
exports.ListAssociatedResourcesCommand = ListAssociatedResourcesCommand;
|
|
1388
|
+
exports.ListAssociatedResourcesRequest$ = ListAssociatedResourcesRequest$;
|
|
1389
|
+
exports.ListAssociatedResourcesResponse$ = ListAssociatedResourcesResponse$;
|
|
1390
|
+
exports.ListAttributeGroups$ = ListAttributeGroups$;
|
|
498
1391
|
exports.ListAttributeGroupsCommand = ListAttributeGroupsCommand;
|
|
1392
|
+
exports.ListAttributeGroupsForApplication$ = ListAttributeGroupsForApplication$;
|
|
499
1393
|
exports.ListAttributeGroupsForApplicationCommand = ListAttributeGroupsForApplicationCommand;
|
|
1394
|
+
exports.ListAttributeGroupsForApplicationRequest$ = ListAttributeGroupsForApplicationRequest$;
|
|
1395
|
+
exports.ListAttributeGroupsForApplicationResponse$ = ListAttributeGroupsForApplicationResponse$;
|
|
1396
|
+
exports.ListAttributeGroupsRequest$ = ListAttributeGroupsRequest$;
|
|
1397
|
+
exports.ListAttributeGroupsResponse$ = ListAttributeGroupsResponse$;
|
|
1398
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
500
1399
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1400
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1401
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1402
|
+
exports.PutConfiguration$ = PutConfiguration$;
|
|
501
1403
|
exports.PutConfigurationCommand = PutConfigurationCommand;
|
|
1404
|
+
exports.PutConfigurationRequest$ = PutConfigurationRequest$;
|
|
1405
|
+
exports.Resource$ = Resource$;
|
|
1406
|
+
exports.ResourceDetails$ = ResourceDetails$;
|
|
1407
|
+
exports.ResourceGroup$ = ResourceGroup$;
|
|
502
1408
|
exports.ResourceGroupState = ResourceGroupState;
|
|
1409
|
+
exports.ResourceInfo$ = ResourceInfo$;
|
|
1410
|
+
exports.ResourceIntegrations$ = ResourceIntegrations$;
|
|
503
1411
|
exports.ResourceItemStatus = ResourceItemStatus;
|
|
1412
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1413
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
504
1414
|
exports.ResourceType = ResourceType;
|
|
1415
|
+
exports.ResourcesListItem$ = ResourcesListItem$;
|
|
505
1416
|
exports.ServiceCatalogAppRegistry = ServiceCatalogAppRegistry;
|
|
506
1417
|
exports.ServiceCatalogAppRegistryClient = ServiceCatalogAppRegistryClient;
|
|
1418
|
+
exports.ServiceCatalogAppRegistryServiceException = ServiceCatalogAppRegistryServiceException;
|
|
1419
|
+
exports.ServiceCatalogAppRegistryServiceException$ = ServiceCatalogAppRegistryServiceException$;
|
|
1420
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1421
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
507
1422
|
exports.SyncAction = SyncAction;
|
|
1423
|
+
exports.SyncResource$ = SyncResource$;
|
|
508
1424
|
exports.SyncResourceCommand = SyncResourceCommand;
|
|
1425
|
+
exports.SyncResourceRequest$ = SyncResourceRequest$;
|
|
1426
|
+
exports.SyncResourceResponse$ = SyncResourceResponse$;
|
|
1427
|
+
exports.TagQueryConfiguration$ = TagQueryConfiguration$;
|
|
1428
|
+
exports.TagResource$ = TagResource$;
|
|
509
1429
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1430
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1431
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1432
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1433
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1434
|
+
exports.UntagResource$ = UntagResource$;
|
|
510
1435
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1436
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1437
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1438
|
+
exports.UpdateApplication$ = UpdateApplication$;
|
|
511
1439
|
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
1440
|
+
exports.UpdateApplicationRequest$ = UpdateApplicationRequest$;
|
|
1441
|
+
exports.UpdateApplicationResponse$ = UpdateApplicationResponse$;
|
|
1442
|
+
exports.UpdateAttributeGroup$ = UpdateAttributeGroup$;
|
|
512
1443
|
exports.UpdateAttributeGroupCommand = UpdateAttributeGroupCommand;
|
|
1444
|
+
exports.UpdateAttributeGroupRequest$ = UpdateAttributeGroupRequest$;
|
|
1445
|
+
exports.UpdateAttributeGroupResponse$ = UpdateAttributeGroupResponse$;
|
|
1446
|
+
exports.ValidationException = ValidationException;
|
|
1447
|
+
exports.ValidationException$ = ValidationException$;
|
|
1448
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
513
1449
|
exports.paginateListApplications = paginateListApplications;
|
|
514
1450
|
exports.paginateListAssociatedAttributeGroups = paginateListAssociatedAttributeGroups;
|
|
515
1451
|
exports.paginateListAssociatedResources = paginateListAssociatedResources;
|