@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UntagResourceCommand = void 0;
|
|
3
|
+
exports.deserializeAws_json1_0ListObservabilityConfigurationsCommand = exports.deserializeAws_json1_0ListConnectionsCommand = exports.deserializeAws_json1_0ListAutoScalingConfigurationsCommand = exports.deserializeAws_json1_0DisassociateCustomDomainCommand = exports.deserializeAws_json1_0DescribeVpcConnectorCommand = exports.deserializeAws_json1_0DescribeServiceCommand = exports.deserializeAws_json1_0DescribeObservabilityConfigurationCommand = exports.deserializeAws_json1_0DescribeCustomDomainsCommand = exports.deserializeAws_json1_0DescribeAutoScalingConfigurationCommand = exports.deserializeAws_json1_0DeleteVpcConnectorCommand = exports.deserializeAws_json1_0DeleteServiceCommand = exports.deserializeAws_json1_0DeleteObservabilityConfigurationCommand = exports.deserializeAws_json1_0DeleteConnectionCommand = exports.deserializeAws_json1_0DeleteAutoScalingConfigurationCommand = exports.deserializeAws_json1_0CreateVpcConnectorCommand = exports.deserializeAws_json1_0CreateServiceCommand = exports.deserializeAws_json1_0CreateObservabilityConfigurationCommand = exports.deserializeAws_json1_0CreateConnectionCommand = exports.deserializeAws_json1_0CreateAutoScalingConfigurationCommand = exports.deserializeAws_json1_0AssociateCustomDomainCommand = exports.serializeAws_json1_0UpdateServiceCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0StartDeploymentCommand = exports.serializeAws_json1_0ResumeServiceCommand = exports.serializeAws_json1_0PauseServiceCommand = exports.serializeAws_json1_0ListVpcConnectorsCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListServicesCommand = exports.serializeAws_json1_0ListOperationsCommand = exports.serializeAws_json1_0ListObservabilityConfigurationsCommand = exports.serializeAws_json1_0ListConnectionsCommand = exports.serializeAws_json1_0ListAutoScalingConfigurationsCommand = exports.serializeAws_json1_0DisassociateCustomDomainCommand = exports.serializeAws_json1_0DescribeVpcConnectorCommand = exports.serializeAws_json1_0DescribeServiceCommand = exports.serializeAws_json1_0DescribeObservabilityConfigurationCommand = exports.serializeAws_json1_0DescribeCustomDomainsCommand = exports.serializeAws_json1_0DescribeAutoScalingConfigurationCommand = exports.serializeAws_json1_0DeleteVpcConnectorCommand = exports.serializeAws_json1_0DeleteServiceCommand = exports.serializeAws_json1_0DeleteObservabilityConfigurationCommand = exports.serializeAws_json1_0DeleteConnectionCommand = exports.serializeAws_json1_0DeleteAutoScalingConfigurationCommand = exports.serializeAws_json1_0CreateVpcConnectorCommand = exports.serializeAws_json1_0CreateServiceCommand = exports.serializeAws_json1_0CreateObservabilityConfigurationCommand = exports.serializeAws_json1_0CreateConnectionCommand = exports.serializeAws_json1_0CreateAutoScalingConfigurationCommand = exports.serializeAws_json1_0AssociateCustomDomainCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0StartDeploymentCommand = exports.deserializeAws_json1_0ResumeServiceCommand = exports.deserializeAws_json1_0PauseServiceCommand = exports.deserializeAws_json1_0ListVpcConnectorsCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListOperationsCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const AppRunnerServiceException_1 = require("../models/AppRunnerServiceException");
|
|
@@ -36,6 +36,16 @@ const serializeAws_json1_0CreateConnectionCommand = async (input, context) => {
|
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
38
|
exports.serializeAws_json1_0CreateConnectionCommand = serializeAws_json1_0CreateConnectionCommand;
|
|
39
|
+
const serializeAws_json1_0CreateObservabilityConfigurationCommand = async (input, context) => {
|
|
40
|
+
const headers = {
|
|
41
|
+
"content-type": "application/x-amz-json-1.0",
|
|
42
|
+
"x-amz-target": "AppRunner.CreateObservabilityConfiguration",
|
|
43
|
+
};
|
|
44
|
+
let body;
|
|
45
|
+
body = JSON.stringify(serializeAws_json1_0CreateObservabilityConfigurationRequest(input, context));
|
|
46
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
+
};
|
|
48
|
+
exports.serializeAws_json1_0CreateObservabilityConfigurationCommand = serializeAws_json1_0CreateObservabilityConfigurationCommand;
|
|
39
49
|
const serializeAws_json1_0CreateServiceCommand = async (input, context) => {
|
|
40
50
|
const headers = {
|
|
41
51
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -76,6 +86,16 @@ const serializeAws_json1_0DeleteConnectionCommand = async (input, context) => {
|
|
|
76
86
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
87
|
};
|
|
78
88
|
exports.serializeAws_json1_0DeleteConnectionCommand = serializeAws_json1_0DeleteConnectionCommand;
|
|
89
|
+
const serializeAws_json1_0DeleteObservabilityConfigurationCommand = async (input, context) => {
|
|
90
|
+
const headers = {
|
|
91
|
+
"content-type": "application/x-amz-json-1.0",
|
|
92
|
+
"x-amz-target": "AppRunner.DeleteObservabilityConfiguration",
|
|
93
|
+
};
|
|
94
|
+
let body;
|
|
95
|
+
body = JSON.stringify(serializeAws_json1_0DeleteObservabilityConfigurationRequest(input, context));
|
|
96
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
|
+
};
|
|
98
|
+
exports.serializeAws_json1_0DeleteObservabilityConfigurationCommand = serializeAws_json1_0DeleteObservabilityConfigurationCommand;
|
|
79
99
|
const serializeAws_json1_0DeleteServiceCommand = async (input, context) => {
|
|
80
100
|
const headers = {
|
|
81
101
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -116,6 +136,16 @@ const serializeAws_json1_0DescribeCustomDomainsCommand = async (input, context)
|
|
|
116
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
117
137
|
};
|
|
118
138
|
exports.serializeAws_json1_0DescribeCustomDomainsCommand = serializeAws_json1_0DescribeCustomDomainsCommand;
|
|
139
|
+
const serializeAws_json1_0DescribeObservabilityConfigurationCommand = async (input, context) => {
|
|
140
|
+
const headers = {
|
|
141
|
+
"content-type": "application/x-amz-json-1.0",
|
|
142
|
+
"x-amz-target": "AppRunner.DescribeObservabilityConfiguration",
|
|
143
|
+
};
|
|
144
|
+
let body;
|
|
145
|
+
body = JSON.stringify(serializeAws_json1_0DescribeObservabilityConfigurationRequest(input, context));
|
|
146
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
147
|
+
};
|
|
148
|
+
exports.serializeAws_json1_0DescribeObservabilityConfigurationCommand = serializeAws_json1_0DescribeObservabilityConfigurationCommand;
|
|
119
149
|
const serializeAws_json1_0DescribeServiceCommand = async (input, context) => {
|
|
120
150
|
const headers = {
|
|
121
151
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -166,6 +196,16 @@ const serializeAws_json1_0ListConnectionsCommand = async (input, context) => {
|
|
|
166
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
197
|
};
|
|
168
198
|
exports.serializeAws_json1_0ListConnectionsCommand = serializeAws_json1_0ListConnectionsCommand;
|
|
199
|
+
const serializeAws_json1_0ListObservabilityConfigurationsCommand = async (input, context) => {
|
|
200
|
+
const headers = {
|
|
201
|
+
"content-type": "application/x-amz-json-1.0",
|
|
202
|
+
"x-amz-target": "AppRunner.ListObservabilityConfigurations",
|
|
203
|
+
};
|
|
204
|
+
let body;
|
|
205
|
+
body = JSON.stringify(serializeAws_json1_0ListObservabilityConfigurationsRequest(input, context));
|
|
206
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
207
|
+
};
|
|
208
|
+
exports.serializeAws_json1_0ListObservabilityConfigurationsCommand = serializeAws_json1_0ListObservabilityConfigurationsCommand;
|
|
169
209
|
const serializeAws_json1_0ListOperationsCommand = async (input, context) => {
|
|
170
210
|
const headers = {
|
|
171
211
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -392,6 +432,48 @@ const deserializeAws_json1_0CreateConnectionCommandError = async (output, contex
|
|
|
392
432
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
393
433
|
}
|
|
394
434
|
};
|
|
435
|
+
const deserializeAws_json1_0CreateObservabilityConfigurationCommand = async (output, context) => {
|
|
436
|
+
if (output.statusCode >= 300) {
|
|
437
|
+
return deserializeAws_json1_0CreateObservabilityConfigurationCommandError(output, context);
|
|
438
|
+
}
|
|
439
|
+
const data = await parseBody(output.body, context);
|
|
440
|
+
let contents = {};
|
|
441
|
+
contents = deserializeAws_json1_0CreateObservabilityConfigurationResponse(data, context);
|
|
442
|
+
const response = {
|
|
443
|
+
$metadata: deserializeMetadata(output),
|
|
444
|
+
...contents,
|
|
445
|
+
};
|
|
446
|
+
return Promise.resolve(response);
|
|
447
|
+
};
|
|
448
|
+
exports.deserializeAws_json1_0CreateObservabilityConfigurationCommand = deserializeAws_json1_0CreateObservabilityConfigurationCommand;
|
|
449
|
+
const deserializeAws_json1_0CreateObservabilityConfigurationCommandError = async (output, context) => {
|
|
450
|
+
const parsedOutput = {
|
|
451
|
+
...output,
|
|
452
|
+
body: await parseBody(output.body, context),
|
|
453
|
+
};
|
|
454
|
+
let response;
|
|
455
|
+
let errorCode = "UnknownError";
|
|
456
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
457
|
+
switch (errorCode) {
|
|
458
|
+
case "InternalServiceErrorException":
|
|
459
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
460
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
461
|
+
case "InvalidRequestException":
|
|
462
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
463
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
464
|
+
case "ServiceQuotaExceededException":
|
|
465
|
+
case "com.amazonaws.apprunner#ServiceQuotaExceededException":
|
|
466
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
467
|
+
default:
|
|
468
|
+
const parsedBody = parsedOutput.body;
|
|
469
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
470
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
471
|
+
$fault: "client",
|
|
472
|
+
$metadata: deserializeMetadata(output),
|
|
473
|
+
});
|
|
474
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
475
|
+
}
|
|
476
|
+
};
|
|
395
477
|
const deserializeAws_json1_0CreateServiceCommand = async (output, context) => {
|
|
396
478
|
if (output.statusCode >= 300) {
|
|
397
479
|
return deserializeAws_json1_0CreateServiceCommandError(output, context);
|
|
@@ -560,6 +642,48 @@ const deserializeAws_json1_0DeleteConnectionCommandError = async (output, contex
|
|
|
560
642
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
561
643
|
}
|
|
562
644
|
};
|
|
645
|
+
const deserializeAws_json1_0DeleteObservabilityConfigurationCommand = async (output, context) => {
|
|
646
|
+
if (output.statusCode >= 300) {
|
|
647
|
+
return deserializeAws_json1_0DeleteObservabilityConfigurationCommandError(output, context);
|
|
648
|
+
}
|
|
649
|
+
const data = await parseBody(output.body, context);
|
|
650
|
+
let contents = {};
|
|
651
|
+
contents = deserializeAws_json1_0DeleteObservabilityConfigurationResponse(data, context);
|
|
652
|
+
const response = {
|
|
653
|
+
$metadata: deserializeMetadata(output),
|
|
654
|
+
...contents,
|
|
655
|
+
};
|
|
656
|
+
return Promise.resolve(response);
|
|
657
|
+
};
|
|
658
|
+
exports.deserializeAws_json1_0DeleteObservabilityConfigurationCommand = deserializeAws_json1_0DeleteObservabilityConfigurationCommand;
|
|
659
|
+
const deserializeAws_json1_0DeleteObservabilityConfigurationCommandError = async (output, context) => {
|
|
660
|
+
const parsedOutput = {
|
|
661
|
+
...output,
|
|
662
|
+
body: await parseBody(output.body, context),
|
|
663
|
+
};
|
|
664
|
+
let response;
|
|
665
|
+
let errorCode = "UnknownError";
|
|
666
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
667
|
+
switch (errorCode) {
|
|
668
|
+
case "InternalServiceErrorException":
|
|
669
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
670
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
671
|
+
case "InvalidRequestException":
|
|
672
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
673
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
674
|
+
case "ResourceNotFoundException":
|
|
675
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
676
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
677
|
+
default:
|
|
678
|
+
const parsedBody = parsedOutput.body;
|
|
679
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
680
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
681
|
+
$fault: "client",
|
|
682
|
+
$metadata: deserializeMetadata(output),
|
|
683
|
+
});
|
|
684
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
685
|
+
}
|
|
686
|
+
};
|
|
563
687
|
const deserializeAws_json1_0DeleteServiceCommand = async (output, context) => {
|
|
564
688
|
if (output.statusCode >= 300) {
|
|
565
689
|
return deserializeAws_json1_0DeleteServiceCommandError(output, context);
|
|
@@ -731,6 +855,48 @@ const deserializeAws_json1_0DescribeCustomDomainsCommandError = async (output, c
|
|
|
731
855
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
732
856
|
}
|
|
733
857
|
};
|
|
858
|
+
const deserializeAws_json1_0DescribeObservabilityConfigurationCommand = async (output, context) => {
|
|
859
|
+
if (output.statusCode >= 300) {
|
|
860
|
+
return deserializeAws_json1_0DescribeObservabilityConfigurationCommandError(output, context);
|
|
861
|
+
}
|
|
862
|
+
const data = await parseBody(output.body, context);
|
|
863
|
+
let contents = {};
|
|
864
|
+
contents = deserializeAws_json1_0DescribeObservabilityConfigurationResponse(data, context);
|
|
865
|
+
const response = {
|
|
866
|
+
$metadata: deserializeMetadata(output),
|
|
867
|
+
...contents,
|
|
868
|
+
};
|
|
869
|
+
return Promise.resolve(response);
|
|
870
|
+
};
|
|
871
|
+
exports.deserializeAws_json1_0DescribeObservabilityConfigurationCommand = deserializeAws_json1_0DescribeObservabilityConfigurationCommand;
|
|
872
|
+
const deserializeAws_json1_0DescribeObservabilityConfigurationCommandError = async (output, context) => {
|
|
873
|
+
const parsedOutput = {
|
|
874
|
+
...output,
|
|
875
|
+
body: await parseBody(output.body, context),
|
|
876
|
+
};
|
|
877
|
+
let response;
|
|
878
|
+
let errorCode = "UnknownError";
|
|
879
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
880
|
+
switch (errorCode) {
|
|
881
|
+
case "InternalServiceErrorException":
|
|
882
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
883
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
884
|
+
case "InvalidRequestException":
|
|
885
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
886
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
887
|
+
case "ResourceNotFoundException":
|
|
888
|
+
case "com.amazonaws.apprunner#ResourceNotFoundException":
|
|
889
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
890
|
+
default:
|
|
891
|
+
const parsedBody = parsedOutput.body;
|
|
892
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
893
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
894
|
+
$fault: "client",
|
|
895
|
+
$metadata: deserializeMetadata(output),
|
|
896
|
+
});
|
|
897
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
898
|
+
}
|
|
899
|
+
};
|
|
734
900
|
const deserializeAws_json1_0DescribeServiceCommand = async (output, context) => {
|
|
735
901
|
if (output.statusCode >= 300) {
|
|
736
902
|
return deserializeAws_json1_0DescribeServiceCommandError(output, context);
|
|
@@ -938,6 +1104,45 @@ const deserializeAws_json1_0ListConnectionsCommandError = async (output, context
|
|
|
938
1104
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
939
1105
|
}
|
|
940
1106
|
};
|
|
1107
|
+
const deserializeAws_json1_0ListObservabilityConfigurationsCommand = async (output, context) => {
|
|
1108
|
+
if (output.statusCode >= 300) {
|
|
1109
|
+
return deserializeAws_json1_0ListObservabilityConfigurationsCommandError(output, context);
|
|
1110
|
+
}
|
|
1111
|
+
const data = await parseBody(output.body, context);
|
|
1112
|
+
let contents = {};
|
|
1113
|
+
contents = deserializeAws_json1_0ListObservabilityConfigurationsResponse(data, context);
|
|
1114
|
+
const response = {
|
|
1115
|
+
$metadata: deserializeMetadata(output),
|
|
1116
|
+
...contents,
|
|
1117
|
+
};
|
|
1118
|
+
return Promise.resolve(response);
|
|
1119
|
+
};
|
|
1120
|
+
exports.deserializeAws_json1_0ListObservabilityConfigurationsCommand = deserializeAws_json1_0ListObservabilityConfigurationsCommand;
|
|
1121
|
+
const deserializeAws_json1_0ListObservabilityConfigurationsCommandError = async (output, context) => {
|
|
1122
|
+
const parsedOutput = {
|
|
1123
|
+
...output,
|
|
1124
|
+
body: await parseBody(output.body, context),
|
|
1125
|
+
};
|
|
1126
|
+
let response;
|
|
1127
|
+
let errorCode = "UnknownError";
|
|
1128
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1129
|
+
switch (errorCode) {
|
|
1130
|
+
case "InternalServiceErrorException":
|
|
1131
|
+
case "com.amazonaws.apprunner#InternalServiceErrorException":
|
|
1132
|
+
throw await deserializeAws_json1_0InternalServiceErrorExceptionResponse(parsedOutput, context);
|
|
1133
|
+
case "InvalidRequestException":
|
|
1134
|
+
case "com.amazonaws.apprunner#InvalidRequestException":
|
|
1135
|
+
throw await deserializeAws_json1_0InvalidRequestExceptionResponse(parsedOutput, context);
|
|
1136
|
+
default:
|
|
1137
|
+
const parsedBody = parsedOutput.body;
|
|
1138
|
+
response = new AppRunnerServiceException_1.AppRunnerServiceException({
|
|
1139
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1140
|
+
$fault: "client",
|
|
1141
|
+
$metadata: deserializeMetadata(output),
|
|
1142
|
+
});
|
|
1143
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1144
|
+
}
|
|
1145
|
+
};
|
|
941
1146
|
const deserializeAws_json1_0ListOperationsCommand = async (output, context) => {
|
|
942
1147
|
if (output.statusCode >= 300) {
|
|
943
1148
|
return deserializeAws_json1_0ListOperationsCommandError(output, context);
|
|
@@ -1485,6 +1690,19 @@ const serializeAws_json1_0CreateConnectionRequest = (input, context) => {
|
|
|
1485
1690
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1486
1691
|
};
|
|
1487
1692
|
};
|
|
1693
|
+
const serializeAws_json1_0CreateObservabilityConfigurationRequest = (input, context) => {
|
|
1694
|
+
return {
|
|
1695
|
+
...(input.ObservabilityConfigurationName !== undefined &&
|
|
1696
|
+
input.ObservabilityConfigurationName !== null && {
|
|
1697
|
+
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1698
|
+
}),
|
|
1699
|
+
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1700
|
+
...(input.TraceConfiguration !== undefined &&
|
|
1701
|
+
input.TraceConfiguration !== null && {
|
|
1702
|
+
TraceConfiguration: serializeAws_json1_0TraceConfiguration(input.TraceConfiguration, context),
|
|
1703
|
+
}),
|
|
1704
|
+
};
|
|
1705
|
+
};
|
|
1488
1706
|
const serializeAws_json1_0CreateServiceRequest = (input, context) => {
|
|
1489
1707
|
return {
|
|
1490
1708
|
...(input.AutoScalingConfigurationArn !== undefined &&
|
|
@@ -1505,6 +1723,10 @@ const serializeAws_json1_0CreateServiceRequest = (input, context) => {
|
|
|
1505
1723
|
input.NetworkConfiguration !== null && {
|
|
1506
1724
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
1507
1725
|
}),
|
|
1726
|
+
...(input.ObservabilityConfiguration !== undefined &&
|
|
1727
|
+
input.ObservabilityConfiguration !== null && {
|
|
1728
|
+
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
1729
|
+
}),
|
|
1508
1730
|
...(input.ServiceName !== undefined && input.ServiceName !== null && { ServiceName: input.ServiceName }),
|
|
1509
1731
|
...(input.SourceConfiguration !== undefined &&
|
|
1510
1732
|
input.SourceConfiguration !== null && {
|
|
@@ -1537,6 +1759,14 @@ const serializeAws_json1_0DeleteConnectionRequest = (input, context) => {
|
|
|
1537
1759
|
...(input.ConnectionArn !== undefined && input.ConnectionArn !== null && { ConnectionArn: input.ConnectionArn }),
|
|
1538
1760
|
};
|
|
1539
1761
|
};
|
|
1762
|
+
const serializeAws_json1_0DeleteObservabilityConfigurationRequest = (input, context) => {
|
|
1763
|
+
return {
|
|
1764
|
+
...(input.ObservabilityConfigurationArn !== undefined &&
|
|
1765
|
+
input.ObservabilityConfigurationArn !== null && {
|
|
1766
|
+
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1767
|
+
}),
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1540
1770
|
const serializeAws_json1_0DeleteServiceRequest = (input, context) => {
|
|
1541
1771
|
return {
|
|
1542
1772
|
...(input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }),
|
|
@@ -1561,6 +1791,14 @@ const serializeAws_json1_0DescribeCustomDomainsRequest = (input, context) => {
|
|
|
1561
1791
|
...(input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }),
|
|
1562
1792
|
};
|
|
1563
1793
|
};
|
|
1794
|
+
const serializeAws_json1_0DescribeObservabilityConfigurationRequest = (input, context) => {
|
|
1795
|
+
return {
|
|
1796
|
+
...(input.ObservabilityConfigurationArn !== undefined &&
|
|
1797
|
+
input.ObservabilityConfigurationArn !== null && {
|
|
1798
|
+
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1799
|
+
}),
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1564
1802
|
const serializeAws_json1_0DescribeServiceRequest = (input, context) => {
|
|
1565
1803
|
return {
|
|
1566
1804
|
...(input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }),
|
|
@@ -1651,6 +1889,17 @@ const serializeAws_json1_0ListConnectionsRequest = (input, context) => {
|
|
|
1651
1889
|
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1652
1890
|
};
|
|
1653
1891
|
};
|
|
1892
|
+
const serializeAws_json1_0ListObservabilityConfigurationsRequest = (input, context) => {
|
|
1893
|
+
return {
|
|
1894
|
+
...(input.LatestOnly !== undefined && input.LatestOnly !== null && { LatestOnly: input.LatestOnly }),
|
|
1895
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
1896
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
1897
|
+
...(input.ObservabilityConfigurationName !== undefined &&
|
|
1898
|
+
input.ObservabilityConfigurationName !== null && {
|
|
1899
|
+
ObservabilityConfigurationName: input.ObservabilityConfigurationName,
|
|
1900
|
+
}),
|
|
1901
|
+
};
|
|
1902
|
+
};
|
|
1654
1903
|
const serializeAws_json1_0ListOperationsRequest = (input, context) => {
|
|
1655
1904
|
return {
|
|
1656
1905
|
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
@@ -1704,6 +1953,16 @@ const serializeAws_json1_0RuntimeEnvironmentVariables = (input, context) => {
|
|
|
1704
1953
|
};
|
|
1705
1954
|
}, {});
|
|
1706
1955
|
};
|
|
1956
|
+
const serializeAws_json1_0ServiceObservabilityConfiguration = (input, context) => {
|
|
1957
|
+
return {
|
|
1958
|
+
...(input.ObservabilityConfigurationArn !== undefined &&
|
|
1959
|
+
input.ObservabilityConfigurationArn !== null && {
|
|
1960
|
+
ObservabilityConfigurationArn: input.ObservabilityConfigurationArn,
|
|
1961
|
+
}),
|
|
1962
|
+
...(input.ObservabilityEnabled !== undefined &&
|
|
1963
|
+
input.ObservabilityEnabled !== null && { ObservabilityEnabled: input.ObservabilityEnabled }),
|
|
1964
|
+
};
|
|
1965
|
+
};
|
|
1707
1966
|
const serializeAws_json1_0SourceCodeVersion = (input, context) => {
|
|
1708
1967
|
return {
|
|
1709
1968
|
...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
|
|
@@ -1775,6 +2034,11 @@ const serializeAws_json1_0TagResourceRequest = (input, context) => {
|
|
|
1775
2034
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
|
|
1776
2035
|
};
|
|
1777
2036
|
};
|
|
2037
|
+
const serializeAws_json1_0TraceConfiguration = (input, context) => {
|
|
2038
|
+
return {
|
|
2039
|
+
...(input.Vendor !== undefined && input.Vendor !== null && { Vendor: input.Vendor }),
|
|
2040
|
+
};
|
|
2041
|
+
};
|
|
1778
2042
|
const serializeAws_json1_0UntagResourceRequest = (input, context) => {
|
|
1779
2043
|
return {
|
|
1780
2044
|
...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
|
|
@@ -1798,6 +2062,10 @@ const serializeAws_json1_0UpdateServiceRequest = (input, context) => {
|
|
|
1798
2062
|
input.NetworkConfiguration !== null && {
|
|
1799
2063
|
NetworkConfiguration: serializeAws_json1_0NetworkConfiguration(input.NetworkConfiguration, context),
|
|
1800
2064
|
}),
|
|
2065
|
+
...(input.ObservabilityConfiguration !== undefined &&
|
|
2066
|
+
input.ObservabilityConfiguration !== null && {
|
|
2067
|
+
ObservabilityConfiguration: serializeAws_json1_0ServiceObservabilityConfiguration(input.ObservabilityConfiguration, context),
|
|
2068
|
+
}),
|
|
1801
2069
|
...(input.ServiceArn !== undefined && input.ServiceArn !== null && { ServiceArn: input.ServiceArn }),
|
|
1802
2070
|
...(input.SourceConfiguration !== undefined &&
|
|
1803
2071
|
input.SourceConfiguration !== null && {
|
|
@@ -1952,6 +2220,13 @@ const deserializeAws_json1_0CreateConnectionResponse = (output, context) => {
|
|
|
1952
2220
|
: undefined,
|
|
1953
2221
|
};
|
|
1954
2222
|
};
|
|
2223
|
+
const deserializeAws_json1_0CreateObservabilityConfigurationResponse = (output, context) => {
|
|
2224
|
+
return {
|
|
2225
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration !== undefined && output.ObservabilityConfiguration !== null
|
|
2226
|
+
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2227
|
+
: undefined,
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
1955
2230
|
const deserializeAws_json1_0CreateServiceResponse = (output, context) => {
|
|
1956
2231
|
return {
|
|
1957
2232
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
@@ -2002,6 +2277,13 @@ const deserializeAws_json1_0DeleteConnectionResponse = (output, context) => {
|
|
|
2002
2277
|
: undefined,
|
|
2003
2278
|
};
|
|
2004
2279
|
};
|
|
2280
|
+
const deserializeAws_json1_0DeleteObservabilityConfigurationResponse = (output, context) => {
|
|
2281
|
+
return {
|
|
2282
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration !== undefined && output.ObservabilityConfiguration !== null
|
|
2283
|
+
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2284
|
+
: undefined,
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2005
2287
|
const deserializeAws_json1_0DeleteServiceResponse = (output, context) => {
|
|
2006
2288
|
return {
|
|
2007
2289
|
OperationId: (0, smithy_client_1.expectString)(output.OperationId),
|
|
@@ -2034,6 +2316,13 @@ const deserializeAws_json1_0DescribeCustomDomainsResponse = (output, context) =>
|
|
|
2034
2316
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2035
2317
|
};
|
|
2036
2318
|
};
|
|
2319
|
+
const deserializeAws_json1_0DescribeObservabilityConfigurationResponse = (output, context) => {
|
|
2320
|
+
return {
|
|
2321
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration !== undefined && output.ObservabilityConfiguration !== null
|
|
2322
|
+
? deserializeAws_json1_0ObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2323
|
+
: undefined,
|
|
2324
|
+
};
|
|
2325
|
+
};
|
|
2037
2326
|
const deserializeAws_json1_0DescribeServiceResponse = (output, context) => {
|
|
2038
2327
|
return {
|
|
2039
2328
|
Service: output.Service !== undefined && output.Service !== null
|
|
@@ -2134,6 +2423,15 @@ const deserializeAws_json1_0ListConnectionsResponse = (output, context) => {
|
|
|
2134
2423
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2135
2424
|
};
|
|
2136
2425
|
};
|
|
2426
|
+
const deserializeAws_json1_0ListObservabilityConfigurationsResponse = (output, context) => {
|
|
2427
|
+
return {
|
|
2428
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2429
|
+
ObservabilityConfigurationSummaryList: output.ObservabilityConfigurationSummaryList !== undefined &&
|
|
2430
|
+
output.ObservabilityConfigurationSummaryList !== null
|
|
2431
|
+
? deserializeAws_json1_0ObservabilityConfigurationSummaryList(output.ObservabilityConfigurationSummaryList, context)
|
|
2432
|
+
: undefined,
|
|
2433
|
+
};
|
|
2434
|
+
};
|
|
2137
2435
|
const deserializeAws_json1_0ListOperationsResponse = (output, context) => {
|
|
2138
2436
|
return {
|
|
2139
2437
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -2172,6 +2470,42 @@ const deserializeAws_json1_0NetworkConfiguration = (output, context) => {
|
|
|
2172
2470
|
: undefined,
|
|
2173
2471
|
};
|
|
2174
2472
|
};
|
|
2473
|
+
const deserializeAws_json1_0ObservabilityConfiguration = (output, context) => {
|
|
2474
|
+
return {
|
|
2475
|
+
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2476
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
|
|
2477
|
+
: undefined,
|
|
2478
|
+
DeletedAt: output.DeletedAt !== undefined && output.DeletedAt !== null
|
|
2479
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DeletedAt)))
|
|
2480
|
+
: undefined,
|
|
2481
|
+
Latest: (0, smithy_client_1.expectBoolean)(output.Latest),
|
|
2482
|
+
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2483
|
+
ObservabilityConfigurationName: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationName),
|
|
2484
|
+
ObservabilityConfigurationRevision: (0, smithy_client_1.expectInt32)(output.ObservabilityConfigurationRevision),
|
|
2485
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2486
|
+
TraceConfiguration: output.TraceConfiguration !== undefined && output.TraceConfiguration !== null
|
|
2487
|
+
? deserializeAws_json1_0TraceConfiguration(output.TraceConfiguration, context)
|
|
2488
|
+
: undefined,
|
|
2489
|
+
};
|
|
2490
|
+
};
|
|
2491
|
+
const deserializeAws_json1_0ObservabilityConfigurationSummary = (output, context) => {
|
|
2492
|
+
return {
|
|
2493
|
+
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2494
|
+
ObservabilityConfigurationName: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationName),
|
|
2495
|
+
ObservabilityConfigurationRevision: (0, smithy_client_1.expectInt32)(output.ObservabilityConfigurationRevision),
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2498
|
+
const deserializeAws_json1_0ObservabilityConfigurationSummaryList = (output, context) => {
|
|
2499
|
+
const retVal = (output || [])
|
|
2500
|
+
.filter((e) => e != null)
|
|
2501
|
+
.map((entry) => {
|
|
2502
|
+
if (entry === null) {
|
|
2503
|
+
return null;
|
|
2504
|
+
}
|
|
2505
|
+
return deserializeAws_json1_0ObservabilityConfigurationSummary(entry, context);
|
|
2506
|
+
});
|
|
2507
|
+
return retVal;
|
|
2508
|
+
};
|
|
2175
2509
|
const deserializeAws_json1_0OperationSummary = (output, context) => {
|
|
2176
2510
|
return {
|
|
2177
2511
|
EndedAt: output.EndedAt !== undefined && output.EndedAt !== null
|
|
@@ -2255,6 +2589,9 @@ const deserializeAws_json1_0Service = (output, context) => {
|
|
|
2255
2589
|
NetworkConfiguration: output.NetworkConfiguration !== undefined && output.NetworkConfiguration !== null
|
|
2256
2590
|
? deserializeAws_json1_0NetworkConfiguration(output.NetworkConfiguration, context)
|
|
2257
2591
|
: undefined,
|
|
2592
|
+
ObservabilityConfiguration: output.ObservabilityConfiguration !== undefined && output.ObservabilityConfiguration !== null
|
|
2593
|
+
? deserializeAws_json1_0ServiceObservabilityConfiguration(output.ObservabilityConfiguration, context)
|
|
2594
|
+
: undefined,
|
|
2258
2595
|
ServiceArn: (0, smithy_client_1.expectString)(output.ServiceArn),
|
|
2259
2596
|
ServiceId: (0, smithy_client_1.expectString)(output.ServiceId),
|
|
2260
2597
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
@@ -2268,6 +2605,12 @@ const deserializeAws_json1_0Service = (output, context) => {
|
|
|
2268
2605
|
: undefined,
|
|
2269
2606
|
};
|
|
2270
2607
|
};
|
|
2608
|
+
const deserializeAws_json1_0ServiceObservabilityConfiguration = (output, context) => {
|
|
2609
|
+
return {
|
|
2610
|
+
ObservabilityConfigurationArn: (0, smithy_client_1.expectString)(output.ObservabilityConfigurationArn),
|
|
2611
|
+
ObservabilityEnabled: (0, smithy_client_1.expectBoolean)(output.ObservabilityEnabled),
|
|
2612
|
+
};
|
|
2613
|
+
};
|
|
2271
2614
|
const deserializeAws_json1_0ServiceQuotaExceededException = (output, context) => {
|
|
2272
2615
|
return {
|
|
2273
2616
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -2355,6 +2698,11 @@ const deserializeAws_json1_0TagList = (output, context) => {
|
|
|
2355
2698
|
const deserializeAws_json1_0TagResourceResponse = (output, context) => {
|
|
2356
2699
|
return {};
|
|
2357
2700
|
};
|
|
2701
|
+
const deserializeAws_json1_0TraceConfiguration = (output, context) => {
|
|
2702
|
+
return {
|
|
2703
|
+
Vendor: (0, smithy_client_1.expectString)(output.Vendor),
|
|
2704
|
+
};
|
|
2705
|
+
};
|
|
2358
2706
|
const deserializeAws_json1_0UntagResourceResponse = (output, context) => {
|
|
2359
2707
|
return {};
|
|
2360
2708
|
};
|
package/dist-es/AppRunner.js
CHANGED
|
@@ -3,19 +3,23 @@ import { AppRunnerClient } from "./AppRunnerClient";
|
|
|
3
3
|
import { AssociateCustomDomainCommand, } from "./commands/AssociateCustomDomainCommand";
|
|
4
4
|
import { CreateAutoScalingConfigurationCommand, } from "./commands/CreateAutoScalingConfigurationCommand";
|
|
5
5
|
import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
|
|
6
|
+
import { CreateObservabilityConfigurationCommand, } from "./commands/CreateObservabilityConfigurationCommand";
|
|
6
7
|
import { CreateServiceCommand, } from "./commands/CreateServiceCommand";
|
|
7
8
|
import { CreateVpcConnectorCommand, } from "./commands/CreateVpcConnectorCommand";
|
|
8
9
|
import { DeleteAutoScalingConfigurationCommand, } from "./commands/DeleteAutoScalingConfigurationCommand";
|
|
9
10
|
import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
|
|
11
|
+
import { DeleteObservabilityConfigurationCommand, } from "./commands/DeleteObservabilityConfigurationCommand";
|
|
10
12
|
import { DeleteServiceCommand, } from "./commands/DeleteServiceCommand";
|
|
11
13
|
import { DeleteVpcConnectorCommand, } from "./commands/DeleteVpcConnectorCommand";
|
|
12
14
|
import { DescribeAutoScalingConfigurationCommand, } from "./commands/DescribeAutoScalingConfigurationCommand";
|
|
13
15
|
import { DescribeCustomDomainsCommand, } from "./commands/DescribeCustomDomainsCommand";
|
|
16
|
+
import { DescribeObservabilityConfigurationCommand, } from "./commands/DescribeObservabilityConfigurationCommand";
|
|
14
17
|
import { DescribeServiceCommand, } from "./commands/DescribeServiceCommand";
|
|
15
18
|
import { DescribeVpcConnectorCommand, } from "./commands/DescribeVpcConnectorCommand";
|
|
16
19
|
import { DisassociateCustomDomainCommand, } from "./commands/DisassociateCustomDomainCommand";
|
|
17
20
|
import { ListAutoScalingConfigurationsCommand, } from "./commands/ListAutoScalingConfigurationsCommand";
|
|
18
21
|
import { ListConnectionsCommand, } from "./commands/ListConnectionsCommand";
|
|
22
|
+
import { ListObservabilityConfigurationsCommand, } from "./commands/ListObservabilityConfigurationsCommand";
|
|
19
23
|
import { ListOperationsCommand, } from "./commands/ListOperationsCommand";
|
|
20
24
|
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
21
25
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -73,6 +77,20 @@ var AppRunner = (function (_super) {
|
|
|
73
77
|
return this.send(command, optionsOrCb);
|
|
74
78
|
}
|
|
75
79
|
};
|
|
80
|
+
AppRunner.prototype.createObservabilityConfiguration = function (args, optionsOrCb, cb) {
|
|
81
|
+
var command = new CreateObservabilityConfigurationCommand(args);
|
|
82
|
+
if (typeof optionsOrCb === "function") {
|
|
83
|
+
this.send(command, optionsOrCb);
|
|
84
|
+
}
|
|
85
|
+
else if (typeof cb === "function") {
|
|
86
|
+
if (typeof optionsOrCb !== "object")
|
|
87
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
88
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
return this.send(command, optionsOrCb);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
76
94
|
AppRunner.prototype.createService = function (args, optionsOrCb, cb) {
|
|
77
95
|
var command = new CreateServiceCommand(args);
|
|
78
96
|
if (typeof optionsOrCb === "function") {
|
|
@@ -129,6 +147,20 @@ var AppRunner = (function (_super) {
|
|
|
129
147
|
return this.send(command, optionsOrCb);
|
|
130
148
|
}
|
|
131
149
|
};
|
|
150
|
+
AppRunner.prototype.deleteObservabilityConfiguration = function (args, optionsOrCb, cb) {
|
|
151
|
+
var command = new DeleteObservabilityConfigurationCommand(args);
|
|
152
|
+
if (typeof optionsOrCb === "function") {
|
|
153
|
+
this.send(command, optionsOrCb);
|
|
154
|
+
}
|
|
155
|
+
else if (typeof cb === "function") {
|
|
156
|
+
if (typeof optionsOrCb !== "object")
|
|
157
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
158
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
return this.send(command, optionsOrCb);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
132
164
|
AppRunner.prototype.deleteService = function (args, optionsOrCb, cb) {
|
|
133
165
|
var command = new DeleteServiceCommand(args);
|
|
134
166
|
if (typeof optionsOrCb === "function") {
|
|
@@ -185,6 +217,20 @@ var AppRunner = (function (_super) {
|
|
|
185
217
|
return this.send(command, optionsOrCb);
|
|
186
218
|
}
|
|
187
219
|
};
|
|
220
|
+
AppRunner.prototype.describeObservabilityConfiguration = function (args, optionsOrCb, cb) {
|
|
221
|
+
var command = new DescribeObservabilityConfigurationCommand(args);
|
|
222
|
+
if (typeof optionsOrCb === "function") {
|
|
223
|
+
this.send(command, optionsOrCb);
|
|
224
|
+
}
|
|
225
|
+
else if (typeof cb === "function") {
|
|
226
|
+
if (typeof optionsOrCb !== "object")
|
|
227
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
228
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
return this.send(command, optionsOrCb);
|
|
232
|
+
}
|
|
233
|
+
};
|
|
188
234
|
AppRunner.prototype.describeService = function (args, optionsOrCb, cb) {
|
|
189
235
|
var command = new DescribeServiceCommand(args);
|
|
190
236
|
if (typeof optionsOrCb === "function") {
|
|
@@ -255,6 +301,20 @@ var AppRunner = (function (_super) {
|
|
|
255
301
|
return this.send(command, optionsOrCb);
|
|
256
302
|
}
|
|
257
303
|
};
|
|
304
|
+
AppRunner.prototype.listObservabilityConfigurations = function (args, optionsOrCb, cb) {
|
|
305
|
+
var command = new ListObservabilityConfigurationsCommand(args);
|
|
306
|
+
if (typeof optionsOrCb === "function") {
|
|
307
|
+
this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
else if (typeof cb === "function") {
|
|
310
|
+
if (typeof optionsOrCb !== "object")
|
|
311
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
312
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
313
|
+
}
|
|
314
|
+
else {
|
|
315
|
+
return this.send(command, optionsOrCb);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
258
318
|
AppRunner.prototype.listOperations = function (args, optionsOrCb, cb) {
|
|
259
319
|
var command = new ListOperationsCommand(args);
|
|
260
320
|
if (typeof optionsOrCb === "function") {
|