@aws-sdk/client-service-catalog-appregistry 3.212.0 → 3.215.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/ServiceCatalogAppRegistry.js +30 -0
- package/dist-cjs/commands/GetConfigurationCommand.js +46 -0
- package/dist-cjs/commands/PutConfigurationCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +23 -2
- package/dist-cjs/protocols/Aws_restJson1.js +147 -1
- package/dist-es/ServiceCatalogAppRegistry.js +30 -0
- package/dist-es/commands/GetConfigurationCommand.js +42 -0
- package/dist-es/commands/PutConfigurationCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_restJson1.js +142 -0
- package/dist-types/ServiceCatalogAppRegistry.d.ts +41 -1
- package/dist-types/ServiceCatalogAppRegistryClient.d.ts +4 -2
- package/dist-types/commands/GetConfigurationCommand.d.ts +40 -0
- package/dist-types/commands/ListAssociatedResourcesCommand.d.ts +21 -1
- package/dist-types/commands/PutConfigurationCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +130 -7
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -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/ts3.4/ServiceCatalogAppRegistry.d.ts +34 -0
- package/dist-types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/PutConfigurationCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +28 -28
|
@@ -62,6 +62,7 @@ export class ValidationException extends __BaseException {
|
|
|
62
62
|
export var ResourceType;
|
|
63
63
|
(function (ResourceType) {
|
|
64
64
|
ResourceType["CFN_STACK"] = "CFN_STACK";
|
|
65
|
+
ResourceType["RESOURCE_TAG_VALUE"] = "RESOURCE_TAG_VALUE";
|
|
65
66
|
})(ResourceType || (ResourceType = {}));
|
|
66
67
|
export var ResourceGroupState;
|
|
67
68
|
(function (ResourceGroupState) {
|
|
@@ -83,6 +84,12 @@ export const ApplicationFilterSensitiveLog = (obj) => ({
|
|
|
83
84
|
export const ApplicationSummaryFilterSensitiveLog = (obj) => ({
|
|
84
85
|
...obj,
|
|
85
86
|
});
|
|
87
|
+
export const TagQueryConfigurationFilterSensitiveLog = (obj) => ({
|
|
88
|
+
...obj,
|
|
89
|
+
});
|
|
90
|
+
export const AppRegistryConfigurationFilterSensitiveLog = (obj) => ({
|
|
91
|
+
...obj,
|
|
92
|
+
});
|
|
86
93
|
export const AssociateAttributeGroupRequestFilterSensitiveLog = (obj) => ({
|
|
87
94
|
...obj,
|
|
88
95
|
});
|
|
@@ -170,6 +177,9 @@ export const GetAttributeGroupRequestFilterSensitiveLog = (obj) => ({
|
|
|
170
177
|
export const GetAttributeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
171
178
|
...obj,
|
|
172
179
|
});
|
|
180
|
+
export const GetConfigurationResponseFilterSensitiveLog = (obj) => ({
|
|
181
|
+
...obj,
|
|
182
|
+
});
|
|
173
183
|
export const ListApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
174
184
|
...obj,
|
|
175
185
|
});
|
|
@@ -185,6 +195,9 @@ export const ListAssociatedAttributeGroupsResponseFilterSensitiveLog = (obj) =>
|
|
|
185
195
|
export const ListAssociatedResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
186
196
|
...obj,
|
|
187
197
|
});
|
|
198
|
+
export const ResourceDetailsFilterSensitiveLog = (obj) => ({
|
|
199
|
+
...obj,
|
|
200
|
+
});
|
|
188
201
|
export const ResourceInfoFilterSensitiveLog = (obj) => ({
|
|
189
202
|
...obj,
|
|
190
203
|
});
|
|
@@ -209,6 +222,9 @@ export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
|
209
222
|
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
210
223
|
...obj,
|
|
211
224
|
});
|
|
225
|
+
export const PutConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
226
|
+
...obj,
|
|
227
|
+
});
|
|
212
228
|
export const SyncResourceRequestFilterSensitiveLog = (obj) => ({
|
|
213
229
|
...obj,
|
|
214
230
|
});
|
|
@@ -207,6 +207,24 @@ export const serializeAws_restJson1GetAttributeGroupCommand = async (input, cont
|
|
|
207
207
|
body,
|
|
208
208
|
});
|
|
209
209
|
};
|
|
210
|
+
export const serializeAws_restJson1GetConfigurationCommand = async (input, context) => {
|
|
211
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
212
|
+
const headers = {
|
|
213
|
+
"content-type": "application/json",
|
|
214
|
+
};
|
|
215
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration";
|
|
216
|
+
let body;
|
|
217
|
+
body = "";
|
|
218
|
+
return new __HttpRequest({
|
|
219
|
+
protocol,
|
|
220
|
+
hostname,
|
|
221
|
+
port,
|
|
222
|
+
method: "GET",
|
|
223
|
+
headers,
|
|
224
|
+
path: resolvedPath,
|
|
225
|
+
body,
|
|
226
|
+
});
|
|
227
|
+
};
|
|
210
228
|
export const serializeAws_restJson1ListApplicationsCommand = async (input, context) => {
|
|
211
229
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
212
230
|
const headers = {};
|
|
@@ -328,6 +346,28 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
328
346
|
body,
|
|
329
347
|
});
|
|
330
348
|
};
|
|
349
|
+
export const serializeAws_restJson1PutConfigurationCommand = async (input, context) => {
|
|
350
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
351
|
+
const headers = {
|
|
352
|
+
"content-type": "application/json",
|
|
353
|
+
};
|
|
354
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration";
|
|
355
|
+
let body;
|
|
356
|
+
body = JSON.stringify({
|
|
357
|
+
...(input.configuration != null && {
|
|
358
|
+
configuration: serializeAws_restJson1AppRegistryConfiguration(input.configuration, context),
|
|
359
|
+
}),
|
|
360
|
+
});
|
|
361
|
+
return new __HttpRequest({
|
|
362
|
+
protocol,
|
|
363
|
+
hostname,
|
|
364
|
+
port,
|
|
365
|
+
method: "PUT",
|
|
366
|
+
headers,
|
|
367
|
+
path: resolvedPath,
|
|
368
|
+
body,
|
|
369
|
+
});
|
|
370
|
+
};
|
|
331
371
|
export const serializeAws_restJson1SyncResourceCommand = async (input, context) => {
|
|
332
372
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
333
373
|
const headers = {};
|
|
@@ -941,6 +981,39 @@ const deserializeAws_restJson1GetAttributeGroupCommandError = async (output, con
|
|
|
941
981
|
});
|
|
942
982
|
}
|
|
943
983
|
};
|
|
984
|
+
export const deserializeAws_restJson1GetConfigurationCommand = async (output, context) => {
|
|
985
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
|
+
return deserializeAws_restJson1GetConfigurationCommandError(output, context);
|
|
987
|
+
}
|
|
988
|
+
const contents = map({
|
|
989
|
+
$metadata: deserializeMetadata(output),
|
|
990
|
+
});
|
|
991
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
992
|
+
if (data.configuration != null) {
|
|
993
|
+
contents.configuration = deserializeAws_restJson1AppRegistryConfiguration(data.configuration, context);
|
|
994
|
+
}
|
|
995
|
+
return contents;
|
|
996
|
+
};
|
|
997
|
+
const deserializeAws_restJson1GetConfigurationCommandError = async (output, context) => {
|
|
998
|
+
const parsedOutput = {
|
|
999
|
+
...output,
|
|
1000
|
+
body: await parseErrorBody(output.body, context),
|
|
1001
|
+
};
|
|
1002
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1003
|
+
switch (errorCode) {
|
|
1004
|
+
case "InternalServerException":
|
|
1005
|
+
case "com.amazonaws.servicecatalogappregistry#InternalServerException":
|
|
1006
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1007
|
+
default:
|
|
1008
|
+
const parsedBody = parsedOutput.body;
|
|
1009
|
+
throwDefaultError({
|
|
1010
|
+
output,
|
|
1011
|
+
parsedBody,
|
|
1012
|
+
exceptionCtor: __BaseException,
|
|
1013
|
+
errorCode,
|
|
1014
|
+
});
|
|
1015
|
+
}
|
|
1016
|
+
};
|
|
944
1017
|
export const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
|
|
945
1018
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
946
1019
|
return deserializeAws_restJson1ListApplicationsCommandError(output, context);
|
|
@@ -1184,6 +1257,42 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1184
1257
|
});
|
|
1185
1258
|
}
|
|
1186
1259
|
};
|
|
1260
|
+
export const deserializeAws_restJson1PutConfigurationCommand = async (output, context) => {
|
|
1261
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1262
|
+
return deserializeAws_restJson1PutConfigurationCommandError(output, context);
|
|
1263
|
+
}
|
|
1264
|
+
const contents = map({
|
|
1265
|
+
$metadata: deserializeMetadata(output),
|
|
1266
|
+
});
|
|
1267
|
+
await collectBody(output.body, context);
|
|
1268
|
+
return contents;
|
|
1269
|
+
};
|
|
1270
|
+
const deserializeAws_restJson1PutConfigurationCommandError = async (output, context) => {
|
|
1271
|
+
const parsedOutput = {
|
|
1272
|
+
...output,
|
|
1273
|
+
body: await parseErrorBody(output.body, context),
|
|
1274
|
+
};
|
|
1275
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1276
|
+
switch (errorCode) {
|
|
1277
|
+
case "ConflictException":
|
|
1278
|
+
case "com.amazonaws.servicecatalogappregistry#ConflictException":
|
|
1279
|
+
throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
|
|
1280
|
+
case "InternalServerException":
|
|
1281
|
+
case "com.amazonaws.servicecatalogappregistry#InternalServerException":
|
|
1282
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
1283
|
+
case "ValidationException":
|
|
1284
|
+
case "com.amazonaws.servicecatalogappregistry#ValidationException":
|
|
1285
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
1286
|
+
default:
|
|
1287
|
+
const parsedBody = parsedOutput.body;
|
|
1288
|
+
throwDefaultError({
|
|
1289
|
+
output,
|
|
1290
|
+
parsedBody,
|
|
1291
|
+
exceptionCtor: __BaseException,
|
|
1292
|
+
errorCode,
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1187
1296
|
export const deserializeAws_restJson1SyncResourceCommand = async (output, context) => {
|
|
1188
1297
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1189
1298
|
return deserializeAws_restJson1SyncResourceCommandError(output, context);
|
|
@@ -1446,6 +1555,18 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
1446
1555
|
});
|
|
1447
1556
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1448
1557
|
};
|
|
1558
|
+
const serializeAws_restJson1AppRegistryConfiguration = (input, context) => {
|
|
1559
|
+
return {
|
|
1560
|
+
...(input.tagQueryConfiguration != null && {
|
|
1561
|
+
tagQueryConfiguration: serializeAws_restJson1TagQueryConfiguration(input.tagQueryConfiguration, context),
|
|
1562
|
+
}),
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1565
|
+
const serializeAws_restJson1TagQueryConfiguration = (input, context) => {
|
|
1566
|
+
return {
|
|
1567
|
+
...(input.tagKey != null && { tagKey: input.tagKey }),
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1449
1570
|
const serializeAws_restJson1Tags = (input, context) => {
|
|
1450
1571
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
1451
1572
|
if (value === null) {
|
|
@@ -1487,6 +1608,13 @@ const deserializeAws_restJson1ApplicationSummary = (output, context) => {
|
|
|
1487
1608
|
name: __expectString(output.name),
|
|
1488
1609
|
};
|
|
1489
1610
|
};
|
|
1611
|
+
const deserializeAws_restJson1AppRegistryConfiguration = (output, context) => {
|
|
1612
|
+
return {
|
|
1613
|
+
tagQueryConfiguration: output.tagQueryConfiguration != null
|
|
1614
|
+
? deserializeAws_restJson1TagQueryConfiguration(output.tagQueryConfiguration, context)
|
|
1615
|
+
: undefined,
|
|
1616
|
+
};
|
|
1617
|
+
};
|
|
1490
1618
|
const deserializeAws_restJson1AttributeGroup = (output, context) => {
|
|
1491
1619
|
return {
|
|
1492
1620
|
arn: __expectString(output.arn),
|
|
@@ -1563,6 +1691,11 @@ const deserializeAws_restJson1Resource = (output, context) => {
|
|
|
1563
1691
|
name: __expectString(output.name),
|
|
1564
1692
|
};
|
|
1565
1693
|
};
|
|
1694
|
+
const deserializeAws_restJson1ResourceDetails = (output, context) => {
|
|
1695
|
+
return {
|
|
1696
|
+
tagValue: __expectString(output.tagValue),
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1566
1699
|
const deserializeAws_restJson1ResourceGroup = (output, context) => {
|
|
1567
1700
|
return {
|
|
1568
1701
|
arn: __expectString(output.arn),
|
|
@@ -1574,6 +1707,10 @@ const deserializeAws_restJson1ResourceInfo = (output, context) => {
|
|
|
1574
1707
|
return {
|
|
1575
1708
|
arn: __expectString(output.arn),
|
|
1576
1709
|
name: __expectString(output.name),
|
|
1710
|
+
resourceDetails: output.resourceDetails != null
|
|
1711
|
+
? deserializeAws_restJson1ResourceDetails(output.resourceDetails, context)
|
|
1712
|
+
: undefined,
|
|
1713
|
+
resourceType: __expectString(output.resourceType),
|
|
1577
1714
|
};
|
|
1578
1715
|
};
|
|
1579
1716
|
const deserializeAws_restJson1ResourceIntegrations = (output, context) => {
|
|
@@ -1592,6 +1729,11 @@ const deserializeAws_restJson1Resources = (output, context) => {
|
|
|
1592
1729
|
});
|
|
1593
1730
|
return retVal;
|
|
1594
1731
|
};
|
|
1732
|
+
const deserializeAws_restJson1TagQueryConfiguration = (output, context) => {
|
|
1733
|
+
return {
|
|
1734
|
+
tagKey: __expectString(output.tagKey),
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1595
1737
|
const deserializeAws_restJson1Tags = (output, context) => {
|
|
1596
1738
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
1597
1739
|
if (value === null) {
|
|
@@ -10,12 +10,14 @@ import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } f
|
|
|
10
10
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
11
11
|
import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "./commands/GetAssociatedResourceCommand";
|
|
12
12
|
import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "./commands/GetAttributeGroupCommand";
|
|
13
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
13
14
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
14
15
|
import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "./commands/ListAssociatedAttributeGroupsCommand";
|
|
15
16
|
import { ListAssociatedResourcesCommandInput, ListAssociatedResourcesCommandOutput } from "./commands/ListAssociatedResourcesCommand";
|
|
16
17
|
import { ListAttributeGroupsCommandInput, ListAttributeGroupsCommandOutput } from "./commands/ListAttributeGroupsCommand";
|
|
17
18
|
import { ListAttributeGroupsForApplicationCommandInput, ListAttributeGroupsForApplicationCommandOutput } from "./commands/ListAttributeGroupsForApplicationCommand";
|
|
18
19
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { PutConfigurationCommandInput, PutConfigurationCommandOutput } from "./commands/PutConfigurationCommand";
|
|
19
21
|
import { SyncResourceCommandInput, SyncResourceCommandOutput } from "./commands/SyncResourceCommand";
|
|
20
22
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
23
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -97,6 +99,15 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
|
|
|
97
99
|
getAttributeGroup(args: GetAttributeGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetAttributeGroupCommandOutput>;
|
|
98
100
|
getAttributeGroup(args: GetAttributeGroupCommandInput, cb: (err: any, data?: GetAttributeGroupCommandOutput) => void): void;
|
|
99
101
|
getAttributeGroup(args: GetAttributeGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAttributeGroupCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* <p>
|
|
104
|
+
* Retrieves a <code>TagKey</code> configuration
|
|
105
|
+
* from an account.
|
|
106
|
+
* </p>
|
|
107
|
+
*/
|
|
108
|
+
getConfiguration(args: GetConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationCommandOutput>;
|
|
109
|
+
getConfiguration(args: GetConfigurationCommandInput, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
110
|
+
getConfiguration(args: GetConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationCommandOutput) => void): void;
|
|
100
111
|
/**
|
|
101
112
|
* <p>Retrieves a list of all of your applications. Results are paginated.</p>
|
|
102
113
|
*/
|
|
@@ -110,7 +121,27 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
|
|
|
110
121
|
listAssociatedAttributeGroups(args: ListAssociatedAttributeGroupsCommandInput, cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void): void;
|
|
111
122
|
listAssociatedAttributeGroups(args: ListAssociatedAttributeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedAttributeGroupsCommandOutput) => void): void;
|
|
112
123
|
/**
|
|
113
|
-
* <p>
|
|
124
|
+
* <p>
|
|
125
|
+
* Lists all
|
|
126
|
+
* of the resources
|
|
127
|
+
* that are associated
|
|
128
|
+
* with the specified application.
|
|
129
|
+
* Results are paginated.
|
|
130
|
+
* </p>
|
|
131
|
+
* <note>
|
|
132
|
+
* <p>
|
|
133
|
+
* If you share an application,
|
|
134
|
+
* and a consumer account associates a tag query
|
|
135
|
+
* to the application,
|
|
136
|
+
* all of the users
|
|
137
|
+
* who can access the application
|
|
138
|
+
* can also view the tag values
|
|
139
|
+
* in all accounts
|
|
140
|
+
* that are associated
|
|
141
|
+
* with it
|
|
142
|
+
* using this API.
|
|
143
|
+
* </p>
|
|
144
|
+
* </note>
|
|
114
145
|
*/
|
|
115
146
|
listAssociatedResources(args: ListAssociatedResourcesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedResourcesCommandOutput>;
|
|
116
147
|
listAssociatedResources(args: ListAssociatedResourcesCommandInput, cb: (err: any, data?: ListAssociatedResourcesCommandOutput) => void): void;
|
|
@@ -133,6 +164,15 @@ export declare class ServiceCatalogAppRegistry extends ServiceCatalogAppRegistry
|
|
|
133
164
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
134
165
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
135
166
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
167
|
+
/**
|
|
168
|
+
* <p>
|
|
169
|
+
* Associates a <code>TagKey</code> configuration
|
|
170
|
+
* to an account.
|
|
171
|
+
* </p>
|
|
172
|
+
*/
|
|
173
|
+
putConfiguration(args: PutConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutConfigurationCommandOutput>;
|
|
174
|
+
putConfiguration(args: PutConfigurationCommandInput, cb: (err: any, data?: PutConfigurationCommandOutput) => void): void;
|
|
175
|
+
putConfiguration(args: PutConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutConfigurationCommandOutput) => void): void;
|
|
136
176
|
/**
|
|
137
177
|
* <p>Syncs the resource with current AppRegistry records.</p>
|
|
138
178
|
* <p>Specifically, the resource’s AppRegistry system tags sync with its associated application. We remove the resource's AppRegistry system tags if it does not associate with the application. The caller must have permissions to read and update the resource.</p>
|
|
@@ -18,20 +18,22 @@ import { DisassociateResourceCommandInput, DisassociateResourceCommandOutput } f
|
|
|
18
18
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
19
19
|
import { GetAssociatedResourceCommandInput, GetAssociatedResourceCommandOutput } from "./commands/GetAssociatedResourceCommand";
|
|
20
20
|
import { GetAttributeGroupCommandInput, GetAttributeGroupCommandOutput } from "./commands/GetAttributeGroupCommand";
|
|
21
|
+
import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "./commands/GetConfigurationCommand";
|
|
21
22
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
22
23
|
import { ListAssociatedAttributeGroupsCommandInput, ListAssociatedAttributeGroupsCommandOutput } from "./commands/ListAssociatedAttributeGroupsCommand";
|
|
23
24
|
import { ListAssociatedResourcesCommandInput, ListAssociatedResourcesCommandOutput } from "./commands/ListAssociatedResourcesCommand";
|
|
24
25
|
import { ListAttributeGroupsCommandInput, ListAttributeGroupsCommandOutput } from "./commands/ListAttributeGroupsCommand";
|
|
25
26
|
import { ListAttributeGroupsForApplicationCommandInput, ListAttributeGroupsForApplicationCommandOutput } from "./commands/ListAttributeGroupsForApplicationCommand";
|
|
26
27
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
28
|
+
import { PutConfigurationCommandInput, PutConfigurationCommandOutput } from "./commands/PutConfigurationCommand";
|
|
27
29
|
import { SyncResourceCommandInput, SyncResourceCommandOutput } from "./commands/SyncResourceCommand";
|
|
28
30
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
29
31
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
30
32
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
31
33
|
import { UpdateAttributeGroupCommandInput, UpdateAttributeGroupCommandOutput } from "./commands/UpdateAttributeGroupCommand";
|
|
32
34
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
33
|
-
export declare type ServiceInputTypes = AssociateAttributeGroupCommandInput | AssociateResourceCommandInput | CreateApplicationCommandInput | CreateAttributeGroupCommandInput | DeleteApplicationCommandInput | DeleteAttributeGroupCommandInput | DisassociateAttributeGroupCommandInput | DisassociateResourceCommandInput | GetApplicationCommandInput | GetAssociatedResourceCommandInput | GetAttributeGroupCommandInput | ListApplicationsCommandInput | ListAssociatedAttributeGroupsCommandInput | ListAssociatedResourcesCommandInput | ListAttributeGroupsCommandInput | ListAttributeGroupsForApplicationCommandInput | ListTagsForResourceCommandInput | SyncResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateAttributeGroupCommandInput;
|
|
34
|
-
export declare type ServiceOutputTypes = AssociateAttributeGroupCommandOutput | AssociateResourceCommandOutput | CreateApplicationCommandOutput | CreateAttributeGroupCommandOutput | DeleteApplicationCommandOutput | DeleteAttributeGroupCommandOutput | DisassociateAttributeGroupCommandOutput | DisassociateResourceCommandOutput | GetApplicationCommandOutput | GetAssociatedResourceCommandOutput | GetAttributeGroupCommandOutput | ListApplicationsCommandOutput | ListAssociatedAttributeGroupsCommandOutput | ListAssociatedResourcesCommandOutput | ListAttributeGroupsCommandOutput | ListAttributeGroupsForApplicationCommandOutput | ListTagsForResourceCommandOutput | SyncResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateAttributeGroupCommandOutput;
|
|
35
|
+
export declare type ServiceInputTypes = AssociateAttributeGroupCommandInput | AssociateResourceCommandInput | CreateApplicationCommandInput | CreateAttributeGroupCommandInput | DeleteApplicationCommandInput | DeleteAttributeGroupCommandInput | DisassociateAttributeGroupCommandInput | DisassociateResourceCommandInput | GetApplicationCommandInput | GetAssociatedResourceCommandInput | GetAttributeGroupCommandInput | GetConfigurationCommandInput | ListApplicationsCommandInput | ListAssociatedAttributeGroupsCommandInput | ListAssociatedResourcesCommandInput | ListAttributeGroupsCommandInput | ListAttributeGroupsForApplicationCommandInput | ListTagsForResourceCommandInput | PutConfigurationCommandInput | SyncResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateAttributeGroupCommandInput;
|
|
36
|
+
export declare type ServiceOutputTypes = AssociateAttributeGroupCommandOutput | AssociateResourceCommandOutput | CreateApplicationCommandOutput | CreateAttributeGroupCommandOutput | DeleteApplicationCommandOutput | DeleteAttributeGroupCommandOutput | DisassociateAttributeGroupCommandOutput | DisassociateResourceCommandOutput | GetApplicationCommandOutput | GetAssociatedResourceCommandOutput | GetAttributeGroupCommandOutput | GetConfigurationCommandOutput | ListApplicationsCommandOutput | ListAssociatedAttributeGroupsCommandOutput | ListAssociatedResourcesCommandOutput | ListAttributeGroupsCommandOutput | ListAttributeGroupsForApplicationCommandOutput | ListTagsForResourceCommandOutput | PutConfigurationCommandOutput | SyncResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateAttributeGroupCommandOutput;
|
|
35
37
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
36
38
|
/**
|
|
37
39
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceCatalogAppRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogAppRegistryClient";
|
|
6
|
+
export interface GetConfigurationCommandInput {
|
|
7
|
+
}
|
|
8
|
+
export interface GetConfigurationCommandOutput extends GetConfigurationResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Retrieves a <code>TagKey</code> configuration
|
|
13
|
+
* from an account.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ServiceCatalogAppRegistryClient, GetConfigurationCommand } from "@aws-sdk/client-service-catalog-appregistry"; // ES Modules import
|
|
19
|
+
* // const { ServiceCatalogAppRegistryClient, GetConfigurationCommand } = require("@aws-sdk/client-service-catalog-appregistry"); // CommonJS import
|
|
20
|
+
* const client = new ServiceCatalogAppRegistryClient(config);
|
|
21
|
+
* const command = new GetConfigurationCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link GetConfigurationCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link GetConfigurationCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ServiceCatalogAppRegistryClientResolvedConfig | config} for ServiceCatalogAppRegistryClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class GetConfigurationCommand extends $Command<GetConfigurationCommandInput, GetConfigurationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig> {
|
|
31
|
+
readonly input: GetConfigurationCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: GetConfigurationCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConfigurationCommandInput, GetConfigurationCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -8,7 +8,27 @@ export interface ListAssociatedResourcesCommandInput extends ListAssociatedResou
|
|
|
8
8
|
export interface ListAssociatedResourcesCommandOutput extends ListAssociatedResourcesResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
11
|
+
* <p>
|
|
12
|
+
* Lists all
|
|
13
|
+
* of the resources
|
|
14
|
+
* that are associated
|
|
15
|
+
* with the specified application.
|
|
16
|
+
* Results are paginated.
|
|
17
|
+
* </p>
|
|
18
|
+
* <note>
|
|
19
|
+
* <p>
|
|
20
|
+
* If you share an application,
|
|
21
|
+
* and a consumer account associates a tag query
|
|
22
|
+
* to the application,
|
|
23
|
+
* all of the users
|
|
24
|
+
* who can access the application
|
|
25
|
+
* can also view the tag values
|
|
26
|
+
* in all accounts
|
|
27
|
+
* that are associated
|
|
28
|
+
* with it
|
|
29
|
+
* using this API.
|
|
30
|
+
* </p>
|
|
31
|
+
* </note>
|
|
12
32
|
* @example
|
|
13
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
34
|
* ```javascript
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { PutConfigurationRequest } from "../models/models_0";
|
|
5
|
+
import { ServiceCatalogAppRegistryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogAppRegistryClient";
|
|
6
|
+
export interface PutConfigurationCommandInput extends PutConfigurationRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface PutConfigurationCommandOutput extends __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* Associates a <code>TagKey</code> configuration
|
|
13
|
+
* to an account.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { ServiceCatalogAppRegistryClient, PutConfigurationCommand } from "@aws-sdk/client-service-catalog-appregistry"; // ES Modules import
|
|
19
|
+
* // const { ServiceCatalogAppRegistryClient, PutConfigurationCommand } = require("@aws-sdk/client-service-catalog-appregistry"); // CommonJS import
|
|
20
|
+
* const client = new ServiceCatalogAppRegistryClient(config);
|
|
21
|
+
* const command = new PutConfigurationCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link PutConfigurationCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link PutConfigurationCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link ServiceCatalogAppRegistryClientResolvedConfig | config} for ServiceCatalogAppRegistryClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class PutConfigurationCommand extends $Command<PutConfigurationCommandInput, PutConfigurationCommandOutput, ServiceCatalogAppRegistryClientResolvedConfig> {
|
|
31
|
+
readonly input: PutConfigurationCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: PutConfigurationCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogAppRegistryClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutConfigurationCommandInput, PutConfigurationCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -9,12 +9,14 @@ export * from "./DisassociateResourceCommand";
|
|
|
9
9
|
export * from "./GetApplicationCommand";
|
|
10
10
|
export * from "./GetAssociatedResourceCommand";
|
|
11
11
|
export * from "./GetAttributeGroupCommand";
|
|
12
|
+
export * from "./GetConfigurationCommand";
|
|
12
13
|
export * from "./ListApplicationsCommand";
|
|
13
14
|
export * from "./ListAssociatedAttributeGroupsCommand";
|
|
14
15
|
export * from "./ListAssociatedResourcesCommand";
|
|
15
16
|
export * from "./ListAttributeGroupsCommand";
|
|
16
17
|
export * from "./ListAttributeGroupsForApplicationCommand";
|
|
17
18
|
export * from "./ListTagsForResourceCommand";
|
|
19
|
+
export * from "./PutConfigurationCommand";
|
|
18
20
|
export * from "./SyncResourceCommand";
|
|
19
21
|
export * from "./TagResourceCommand";
|
|
20
22
|
export * from "./UntagResourceCommand";
|