@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/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"ca-central-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -41,7 +42,7 @@ const regionHash = {
|
|
|
41
42
|
],
|
|
42
43
|
},
|
|
43
44
|
};
|
|
44
|
-
|
|
45
|
+
var partitionHash = {
|
|
45
46
|
aws: {
|
|
46
47
|
regions: [
|
|
47
48
|
"af-south-1",
|
|
@@ -166,9 +167,8 @@ const partitionHash = {
|
|
|
166
167
|
],
|
|
167
168
|
},
|
|
168
169
|
};
|
|
169
|
-
export
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
});
|
|
170
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
171
|
+
return __generator(this, function (_a) {
|
|
172
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "servicecatalog", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
173
|
+
});
|
|
174
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ServiceCatalogAppRegistryServiceException = (function (_super) {
|
|
4
|
+
__extends(ServiceCatalogAppRegistryServiceException, _super);
|
|
5
|
+
function ServiceCatalogAppRegistryServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ServiceCatalogAppRegistryServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ServiceCatalogAppRegistryServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ServiceCatalogAppRegistryServiceException };
|
|
@@ -1,64 +1,65 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
3
|
+
var ConflictException = (function (_super) {
|
|
4
|
+
__extends(ConflictException, _super);
|
|
5
|
+
function ConflictException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "ConflictException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
10
|
+
return _this;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
12
|
+
return ConflictException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { ConflictException };
|
|
15
|
+
var InternalServerException = (function (_super) {
|
|
16
|
+
__extends(InternalServerException, _super);
|
|
17
|
+
function InternalServerException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
19
|
+
_this.name = "InternalServerException";
|
|
20
|
+
_this.$fault = "server";
|
|
21
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
22
|
+
return _this;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
return InternalServerException;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { InternalServerException };
|
|
27
|
+
var ResourceNotFoundException = (function (_super) {
|
|
28
|
+
__extends(ResourceNotFoundException, _super);
|
|
29
|
+
function ResourceNotFoundException(opts) {
|
|
30
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
31
|
+
_this.name = "ResourceNotFoundException";
|
|
32
|
+
_this.$fault = "client";
|
|
33
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
34
|
+
return _this;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
return ResourceNotFoundException;
|
|
37
|
+
}(__BaseException));
|
|
38
|
+
export { ResourceNotFoundException };
|
|
39
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
40
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
41
|
+
function ServiceQuotaExceededException(opts) {
|
|
42
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
43
|
+
_this.name = "ServiceQuotaExceededException";
|
|
44
|
+
_this.$fault = "client";
|
|
45
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
46
|
+
return _this;
|
|
48
47
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
return ServiceQuotaExceededException;
|
|
49
|
+
}(__BaseException));
|
|
50
|
+
export { ServiceQuotaExceededException };
|
|
51
|
+
var ValidationException = (function (_super) {
|
|
52
|
+
__extends(ValidationException, _super);
|
|
53
|
+
function ValidationException(opts) {
|
|
54
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
55
|
+
_this.name = "ValidationException";
|
|
56
|
+
_this.$fault = "client";
|
|
57
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
58
|
+
return _this;
|
|
60
59
|
}
|
|
61
|
-
|
|
60
|
+
return ValidationException;
|
|
61
|
+
}(__BaseException));
|
|
62
|
+
export { ValidationException };
|
|
62
63
|
export var ResourceType;
|
|
63
64
|
(function (ResourceType) {
|
|
64
65
|
ResourceType["CFN_STACK"] = "CFN_STACK";
|
|
@@ -77,165 +78,57 @@ export var SyncAction;
|
|
|
77
78
|
SyncAction["NO_ACTION"] = "NO_ACTION";
|
|
78
79
|
SyncAction["START_SYNC"] = "START_SYNC";
|
|
79
80
|
})(SyncAction || (SyncAction = {}));
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
});
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
});
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
});
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
});
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
});
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
});
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
});
|
|
101
|
-
export
|
|
102
|
-
|
|
103
|
-
});
|
|
104
|
-
export
|
|
105
|
-
|
|
106
|
-
});
|
|
107
|
-
export
|
|
108
|
-
|
|
109
|
-
});
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
});
|
|
113
|
-
export
|
|
114
|
-
|
|
115
|
-
});
|
|
116
|
-
export
|
|
117
|
-
|
|
118
|
-
});
|
|
119
|
-
export
|
|
120
|
-
|
|
121
|
-
});
|
|
122
|
-
export
|
|
123
|
-
|
|
124
|
-
});
|
|
125
|
-
export
|
|
126
|
-
|
|
127
|
-
});
|
|
128
|
-
export
|
|
129
|
-
|
|
130
|
-
});
|
|
131
|
-
export
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
export const DisassociateAttributeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
export const DisassociateResourceRequestFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
140
|
-
export const DisassociateResourceResponseFilterSensitiveLog = (obj) => ({
|
|
141
|
-
...obj,
|
|
142
|
-
});
|
|
143
|
-
export const GetApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
144
|
-
...obj,
|
|
145
|
-
});
|
|
146
|
-
export const ResourceGroupFilterSensitiveLog = (obj) => ({
|
|
147
|
-
...obj,
|
|
148
|
-
});
|
|
149
|
-
export const IntegrationsFilterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
export const GetApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
153
|
-
...obj,
|
|
154
|
-
});
|
|
155
|
-
export const GetAssociatedResourceRequestFilterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
export const ResourceIntegrationsFilterSensitiveLog = (obj) => ({
|
|
159
|
-
...obj,
|
|
160
|
-
});
|
|
161
|
-
export const ResourceFilterSensitiveLog = (obj) => ({
|
|
162
|
-
...obj,
|
|
163
|
-
});
|
|
164
|
-
export const GetAssociatedResourceResponseFilterSensitiveLog = (obj) => ({
|
|
165
|
-
...obj,
|
|
166
|
-
});
|
|
167
|
-
export const GetAttributeGroupRequestFilterSensitiveLog = (obj) => ({
|
|
168
|
-
...obj,
|
|
169
|
-
});
|
|
170
|
-
export const GetAttributeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
171
|
-
...obj,
|
|
172
|
-
});
|
|
173
|
-
export const ListApplicationsRequestFilterSensitiveLog = (obj) => ({
|
|
174
|
-
...obj,
|
|
175
|
-
});
|
|
176
|
-
export const ListApplicationsResponseFilterSensitiveLog = (obj) => ({
|
|
177
|
-
...obj,
|
|
178
|
-
});
|
|
179
|
-
export const ListAssociatedAttributeGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
180
|
-
...obj,
|
|
181
|
-
});
|
|
182
|
-
export const ListAssociatedAttributeGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
export const ListAssociatedResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
export const ResourceInfoFilterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
191
|
-
export const ListAssociatedResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
192
|
-
...obj,
|
|
193
|
-
});
|
|
194
|
-
export const ListAttributeGroupsRequestFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
});
|
|
197
|
-
export const ListAttributeGroupsResponseFilterSensitiveLog = (obj) => ({
|
|
198
|
-
...obj,
|
|
199
|
-
});
|
|
200
|
-
export const ListAttributeGroupsForApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
201
|
-
...obj,
|
|
202
|
-
});
|
|
203
|
-
export const ListAttributeGroupsForApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
});
|
|
206
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
207
|
-
...obj,
|
|
208
|
-
});
|
|
209
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
});
|
|
212
|
-
export const SyncResourceRequestFilterSensitiveLog = (obj) => ({
|
|
213
|
-
...obj,
|
|
214
|
-
});
|
|
215
|
-
export const SyncResourceResponseFilterSensitiveLog = (obj) => ({
|
|
216
|
-
...obj,
|
|
217
|
-
});
|
|
218
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
219
|
-
...obj,
|
|
220
|
-
});
|
|
221
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
225
|
-
...obj,
|
|
226
|
-
});
|
|
227
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
export const UpdateApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
231
|
-
...obj,
|
|
232
|
-
});
|
|
233
|
-
export const UpdateApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const UpdateAttributeGroupRequestFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
});
|
|
239
|
-
export const UpdateAttributeGroupResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
-
...obj,
|
|
241
|
-
});
|
|
81
|
+
export var ApplicationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
|
+
export var ApplicationSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
export var AssociateAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
+
export var AssociateAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
export var AssociateResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
86
|
+
export var AssociateResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var AttributeGroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
+
export var AttributeGroupDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
export var AttributeGroupSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
export var CreateApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var CreateApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var CreateAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
export var CreateAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
+
export var DeleteApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
+
export var DeleteApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
+
export var DeleteAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
export var DeleteAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
+
export var DisassociateAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
+
export var DisassociateAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
100
|
+
export var DisassociateResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
export var DisassociateResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
export var GetApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
+
export var ResourceGroupFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
104
|
+
export var IntegrationsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
+
export var GetApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
106
|
+
export var GetAssociatedResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
107
|
+
export var ResourceIntegrationsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
108
|
+
export var ResourceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
+
export var GetAssociatedResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
110
|
+
export var GetAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
+
export var GetAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
112
|
+
export var ListApplicationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
export var ListApplicationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
114
|
+
export var ListAssociatedAttributeGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
115
|
+
export var ListAssociatedAttributeGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
116
|
+
export var ListAssociatedResourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
+
export var ResourceInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
+
export var ListAssociatedResourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
119
|
+
export var ListAttributeGroupsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
|
+
export var ListAttributeGroupsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
export var ListAttributeGroupsForApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
+
export var ListAttributeGroupsForApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
123
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
export var SyncResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
+
export var SyncResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
+
export var UpdateApplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
+
export var UpdateApplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
export var UpdateAttributeGroupRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
export var UpdateAttributeGroupResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
2
3
|
import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry";
|
|
3
4
|
import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListApplicationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listApplications.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof ServiceCatalogAppRegistry) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ServiceCatalogAppRegistryClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListApplications(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListApplications_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof ServiceCatalogAppRegistry)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ServiceCatalogAppRegistryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListAssociatedAttributeGroupsCommand, } from "../commands/ListAssociatedAttributeGroupsCommand";
|
|
2
3
|
import { ServiceCatalogAppRegistry } from "../ServiceCatalogAppRegistry";
|
|
3
4
|
import { ServiceCatalogAppRegistryClient } from "../ServiceCatalogAppRegistryClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAssociatedAttributeGroupsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listAssociatedAttributeGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
input["maxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof ServiceCatalogAppRegistry) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof ServiceCatalogAppRegistryClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.nextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListAssociatedAttributeGroups(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAssociatedAttributeGroups_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof ServiceCatalogAppRegistry)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ServiceCatalogAppRegistryClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected ServiceCatalogAppRegistry | ServiceCatalogAppRegistryClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.nextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|