@aws-sdk/client-service-catalog-appregistry 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/ServiceCatalogAppRegistry.js +97 -90
- package/dist-es/ServiceCatalogAppRegistryClient.js +28 -22
- package/dist-es/commands/AssociateAttributeGroupCommand.js +28 -21
- package/dist-es/commands/AssociateResourceCommand.js +28 -21
- package/dist-es/commands/CreateApplicationCommand.js +28 -21
- package/dist-es/commands/CreateAttributeGroupCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCommand.js +28 -21
- package/dist-es/commands/DeleteAttributeGroupCommand.js +28 -21
- package/dist-es/commands/DisassociateAttributeGroupCommand.js +28 -21
- package/dist-es/commands/DisassociateResourceCommand.js +28 -21
- package/dist-es/commands/GetApplicationCommand.js +28 -21
- package/dist-es/commands/GetAssociatedResourceCommand.js +28 -21
- package/dist-es/commands/GetAttributeGroupCommand.js +28 -21
- package/dist-es/commands/ListApplicationsCommand.js +28 -21
- package/dist-es/commands/ListAssociatedAttributeGroupsCommand.js +28 -21
- package/dist-es/commands/ListAssociatedResourcesCommand.js +28 -21
- package/dist-es/commands/ListAttributeGroupsCommand.js +28 -21
- package/dist-es/commands/ListAttributeGroupsForApplicationCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/SyncResourceCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateApplicationCommand.js +28 -21
- package/dist-es/commands/UpdateAttributeGroupCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ServiceCatalogAppRegistryServiceException.js +10 -5
- package/dist-es/models/models_0.js +110 -217
- package/dist-es/pagination/ListApplicationsPaginator.js +68 -25
- package/dist-es/pagination/ListAssociatedAttributeGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListAssociatedResourcesPaginator.js +68 -25
- package/dist-es/pagination/ListAttributeGroupsForApplicationPaginator.js +68 -25
- package/dist-es/pagination/ListAttributeGroupsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +2149 -1464
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-service-catalog-appregistry
|
|
@@ -1655,10 +1655,10 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
1655
1655
|
}, {});
|
|
1656
1656
|
};
|
|
1657
1657
|
const deserializeMetadata = (output) => {
|
|
1658
|
-
var _a;
|
|
1658
|
+
var _a, _b;
|
|
1659
1659
|
return ({
|
|
1660
1660
|
httpStatusCode: output.statusCode,
|
|
1661
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
1661
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
1662
1662
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1663
1663
|
cfId: output.headers["x-amz-cf-id"],
|
|
1664
1664
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { AssociateAttributeGroupCommand, } from "./commands/AssociateAttributeGroupCommand";
|
|
2
3
|
import { AssociateResourceCommand, } from "./commands/AssociateResourceCommand";
|
|
3
4
|
import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
|
|
@@ -21,313 +22,319 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
21
22
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
22
23
|
import { UpdateAttributeGroupCommand, } from "./commands/UpdateAttributeGroupCommand";
|
|
23
24
|
import { ServiceCatalogAppRegistryClient } from "./ServiceCatalogAppRegistryClient";
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
var ServiceCatalogAppRegistry = (function (_super) {
|
|
26
|
+
__extends(ServiceCatalogAppRegistry, _super);
|
|
27
|
+
function ServiceCatalogAppRegistry() {
|
|
28
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
29
|
+
}
|
|
30
|
+
ServiceCatalogAppRegistry.prototype.associateAttributeGroup = function (args, optionsOrCb, cb) {
|
|
31
|
+
var command = new AssociateAttributeGroupCommand(args);
|
|
27
32
|
if (typeof optionsOrCb === "function") {
|
|
28
33
|
this.send(command, optionsOrCb);
|
|
29
34
|
}
|
|
30
35
|
else if (typeof cb === "function") {
|
|
31
36
|
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(
|
|
37
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
33
38
|
this.send(command, optionsOrCb || {}, cb);
|
|
34
39
|
}
|
|
35
40
|
else {
|
|
36
41
|
return this.send(command, optionsOrCb);
|
|
37
42
|
}
|
|
38
|
-
}
|
|
39
|
-
associateResource(args, optionsOrCb, cb) {
|
|
40
|
-
|
|
43
|
+
};
|
|
44
|
+
ServiceCatalogAppRegistry.prototype.associateResource = function (args, optionsOrCb, cb) {
|
|
45
|
+
var command = new AssociateResourceCommand(args);
|
|
41
46
|
if (typeof optionsOrCb === "function") {
|
|
42
47
|
this.send(command, optionsOrCb);
|
|
43
48
|
}
|
|
44
49
|
else if (typeof cb === "function") {
|
|
45
50
|
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(
|
|
51
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
47
52
|
this.send(command, optionsOrCb || {}, cb);
|
|
48
53
|
}
|
|
49
54
|
else {
|
|
50
55
|
return this.send(command, optionsOrCb);
|
|
51
56
|
}
|
|
52
|
-
}
|
|
53
|
-
createApplication(args, optionsOrCb, cb) {
|
|
54
|
-
|
|
57
|
+
};
|
|
58
|
+
ServiceCatalogAppRegistry.prototype.createApplication = function (args, optionsOrCb, cb) {
|
|
59
|
+
var command = new CreateApplicationCommand(args);
|
|
55
60
|
if (typeof optionsOrCb === "function") {
|
|
56
61
|
this.send(command, optionsOrCb);
|
|
57
62
|
}
|
|
58
63
|
else if (typeof cb === "function") {
|
|
59
64
|
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(
|
|
65
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
61
66
|
this.send(command, optionsOrCb || {}, cb);
|
|
62
67
|
}
|
|
63
68
|
else {
|
|
64
69
|
return this.send(command, optionsOrCb);
|
|
65
70
|
}
|
|
66
|
-
}
|
|
67
|
-
createAttributeGroup(args, optionsOrCb, cb) {
|
|
68
|
-
|
|
71
|
+
};
|
|
72
|
+
ServiceCatalogAppRegistry.prototype.createAttributeGroup = function (args, optionsOrCb, cb) {
|
|
73
|
+
var command = new CreateAttributeGroupCommand(args);
|
|
69
74
|
if (typeof optionsOrCb === "function") {
|
|
70
75
|
this.send(command, optionsOrCb);
|
|
71
76
|
}
|
|
72
77
|
else if (typeof cb === "function") {
|
|
73
78
|
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(
|
|
79
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
75
80
|
this.send(command, optionsOrCb || {}, cb);
|
|
76
81
|
}
|
|
77
82
|
else {
|
|
78
83
|
return this.send(command, optionsOrCb);
|
|
79
84
|
}
|
|
80
|
-
}
|
|
81
|
-
deleteApplication(args, optionsOrCb, cb) {
|
|
82
|
-
|
|
85
|
+
};
|
|
86
|
+
ServiceCatalogAppRegistry.prototype.deleteApplication = function (args, optionsOrCb, cb) {
|
|
87
|
+
var command = new DeleteApplicationCommand(args);
|
|
83
88
|
if (typeof optionsOrCb === "function") {
|
|
84
89
|
this.send(command, optionsOrCb);
|
|
85
90
|
}
|
|
86
91
|
else if (typeof cb === "function") {
|
|
87
92
|
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(
|
|
93
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
89
94
|
this.send(command, optionsOrCb || {}, cb);
|
|
90
95
|
}
|
|
91
96
|
else {
|
|
92
97
|
return this.send(command, optionsOrCb);
|
|
93
98
|
}
|
|
94
|
-
}
|
|
95
|
-
deleteAttributeGroup(args, optionsOrCb, cb) {
|
|
96
|
-
|
|
99
|
+
};
|
|
100
|
+
ServiceCatalogAppRegistry.prototype.deleteAttributeGroup = function (args, optionsOrCb, cb) {
|
|
101
|
+
var command = new DeleteAttributeGroupCommand(args);
|
|
97
102
|
if (typeof optionsOrCb === "function") {
|
|
98
103
|
this.send(command, optionsOrCb);
|
|
99
104
|
}
|
|
100
105
|
else if (typeof cb === "function") {
|
|
101
106
|
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(
|
|
107
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
103
108
|
this.send(command, optionsOrCb || {}, cb);
|
|
104
109
|
}
|
|
105
110
|
else {
|
|
106
111
|
return this.send(command, optionsOrCb);
|
|
107
112
|
}
|
|
108
|
-
}
|
|
109
|
-
disassociateAttributeGroup(args, optionsOrCb, cb) {
|
|
110
|
-
|
|
113
|
+
};
|
|
114
|
+
ServiceCatalogAppRegistry.prototype.disassociateAttributeGroup = function (args, optionsOrCb, cb) {
|
|
115
|
+
var command = new DisassociateAttributeGroupCommand(args);
|
|
111
116
|
if (typeof optionsOrCb === "function") {
|
|
112
117
|
this.send(command, optionsOrCb);
|
|
113
118
|
}
|
|
114
119
|
else if (typeof cb === "function") {
|
|
115
120
|
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(
|
|
121
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
117
122
|
this.send(command, optionsOrCb || {}, cb);
|
|
118
123
|
}
|
|
119
124
|
else {
|
|
120
125
|
return this.send(command, optionsOrCb);
|
|
121
126
|
}
|
|
122
|
-
}
|
|
123
|
-
disassociateResource(args, optionsOrCb, cb) {
|
|
124
|
-
|
|
127
|
+
};
|
|
128
|
+
ServiceCatalogAppRegistry.prototype.disassociateResource = function (args, optionsOrCb, cb) {
|
|
129
|
+
var command = new DisassociateResourceCommand(args);
|
|
125
130
|
if (typeof optionsOrCb === "function") {
|
|
126
131
|
this.send(command, optionsOrCb);
|
|
127
132
|
}
|
|
128
133
|
else if (typeof cb === "function") {
|
|
129
134
|
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(
|
|
135
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
131
136
|
this.send(command, optionsOrCb || {}, cb);
|
|
132
137
|
}
|
|
133
138
|
else {
|
|
134
139
|
return this.send(command, optionsOrCb);
|
|
135
140
|
}
|
|
136
|
-
}
|
|
137
|
-
getApplication(args, optionsOrCb, cb) {
|
|
138
|
-
|
|
141
|
+
};
|
|
142
|
+
ServiceCatalogAppRegistry.prototype.getApplication = function (args, optionsOrCb, cb) {
|
|
143
|
+
var command = new GetApplicationCommand(args);
|
|
139
144
|
if (typeof optionsOrCb === "function") {
|
|
140
145
|
this.send(command, optionsOrCb);
|
|
141
146
|
}
|
|
142
147
|
else if (typeof cb === "function") {
|
|
143
148
|
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(
|
|
149
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
145
150
|
this.send(command, optionsOrCb || {}, cb);
|
|
146
151
|
}
|
|
147
152
|
else {
|
|
148
153
|
return this.send(command, optionsOrCb);
|
|
149
154
|
}
|
|
150
|
-
}
|
|
151
|
-
getAssociatedResource(args, optionsOrCb, cb) {
|
|
152
|
-
|
|
155
|
+
};
|
|
156
|
+
ServiceCatalogAppRegistry.prototype.getAssociatedResource = function (args, optionsOrCb, cb) {
|
|
157
|
+
var command = new GetAssociatedResourceCommand(args);
|
|
153
158
|
if (typeof optionsOrCb === "function") {
|
|
154
159
|
this.send(command, optionsOrCb);
|
|
155
160
|
}
|
|
156
161
|
else if (typeof cb === "function") {
|
|
157
162
|
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(
|
|
163
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
159
164
|
this.send(command, optionsOrCb || {}, cb);
|
|
160
165
|
}
|
|
161
166
|
else {
|
|
162
167
|
return this.send(command, optionsOrCb);
|
|
163
168
|
}
|
|
164
|
-
}
|
|
165
|
-
getAttributeGroup(args, optionsOrCb, cb) {
|
|
166
|
-
|
|
169
|
+
};
|
|
170
|
+
ServiceCatalogAppRegistry.prototype.getAttributeGroup = function (args, optionsOrCb, cb) {
|
|
171
|
+
var command = new GetAttributeGroupCommand(args);
|
|
167
172
|
if (typeof optionsOrCb === "function") {
|
|
168
173
|
this.send(command, optionsOrCb);
|
|
169
174
|
}
|
|
170
175
|
else if (typeof cb === "function") {
|
|
171
176
|
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(
|
|
177
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
173
178
|
this.send(command, optionsOrCb || {}, cb);
|
|
174
179
|
}
|
|
175
180
|
else {
|
|
176
181
|
return this.send(command, optionsOrCb);
|
|
177
182
|
}
|
|
178
|
-
}
|
|
179
|
-
listApplications(args, optionsOrCb, cb) {
|
|
180
|
-
|
|
183
|
+
};
|
|
184
|
+
ServiceCatalogAppRegistry.prototype.listApplications = function (args, optionsOrCb, cb) {
|
|
185
|
+
var command = new ListApplicationsCommand(args);
|
|
181
186
|
if (typeof optionsOrCb === "function") {
|
|
182
187
|
this.send(command, optionsOrCb);
|
|
183
188
|
}
|
|
184
189
|
else if (typeof cb === "function") {
|
|
185
190
|
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(
|
|
191
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
187
192
|
this.send(command, optionsOrCb || {}, cb);
|
|
188
193
|
}
|
|
189
194
|
else {
|
|
190
195
|
return this.send(command, optionsOrCb);
|
|
191
196
|
}
|
|
192
|
-
}
|
|
193
|
-
listAssociatedAttributeGroups(args, optionsOrCb, cb) {
|
|
194
|
-
|
|
197
|
+
};
|
|
198
|
+
ServiceCatalogAppRegistry.prototype.listAssociatedAttributeGroups = function (args, optionsOrCb, cb) {
|
|
199
|
+
var command = new ListAssociatedAttributeGroupsCommand(args);
|
|
195
200
|
if (typeof optionsOrCb === "function") {
|
|
196
201
|
this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
203
|
else if (typeof cb === "function") {
|
|
199
204
|
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(
|
|
205
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
201
206
|
this.send(command, optionsOrCb || {}, cb);
|
|
202
207
|
}
|
|
203
208
|
else {
|
|
204
209
|
return this.send(command, optionsOrCb);
|
|
205
210
|
}
|
|
206
|
-
}
|
|
207
|
-
listAssociatedResources(args, optionsOrCb, cb) {
|
|
208
|
-
|
|
211
|
+
};
|
|
212
|
+
ServiceCatalogAppRegistry.prototype.listAssociatedResources = function (args, optionsOrCb, cb) {
|
|
213
|
+
var command = new ListAssociatedResourcesCommand(args);
|
|
209
214
|
if (typeof optionsOrCb === "function") {
|
|
210
215
|
this.send(command, optionsOrCb);
|
|
211
216
|
}
|
|
212
217
|
else if (typeof cb === "function") {
|
|
213
218
|
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(
|
|
219
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
215
220
|
this.send(command, optionsOrCb || {}, cb);
|
|
216
221
|
}
|
|
217
222
|
else {
|
|
218
223
|
return this.send(command, optionsOrCb);
|
|
219
224
|
}
|
|
220
|
-
}
|
|
221
|
-
listAttributeGroups(args, optionsOrCb, cb) {
|
|
222
|
-
|
|
225
|
+
};
|
|
226
|
+
ServiceCatalogAppRegistry.prototype.listAttributeGroups = function (args, optionsOrCb, cb) {
|
|
227
|
+
var command = new ListAttributeGroupsCommand(args);
|
|
223
228
|
if (typeof optionsOrCb === "function") {
|
|
224
229
|
this.send(command, optionsOrCb);
|
|
225
230
|
}
|
|
226
231
|
else if (typeof cb === "function") {
|
|
227
232
|
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(
|
|
233
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
229
234
|
this.send(command, optionsOrCb || {}, cb);
|
|
230
235
|
}
|
|
231
236
|
else {
|
|
232
237
|
return this.send(command, optionsOrCb);
|
|
233
238
|
}
|
|
234
|
-
}
|
|
235
|
-
listAttributeGroupsForApplication(args, optionsOrCb, cb) {
|
|
236
|
-
|
|
239
|
+
};
|
|
240
|
+
ServiceCatalogAppRegistry.prototype.listAttributeGroupsForApplication = function (args, optionsOrCb, cb) {
|
|
241
|
+
var command = new ListAttributeGroupsForApplicationCommand(args);
|
|
237
242
|
if (typeof optionsOrCb === "function") {
|
|
238
243
|
this.send(command, optionsOrCb);
|
|
239
244
|
}
|
|
240
245
|
else if (typeof cb === "function") {
|
|
241
246
|
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(
|
|
247
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
243
248
|
this.send(command, optionsOrCb || {}, cb);
|
|
244
249
|
}
|
|
245
250
|
else {
|
|
246
251
|
return this.send(command, optionsOrCb);
|
|
247
252
|
}
|
|
248
|
-
}
|
|
249
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
250
|
-
|
|
253
|
+
};
|
|
254
|
+
ServiceCatalogAppRegistry.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
255
|
+
var command = new ListTagsForResourceCommand(args);
|
|
251
256
|
if (typeof optionsOrCb === "function") {
|
|
252
257
|
this.send(command, optionsOrCb);
|
|
253
258
|
}
|
|
254
259
|
else if (typeof cb === "function") {
|
|
255
260
|
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(
|
|
261
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
257
262
|
this.send(command, optionsOrCb || {}, cb);
|
|
258
263
|
}
|
|
259
264
|
else {
|
|
260
265
|
return this.send(command, optionsOrCb);
|
|
261
266
|
}
|
|
262
|
-
}
|
|
263
|
-
syncResource(args, optionsOrCb, cb) {
|
|
264
|
-
|
|
267
|
+
};
|
|
268
|
+
ServiceCatalogAppRegistry.prototype.syncResource = function (args, optionsOrCb, cb) {
|
|
269
|
+
var command = new SyncResourceCommand(args);
|
|
265
270
|
if (typeof optionsOrCb === "function") {
|
|
266
271
|
this.send(command, optionsOrCb);
|
|
267
272
|
}
|
|
268
273
|
else if (typeof cb === "function") {
|
|
269
274
|
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(
|
|
275
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
271
276
|
this.send(command, optionsOrCb || {}, cb);
|
|
272
277
|
}
|
|
273
278
|
else {
|
|
274
279
|
return this.send(command, optionsOrCb);
|
|
275
280
|
}
|
|
276
|
-
}
|
|
277
|
-
tagResource(args, optionsOrCb, cb) {
|
|
278
|
-
|
|
281
|
+
};
|
|
282
|
+
ServiceCatalogAppRegistry.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
283
|
+
var command = new TagResourceCommand(args);
|
|
279
284
|
if (typeof optionsOrCb === "function") {
|
|
280
285
|
this.send(command, optionsOrCb);
|
|
281
286
|
}
|
|
282
287
|
else if (typeof cb === "function") {
|
|
283
288
|
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(
|
|
289
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
285
290
|
this.send(command, optionsOrCb || {}, cb);
|
|
286
291
|
}
|
|
287
292
|
else {
|
|
288
293
|
return this.send(command, optionsOrCb);
|
|
289
294
|
}
|
|
290
|
-
}
|
|
291
|
-
untagResource(args, optionsOrCb, cb) {
|
|
292
|
-
|
|
295
|
+
};
|
|
296
|
+
ServiceCatalogAppRegistry.prototype.untagResource = function (args, optionsOrCb, cb) {
|
|
297
|
+
var command = new UntagResourceCommand(args);
|
|
293
298
|
if (typeof optionsOrCb === "function") {
|
|
294
299
|
this.send(command, optionsOrCb);
|
|
295
300
|
}
|
|
296
301
|
else if (typeof cb === "function") {
|
|
297
302
|
if (typeof optionsOrCb !== "object")
|
|
298
|
-
throw new Error(
|
|
303
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
299
304
|
this.send(command, optionsOrCb || {}, cb);
|
|
300
305
|
}
|
|
301
306
|
else {
|
|
302
307
|
return this.send(command, optionsOrCb);
|
|
303
308
|
}
|
|
304
|
-
}
|
|
305
|
-
updateApplication(args, optionsOrCb, cb) {
|
|
306
|
-
|
|
309
|
+
};
|
|
310
|
+
ServiceCatalogAppRegistry.prototype.updateApplication = function (args, optionsOrCb, cb) {
|
|
311
|
+
var command = new UpdateApplicationCommand(args);
|
|
307
312
|
if (typeof optionsOrCb === "function") {
|
|
308
313
|
this.send(command, optionsOrCb);
|
|
309
314
|
}
|
|
310
315
|
else if (typeof cb === "function") {
|
|
311
316
|
if (typeof optionsOrCb !== "object")
|
|
312
|
-
throw new Error(
|
|
317
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
313
318
|
this.send(command, optionsOrCb || {}, cb);
|
|
314
319
|
}
|
|
315
320
|
else {
|
|
316
321
|
return this.send(command, optionsOrCb);
|
|
317
322
|
}
|
|
318
|
-
}
|
|
319
|
-
updateAttributeGroup(args, optionsOrCb, cb) {
|
|
320
|
-
|
|
323
|
+
};
|
|
324
|
+
ServiceCatalogAppRegistry.prototype.updateAttributeGroup = function (args, optionsOrCb, cb) {
|
|
325
|
+
var command = new UpdateAttributeGroupCommand(args);
|
|
321
326
|
if (typeof optionsOrCb === "function") {
|
|
322
327
|
this.send(command, optionsOrCb);
|
|
323
328
|
}
|
|
324
329
|
else if (typeof cb === "function") {
|
|
325
330
|
if (typeof optionsOrCb !== "object")
|
|
326
|
-
throw new Error(
|
|
331
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
327
332
|
this.send(command, optionsOrCb || {}, cb);
|
|
328
333
|
}
|
|
329
334
|
else {
|
|
330
335
|
return this.send(command, optionsOrCb);
|
|
331
336
|
}
|
|
332
|
-
}
|
|
333
|
-
|
|
337
|
+
};
|
|
338
|
+
return ServiceCatalogAppRegistry;
|
|
339
|
+
}(ServiceCatalogAppRegistryClient));
|
|
340
|
+
export { ServiceCatalogAppRegistry };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var ServiceCatalogAppRegistryClient = (function (_super) {
|
|
13
|
+
__extends(ServiceCatalogAppRegistryClient, _super);
|
|
14
|
+
function ServiceCatalogAppRegistryClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
ServiceCatalogAppRegistryClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return ServiceCatalogAppRegistryClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { ServiceCatalogAppRegistryClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateAttributeGroupRequestFilterSensitiveLog, AssociateAttributeGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateAttributeGroupCommand, serializeAws_restJson1AssociateAttributeGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateAttributeGroupCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateAttributeGroupCommand, _super);
|
|
8
|
+
function AssociateAttributeGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateAttributeGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ServiceCatalogAppRegistryClient";
|
|
18
|
+
var commandName = "AssociateAttributeGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateAttributeGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateAttributeGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateAttributeGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateAttributeGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateAttributeGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateAttributeGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateAttributeGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateAttributeGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateResourceRequestFilterSensitiveLog, AssociateResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateResourceCommand, serializeAws_restJson1AssociateResourceCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateResourceCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateResourceCommand, _super);
|
|
8
|
+
function AssociateResourceCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ServiceCatalogAppRegistryClient";
|
|
18
|
+
var commandName = "AssociateResourceCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateResourceRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateResourceResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateResourceCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateResourceCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateResourceCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateResourceCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateResourceCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateResourceCommand };
|