@aws-sdk/client-apprunner 3.58.0 → 3.72.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 +27 -0
- package/README.md +2 -2
- package/dist-cjs/AppRunner.js +60 -0
- package/dist-cjs/commands/CreateObservabilityConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteObservabilityConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DescribeObservabilityConfigurationCommand.js +36 -0
- package/dist-cjs/commands/ListObservabilityConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +84 -2
- package/dist-cjs/pagination/ListObservabilityConfigurationsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +350 -2
- package/dist-es/AppRunner.js +60 -0
- package/dist-es/commands/CreateObservabilityConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteObservabilityConfigurationCommand.js +39 -0
- package/dist-es/commands/DescribeObservabilityConfigurationCommand.js +39 -0
- package/dist-es/commands/ListObservabilityConfigurationsCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +57 -0
- package/dist-es/pagination/ListObservabilityConfigurationsPaginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +397 -2
- package/dist-types/AppRunner.d.ts +51 -7
- package/dist-types/AppRunnerClient.d.ts +6 -2
- package/dist-types/commands/CreateAutoScalingConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/CreateObservabilityConfigurationCommand.d.ts +43 -0
- package/dist-types/commands/DeleteObservabilityConfigurationCommand.d.ts +36 -0
- package/dist-types/commands/DescribeObservabilityConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/ListAutoScalingConfigurationsCommand.d.ts +5 -2
- package/dist-types/commands/ListObservabilityConfigurationsCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +297 -8
- package/dist-types/pagination/ListObservabilityConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/ts3.4/AppRunner.d.ts +20 -0
- package/dist-types/ts3.4/AppRunnerClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateObservabilityConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteObservabilityConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeObservabilityConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListObservabilityConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +145 -0
- package/dist-types/ts3.4/pagination/ListObservabilityConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +6 -6
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateObservabilityConfigurationRequest, CreateObservabilityConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0CreateObservabilityConfigurationCommand, serializeAws_json1_0CreateObservabilityConfigurationCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var CreateObservabilityConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateObservabilityConfigurationCommand, _super);
|
|
8
|
+
function CreateObservabilityConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateObservabilityConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "CreateObservabilityConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateObservabilityConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateObservabilityConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateObservabilityConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0CreateObservabilityConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateObservabilityConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0CreateObservabilityConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateObservabilityConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateObservabilityConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteObservabilityConfigurationRequest, DeleteObservabilityConfigurationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DeleteObservabilityConfigurationCommand, serializeAws_json1_0DeleteObservabilityConfigurationCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var DeleteObservabilityConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteObservabilityConfigurationCommand, _super);
|
|
8
|
+
function DeleteObservabilityConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteObservabilityConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "DeleteObservabilityConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteObservabilityConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteObservabilityConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteObservabilityConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0DeleteObservabilityConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteObservabilityConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0DeleteObservabilityConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteObservabilityConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteObservabilityConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeObservabilityConfigurationRequest, DescribeObservabilityConfigurationResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0DescribeObservabilityConfigurationCommand, serializeAws_json1_0DescribeObservabilityConfigurationCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var DescribeObservabilityConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeObservabilityConfigurationCommand, _super);
|
|
8
|
+
function DescribeObservabilityConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeObservabilityConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "DescribeObservabilityConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeObservabilityConfigurationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeObservabilityConfigurationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeObservabilityConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0DescribeObservabilityConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeObservabilityConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0DescribeObservabilityConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeObservabilityConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeObservabilityConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListObservabilityConfigurationsRequest, ListObservabilityConfigurationsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_0ListObservabilityConfigurationsCommand, serializeAws_json1_0ListObservabilityConfigurationsCommand, } from "../protocols/Aws_json1_0";
|
|
6
|
+
var ListObservabilityConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListObservabilityConfigurationsCommand, _super);
|
|
8
|
+
function ListObservabilityConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListObservabilityConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "AppRunnerClient";
|
|
18
|
+
var commandName = "ListObservabilityConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListObservabilityConfigurationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListObservabilityConfigurationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListObservabilityConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_0ListObservabilityConfigurationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListObservabilityConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_0ListObservabilityConfigurationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListObservabilityConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListObservabilityConfigurationsCommand };
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
export * from "./AssociateCustomDomainCommand";
|
|
2
2
|
export * from "./CreateAutoScalingConfigurationCommand";
|
|
3
3
|
export * from "./CreateConnectionCommand";
|
|
4
|
+
export * from "./CreateObservabilityConfigurationCommand";
|
|
4
5
|
export * from "./CreateServiceCommand";
|
|
5
6
|
export * from "./CreateVpcConnectorCommand";
|
|
6
7
|
export * from "./DeleteAutoScalingConfigurationCommand";
|
|
7
8
|
export * from "./DeleteConnectionCommand";
|
|
9
|
+
export * from "./DeleteObservabilityConfigurationCommand";
|
|
8
10
|
export * from "./DeleteServiceCommand";
|
|
9
11
|
export * from "./DeleteVpcConnectorCommand";
|
|
10
12
|
export * from "./DescribeAutoScalingConfigurationCommand";
|
|
11
13
|
export * from "./DescribeCustomDomainsCommand";
|
|
14
|
+
export * from "./DescribeObservabilityConfigurationCommand";
|
|
12
15
|
export * from "./DescribeServiceCommand";
|
|
13
16
|
export * from "./DescribeVpcConnectorCommand";
|
|
14
17
|
export * from "./DisassociateCustomDomainCommand";
|
|
15
18
|
export * from "./ListAutoScalingConfigurationsCommand";
|
|
16
19
|
export * from "./ListConnectionsCommand";
|
|
20
|
+
export * from "./ListObservabilityConfigurationsCommand";
|
|
17
21
|
export * from "./ListOperationsCommand";
|
|
18
22
|
export * from "./ListServicesCommand";
|
|
19
23
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -129,6 +129,31 @@ export var CreateConnectionResponse;
|
|
|
129
129
|
(function (CreateConnectionResponse) {
|
|
130
130
|
CreateConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
131
|
})(CreateConnectionResponse || (CreateConnectionResponse = {}));
|
|
132
|
+
export var TracingVendor;
|
|
133
|
+
(function (TracingVendor) {
|
|
134
|
+
TracingVendor["AWSXRAY"] = "AWSXRAY";
|
|
135
|
+
})(TracingVendor || (TracingVendor = {}));
|
|
136
|
+
export var TraceConfiguration;
|
|
137
|
+
(function (TraceConfiguration) {
|
|
138
|
+
TraceConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
})(TraceConfiguration || (TraceConfiguration = {}));
|
|
140
|
+
export var CreateObservabilityConfigurationRequest;
|
|
141
|
+
(function (CreateObservabilityConfigurationRequest) {
|
|
142
|
+
CreateObservabilityConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
})(CreateObservabilityConfigurationRequest || (CreateObservabilityConfigurationRequest = {}));
|
|
144
|
+
export var ObservabilityConfigurationStatus;
|
|
145
|
+
(function (ObservabilityConfigurationStatus) {
|
|
146
|
+
ObservabilityConfigurationStatus["ACTIVE"] = "ACTIVE";
|
|
147
|
+
ObservabilityConfigurationStatus["INACTIVE"] = "INACTIVE";
|
|
148
|
+
})(ObservabilityConfigurationStatus || (ObservabilityConfigurationStatus = {}));
|
|
149
|
+
export var ObservabilityConfiguration;
|
|
150
|
+
(function (ObservabilityConfiguration) {
|
|
151
|
+
ObservabilityConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
})(ObservabilityConfiguration || (ObservabilityConfiguration = {}));
|
|
153
|
+
export var CreateObservabilityConfigurationResponse;
|
|
154
|
+
(function (CreateObservabilityConfigurationResponse) {
|
|
155
|
+
CreateObservabilityConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
+
})(CreateObservabilityConfigurationResponse || (CreateObservabilityConfigurationResponse = {}));
|
|
132
157
|
export var EncryptionConfiguration;
|
|
133
158
|
(function (EncryptionConfiguration) {
|
|
134
159
|
EncryptionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -159,6 +184,10 @@ export var NetworkConfiguration;
|
|
|
159
184
|
(function (NetworkConfiguration) {
|
|
160
185
|
NetworkConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
186
|
})(NetworkConfiguration || (NetworkConfiguration = {}));
|
|
187
|
+
export var ServiceObservabilityConfiguration;
|
|
188
|
+
(function (ServiceObservabilityConfiguration) {
|
|
189
|
+
ServiceObservabilityConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
})(ServiceObservabilityConfiguration || (ServiceObservabilityConfiguration = {}));
|
|
162
191
|
export var AuthenticationConfiguration;
|
|
163
192
|
(function (AuthenticationConfiguration) {
|
|
164
193
|
AuthenticationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -292,6 +321,14 @@ export var DeleteConnectionResponse;
|
|
|
292
321
|
(function (DeleteConnectionResponse) {
|
|
293
322
|
DeleteConnectionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
323
|
})(DeleteConnectionResponse || (DeleteConnectionResponse = {}));
|
|
324
|
+
export var DeleteObservabilityConfigurationRequest;
|
|
325
|
+
(function (DeleteObservabilityConfigurationRequest) {
|
|
326
|
+
DeleteObservabilityConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
|
+
})(DeleteObservabilityConfigurationRequest || (DeleteObservabilityConfigurationRequest = {}));
|
|
328
|
+
export var DeleteObservabilityConfigurationResponse;
|
|
329
|
+
(function (DeleteObservabilityConfigurationResponse) {
|
|
330
|
+
DeleteObservabilityConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
+
})(DeleteObservabilityConfigurationResponse || (DeleteObservabilityConfigurationResponse = {}));
|
|
295
332
|
export var DeleteServiceRequest;
|
|
296
333
|
(function (DeleteServiceRequest) {
|
|
297
334
|
DeleteServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -324,6 +361,14 @@ export var DescribeCustomDomainsResponse;
|
|
|
324
361
|
(function (DescribeCustomDomainsResponse) {
|
|
325
362
|
DescribeCustomDomainsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
326
363
|
})(DescribeCustomDomainsResponse || (DescribeCustomDomainsResponse = {}));
|
|
364
|
+
export var DescribeObservabilityConfigurationRequest;
|
|
365
|
+
(function (DescribeObservabilityConfigurationRequest) {
|
|
366
|
+
DescribeObservabilityConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
367
|
+
})(DescribeObservabilityConfigurationRequest || (DescribeObservabilityConfigurationRequest = {}));
|
|
368
|
+
export var DescribeObservabilityConfigurationResponse;
|
|
369
|
+
(function (DescribeObservabilityConfigurationResponse) {
|
|
370
|
+
DescribeObservabilityConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
371
|
+
})(DescribeObservabilityConfigurationResponse || (DescribeObservabilityConfigurationResponse = {}));
|
|
327
372
|
export var DescribeServiceRequest;
|
|
328
373
|
(function (DescribeServiceRequest) {
|
|
329
374
|
DescribeServiceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -368,6 +413,18 @@ export var ListConnectionsResponse;
|
|
|
368
413
|
(function (ListConnectionsResponse) {
|
|
369
414
|
ListConnectionsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
370
415
|
})(ListConnectionsResponse || (ListConnectionsResponse = {}));
|
|
416
|
+
export var ListObservabilityConfigurationsRequest;
|
|
417
|
+
(function (ListObservabilityConfigurationsRequest) {
|
|
418
|
+
ListObservabilityConfigurationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
419
|
+
})(ListObservabilityConfigurationsRequest || (ListObservabilityConfigurationsRequest = {}));
|
|
420
|
+
export var ObservabilityConfigurationSummary;
|
|
421
|
+
(function (ObservabilityConfigurationSummary) {
|
|
422
|
+
ObservabilityConfigurationSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
423
|
+
})(ObservabilityConfigurationSummary || (ObservabilityConfigurationSummary = {}));
|
|
424
|
+
export var ListObservabilityConfigurationsResponse;
|
|
425
|
+
(function (ListObservabilityConfigurationsResponse) {
|
|
426
|
+
ListObservabilityConfigurationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
427
|
+
})(ListObservabilityConfigurationsResponse || (ListObservabilityConfigurationsResponse = {}));
|
|
371
428
|
export var ListOperationsRequest;
|
|
372
429
|
(function (ListOperationsRequest) {
|
|
373
430
|
ListOperationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { AppRunner } from "../AppRunner";
|
|
3
|
+
import { AppRunnerClient } from "../AppRunnerClient";
|
|
4
|
+
import { ListObservabilityConfigurationsCommand, } from "../commands/ListObservabilityConfigurationsCommand";
|
|
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 ListObservabilityConfigurationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
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.listObservabilityConfigurations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListObservabilityConfigurations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListObservabilityConfigurations_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
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 AppRunner)) 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 AppRunnerClient)) 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 AppRunner | AppRunnerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.NextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./DescribeCustomDomainsPaginator";
|
|
|
2
2
|
export * from "./Interfaces";
|
|
3
3
|
export * from "./ListAutoScalingConfigurationsPaginator";
|
|
4
4
|
export * from "./ListConnectionsPaginator";
|
|
5
|
+
export * from "./ListObservabilityConfigurationsPaginator";
|
|
5
6
|
export * from "./ListOperationsPaginator";
|
|
6
7
|
export * from "./ListServicesPaginator";
|
|
7
8
|
export * from "./ListVpcConnectorsPaginator";
|