@aws-sdk/client-appconfig 3.312.0 → 3.316.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/AppConfig.js +47 -602
- package/dist-cjs/protocols/Aws_restJson1.js +537 -1274
- package/dist-es/AppConfig.js +47 -602
- package/dist-es/protocols/Aws_restJson1.js +474 -1211
- package/dist-types/AppConfig.d.ts +95 -262
- package/dist-types/ts3.4/AppConfig.d.ts +2 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { AppConfigServiceException as __BaseException } from "../models/AppConfigServiceException";
|
|
4
4
|
import { BadRequestException, ConflictException, InternalServerException, PayloadTooLargeException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
@@ -9,11 +9,11 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
9
9
|
};
|
|
10
10
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
11
11
|
let body;
|
|
12
|
-
body = JSON.stringify({
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
});
|
|
12
|
+
body = JSON.stringify(take(input, {
|
|
13
|
+
Description: [],
|
|
14
|
+
Name: [],
|
|
15
|
+
Tags: (_) => _json(_),
|
|
16
|
+
}));
|
|
17
17
|
return new __HttpRequest({
|
|
18
18
|
protocol,
|
|
19
19
|
hostname,
|
|
@@ -33,15 +33,15 @@ export const se_CreateConfigurationProfileCommand = async (input, context) => {
|
|
|
33
33
|
"/applications/{ApplicationId}/configurationprofiles";
|
|
34
34
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
35
35
|
let body;
|
|
36
|
-
body = JSON.stringify({
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
});
|
|
36
|
+
body = JSON.stringify(take(input, {
|
|
37
|
+
Description: [],
|
|
38
|
+
LocationUri: [],
|
|
39
|
+
Name: [],
|
|
40
|
+
RetrievalRoleArn: [],
|
|
41
|
+
Tags: (_) => _json(_),
|
|
42
|
+
Type: [],
|
|
43
|
+
Validators: (_) => _json(_),
|
|
44
|
+
}));
|
|
45
45
|
return new __HttpRequest({
|
|
46
46
|
protocol,
|
|
47
47
|
hostname,
|
|
@@ -59,18 +59,16 @@ export const se_CreateDeploymentStrategyCommand = async (input, context) => {
|
|
|
59
59
|
};
|
|
60
60
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify({
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
73
|
-
});
|
|
62
|
+
body = JSON.stringify(take(input, {
|
|
63
|
+
DeploymentDurationInMinutes: [],
|
|
64
|
+
Description: [],
|
|
65
|
+
FinalBakeTimeInMinutes: [],
|
|
66
|
+
GrowthFactor: (_) => __serializeFloat(_),
|
|
67
|
+
GrowthType: [],
|
|
68
|
+
Name: [],
|
|
69
|
+
ReplicateTo: [],
|
|
70
|
+
Tags: (_) => _json(_),
|
|
71
|
+
}));
|
|
74
72
|
return new __HttpRequest({
|
|
75
73
|
protocol,
|
|
76
74
|
hostname,
|
|
@@ -90,12 +88,12 @@ export const se_CreateEnvironmentCommand = async (input, context) => {
|
|
|
90
88
|
"/applications/{ApplicationId}/environments";
|
|
91
89
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
92
90
|
let body;
|
|
93
|
-
body = JSON.stringify({
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
});
|
|
91
|
+
body = JSON.stringify(take(input, {
|
|
92
|
+
Description: [],
|
|
93
|
+
Monitors: (_) => _json(_),
|
|
94
|
+
Name: [],
|
|
95
|
+
Tags: (_) => _json(_),
|
|
96
|
+
}));
|
|
99
97
|
return new __HttpRequest({
|
|
100
98
|
protocol,
|
|
101
99
|
hostname,
|
|
@@ -117,13 +115,13 @@ export const se_CreateExtensionCommand = async (input, context) => {
|
|
|
117
115
|
});
|
|
118
116
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions";
|
|
119
117
|
let body;
|
|
120
|
-
body = JSON.stringify({
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
});
|
|
118
|
+
body = JSON.stringify(take(input, {
|
|
119
|
+
Actions: (_) => _json(_),
|
|
120
|
+
Description: [],
|
|
121
|
+
Name: [],
|
|
122
|
+
Parameters: (_) => _json(_),
|
|
123
|
+
Tags: (_) => _json(_),
|
|
124
|
+
}));
|
|
127
125
|
return new __HttpRequest({
|
|
128
126
|
protocol,
|
|
129
127
|
hostname,
|
|
@@ -141,13 +139,13 @@ export const se_CreateExtensionAssociationCommand = async (input, context) => {
|
|
|
141
139
|
};
|
|
142
140
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensionassociations";
|
|
143
141
|
let body;
|
|
144
|
-
body = JSON.stringify({
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
});
|
|
142
|
+
body = JSON.stringify(take(input, {
|
|
143
|
+
ExtensionIdentifier: [],
|
|
144
|
+
ExtensionVersionNumber: [],
|
|
145
|
+
Parameters: (_) => _json(_),
|
|
146
|
+
ResourceIdentifier: [],
|
|
147
|
+
Tags: (_) => _json(_),
|
|
148
|
+
}));
|
|
151
149
|
return new __HttpRequest({
|
|
152
150
|
protocol,
|
|
153
151
|
hostname,
|
|
@@ -685,14 +683,14 @@ export const se_StartDeploymentCommand = async (input, context) => {
|
|
|
685
683
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
686
684
|
resolvedPath = __resolvedPath(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
687
685
|
let body;
|
|
688
|
-
body = JSON.stringify({
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
});
|
|
686
|
+
body = JSON.stringify(take(input, {
|
|
687
|
+
ConfigurationProfileId: [],
|
|
688
|
+
ConfigurationVersion: [],
|
|
689
|
+
DeploymentStrategyId: [],
|
|
690
|
+
Description: [],
|
|
691
|
+
KmsKeyIdentifier: [],
|
|
692
|
+
Tags: (_) => _json(_),
|
|
693
|
+
}));
|
|
696
694
|
return new __HttpRequest({
|
|
697
695
|
protocol,
|
|
698
696
|
hostname,
|
|
@@ -730,9 +728,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
730
728
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
731
729
|
resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
732
730
|
let body;
|
|
733
|
-
body = JSON.stringify({
|
|
734
|
-
|
|
735
|
-
});
|
|
731
|
+
body = JSON.stringify(take(input, {
|
|
732
|
+
Tags: (_) => _json(_),
|
|
733
|
+
}));
|
|
736
734
|
return new __HttpRequest({
|
|
737
735
|
protocol,
|
|
738
736
|
hostname,
|
|
@@ -774,10 +772,10 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
774
772
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}";
|
|
775
773
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
776
774
|
let body;
|
|
777
|
-
body = JSON.stringify({
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
});
|
|
775
|
+
body = JSON.stringify(take(input, {
|
|
776
|
+
Description: [],
|
|
777
|
+
Name: [],
|
|
778
|
+
}));
|
|
781
779
|
return new __HttpRequest({
|
|
782
780
|
protocol,
|
|
783
781
|
hostname,
|
|
@@ -798,12 +796,12 @@ export const se_UpdateConfigurationProfileCommand = async (input, context) => {
|
|
|
798
796
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
799
797
|
resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
800
798
|
let body;
|
|
801
|
-
body = JSON.stringify({
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
});
|
|
799
|
+
body = JSON.stringify(take(input, {
|
|
800
|
+
Description: [],
|
|
801
|
+
Name: [],
|
|
802
|
+
RetrievalRoleArn: [],
|
|
803
|
+
Validators: (_) => _json(_),
|
|
804
|
+
}));
|
|
807
805
|
return new __HttpRequest({
|
|
808
806
|
protocol,
|
|
809
807
|
hostname,
|
|
@@ -823,15 +821,13 @@ export const se_UpdateDeploymentStrategyCommand = async (input, context) => {
|
|
|
823
821
|
"/deploymentstrategies/{DeploymentStrategyId}";
|
|
824
822
|
resolvedPath = __resolvedPath(resolvedPath, input, "DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
825
823
|
let body;
|
|
826
|
-
body = JSON.stringify({
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
...(input.GrowthType != null && { GrowthType: input.GrowthType }),
|
|
834
|
-
});
|
|
824
|
+
body = JSON.stringify(take(input, {
|
|
825
|
+
DeploymentDurationInMinutes: [],
|
|
826
|
+
Description: [],
|
|
827
|
+
FinalBakeTimeInMinutes: [],
|
|
828
|
+
GrowthFactor: (_) => __serializeFloat(_),
|
|
829
|
+
GrowthType: [],
|
|
830
|
+
}));
|
|
835
831
|
return new __HttpRequest({
|
|
836
832
|
protocol,
|
|
837
833
|
hostname,
|
|
@@ -852,11 +848,11 @@ export const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
|
852
848
|
resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
853
849
|
resolvedPath = __resolvedPath(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
854
850
|
let body;
|
|
855
|
-
body = JSON.stringify({
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
});
|
|
851
|
+
body = JSON.stringify(take(input, {
|
|
852
|
+
Description: [],
|
|
853
|
+
Monitors: (_) => _json(_),
|
|
854
|
+
Name: [],
|
|
855
|
+
}));
|
|
860
856
|
return new __HttpRequest({
|
|
861
857
|
protocol,
|
|
862
858
|
hostname,
|
|
@@ -875,12 +871,12 @@ export const se_UpdateExtensionCommand = async (input, context) => {
|
|
|
875
871
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions/{ExtensionIdentifier}";
|
|
876
872
|
resolvedPath = __resolvedPath(resolvedPath, input, "ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
877
873
|
let body;
|
|
878
|
-
body = JSON.stringify({
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
});
|
|
874
|
+
body = JSON.stringify(take(input, {
|
|
875
|
+
Actions: (_) => _json(_),
|
|
876
|
+
Description: [],
|
|
877
|
+
Parameters: (_) => _json(_),
|
|
878
|
+
VersionNumber: [],
|
|
879
|
+
}));
|
|
884
880
|
return new __HttpRequest({
|
|
885
881
|
protocol,
|
|
886
882
|
hostname,
|
|
@@ -900,9 +896,9 @@ export const se_UpdateExtensionAssociationCommand = async (input, context) => {
|
|
|
900
896
|
"/extensionassociations/{ExtensionAssociationId}";
|
|
901
897
|
resolvedPath = __resolvedPath(resolvedPath, input, "ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
902
898
|
let body;
|
|
903
|
-
body = JSON.stringify({
|
|
904
|
-
|
|
905
|
-
});
|
|
899
|
+
body = JSON.stringify(take(input, {
|
|
900
|
+
Parameters: (_) => _json(_),
|
|
901
|
+
}));
|
|
906
902
|
return new __HttpRequest({
|
|
907
903
|
protocol,
|
|
908
904
|
hostname,
|
|
@@ -943,15 +939,12 @@ export const de_CreateApplicationCommand = async (output, context) => {
|
|
|
943
939
|
$metadata: deserializeMetadata(output),
|
|
944
940
|
});
|
|
945
941
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
if (data.Name != null) {
|
|
953
|
-
contents.Name = __expectString(data.Name);
|
|
954
|
-
}
|
|
942
|
+
const doc = take(data, {
|
|
943
|
+
Description: __expectString,
|
|
944
|
+
Id: __expectString,
|
|
945
|
+
Name: __expectString,
|
|
946
|
+
});
|
|
947
|
+
Object.assign(contents, doc);
|
|
955
948
|
return contents;
|
|
956
949
|
};
|
|
957
950
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -969,10 +962,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
969
962
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
970
963
|
default:
|
|
971
964
|
const parsedBody = parsedOutput.body;
|
|
972
|
-
throwDefaultError({
|
|
965
|
+
return throwDefaultError({
|
|
973
966
|
output,
|
|
974
967
|
parsedBody,
|
|
975
|
-
exceptionCtor: __BaseException,
|
|
976
968
|
errorCode,
|
|
977
969
|
});
|
|
978
970
|
}
|
|
@@ -985,30 +977,17 @@ export const de_CreateConfigurationProfileCommand = async (output, context) => {
|
|
|
985
977
|
$metadata: deserializeMetadata(output),
|
|
986
978
|
});
|
|
987
979
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
}
|
|
1000
|
-
if (data.Name != null) {
|
|
1001
|
-
contents.Name = __expectString(data.Name);
|
|
1002
|
-
}
|
|
1003
|
-
if (data.RetrievalRoleArn != null) {
|
|
1004
|
-
contents.RetrievalRoleArn = __expectString(data.RetrievalRoleArn);
|
|
1005
|
-
}
|
|
1006
|
-
if (data.Type != null) {
|
|
1007
|
-
contents.Type = __expectString(data.Type);
|
|
1008
|
-
}
|
|
1009
|
-
if (data.Validators != null) {
|
|
1010
|
-
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
1011
|
-
}
|
|
980
|
+
const doc = take(data, {
|
|
981
|
+
ApplicationId: __expectString,
|
|
982
|
+
Description: __expectString,
|
|
983
|
+
Id: __expectString,
|
|
984
|
+
LocationUri: __expectString,
|
|
985
|
+
Name: __expectString,
|
|
986
|
+
RetrievalRoleArn: __expectString,
|
|
987
|
+
Type: __expectString,
|
|
988
|
+
Validators: _json,
|
|
989
|
+
});
|
|
990
|
+
Object.assign(contents, doc);
|
|
1012
991
|
return contents;
|
|
1013
992
|
};
|
|
1014
993
|
const de_CreateConfigurationProfileCommandError = async (output, context) => {
|
|
@@ -1029,10 +1008,9 @@ const de_CreateConfigurationProfileCommandError = async (output, context) => {
|
|
|
1029
1008
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1030
1009
|
default:
|
|
1031
1010
|
const parsedBody = parsedOutput.body;
|
|
1032
|
-
throwDefaultError({
|
|
1011
|
+
return throwDefaultError({
|
|
1033
1012
|
output,
|
|
1034
1013
|
parsedBody,
|
|
1035
|
-
exceptionCtor: __BaseException,
|
|
1036
1014
|
errorCode,
|
|
1037
1015
|
});
|
|
1038
1016
|
}
|
|
@@ -1045,30 +1023,17 @@ export const de_CreateDeploymentStrategyCommand = async (output, context) => {
|
|
|
1045
1023
|
$metadata: deserializeMetadata(output),
|
|
1046
1024
|
});
|
|
1047
1025
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
}
|
|
1060
|
-
if (data.GrowthType != null) {
|
|
1061
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
1062
|
-
}
|
|
1063
|
-
if (data.Id != null) {
|
|
1064
|
-
contents.Id = __expectString(data.Id);
|
|
1065
|
-
}
|
|
1066
|
-
if (data.Name != null) {
|
|
1067
|
-
contents.Name = __expectString(data.Name);
|
|
1068
|
-
}
|
|
1069
|
-
if (data.ReplicateTo != null) {
|
|
1070
|
-
contents.ReplicateTo = __expectString(data.ReplicateTo);
|
|
1071
|
-
}
|
|
1026
|
+
const doc = take(data, {
|
|
1027
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
1028
|
+
Description: __expectString,
|
|
1029
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
1030
|
+
GrowthFactor: __limitedParseFloat32,
|
|
1031
|
+
GrowthType: __expectString,
|
|
1032
|
+
Id: __expectString,
|
|
1033
|
+
Name: __expectString,
|
|
1034
|
+
ReplicateTo: __expectString,
|
|
1035
|
+
});
|
|
1036
|
+
Object.assign(contents, doc);
|
|
1072
1037
|
return contents;
|
|
1073
1038
|
};
|
|
1074
1039
|
const de_CreateDeploymentStrategyCommandError = async (output, context) => {
|
|
@@ -1086,10 +1051,9 @@ const de_CreateDeploymentStrategyCommandError = async (output, context) => {
|
|
|
1086
1051
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1087
1052
|
default:
|
|
1088
1053
|
const parsedBody = parsedOutput.body;
|
|
1089
|
-
throwDefaultError({
|
|
1054
|
+
return throwDefaultError({
|
|
1090
1055
|
output,
|
|
1091
1056
|
parsedBody,
|
|
1092
|
-
exceptionCtor: __BaseException,
|
|
1093
1057
|
errorCode,
|
|
1094
1058
|
});
|
|
1095
1059
|
}
|
|
@@ -1102,24 +1066,15 @@ export const de_CreateEnvironmentCommand = async (output, context) => {
|
|
|
1102
1066
|
$metadata: deserializeMetadata(output),
|
|
1103
1067
|
});
|
|
1104
1068
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
if (data.Monitors != null) {
|
|
1115
|
-
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
1116
|
-
}
|
|
1117
|
-
if (data.Name != null) {
|
|
1118
|
-
contents.Name = __expectString(data.Name);
|
|
1119
|
-
}
|
|
1120
|
-
if (data.State != null) {
|
|
1121
|
-
contents.State = __expectString(data.State);
|
|
1122
|
-
}
|
|
1069
|
+
const doc = take(data, {
|
|
1070
|
+
ApplicationId: __expectString,
|
|
1071
|
+
Description: __expectString,
|
|
1072
|
+
Id: __expectString,
|
|
1073
|
+
Monitors: _json,
|
|
1074
|
+
Name: __expectString,
|
|
1075
|
+
State: __expectString,
|
|
1076
|
+
});
|
|
1077
|
+
Object.assign(contents, doc);
|
|
1123
1078
|
return contents;
|
|
1124
1079
|
};
|
|
1125
1080
|
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
@@ -1140,10 +1095,9 @@ const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
|
1140
1095
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1141
1096
|
default:
|
|
1142
1097
|
const parsedBody = parsedOutput.body;
|
|
1143
|
-
throwDefaultError({
|
|
1098
|
+
return throwDefaultError({
|
|
1144
1099
|
output,
|
|
1145
1100
|
parsedBody,
|
|
1146
|
-
exceptionCtor: __BaseException,
|
|
1147
1101
|
errorCode,
|
|
1148
1102
|
});
|
|
1149
1103
|
}
|
|
@@ -1156,27 +1110,16 @@ export const de_CreateExtensionCommand = async (output, context) => {
|
|
|
1156
1110
|
$metadata: deserializeMetadata(output),
|
|
1157
1111
|
});
|
|
1158
1112
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
contents.Id = __expectString(data.Id);
|
|
1170
|
-
}
|
|
1171
|
-
if (data.Name != null) {
|
|
1172
|
-
contents.Name = __expectString(data.Name);
|
|
1173
|
-
}
|
|
1174
|
-
if (data.Parameters != null) {
|
|
1175
|
-
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
1176
|
-
}
|
|
1177
|
-
if (data.VersionNumber != null) {
|
|
1178
|
-
contents.VersionNumber = __expectInt32(data.VersionNumber);
|
|
1179
|
-
}
|
|
1113
|
+
const doc = take(data, {
|
|
1114
|
+
Actions: _json,
|
|
1115
|
+
Arn: __expectString,
|
|
1116
|
+
Description: __expectString,
|
|
1117
|
+
Id: __expectString,
|
|
1118
|
+
Name: __expectString,
|
|
1119
|
+
Parameters: _json,
|
|
1120
|
+
VersionNumber: __expectInt32,
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1180
1123
|
return contents;
|
|
1181
1124
|
};
|
|
1182
1125
|
const de_CreateExtensionCommandError = async (output, context) => {
|
|
@@ -1200,10 +1143,9 @@ const de_CreateExtensionCommandError = async (output, context) => {
|
|
|
1200
1143
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1201
1144
|
default:
|
|
1202
1145
|
const parsedBody = parsedOutput.body;
|
|
1203
|
-
throwDefaultError({
|
|
1146
|
+
return throwDefaultError({
|
|
1204
1147
|
output,
|
|
1205
1148
|
parsedBody,
|
|
1206
|
-
exceptionCtor: __BaseException,
|
|
1207
1149
|
errorCode,
|
|
1208
1150
|
});
|
|
1209
1151
|
}
|
|
@@ -1216,24 +1158,15 @@ export const de_CreateExtensionAssociationCommand = async (output, context) => {
|
|
|
1216
1158
|
$metadata: deserializeMetadata(output),
|
|
1217
1159
|
});
|
|
1218
1160
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
if (data.Id != null) {
|
|
1229
|
-
contents.Id = __expectString(data.Id);
|
|
1230
|
-
}
|
|
1231
|
-
if (data.Parameters != null) {
|
|
1232
|
-
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
1233
|
-
}
|
|
1234
|
-
if (data.ResourceArn != null) {
|
|
1235
|
-
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
1236
|
-
}
|
|
1161
|
+
const doc = take(data, {
|
|
1162
|
+
Arn: __expectString,
|
|
1163
|
+
ExtensionArn: __expectString,
|
|
1164
|
+
ExtensionVersionNumber: __expectInt32,
|
|
1165
|
+
Id: __expectString,
|
|
1166
|
+
Parameters: _json,
|
|
1167
|
+
ResourceArn: __expectString,
|
|
1168
|
+
});
|
|
1169
|
+
Object.assign(contents, doc);
|
|
1237
1170
|
return contents;
|
|
1238
1171
|
};
|
|
1239
1172
|
const de_CreateExtensionAssociationCommandError = async (output, context) => {
|
|
@@ -1257,10 +1190,9 @@ const de_CreateExtensionAssociationCommandError = async (output, context) => {
|
|
|
1257
1190
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1258
1191
|
default:
|
|
1259
1192
|
const parsedBody = parsedOutput.body;
|
|
1260
|
-
throwDefaultError({
|
|
1193
|
+
return throwDefaultError({
|
|
1261
1194
|
output,
|
|
1262
1195
|
parsedBody,
|
|
1263
|
-
exceptionCtor: __BaseException,
|
|
1264
1196
|
errorCode,
|
|
1265
1197
|
});
|
|
1266
1198
|
}
|
|
@@ -1312,10 +1244,9 @@ const de_CreateHostedConfigurationVersionCommandError = async (output, context)
|
|
|
1312
1244
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1313
1245
|
default:
|
|
1314
1246
|
const parsedBody = parsedOutput.body;
|
|
1315
|
-
throwDefaultError({
|
|
1247
|
+
return throwDefaultError({
|
|
1316
1248
|
output,
|
|
1317
1249
|
parsedBody,
|
|
1318
|
-
exceptionCtor: __BaseException,
|
|
1319
1250
|
errorCode,
|
|
1320
1251
|
});
|
|
1321
1252
|
}
|
|
@@ -1348,10 +1279,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
1348
1279
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1349
1280
|
default:
|
|
1350
1281
|
const parsedBody = parsedOutput.body;
|
|
1351
|
-
throwDefaultError({
|
|
1282
|
+
return throwDefaultError({
|
|
1352
1283
|
output,
|
|
1353
1284
|
parsedBody,
|
|
1354
|
-
exceptionCtor: __BaseException,
|
|
1355
1285
|
errorCode,
|
|
1356
1286
|
});
|
|
1357
1287
|
}
|
|
@@ -1387,10 +1317,9 @@ const de_DeleteConfigurationProfileCommandError = async (output, context) => {
|
|
|
1387
1317
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1388
1318
|
default:
|
|
1389
1319
|
const parsedBody = parsedOutput.body;
|
|
1390
|
-
throwDefaultError({
|
|
1320
|
+
return throwDefaultError({
|
|
1391
1321
|
output,
|
|
1392
1322
|
parsedBody,
|
|
1393
|
-
exceptionCtor: __BaseException,
|
|
1394
1323
|
errorCode,
|
|
1395
1324
|
});
|
|
1396
1325
|
}
|
|
@@ -1423,10 +1352,9 @@ const de_DeleteDeploymentStrategyCommandError = async (output, context) => {
|
|
|
1423
1352
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1424
1353
|
default:
|
|
1425
1354
|
const parsedBody = parsedOutput.body;
|
|
1426
|
-
throwDefaultError({
|
|
1355
|
+
return throwDefaultError({
|
|
1427
1356
|
output,
|
|
1428
1357
|
parsedBody,
|
|
1429
|
-
exceptionCtor: __BaseException,
|
|
1430
1358
|
errorCode,
|
|
1431
1359
|
});
|
|
1432
1360
|
}
|
|
@@ -1462,10 +1390,9 @@ const de_DeleteEnvironmentCommandError = async (output, context) => {
|
|
|
1462
1390
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1463
1391
|
default:
|
|
1464
1392
|
const parsedBody = parsedOutput.body;
|
|
1465
|
-
throwDefaultError({
|
|
1393
|
+
return throwDefaultError({
|
|
1466
1394
|
output,
|
|
1467
1395
|
parsedBody,
|
|
1468
|
-
exceptionCtor: __BaseException,
|
|
1469
1396
|
errorCode,
|
|
1470
1397
|
});
|
|
1471
1398
|
}
|
|
@@ -1498,10 +1425,9 @@ const de_DeleteExtensionCommandError = async (output, context) => {
|
|
|
1498
1425
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1499
1426
|
default:
|
|
1500
1427
|
const parsedBody = parsedOutput.body;
|
|
1501
|
-
throwDefaultError({
|
|
1428
|
+
return throwDefaultError({
|
|
1502
1429
|
output,
|
|
1503
1430
|
parsedBody,
|
|
1504
|
-
exceptionCtor: __BaseException,
|
|
1505
1431
|
errorCode,
|
|
1506
1432
|
});
|
|
1507
1433
|
}
|
|
@@ -1534,10 +1460,9 @@ const de_DeleteExtensionAssociationCommandError = async (output, context) => {
|
|
|
1534
1460
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1535
1461
|
default:
|
|
1536
1462
|
const parsedBody = parsedOutput.body;
|
|
1537
|
-
throwDefaultError({
|
|
1463
|
+
return throwDefaultError({
|
|
1538
1464
|
output,
|
|
1539
1465
|
parsedBody,
|
|
1540
|
-
exceptionCtor: __BaseException,
|
|
1541
1466
|
errorCode,
|
|
1542
1467
|
});
|
|
1543
1468
|
}
|
|
@@ -1570,10 +1495,9 @@ const de_DeleteHostedConfigurationVersionCommandError = async (output, context)
|
|
|
1570
1495
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1571
1496
|
default:
|
|
1572
1497
|
const parsedBody = parsedOutput.body;
|
|
1573
|
-
throwDefaultError({
|
|
1498
|
+
return throwDefaultError({
|
|
1574
1499
|
output,
|
|
1575
1500
|
parsedBody,
|
|
1576
|
-
exceptionCtor: __BaseException,
|
|
1577
1501
|
errorCode,
|
|
1578
1502
|
});
|
|
1579
1503
|
}
|
|
@@ -1586,15 +1510,12 @@ export const de_GetApplicationCommand = async (output, context) => {
|
|
|
1586
1510
|
$metadata: deserializeMetadata(output),
|
|
1587
1511
|
});
|
|
1588
1512
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
if (data.Name != null) {
|
|
1596
|
-
contents.Name = __expectString(data.Name);
|
|
1597
|
-
}
|
|
1513
|
+
const doc = take(data, {
|
|
1514
|
+
Description: __expectString,
|
|
1515
|
+
Id: __expectString,
|
|
1516
|
+
Name: __expectString,
|
|
1517
|
+
});
|
|
1518
|
+
Object.assign(contents, doc);
|
|
1598
1519
|
return contents;
|
|
1599
1520
|
};
|
|
1600
1521
|
const de_GetApplicationCommandError = async (output, context) => {
|
|
@@ -1615,10 +1536,9 @@ const de_GetApplicationCommandError = async (output, context) => {
|
|
|
1615
1536
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1616
1537
|
default:
|
|
1617
1538
|
const parsedBody = parsedOutput.body;
|
|
1618
|
-
throwDefaultError({
|
|
1539
|
+
return throwDefaultError({
|
|
1619
1540
|
output,
|
|
1620
1541
|
parsedBody,
|
|
1621
|
-
exceptionCtor: __BaseException,
|
|
1622
1542
|
errorCode,
|
|
1623
1543
|
});
|
|
1624
1544
|
}
|
|
@@ -1654,10 +1574,9 @@ const de_GetConfigurationCommandError = async (output, context) => {
|
|
|
1654
1574
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1655
1575
|
default:
|
|
1656
1576
|
const parsedBody = parsedOutput.body;
|
|
1657
|
-
throwDefaultError({
|
|
1577
|
+
return throwDefaultError({
|
|
1658
1578
|
output,
|
|
1659
1579
|
parsedBody,
|
|
1660
|
-
exceptionCtor: __BaseException,
|
|
1661
1580
|
errorCode,
|
|
1662
1581
|
});
|
|
1663
1582
|
}
|
|
@@ -1670,30 +1589,17 @@ export const de_GetConfigurationProfileCommand = async (output, context) => {
|
|
|
1670
1589
|
$metadata: deserializeMetadata(output),
|
|
1671
1590
|
});
|
|
1672
1591
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
}
|
|
1685
|
-
if (data.Name != null) {
|
|
1686
|
-
contents.Name = __expectString(data.Name);
|
|
1687
|
-
}
|
|
1688
|
-
if (data.RetrievalRoleArn != null) {
|
|
1689
|
-
contents.RetrievalRoleArn = __expectString(data.RetrievalRoleArn);
|
|
1690
|
-
}
|
|
1691
|
-
if (data.Type != null) {
|
|
1692
|
-
contents.Type = __expectString(data.Type);
|
|
1693
|
-
}
|
|
1694
|
-
if (data.Validators != null) {
|
|
1695
|
-
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
1696
|
-
}
|
|
1592
|
+
const doc = take(data, {
|
|
1593
|
+
ApplicationId: __expectString,
|
|
1594
|
+
Description: __expectString,
|
|
1595
|
+
Id: __expectString,
|
|
1596
|
+
LocationUri: __expectString,
|
|
1597
|
+
Name: __expectString,
|
|
1598
|
+
RetrievalRoleArn: __expectString,
|
|
1599
|
+
Type: __expectString,
|
|
1600
|
+
Validators: _json,
|
|
1601
|
+
});
|
|
1602
|
+
Object.assign(contents, doc);
|
|
1697
1603
|
return contents;
|
|
1698
1604
|
};
|
|
1699
1605
|
const de_GetConfigurationProfileCommandError = async (output, context) => {
|
|
@@ -1714,10 +1620,9 @@ const de_GetConfigurationProfileCommandError = async (output, context) => {
|
|
|
1714
1620
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1715
1621
|
default:
|
|
1716
1622
|
const parsedBody = parsedOutput.body;
|
|
1717
|
-
throwDefaultError({
|
|
1623
|
+
return throwDefaultError({
|
|
1718
1624
|
output,
|
|
1719
1625
|
parsedBody,
|
|
1720
|
-
exceptionCtor: __BaseException,
|
|
1721
1626
|
errorCode,
|
|
1722
1627
|
});
|
|
1723
1628
|
}
|
|
@@ -1730,69 +1635,30 @@ export const de_GetDeploymentCommand = async (output, context) => {
|
|
|
1730
1635
|
$metadata: deserializeMetadata(output),
|
|
1731
1636
|
});
|
|
1732
1637
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
if (data.DeploymentNumber != null) {
|
|
1758
|
-
contents.DeploymentNumber = __expectInt32(data.DeploymentNumber);
|
|
1759
|
-
}
|
|
1760
|
-
if (data.DeploymentStrategyId != null) {
|
|
1761
|
-
contents.DeploymentStrategyId = __expectString(data.DeploymentStrategyId);
|
|
1762
|
-
}
|
|
1763
|
-
if (data.Description != null) {
|
|
1764
|
-
contents.Description = __expectString(data.Description);
|
|
1765
|
-
}
|
|
1766
|
-
if (data.EnvironmentId != null) {
|
|
1767
|
-
contents.EnvironmentId = __expectString(data.EnvironmentId);
|
|
1768
|
-
}
|
|
1769
|
-
if (data.EventLog != null) {
|
|
1770
|
-
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
1771
|
-
}
|
|
1772
|
-
if (data.FinalBakeTimeInMinutes != null) {
|
|
1773
|
-
contents.FinalBakeTimeInMinutes = __expectInt32(data.FinalBakeTimeInMinutes);
|
|
1774
|
-
}
|
|
1775
|
-
if (data.GrowthFactor != null) {
|
|
1776
|
-
contents.GrowthFactor = __limitedParseFloat32(data.GrowthFactor);
|
|
1777
|
-
}
|
|
1778
|
-
if (data.GrowthType != null) {
|
|
1779
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
1780
|
-
}
|
|
1781
|
-
if (data.KmsKeyArn != null) {
|
|
1782
|
-
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
1783
|
-
}
|
|
1784
|
-
if (data.KmsKeyIdentifier != null) {
|
|
1785
|
-
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
1786
|
-
}
|
|
1787
|
-
if (data.PercentageComplete != null) {
|
|
1788
|
-
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
1789
|
-
}
|
|
1790
|
-
if (data.StartedAt != null) {
|
|
1791
|
-
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
1792
|
-
}
|
|
1793
|
-
if (data.State != null) {
|
|
1794
|
-
contents.State = __expectString(data.State);
|
|
1795
|
-
}
|
|
1638
|
+
const doc = take(data, {
|
|
1639
|
+
ApplicationId: __expectString,
|
|
1640
|
+
AppliedExtensions: _json,
|
|
1641
|
+
CompletedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1642
|
+
ConfigurationLocationUri: __expectString,
|
|
1643
|
+
ConfigurationName: __expectString,
|
|
1644
|
+
ConfigurationProfileId: __expectString,
|
|
1645
|
+
ConfigurationVersion: __expectString,
|
|
1646
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
1647
|
+
DeploymentNumber: __expectInt32,
|
|
1648
|
+
DeploymentStrategyId: __expectString,
|
|
1649
|
+
Description: __expectString,
|
|
1650
|
+
EnvironmentId: __expectString,
|
|
1651
|
+
EventLog: (_) => de_DeploymentEvents(_, context),
|
|
1652
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
1653
|
+
GrowthFactor: __limitedParseFloat32,
|
|
1654
|
+
GrowthType: __expectString,
|
|
1655
|
+
KmsKeyArn: __expectString,
|
|
1656
|
+
KmsKeyIdentifier: __expectString,
|
|
1657
|
+
PercentageComplete: __limitedParseFloat32,
|
|
1658
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1659
|
+
State: __expectString,
|
|
1660
|
+
});
|
|
1661
|
+
Object.assign(contents, doc);
|
|
1796
1662
|
return contents;
|
|
1797
1663
|
};
|
|
1798
1664
|
const de_GetDeploymentCommandError = async (output, context) => {
|
|
@@ -1813,10 +1679,9 @@ const de_GetDeploymentCommandError = async (output, context) => {
|
|
|
1813
1679
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1814
1680
|
default:
|
|
1815
1681
|
const parsedBody = parsedOutput.body;
|
|
1816
|
-
throwDefaultError({
|
|
1682
|
+
return throwDefaultError({
|
|
1817
1683
|
output,
|
|
1818
1684
|
parsedBody,
|
|
1819
|
-
exceptionCtor: __BaseException,
|
|
1820
1685
|
errorCode,
|
|
1821
1686
|
});
|
|
1822
1687
|
}
|
|
@@ -1829,30 +1694,17 @@ export const de_GetDeploymentStrategyCommand = async (output, context) => {
|
|
|
1829
1694
|
$metadata: deserializeMetadata(output),
|
|
1830
1695
|
});
|
|
1831
1696
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
}
|
|
1844
|
-
if (data.GrowthType != null) {
|
|
1845
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
1846
|
-
}
|
|
1847
|
-
if (data.Id != null) {
|
|
1848
|
-
contents.Id = __expectString(data.Id);
|
|
1849
|
-
}
|
|
1850
|
-
if (data.Name != null) {
|
|
1851
|
-
contents.Name = __expectString(data.Name);
|
|
1852
|
-
}
|
|
1853
|
-
if (data.ReplicateTo != null) {
|
|
1854
|
-
contents.ReplicateTo = __expectString(data.ReplicateTo);
|
|
1855
|
-
}
|
|
1697
|
+
const doc = take(data, {
|
|
1698
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
1699
|
+
Description: __expectString,
|
|
1700
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
1701
|
+
GrowthFactor: __limitedParseFloat32,
|
|
1702
|
+
GrowthType: __expectString,
|
|
1703
|
+
Id: __expectString,
|
|
1704
|
+
Name: __expectString,
|
|
1705
|
+
ReplicateTo: __expectString,
|
|
1706
|
+
});
|
|
1707
|
+
Object.assign(contents, doc);
|
|
1856
1708
|
return contents;
|
|
1857
1709
|
};
|
|
1858
1710
|
const de_GetDeploymentStrategyCommandError = async (output, context) => {
|
|
@@ -1873,10 +1725,9 @@ const de_GetDeploymentStrategyCommandError = async (output, context) => {
|
|
|
1873
1725
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1874
1726
|
default:
|
|
1875
1727
|
const parsedBody = parsedOutput.body;
|
|
1876
|
-
throwDefaultError({
|
|
1728
|
+
return throwDefaultError({
|
|
1877
1729
|
output,
|
|
1878
1730
|
parsedBody,
|
|
1879
|
-
exceptionCtor: __BaseException,
|
|
1880
1731
|
errorCode,
|
|
1881
1732
|
});
|
|
1882
1733
|
}
|
|
@@ -1889,24 +1740,15 @@ export const de_GetEnvironmentCommand = async (output, context) => {
|
|
|
1889
1740
|
$metadata: deserializeMetadata(output),
|
|
1890
1741
|
});
|
|
1891
1742
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
if (data.Monitors != null) {
|
|
1902
|
-
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
1903
|
-
}
|
|
1904
|
-
if (data.Name != null) {
|
|
1905
|
-
contents.Name = __expectString(data.Name);
|
|
1906
|
-
}
|
|
1907
|
-
if (data.State != null) {
|
|
1908
|
-
contents.State = __expectString(data.State);
|
|
1909
|
-
}
|
|
1743
|
+
const doc = take(data, {
|
|
1744
|
+
ApplicationId: __expectString,
|
|
1745
|
+
Description: __expectString,
|
|
1746
|
+
Id: __expectString,
|
|
1747
|
+
Monitors: _json,
|
|
1748
|
+
Name: __expectString,
|
|
1749
|
+
State: __expectString,
|
|
1750
|
+
});
|
|
1751
|
+
Object.assign(contents, doc);
|
|
1910
1752
|
return contents;
|
|
1911
1753
|
};
|
|
1912
1754
|
const de_GetEnvironmentCommandError = async (output, context) => {
|
|
@@ -1927,10 +1769,9 @@ const de_GetEnvironmentCommandError = async (output, context) => {
|
|
|
1927
1769
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1928
1770
|
default:
|
|
1929
1771
|
const parsedBody = parsedOutput.body;
|
|
1930
|
-
throwDefaultError({
|
|
1772
|
+
return throwDefaultError({
|
|
1931
1773
|
output,
|
|
1932
1774
|
parsedBody,
|
|
1933
|
-
exceptionCtor: __BaseException,
|
|
1934
1775
|
errorCode,
|
|
1935
1776
|
});
|
|
1936
1777
|
}
|
|
@@ -1943,27 +1784,16 @@ export const de_GetExtensionCommand = async (output, context) => {
|
|
|
1943
1784
|
$metadata: deserializeMetadata(output),
|
|
1944
1785
|
});
|
|
1945
1786
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
contents.Id = __expectString(data.Id);
|
|
1957
|
-
}
|
|
1958
|
-
if (data.Name != null) {
|
|
1959
|
-
contents.Name = __expectString(data.Name);
|
|
1960
|
-
}
|
|
1961
|
-
if (data.Parameters != null) {
|
|
1962
|
-
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
1963
|
-
}
|
|
1964
|
-
if (data.VersionNumber != null) {
|
|
1965
|
-
contents.VersionNumber = __expectInt32(data.VersionNumber);
|
|
1966
|
-
}
|
|
1787
|
+
const doc = take(data, {
|
|
1788
|
+
Actions: _json,
|
|
1789
|
+
Arn: __expectString,
|
|
1790
|
+
Description: __expectString,
|
|
1791
|
+
Id: __expectString,
|
|
1792
|
+
Name: __expectString,
|
|
1793
|
+
Parameters: _json,
|
|
1794
|
+
VersionNumber: __expectInt32,
|
|
1795
|
+
});
|
|
1796
|
+
Object.assign(contents, doc);
|
|
1967
1797
|
return contents;
|
|
1968
1798
|
};
|
|
1969
1799
|
const de_GetExtensionCommandError = async (output, context) => {
|
|
@@ -1984,10 +1814,9 @@ const de_GetExtensionCommandError = async (output, context) => {
|
|
|
1984
1814
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1985
1815
|
default:
|
|
1986
1816
|
const parsedBody = parsedOutput.body;
|
|
1987
|
-
throwDefaultError({
|
|
1817
|
+
return throwDefaultError({
|
|
1988
1818
|
output,
|
|
1989
1819
|
parsedBody,
|
|
1990
|
-
exceptionCtor: __BaseException,
|
|
1991
1820
|
errorCode,
|
|
1992
1821
|
});
|
|
1993
1822
|
}
|
|
@@ -2000,24 +1829,15 @@ export const de_GetExtensionAssociationCommand = async (output, context) => {
|
|
|
2000
1829
|
$metadata: deserializeMetadata(output),
|
|
2001
1830
|
});
|
|
2002
1831
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
if (data.Id != null) {
|
|
2013
|
-
contents.Id = __expectString(data.Id);
|
|
2014
|
-
}
|
|
2015
|
-
if (data.Parameters != null) {
|
|
2016
|
-
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
2017
|
-
}
|
|
2018
|
-
if (data.ResourceArn != null) {
|
|
2019
|
-
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
2020
|
-
}
|
|
1832
|
+
const doc = take(data, {
|
|
1833
|
+
Arn: __expectString,
|
|
1834
|
+
ExtensionArn: __expectString,
|
|
1835
|
+
ExtensionVersionNumber: __expectInt32,
|
|
1836
|
+
Id: __expectString,
|
|
1837
|
+
Parameters: _json,
|
|
1838
|
+
ResourceArn: __expectString,
|
|
1839
|
+
});
|
|
1840
|
+
Object.assign(contents, doc);
|
|
2021
1841
|
return contents;
|
|
2022
1842
|
};
|
|
2023
1843
|
const de_GetExtensionAssociationCommandError = async (output, context) => {
|
|
@@ -2038,10 +1858,9 @@ const de_GetExtensionAssociationCommandError = async (output, context) => {
|
|
|
2038
1858
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2039
1859
|
default:
|
|
2040
1860
|
const parsedBody = parsedOutput.body;
|
|
2041
|
-
throwDefaultError({
|
|
1861
|
+
return throwDefaultError({
|
|
2042
1862
|
output,
|
|
2043
1863
|
parsedBody,
|
|
2044
|
-
exceptionCtor: __BaseException,
|
|
2045
1864
|
errorCode,
|
|
2046
1865
|
});
|
|
2047
1866
|
}
|
|
@@ -2084,10 +1903,9 @@ const de_GetHostedConfigurationVersionCommandError = async (output, context) =>
|
|
|
2084
1903
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2085
1904
|
default:
|
|
2086
1905
|
const parsedBody = parsedOutput.body;
|
|
2087
|
-
throwDefaultError({
|
|
1906
|
+
return throwDefaultError({
|
|
2088
1907
|
output,
|
|
2089
1908
|
parsedBody,
|
|
2090
|
-
exceptionCtor: __BaseException,
|
|
2091
1909
|
errorCode,
|
|
2092
1910
|
});
|
|
2093
1911
|
}
|
|
@@ -2100,12 +1918,11 @@ export const de_ListApplicationsCommand = async (output, context) => {
|
|
|
2100
1918
|
$metadata: deserializeMetadata(output),
|
|
2101
1919
|
});
|
|
2102
1920
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
}
|
|
1921
|
+
const doc = take(data, {
|
|
1922
|
+
Items: _json,
|
|
1923
|
+
NextToken: __expectString,
|
|
1924
|
+
});
|
|
1925
|
+
Object.assign(contents, doc);
|
|
2109
1926
|
return contents;
|
|
2110
1927
|
};
|
|
2111
1928
|
const de_ListApplicationsCommandError = async (output, context) => {
|
|
@@ -2123,10 +1940,9 @@ const de_ListApplicationsCommandError = async (output, context) => {
|
|
|
2123
1940
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2124
1941
|
default:
|
|
2125
1942
|
const parsedBody = parsedOutput.body;
|
|
2126
|
-
throwDefaultError({
|
|
1943
|
+
return throwDefaultError({
|
|
2127
1944
|
output,
|
|
2128
1945
|
parsedBody,
|
|
2129
|
-
exceptionCtor: __BaseException,
|
|
2130
1946
|
errorCode,
|
|
2131
1947
|
});
|
|
2132
1948
|
}
|
|
@@ -2139,12 +1955,11 @@ export const de_ListConfigurationProfilesCommand = async (output, context) => {
|
|
|
2139
1955
|
$metadata: deserializeMetadata(output),
|
|
2140
1956
|
});
|
|
2141
1957
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
}
|
|
1958
|
+
const doc = take(data, {
|
|
1959
|
+
Items: _json,
|
|
1960
|
+
NextToken: __expectString,
|
|
1961
|
+
});
|
|
1962
|
+
Object.assign(contents, doc);
|
|
2148
1963
|
return contents;
|
|
2149
1964
|
};
|
|
2150
1965
|
const de_ListConfigurationProfilesCommandError = async (output, context) => {
|
|
@@ -2165,10 +1980,9 @@ const de_ListConfigurationProfilesCommandError = async (output, context) => {
|
|
|
2165
1980
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2166
1981
|
default:
|
|
2167
1982
|
const parsedBody = parsedOutput.body;
|
|
2168
|
-
throwDefaultError({
|
|
1983
|
+
return throwDefaultError({
|
|
2169
1984
|
output,
|
|
2170
1985
|
parsedBody,
|
|
2171
|
-
exceptionCtor: __BaseException,
|
|
2172
1986
|
errorCode,
|
|
2173
1987
|
});
|
|
2174
1988
|
}
|
|
@@ -2181,12 +1995,11 @@ export const de_ListDeploymentsCommand = async (output, context) => {
|
|
|
2181
1995
|
$metadata: deserializeMetadata(output),
|
|
2182
1996
|
});
|
|
2183
1997
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
}
|
|
1998
|
+
const doc = take(data, {
|
|
1999
|
+
Items: (_) => de_DeploymentList(_, context),
|
|
2000
|
+
NextToken: __expectString,
|
|
2001
|
+
});
|
|
2002
|
+
Object.assign(contents, doc);
|
|
2190
2003
|
return contents;
|
|
2191
2004
|
};
|
|
2192
2005
|
const de_ListDeploymentsCommandError = async (output, context) => {
|
|
@@ -2207,10 +2020,9 @@ const de_ListDeploymentsCommandError = async (output, context) => {
|
|
|
2207
2020
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2208
2021
|
default:
|
|
2209
2022
|
const parsedBody = parsedOutput.body;
|
|
2210
|
-
throwDefaultError({
|
|
2023
|
+
return throwDefaultError({
|
|
2211
2024
|
output,
|
|
2212
2025
|
parsedBody,
|
|
2213
|
-
exceptionCtor: __BaseException,
|
|
2214
2026
|
errorCode,
|
|
2215
2027
|
});
|
|
2216
2028
|
}
|
|
@@ -2223,12 +2035,11 @@ export const de_ListDeploymentStrategiesCommand = async (output, context) => {
|
|
|
2223
2035
|
$metadata: deserializeMetadata(output),
|
|
2224
2036
|
});
|
|
2225
2037
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
}
|
|
2038
|
+
const doc = take(data, {
|
|
2039
|
+
Items: (_) => de_DeploymentStrategyList(_, context),
|
|
2040
|
+
NextToken: __expectString,
|
|
2041
|
+
});
|
|
2042
|
+
Object.assign(contents, doc);
|
|
2232
2043
|
return contents;
|
|
2233
2044
|
};
|
|
2234
2045
|
const de_ListDeploymentStrategiesCommandError = async (output, context) => {
|
|
@@ -2246,10 +2057,9 @@ const de_ListDeploymentStrategiesCommandError = async (output, context) => {
|
|
|
2246
2057
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2247
2058
|
default:
|
|
2248
2059
|
const parsedBody = parsedOutput.body;
|
|
2249
|
-
throwDefaultError({
|
|
2060
|
+
return throwDefaultError({
|
|
2250
2061
|
output,
|
|
2251
2062
|
parsedBody,
|
|
2252
|
-
exceptionCtor: __BaseException,
|
|
2253
2063
|
errorCode,
|
|
2254
2064
|
});
|
|
2255
2065
|
}
|
|
@@ -2262,12 +2072,11 @@ export const de_ListEnvironmentsCommand = async (output, context) => {
|
|
|
2262
2072
|
$metadata: deserializeMetadata(output),
|
|
2263
2073
|
});
|
|
2264
2074
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
}
|
|
2075
|
+
const doc = take(data, {
|
|
2076
|
+
Items: _json,
|
|
2077
|
+
NextToken: __expectString,
|
|
2078
|
+
});
|
|
2079
|
+
Object.assign(contents, doc);
|
|
2271
2080
|
return contents;
|
|
2272
2081
|
};
|
|
2273
2082
|
const de_ListEnvironmentsCommandError = async (output, context) => {
|
|
@@ -2288,10 +2097,9 @@ const de_ListEnvironmentsCommandError = async (output, context) => {
|
|
|
2288
2097
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2289
2098
|
default:
|
|
2290
2099
|
const parsedBody = parsedOutput.body;
|
|
2291
|
-
throwDefaultError({
|
|
2100
|
+
return throwDefaultError({
|
|
2292
2101
|
output,
|
|
2293
2102
|
parsedBody,
|
|
2294
|
-
exceptionCtor: __BaseException,
|
|
2295
2103
|
errorCode,
|
|
2296
2104
|
});
|
|
2297
2105
|
}
|
|
@@ -2304,12 +2112,11 @@ export const de_ListExtensionAssociationsCommand = async (output, context) => {
|
|
|
2304
2112
|
$metadata: deserializeMetadata(output),
|
|
2305
2113
|
});
|
|
2306
2114
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
}
|
|
2115
|
+
const doc = take(data, {
|
|
2116
|
+
Items: _json,
|
|
2117
|
+
NextToken: __expectString,
|
|
2118
|
+
});
|
|
2119
|
+
Object.assign(contents, doc);
|
|
2313
2120
|
return contents;
|
|
2314
2121
|
};
|
|
2315
2122
|
const de_ListExtensionAssociationsCommandError = async (output, context) => {
|
|
@@ -2327,10 +2134,9 @@ const de_ListExtensionAssociationsCommandError = async (output, context) => {
|
|
|
2327
2134
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2328
2135
|
default:
|
|
2329
2136
|
const parsedBody = parsedOutput.body;
|
|
2330
|
-
throwDefaultError({
|
|
2137
|
+
return throwDefaultError({
|
|
2331
2138
|
output,
|
|
2332
2139
|
parsedBody,
|
|
2333
|
-
exceptionCtor: __BaseException,
|
|
2334
2140
|
errorCode,
|
|
2335
2141
|
});
|
|
2336
2142
|
}
|
|
@@ -2343,12 +2149,11 @@ export const de_ListExtensionsCommand = async (output, context) => {
|
|
|
2343
2149
|
$metadata: deserializeMetadata(output),
|
|
2344
2150
|
});
|
|
2345
2151
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
}
|
|
2152
|
+
const doc = take(data, {
|
|
2153
|
+
Items: _json,
|
|
2154
|
+
NextToken: __expectString,
|
|
2155
|
+
});
|
|
2156
|
+
Object.assign(contents, doc);
|
|
2352
2157
|
return contents;
|
|
2353
2158
|
};
|
|
2354
2159
|
const de_ListExtensionsCommandError = async (output, context) => {
|
|
@@ -2366,10 +2171,9 @@ const de_ListExtensionsCommandError = async (output, context) => {
|
|
|
2366
2171
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2367
2172
|
default:
|
|
2368
2173
|
const parsedBody = parsedOutput.body;
|
|
2369
|
-
throwDefaultError({
|
|
2174
|
+
return throwDefaultError({
|
|
2370
2175
|
output,
|
|
2371
2176
|
parsedBody,
|
|
2372
|
-
exceptionCtor: __BaseException,
|
|
2373
2177
|
errorCode,
|
|
2374
2178
|
});
|
|
2375
2179
|
}
|
|
@@ -2382,12 +2186,11 @@ export const de_ListHostedConfigurationVersionsCommand = async (output, context)
|
|
|
2382
2186
|
$metadata: deserializeMetadata(output),
|
|
2383
2187
|
});
|
|
2384
2188
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
}
|
|
2189
|
+
const doc = take(data, {
|
|
2190
|
+
Items: _json,
|
|
2191
|
+
NextToken: __expectString,
|
|
2192
|
+
});
|
|
2193
|
+
Object.assign(contents, doc);
|
|
2391
2194
|
return contents;
|
|
2392
2195
|
};
|
|
2393
2196
|
const de_ListHostedConfigurationVersionsCommandError = async (output, context) => {
|
|
@@ -2408,10 +2211,9 @@ const de_ListHostedConfigurationVersionsCommandError = async (output, context) =
|
|
|
2408
2211
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2409
2212
|
default:
|
|
2410
2213
|
const parsedBody = parsedOutput.body;
|
|
2411
|
-
throwDefaultError({
|
|
2214
|
+
return throwDefaultError({
|
|
2412
2215
|
output,
|
|
2413
2216
|
parsedBody,
|
|
2414
|
-
exceptionCtor: __BaseException,
|
|
2415
2217
|
errorCode,
|
|
2416
2218
|
});
|
|
2417
2219
|
}
|
|
@@ -2424,9 +2226,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2424
2226
|
$metadata: deserializeMetadata(output),
|
|
2425
2227
|
});
|
|
2426
2228
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
}
|
|
2229
|
+
const doc = take(data, {
|
|
2230
|
+
Tags: _json,
|
|
2231
|
+
});
|
|
2232
|
+
Object.assign(contents, doc);
|
|
2430
2233
|
return contents;
|
|
2431
2234
|
};
|
|
2432
2235
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2447,10 +2250,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2447
2250
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2448
2251
|
default:
|
|
2449
2252
|
const parsedBody = parsedOutput.body;
|
|
2450
|
-
throwDefaultError({
|
|
2253
|
+
return throwDefaultError({
|
|
2451
2254
|
output,
|
|
2452
2255
|
parsedBody,
|
|
2453
|
-
exceptionCtor: __BaseException,
|
|
2454
2256
|
errorCode,
|
|
2455
2257
|
});
|
|
2456
2258
|
}
|
|
@@ -2463,69 +2265,30 @@ export const de_StartDeploymentCommand = async (output, context) => {
|
|
|
2463
2265
|
$metadata: deserializeMetadata(output),
|
|
2464
2266
|
});
|
|
2465
2267
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
if (data.DeploymentNumber != null) {
|
|
2491
|
-
contents.DeploymentNumber = __expectInt32(data.DeploymentNumber);
|
|
2492
|
-
}
|
|
2493
|
-
if (data.DeploymentStrategyId != null) {
|
|
2494
|
-
contents.DeploymentStrategyId = __expectString(data.DeploymentStrategyId);
|
|
2495
|
-
}
|
|
2496
|
-
if (data.Description != null) {
|
|
2497
|
-
contents.Description = __expectString(data.Description);
|
|
2498
|
-
}
|
|
2499
|
-
if (data.EnvironmentId != null) {
|
|
2500
|
-
contents.EnvironmentId = __expectString(data.EnvironmentId);
|
|
2501
|
-
}
|
|
2502
|
-
if (data.EventLog != null) {
|
|
2503
|
-
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
2504
|
-
}
|
|
2505
|
-
if (data.FinalBakeTimeInMinutes != null) {
|
|
2506
|
-
contents.FinalBakeTimeInMinutes = __expectInt32(data.FinalBakeTimeInMinutes);
|
|
2507
|
-
}
|
|
2508
|
-
if (data.GrowthFactor != null) {
|
|
2509
|
-
contents.GrowthFactor = __limitedParseFloat32(data.GrowthFactor);
|
|
2510
|
-
}
|
|
2511
|
-
if (data.GrowthType != null) {
|
|
2512
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
2513
|
-
}
|
|
2514
|
-
if (data.KmsKeyArn != null) {
|
|
2515
|
-
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
2516
|
-
}
|
|
2517
|
-
if (data.KmsKeyIdentifier != null) {
|
|
2518
|
-
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
2519
|
-
}
|
|
2520
|
-
if (data.PercentageComplete != null) {
|
|
2521
|
-
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2522
|
-
}
|
|
2523
|
-
if (data.StartedAt != null) {
|
|
2524
|
-
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2525
|
-
}
|
|
2526
|
-
if (data.State != null) {
|
|
2527
|
-
contents.State = __expectString(data.State);
|
|
2528
|
-
}
|
|
2268
|
+
const doc = take(data, {
|
|
2269
|
+
ApplicationId: __expectString,
|
|
2270
|
+
AppliedExtensions: _json,
|
|
2271
|
+
CompletedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2272
|
+
ConfigurationLocationUri: __expectString,
|
|
2273
|
+
ConfigurationName: __expectString,
|
|
2274
|
+
ConfigurationProfileId: __expectString,
|
|
2275
|
+
ConfigurationVersion: __expectString,
|
|
2276
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
2277
|
+
DeploymentNumber: __expectInt32,
|
|
2278
|
+
DeploymentStrategyId: __expectString,
|
|
2279
|
+
Description: __expectString,
|
|
2280
|
+
EnvironmentId: __expectString,
|
|
2281
|
+
EventLog: (_) => de_DeploymentEvents(_, context),
|
|
2282
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
2283
|
+
GrowthFactor: __limitedParseFloat32,
|
|
2284
|
+
GrowthType: __expectString,
|
|
2285
|
+
KmsKeyArn: __expectString,
|
|
2286
|
+
KmsKeyIdentifier: __expectString,
|
|
2287
|
+
PercentageComplete: __limitedParseFloat32,
|
|
2288
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2289
|
+
State: __expectString,
|
|
2290
|
+
});
|
|
2291
|
+
Object.assign(contents, doc);
|
|
2529
2292
|
return contents;
|
|
2530
2293
|
};
|
|
2531
2294
|
const de_StartDeploymentCommandError = async (output, context) => {
|
|
@@ -2549,10 +2312,9 @@ const de_StartDeploymentCommandError = async (output, context) => {
|
|
|
2549
2312
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2550
2313
|
default:
|
|
2551
2314
|
const parsedBody = parsedOutput.body;
|
|
2552
|
-
throwDefaultError({
|
|
2315
|
+
return throwDefaultError({
|
|
2553
2316
|
output,
|
|
2554
2317
|
parsedBody,
|
|
2555
|
-
exceptionCtor: __BaseException,
|
|
2556
2318
|
errorCode,
|
|
2557
2319
|
});
|
|
2558
2320
|
}
|
|
@@ -2565,69 +2327,30 @@ export const de_StopDeploymentCommand = async (output, context) => {
|
|
|
2565
2327
|
$metadata: deserializeMetadata(output),
|
|
2566
2328
|
});
|
|
2567
2329
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
if (data.DeploymentNumber != null) {
|
|
2593
|
-
contents.DeploymentNumber = __expectInt32(data.DeploymentNumber);
|
|
2594
|
-
}
|
|
2595
|
-
if (data.DeploymentStrategyId != null) {
|
|
2596
|
-
contents.DeploymentStrategyId = __expectString(data.DeploymentStrategyId);
|
|
2597
|
-
}
|
|
2598
|
-
if (data.Description != null) {
|
|
2599
|
-
contents.Description = __expectString(data.Description);
|
|
2600
|
-
}
|
|
2601
|
-
if (data.EnvironmentId != null) {
|
|
2602
|
-
contents.EnvironmentId = __expectString(data.EnvironmentId);
|
|
2603
|
-
}
|
|
2604
|
-
if (data.EventLog != null) {
|
|
2605
|
-
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
2606
|
-
}
|
|
2607
|
-
if (data.FinalBakeTimeInMinutes != null) {
|
|
2608
|
-
contents.FinalBakeTimeInMinutes = __expectInt32(data.FinalBakeTimeInMinutes);
|
|
2609
|
-
}
|
|
2610
|
-
if (data.GrowthFactor != null) {
|
|
2611
|
-
contents.GrowthFactor = __limitedParseFloat32(data.GrowthFactor);
|
|
2612
|
-
}
|
|
2613
|
-
if (data.GrowthType != null) {
|
|
2614
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
2615
|
-
}
|
|
2616
|
-
if (data.KmsKeyArn != null) {
|
|
2617
|
-
contents.KmsKeyArn = __expectString(data.KmsKeyArn);
|
|
2618
|
-
}
|
|
2619
|
-
if (data.KmsKeyIdentifier != null) {
|
|
2620
|
-
contents.KmsKeyIdentifier = __expectString(data.KmsKeyIdentifier);
|
|
2621
|
-
}
|
|
2622
|
-
if (data.PercentageComplete != null) {
|
|
2623
|
-
contents.PercentageComplete = __limitedParseFloat32(data.PercentageComplete);
|
|
2624
|
-
}
|
|
2625
|
-
if (data.StartedAt != null) {
|
|
2626
|
-
contents.StartedAt = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.StartedAt));
|
|
2627
|
-
}
|
|
2628
|
-
if (data.State != null) {
|
|
2629
|
-
contents.State = __expectString(data.State);
|
|
2630
|
-
}
|
|
2330
|
+
const doc = take(data, {
|
|
2331
|
+
ApplicationId: __expectString,
|
|
2332
|
+
AppliedExtensions: _json,
|
|
2333
|
+
CompletedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2334
|
+
ConfigurationLocationUri: __expectString,
|
|
2335
|
+
ConfigurationName: __expectString,
|
|
2336
|
+
ConfigurationProfileId: __expectString,
|
|
2337
|
+
ConfigurationVersion: __expectString,
|
|
2338
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
2339
|
+
DeploymentNumber: __expectInt32,
|
|
2340
|
+
DeploymentStrategyId: __expectString,
|
|
2341
|
+
Description: __expectString,
|
|
2342
|
+
EnvironmentId: __expectString,
|
|
2343
|
+
EventLog: (_) => de_DeploymentEvents(_, context),
|
|
2344
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
2345
|
+
GrowthFactor: __limitedParseFloat32,
|
|
2346
|
+
GrowthType: __expectString,
|
|
2347
|
+
KmsKeyArn: __expectString,
|
|
2348
|
+
KmsKeyIdentifier: __expectString,
|
|
2349
|
+
PercentageComplete: __limitedParseFloat32,
|
|
2350
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2351
|
+
State: __expectString,
|
|
2352
|
+
});
|
|
2353
|
+
Object.assign(contents, doc);
|
|
2631
2354
|
return contents;
|
|
2632
2355
|
};
|
|
2633
2356
|
const de_StopDeploymentCommandError = async (output, context) => {
|
|
@@ -2648,10 +2371,9 @@ const de_StopDeploymentCommandError = async (output, context) => {
|
|
|
2648
2371
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2649
2372
|
default:
|
|
2650
2373
|
const parsedBody = parsedOutput.body;
|
|
2651
|
-
throwDefaultError({
|
|
2374
|
+
return throwDefaultError({
|
|
2652
2375
|
output,
|
|
2653
2376
|
parsedBody,
|
|
2654
|
-
exceptionCtor: __BaseException,
|
|
2655
2377
|
errorCode,
|
|
2656
2378
|
});
|
|
2657
2379
|
}
|
|
@@ -2684,10 +2406,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2684
2406
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2685
2407
|
default:
|
|
2686
2408
|
const parsedBody = parsedOutput.body;
|
|
2687
|
-
throwDefaultError({
|
|
2409
|
+
return throwDefaultError({
|
|
2688
2410
|
output,
|
|
2689
2411
|
parsedBody,
|
|
2690
|
-
exceptionCtor: __BaseException,
|
|
2691
2412
|
errorCode,
|
|
2692
2413
|
});
|
|
2693
2414
|
}
|
|
@@ -2720,10 +2441,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2720
2441
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2721
2442
|
default:
|
|
2722
2443
|
const parsedBody = parsedOutput.body;
|
|
2723
|
-
throwDefaultError({
|
|
2444
|
+
return throwDefaultError({
|
|
2724
2445
|
output,
|
|
2725
2446
|
parsedBody,
|
|
2726
|
-
exceptionCtor: __BaseException,
|
|
2727
2447
|
errorCode,
|
|
2728
2448
|
});
|
|
2729
2449
|
}
|
|
@@ -2736,15 +2456,12 @@ export const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
2736
2456
|
$metadata: deserializeMetadata(output),
|
|
2737
2457
|
});
|
|
2738
2458
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
if (data.Name != null) {
|
|
2746
|
-
contents.Name = __expectString(data.Name);
|
|
2747
|
-
}
|
|
2459
|
+
const doc = take(data, {
|
|
2460
|
+
Description: __expectString,
|
|
2461
|
+
Id: __expectString,
|
|
2462
|
+
Name: __expectString,
|
|
2463
|
+
});
|
|
2464
|
+
Object.assign(contents, doc);
|
|
2748
2465
|
return contents;
|
|
2749
2466
|
};
|
|
2750
2467
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -2765,10 +2482,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
2765
2482
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2766
2483
|
default:
|
|
2767
2484
|
const parsedBody = parsedOutput.body;
|
|
2768
|
-
throwDefaultError({
|
|
2485
|
+
return throwDefaultError({
|
|
2769
2486
|
output,
|
|
2770
2487
|
parsedBody,
|
|
2771
|
-
exceptionCtor: __BaseException,
|
|
2772
2488
|
errorCode,
|
|
2773
2489
|
});
|
|
2774
2490
|
}
|
|
@@ -2781,30 +2497,17 @@ export const de_UpdateConfigurationProfileCommand = async (output, context) => {
|
|
|
2781
2497
|
$metadata: deserializeMetadata(output),
|
|
2782
2498
|
});
|
|
2783
2499
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
}
|
|
2796
|
-
if (data.Name != null) {
|
|
2797
|
-
contents.Name = __expectString(data.Name);
|
|
2798
|
-
}
|
|
2799
|
-
if (data.RetrievalRoleArn != null) {
|
|
2800
|
-
contents.RetrievalRoleArn = __expectString(data.RetrievalRoleArn);
|
|
2801
|
-
}
|
|
2802
|
-
if (data.Type != null) {
|
|
2803
|
-
contents.Type = __expectString(data.Type);
|
|
2804
|
-
}
|
|
2805
|
-
if (data.Validators != null) {
|
|
2806
|
-
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
2807
|
-
}
|
|
2500
|
+
const doc = take(data, {
|
|
2501
|
+
ApplicationId: __expectString,
|
|
2502
|
+
Description: __expectString,
|
|
2503
|
+
Id: __expectString,
|
|
2504
|
+
LocationUri: __expectString,
|
|
2505
|
+
Name: __expectString,
|
|
2506
|
+
RetrievalRoleArn: __expectString,
|
|
2507
|
+
Type: __expectString,
|
|
2508
|
+
Validators: _json,
|
|
2509
|
+
});
|
|
2510
|
+
Object.assign(contents, doc);
|
|
2808
2511
|
return contents;
|
|
2809
2512
|
};
|
|
2810
2513
|
const de_UpdateConfigurationProfileCommandError = async (output, context) => {
|
|
@@ -2825,10 +2528,9 @@ const de_UpdateConfigurationProfileCommandError = async (output, context) => {
|
|
|
2825
2528
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2826
2529
|
default:
|
|
2827
2530
|
const parsedBody = parsedOutput.body;
|
|
2828
|
-
throwDefaultError({
|
|
2531
|
+
return throwDefaultError({
|
|
2829
2532
|
output,
|
|
2830
2533
|
parsedBody,
|
|
2831
|
-
exceptionCtor: __BaseException,
|
|
2832
2534
|
errorCode,
|
|
2833
2535
|
});
|
|
2834
2536
|
}
|
|
@@ -2841,30 +2543,17 @@ export const de_UpdateDeploymentStrategyCommand = async (output, context) => {
|
|
|
2841
2543
|
$metadata: deserializeMetadata(output),
|
|
2842
2544
|
});
|
|
2843
2545
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
}
|
|
2856
|
-
if (data.GrowthType != null) {
|
|
2857
|
-
contents.GrowthType = __expectString(data.GrowthType);
|
|
2858
|
-
}
|
|
2859
|
-
if (data.Id != null) {
|
|
2860
|
-
contents.Id = __expectString(data.Id);
|
|
2861
|
-
}
|
|
2862
|
-
if (data.Name != null) {
|
|
2863
|
-
contents.Name = __expectString(data.Name);
|
|
2864
|
-
}
|
|
2865
|
-
if (data.ReplicateTo != null) {
|
|
2866
|
-
contents.ReplicateTo = __expectString(data.ReplicateTo);
|
|
2867
|
-
}
|
|
2546
|
+
const doc = take(data, {
|
|
2547
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
2548
|
+
Description: __expectString,
|
|
2549
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
2550
|
+
GrowthFactor: __limitedParseFloat32,
|
|
2551
|
+
GrowthType: __expectString,
|
|
2552
|
+
Id: __expectString,
|
|
2553
|
+
Name: __expectString,
|
|
2554
|
+
ReplicateTo: __expectString,
|
|
2555
|
+
});
|
|
2556
|
+
Object.assign(contents, doc);
|
|
2868
2557
|
return contents;
|
|
2869
2558
|
};
|
|
2870
2559
|
const de_UpdateDeploymentStrategyCommandError = async (output, context) => {
|
|
@@ -2885,10 +2574,9 @@ const de_UpdateDeploymentStrategyCommandError = async (output, context) => {
|
|
|
2885
2574
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2886
2575
|
default:
|
|
2887
2576
|
const parsedBody = parsedOutput.body;
|
|
2888
|
-
throwDefaultError({
|
|
2577
|
+
return throwDefaultError({
|
|
2889
2578
|
output,
|
|
2890
2579
|
parsedBody,
|
|
2891
|
-
exceptionCtor: __BaseException,
|
|
2892
2580
|
errorCode,
|
|
2893
2581
|
});
|
|
2894
2582
|
}
|
|
@@ -2901,24 +2589,15 @@ export const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
|
2901
2589
|
$metadata: deserializeMetadata(output),
|
|
2902
2590
|
});
|
|
2903
2591
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
if (data.Monitors != null) {
|
|
2914
|
-
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
2915
|
-
}
|
|
2916
|
-
if (data.Name != null) {
|
|
2917
|
-
contents.Name = __expectString(data.Name);
|
|
2918
|
-
}
|
|
2919
|
-
if (data.State != null) {
|
|
2920
|
-
contents.State = __expectString(data.State);
|
|
2921
|
-
}
|
|
2592
|
+
const doc = take(data, {
|
|
2593
|
+
ApplicationId: __expectString,
|
|
2594
|
+
Description: __expectString,
|
|
2595
|
+
Id: __expectString,
|
|
2596
|
+
Monitors: _json,
|
|
2597
|
+
Name: __expectString,
|
|
2598
|
+
State: __expectString,
|
|
2599
|
+
});
|
|
2600
|
+
Object.assign(contents, doc);
|
|
2922
2601
|
return contents;
|
|
2923
2602
|
};
|
|
2924
2603
|
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
@@ -2939,10 +2618,9 @@ const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
|
2939
2618
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2940
2619
|
default:
|
|
2941
2620
|
const parsedBody = parsedOutput.body;
|
|
2942
|
-
throwDefaultError({
|
|
2621
|
+
return throwDefaultError({
|
|
2943
2622
|
output,
|
|
2944
2623
|
parsedBody,
|
|
2945
|
-
exceptionCtor: __BaseException,
|
|
2946
2624
|
errorCode,
|
|
2947
2625
|
});
|
|
2948
2626
|
}
|
|
@@ -2955,27 +2633,16 @@ export const de_UpdateExtensionCommand = async (output, context) => {
|
|
|
2955
2633
|
$metadata: deserializeMetadata(output),
|
|
2956
2634
|
});
|
|
2957
2635
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
contents.Id = __expectString(data.Id);
|
|
2969
|
-
}
|
|
2970
|
-
if (data.Name != null) {
|
|
2971
|
-
contents.Name = __expectString(data.Name);
|
|
2972
|
-
}
|
|
2973
|
-
if (data.Parameters != null) {
|
|
2974
|
-
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
2975
|
-
}
|
|
2976
|
-
if (data.VersionNumber != null) {
|
|
2977
|
-
contents.VersionNumber = __expectInt32(data.VersionNumber);
|
|
2978
|
-
}
|
|
2636
|
+
const doc = take(data, {
|
|
2637
|
+
Actions: _json,
|
|
2638
|
+
Arn: __expectString,
|
|
2639
|
+
Description: __expectString,
|
|
2640
|
+
Id: __expectString,
|
|
2641
|
+
Name: __expectString,
|
|
2642
|
+
Parameters: _json,
|
|
2643
|
+
VersionNumber: __expectInt32,
|
|
2644
|
+
});
|
|
2645
|
+
Object.assign(contents, doc);
|
|
2979
2646
|
return contents;
|
|
2980
2647
|
};
|
|
2981
2648
|
const de_UpdateExtensionCommandError = async (output, context) => {
|
|
@@ -2999,10 +2666,9 @@ const de_UpdateExtensionCommandError = async (output, context) => {
|
|
|
2999
2666
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3000
2667
|
default:
|
|
3001
2668
|
const parsedBody = parsedOutput.body;
|
|
3002
|
-
throwDefaultError({
|
|
2669
|
+
return throwDefaultError({
|
|
3003
2670
|
output,
|
|
3004
2671
|
parsedBody,
|
|
3005
|
-
exceptionCtor: __BaseException,
|
|
3006
2672
|
errorCode,
|
|
3007
2673
|
});
|
|
3008
2674
|
}
|
|
@@ -3015,24 +2681,15 @@ export const de_UpdateExtensionAssociationCommand = async (output, context) => {
|
|
|
3015
2681
|
$metadata: deserializeMetadata(output),
|
|
3016
2682
|
});
|
|
3017
2683
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
if (data.Id != null) {
|
|
3028
|
-
contents.Id = __expectString(data.Id);
|
|
3029
|
-
}
|
|
3030
|
-
if (data.Parameters != null) {
|
|
3031
|
-
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
3032
|
-
}
|
|
3033
|
-
if (data.ResourceArn != null) {
|
|
3034
|
-
contents.ResourceArn = __expectString(data.ResourceArn);
|
|
3035
|
-
}
|
|
2684
|
+
const doc = take(data, {
|
|
2685
|
+
Arn: __expectString,
|
|
2686
|
+
ExtensionArn: __expectString,
|
|
2687
|
+
ExtensionVersionNumber: __expectInt32,
|
|
2688
|
+
Id: __expectString,
|
|
2689
|
+
Parameters: _json,
|
|
2690
|
+
ResourceArn: __expectString,
|
|
2691
|
+
});
|
|
2692
|
+
Object.assign(contents, doc);
|
|
3036
2693
|
return contents;
|
|
3037
2694
|
};
|
|
3038
2695
|
const de_UpdateExtensionAssociationCommandError = async (output, context) => {
|
|
@@ -3053,10 +2710,9 @@ const de_UpdateExtensionAssociationCommandError = async (output, context) => {
|
|
|
3053
2710
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3054
2711
|
default:
|
|
3055
2712
|
const parsedBody = parsedOutput.body;
|
|
3056
|
-
throwDefaultError({
|
|
2713
|
+
return throwDefaultError({
|
|
3057
2714
|
output,
|
|
3058
2715
|
parsedBody,
|
|
3059
|
-
exceptionCtor: __BaseException,
|
|
3060
2716
|
errorCode,
|
|
3061
2717
|
});
|
|
3062
2718
|
}
|
|
@@ -3089,27 +2745,23 @@ const de_ValidateConfigurationCommandError = async (output, context) => {
|
|
|
3089
2745
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3090
2746
|
default:
|
|
3091
2747
|
const parsedBody = parsedOutput.body;
|
|
3092
|
-
throwDefaultError({
|
|
2748
|
+
return throwDefaultError({
|
|
3093
2749
|
output,
|
|
3094
2750
|
parsedBody,
|
|
3095
|
-
exceptionCtor: __BaseException,
|
|
3096
2751
|
errorCode,
|
|
3097
2752
|
});
|
|
3098
2753
|
}
|
|
3099
2754
|
};
|
|
3100
|
-
const
|
|
2755
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
3101
2756
|
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
3102
2757
|
const contents = map({});
|
|
3103
2758
|
const data = parsedOutput.body;
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
if (data.Reason != null) {
|
|
3111
|
-
contents.Reason = __expectString(data.Reason);
|
|
3112
|
-
}
|
|
2759
|
+
const doc = take(data, {
|
|
2760
|
+
Details: (_) => _json(__expectUnion(_)),
|
|
2761
|
+
Message: __expectString,
|
|
2762
|
+
Reason: __expectString,
|
|
2763
|
+
});
|
|
2764
|
+
Object.assign(contents, doc);
|
|
3113
2765
|
const exception = new BadRequestException({
|
|
3114
2766
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3115
2767
|
...contents,
|
|
@@ -3119,9 +2771,10 @@ const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
3119
2771
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3120
2772
|
const contents = map({});
|
|
3121
2773
|
const data = parsedOutput.body;
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
}
|
|
2774
|
+
const doc = take(data, {
|
|
2775
|
+
Message: __expectString,
|
|
2776
|
+
});
|
|
2777
|
+
Object.assign(contents, doc);
|
|
3125
2778
|
const exception = new ConflictException({
|
|
3126
2779
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3127
2780
|
...contents,
|
|
@@ -3131,9 +2784,10 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3131
2784
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3132
2785
|
const contents = map({});
|
|
3133
2786
|
const data = parsedOutput.body;
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
}
|
|
2787
|
+
const doc = take(data, {
|
|
2788
|
+
Message: __expectString,
|
|
2789
|
+
});
|
|
2790
|
+
Object.assign(contents, doc);
|
|
3137
2791
|
const exception = new InternalServerException({
|
|
3138
2792
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3139
2793
|
...contents,
|
|
@@ -3143,18 +2797,13 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
3143
2797
|
const de_PayloadTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
3144
2798
|
const contents = map({});
|
|
3145
2799
|
const data = parsedOutput.body;
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
}
|
|
3152
|
-
|
|
3153
|
-
contents.Message = __expectString(data.Message);
|
|
3154
|
-
}
|
|
3155
|
-
if (data.Size != null) {
|
|
3156
|
-
contents.Size = __limitedParseFloat32(data.Size);
|
|
3157
|
-
}
|
|
2800
|
+
const doc = take(data, {
|
|
2801
|
+
Limit: __limitedParseFloat32,
|
|
2802
|
+
Measure: __expectString,
|
|
2803
|
+
Message: __expectString,
|
|
2804
|
+
Size: __limitedParseFloat32,
|
|
2805
|
+
});
|
|
2806
|
+
Object.assign(contents, doc);
|
|
3158
2807
|
const exception = new PayloadTooLargeException({
|
|
3159
2808
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3160
2809
|
...contents,
|
|
@@ -3164,12 +2813,11 @@ const de_PayloadTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
|
3164
2813
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3165
2814
|
const contents = map({});
|
|
3166
2815
|
const data = parsedOutput.body;
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
}
|
|
2816
|
+
const doc = take(data, {
|
|
2817
|
+
Message: __expectString,
|
|
2818
|
+
ResourceName: __expectString,
|
|
2819
|
+
});
|
|
2820
|
+
Object.assign(contents, doc);
|
|
3173
2821
|
const exception = new ResourceNotFoundException({
|
|
3174
2822
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3175
2823
|
...contents,
|
|
@@ -3179,230 +2827,29 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3179
2827
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3180
2828
|
const contents = map({});
|
|
3181
2829
|
const data = parsedOutput.body;
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
}
|
|
2830
|
+
const doc = take(data, {
|
|
2831
|
+
Message: __expectString,
|
|
2832
|
+
});
|
|
2833
|
+
Object.assign(contents, doc);
|
|
3185
2834
|
const exception = new ServiceQuotaExceededException({
|
|
3186
2835
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3187
2836
|
...contents,
|
|
3188
2837
|
});
|
|
3189
2838
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3190
2839
|
};
|
|
3191
|
-
const se_Action = (input, context) => {
|
|
3192
|
-
return {
|
|
3193
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3194
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3195
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
3196
|
-
...(input.Uri != null && { Uri: input.Uri }),
|
|
3197
|
-
};
|
|
3198
|
-
};
|
|
3199
|
-
const se_ActionList = (input, context) => {
|
|
3200
|
-
return input
|
|
3201
|
-
.filter((e) => e != null)
|
|
3202
|
-
.map((entry) => {
|
|
3203
|
-
return se_Action(entry, context);
|
|
3204
|
-
});
|
|
3205
|
-
};
|
|
3206
|
-
const se_ActionsMap = (input, context) => {
|
|
3207
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3208
|
-
if (value === null) {
|
|
3209
|
-
return acc;
|
|
3210
|
-
}
|
|
3211
|
-
acc[key] = se_ActionList(value, context);
|
|
3212
|
-
return acc;
|
|
3213
|
-
}, {});
|
|
3214
|
-
};
|
|
3215
|
-
const se_Monitor = (input, context) => {
|
|
3216
|
-
return {
|
|
3217
|
-
...(input.AlarmArn != null && { AlarmArn: input.AlarmArn }),
|
|
3218
|
-
...(input.AlarmRoleArn != null && { AlarmRoleArn: input.AlarmRoleArn }),
|
|
3219
|
-
};
|
|
3220
|
-
};
|
|
3221
|
-
const se_MonitorList = (input, context) => {
|
|
3222
|
-
return input
|
|
3223
|
-
.filter((e) => e != null)
|
|
3224
|
-
.map((entry) => {
|
|
3225
|
-
return se_Monitor(entry, context);
|
|
3226
|
-
});
|
|
3227
|
-
};
|
|
3228
|
-
const se_Parameter = (input, context) => {
|
|
3229
|
-
return {
|
|
3230
|
-
...(input.Description != null && { Description: input.Description }),
|
|
3231
|
-
...(input.Required != null && { Required: input.Required }),
|
|
3232
|
-
};
|
|
3233
|
-
};
|
|
3234
|
-
const se_ParameterMap = (input, context) => {
|
|
3235
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3236
|
-
if (value === null) {
|
|
3237
|
-
return acc;
|
|
3238
|
-
}
|
|
3239
|
-
acc[key] = se_Parameter(value, context);
|
|
3240
|
-
return acc;
|
|
3241
|
-
}, {});
|
|
3242
|
-
};
|
|
3243
|
-
const se_ParameterValueMap = (input, context) => {
|
|
3244
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3245
|
-
if (value === null) {
|
|
3246
|
-
return acc;
|
|
3247
|
-
}
|
|
3248
|
-
acc[key] = value;
|
|
3249
|
-
return acc;
|
|
3250
|
-
}, {});
|
|
3251
|
-
};
|
|
3252
|
-
const se_TagMap = (input, context) => {
|
|
3253
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3254
|
-
if (value === null) {
|
|
3255
|
-
return acc;
|
|
3256
|
-
}
|
|
3257
|
-
acc[key] = value;
|
|
3258
|
-
return acc;
|
|
3259
|
-
}, {});
|
|
3260
|
-
};
|
|
3261
|
-
const se_Validator = (input, context) => {
|
|
3262
|
-
return {
|
|
3263
|
-
...(input.Content != null && { Content: input.Content }),
|
|
3264
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3265
|
-
};
|
|
3266
|
-
};
|
|
3267
|
-
const se_ValidatorList = (input, context) => {
|
|
3268
|
-
return input
|
|
3269
|
-
.filter((e) => e != null)
|
|
3270
|
-
.map((entry) => {
|
|
3271
|
-
return se_Validator(entry, context);
|
|
3272
|
-
});
|
|
3273
|
-
};
|
|
3274
|
-
const de_Action = (output, context) => {
|
|
3275
|
-
return {
|
|
3276
|
-
Description: __expectString(output.Description),
|
|
3277
|
-
Name: __expectString(output.Name),
|
|
3278
|
-
RoleArn: __expectString(output.RoleArn),
|
|
3279
|
-
Uri: __expectString(output.Uri),
|
|
3280
|
-
};
|
|
3281
|
-
};
|
|
3282
|
-
const de_ActionInvocation = (output, context) => {
|
|
3283
|
-
return {
|
|
3284
|
-
ActionName: __expectString(output.ActionName),
|
|
3285
|
-
ErrorCode: __expectString(output.ErrorCode),
|
|
3286
|
-
ErrorMessage: __expectString(output.ErrorMessage),
|
|
3287
|
-
ExtensionIdentifier: __expectString(output.ExtensionIdentifier),
|
|
3288
|
-
InvocationId: __expectString(output.InvocationId),
|
|
3289
|
-
RoleArn: __expectString(output.RoleArn),
|
|
3290
|
-
Uri: __expectString(output.Uri),
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
const de_ActionInvocations = (output, context) => {
|
|
3294
|
-
const retVal = (output || [])
|
|
3295
|
-
.filter((e) => e != null)
|
|
3296
|
-
.map((entry) => {
|
|
3297
|
-
if (entry === null) {
|
|
3298
|
-
return null;
|
|
3299
|
-
}
|
|
3300
|
-
return de_ActionInvocation(entry, context);
|
|
3301
|
-
});
|
|
3302
|
-
return retVal;
|
|
3303
|
-
};
|
|
3304
|
-
const de_ActionList = (output, context) => {
|
|
3305
|
-
const retVal = (output || [])
|
|
3306
|
-
.filter((e) => e != null)
|
|
3307
|
-
.map((entry) => {
|
|
3308
|
-
if (entry === null) {
|
|
3309
|
-
return null;
|
|
3310
|
-
}
|
|
3311
|
-
return de_Action(entry, context);
|
|
3312
|
-
});
|
|
3313
|
-
return retVal;
|
|
3314
|
-
};
|
|
3315
|
-
const de_ActionsMap = (output, context) => {
|
|
3316
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3317
|
-
if (value === null) {
|
|
3318
|
-
return acc;
|
|
3319
|
-
}
|
|
3320
|
-
acc[key] = de_ActionList(value, context);
|
|
3321
|
-
return acc;
|
|
3322
|
-
}, {});
|
|
3323
|
-
};
|
|
3324
|
-
const de_Application = (output, context) => {
|
|
3325
|
-
return {
|
|
3326
|
-
Description: __expectString(output.Description),
|
|
3327
|
-
Id: __expectString(output.Id),
|
|
3328
|
-
Name: __expectString(output.Name),
|
|
3329
|
-
};
|
|
3330
|
-
};
|
|
3331
|
-
const de_ApplicationList = (output, context) => {
|
|
3332
|
-
const retVal = (output || [])
|
|
3333
|
-
.filter((e) => e != null)
|
|
3334
|
-
.map((entry) => {
|
|
3335
|
-
if (entry === null) {
|
|
3336
|
-
return null;
|
|
3337
|
-
}
|
|
3338
|
-
return de_Application(entry, context);
|
|
3339
|
-
});
|
|
3340
|
-
return retVal;
|
|
3341
|
-
};
|
|
3342
|
-
const de_AppliedExtension = (output, context) => {
|
|
3343
|
-
return {
|
|
3344
|
-
ExtensionAssociationId: __expectString(output.ExtensionAssociationId),
|
|
3345
|
-
ExtensionId: __expectString(output.ExtensionId),
|
|
3346
|
-
Parameters: output.Parameters != null ? de_ParameterValueMap(output.Parameters, context) : undefined,
|
|
3347
|
-
VersionNumber: __expectInt32(output.VersionNumber),
|
|
3348
|
-
};
|
|
3349
|
-
};
|
|
3350
|
-
const de_AppliedExtensions = (output, context) => {
|
|
3351
|
-
const retVal = (output || [])
|
|
3352
|
-
.filter((e) => e != null)
|
|
3353
|
-
.map((entry) => {
|
|
3354
|
-
if (entry === null) {
|
|
3355
|
-
return null;
|
|
3356
|
-
}
|
|
3357
|
-
return de_AppliedExtension(entry, context);
|
|
3358
|
-
});
|
|
3359
|
-
return retVal;
|
|
3360
|
-
};
|
|
3361
|
-
const de_BadRequestDetails = (output, context) => {
|
|
3362
|
-
if (output.InvalidConfiguration != null) {
|
|
3363
|
-
return {
|
|
3364
|
-
InvalidConfiguration: de_InvalidConfigurationDetailList(output.InvalidConfiguration, context),
|
|
3365
|
-
};
|
|
3366
|
-
}
|
|
3367
|
-
return { $unknown: Object.entries(output)[0] };
|
|
3368
|
-
};
|
|
3369
|
-
const de_ConfigurationProfileSummary = (output, context) => {
|
|
3370
|
-
return {
|
|
3371
|
-
ApplicationId: __expectString(output.ApplicationId),
|
|
3372
|
-
Id: __expectString(output.Id),
|
|
3373
|
-
LocationUri: __expectString(output.LocationUri),
|
|
3374
|
-
Name: __expectString(output.Name),
|
|
3375
|
-
Type: __expectString(output.Type),
|
|
3376
|
-
ValidatorTypes: output.ValidatorTypes != null ? de_ValidatorTypeList(output.ValidatorTypes, context) : undefined,
|
|
3377
|
-
};
|
|
3378
|
-
};
|
|
3379
|
-
const de_ConfigurationProfileSummaryList = (output, context) => {
|
|
3380
|
-
const retVal = (output || [])
|
|
3381
|
-
.filter((e) => e != null)
|
|
3382
|
-
.map((entry) => {
|
|
3383
|
-
if (entry === null) {
|
|
3384
|
-
return null;
|
|
3385
|
-
}
|
|
3386
|
-
return de_ConfigurationProfileSummary(entry, context);
|
|
3387
|
-
});
|
|
3388
|
-
return retVal;
|
|
3389
|
-
};
|
|
3390
2840
|
const de_DeploymentEvent = (output, context) => {
|
|
3391
|
-
return {
|
|
3392
|
-
ActionInvocations:
|
|
3393
|
-
Description: __expectString
|
|
3394
|
-
EventType: __expectString
|
|
3395
|
-
OccurredAt:
|
|
3396
|
-
TriggeredBy: __expectString
|
|
3397
|
-
};
|
|
2841
|
+
return take(output, {
|
|
2842
|
+
ActionInvocations: _json,
|
|
2843
|
+
Description: __expectString,
|
|
2844
|
+
EventType: __expectString,
|
|
2845
|
+
OccurredAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2846
|
+
TriggeredBy: __expectString,
|
|
2847
|
+
});
|
|
3398
2848
|
};
|
|
3399
2849
|
const de_DeploymentEvents = (output, context) => {
|
|
3400
2850
|
const retVal = (output || [])
|
|
3401
2851
|
.filter((e) => e != null)
|
|
3402
2852
|
.map((entry) => {
|
|
3403
|
-
if (entry === null) {
|
|
3404
|
-
return null;
|
|
3405
|
-
}
|
|
3406
2853
|
return de_DeploymentEvent(entry, context);
|
|
3407
2854
|
});
|
|
3408
2855
|
return retVal;
|
|
@@ -3411,228 +2858,44 @@ const de_DeploymentList = (output, context) => {
|
|
|
3411
2858
|
const retVal = (output || [])
|
|
3412
2859
|
.filter((e) => e != null)
|
|
3413
2860
|
.map((entry) => {
|
|
3414
|
-
if (entry === null) {
|
|
3415
|
-
return null;
|
|
3416
|
-
}
|
|
3417
2861
|
return de_DeploymentSummary(entry, context);
|
|
3418
2862
|
});
|
|
3419
2863
|
return retVal;
|
|
3420
2864
|
};
|
|
3421
2865
|
const de_DeploymentStrategy = (output, context) => {
|
|
3422
|
-
return {
|
|
3423
|
-
DeploymentDurationInMinutes: __expectInt32
|
|
3424
|
-
Description: __expectString
|
|
3425
|
-
FinalBakeTimeInMinutes: __expectInt32
|
|
3426
|
-
GrowthFactor: __limitedParseFloat32
|
|
3427
|
-
GrowthType: __expectString
|
|
3428
|
-
Id: __expectString
|
|
3429
|
-
Name: __expectString
|
|
3430
|
-
ReplicateTo: __expectString
|
|
3431
|
-
};
|
|
2866
|
+
return take(output, {
|
|
2867
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
2868
|
+
Description: __expectString,
|
|
2869
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
2870
|
+
GrowthFactor: __limitedParseFloat32,
|
|
2871
|
+
GrowthType: __expectString,
|
|
2872
|
+
Id: __expectString,
|
|
2873
|
+
Name: __expectString,
|
|
2874
|
+
ReplicateTo: __expectString,
|
|
2875
|
+
});
|
|
3432
2876
|
};
|
|
3433
2877
|
const de_DeploymentStrategyList = (output, context) => {
|
|
3434
2878
|
const retVal = (output || [])
|
|
3435
2879
|
.filter((e) => e != null)
|
|
3436
2880
|
.map((entry) => {
|
|
3437
|
-
if (entry === null) {
|
|
3438
|
-
return null;
|
|
3439
|
-
}
|
|
3440
2881
|
return de_DeploymentStrategy(entry, context);
|
|
3441
2882
|
});
|
|
3442
2883
|
return retVal;
|
|
3443
2884
|
};
|
|
3444
2885
|
const de_DeploymentSummary = (output, context) => {
|
|
3445
|
-
return {
|
|
3446
|
-
CompletedAt:
|
|
3447
|
-
ConfigurationName: __expectString
|
|
3448
|
-
ConfigurationVersion: __expectString
|
|
3449
|
-
DeploymentDurationInMinutes: __expectInt32
|
|
3450
|
-
DeploymentNumber: __expectInt32
|
|
3451
|
-
FinalBakeTimeInMinutes: __expectInt32
|
|
3452
|
-
GrowthFactor: __limitedParseFloat32
|
|
3453
|
-
GrowthType: __expectString
|
|
3454
|
-
PercentageComplete: __limitedParseFloat32
|
|
3455
|
-
StartedAt:
|
|
3456
|
-
State: __expectString
|
|
3457
|
-
};
|
|
3458
|
-
};
|
|
3459
|
-
const de_Environment = (output, context) => {
|
|
3460
|
-
return {
|
|
3461
|
-
ApplicationId: __expectString(output.ApplicationId),
|
|
3462
|
-
Description: __expectString(output.Description),
|
|
3463
|
-
Id: __expectString(output.Id),
|
|
3464
|
-
Monitors: output.Monitors != null ? de_MonitorList(output.Monitors, context) : undefined,
|
|
3465
|
-
Name: __expectString(output.Name),
|
|
3466
|
-
State: __expectString(output.State),
|
|
3467
|
-
};
|
|
3468
|
-
};
|
|
3469
|
-
const de_EnvironmentList = (output, context) => {
|
|
3470
|
-
const retVal = (output || [])
|
|
3471
|
-
.filter((e) => e != null)
|
|
3472
|
-
.map((entry) => {
|
|
3473
|
-
if (entry === null) {
|
|
3474
|
-
return null;
|
|
3475
|
-
}
|
|
3476
|
-
return de_Environment(entry, context);
|
|
3477
|
-
});
|
|
3478
|
-
return retVal;
|
|
3479
|
-
};
|
|
3480
|
-
const de_ExtensionAssociationSummaries = (output, context) => {
|
|
3481
|
-
const retVal = (output || [])
|
|
3482
|
-
.filter((e) => e != null)
|
|
3483
|
-
.map((entry) => {
|
|
3484
|
-
if (entry === null) {
|
|
3485
|
-
return null;
|
|
3486
|
-
}
|
|
3487
|
-
return de_ExtensionAssociationSummary(entry, context);
|
|
2886
|
+
return take(output, {
|
|
2887
|
+
CompletedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2888
|
+
ConfigurationName: __expectString,
|
|
2889
|
+
ConfigurationVersion: __expectString,
|
|
2890
|
+
DeploymentDurationInMinutes: __expectInt32,
|
|
2891
|
+
DeploymentNumber: __expectInt32,
|
|
2892
|
+
FinalBakeTimeInMinutes: __expectInt32,
|
|
2893
|
+
GrowthFactor: __limitedParseFloat32,
|
|
2894
|
+
GrowthType: __expectString,
|
|
2895
|
+
PercentageComplete: __limitedParseFloat32,
|
|
2896
|
+
StartedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2897
|
+
State: __expectString,
|
|
3488
2898
|
});
|
|
3489
|
-
return retVal;
|
|
3490
|
-
};
|
|
3491
|
-
const de_ExtensionAssociationSummary = (output, context) => {
|
|
3492
|
-
return {
|
|
3493
|
-
ExtensionArn: __expectString(output.ExtensionArn),
|
|
3494
|
-
Id: __expectString(output.Id),
|
|
3495
|
-
ResourceArn: __expectString(output.ResourceArn),
|
|
3496
|
-
};
|
|
3497
|
-
};
|
|
3498
|
-
const de_ExtensionSummaries = (output, context) => {
|
|
3499
|
-
const retVal = (output || [])
|
|
3500
|
-
.filter((e) => e != null)
|
|
3501
|
-
.map((entry) => {
|
|
3502
|
-
if (entry === null) {
|
|
3503
|
-
return null;
|
|
3504
|
-
}
|
|
3505
|
-
return de_ExtensionSummary(entry, context);
|
|
3506
|
-
});
|
|
3507
|
-
return retVal;
|
|
3508
|
-
};
|
|
3509
|
-
const de_ExtensionSummary = (output, context) => {
|
|
3510
|
-
return {
|
|
3511
|
-
Arn: __expectString(output.Arn),
|
|
3512
|
-
Description: __expectString(output.Description),
|
|
3513
|
-
Id: __expectString(output.Id),
|
|
3514
|
-
Name: __expectString(output.Name),
|
|
3515
|
-
VersionNumber: __expectInt32(output.VersionNumber),
|
|
3516
|
-
};
|
|
3517
|
-
};
|
|
3518
|
-
const de_HostedConfigurationVersionSummary = (output, context) => {
|
|
3519
|
-
return {
|
|
3520
|
-
ApplicationId: __expectString(output.ApplicationId),
|
|
3521
|
-
ConfigurationProfileId: __expectString(output.ConfigurationProfileId),
|
|
3522
|
-
ContentType: __expectString(output.ContentType),
|
|
3523
|
-
Description: __expectString(output.Description),
|
|
3524
|
-
VersionLabel: __expectString(output.VersionLabel),
|
|
3525
|
-
VersionNumber: __expectInt32(output.VersionNumber),
|
|
3526
|
-
};
|
|
3527
|
-
};
|
|
3528
|
-
const de_HostedConfigurationVersionSummaryList = (output, context) => {
|
|
3529
|
-
const retVal = (output || [])
|
|
3530
|
-
.filter((e) => e != null)
|
|
3531
|
-
.map((entry) => {
|
|
3532
|
-
if (entry === null) {
|
|
3533
|
-
return null;
|
|
3534
|
-
}
|
|
3535
|
-
return de_HostedConfigurationVersionSummary(entry, context);
|
|
3536
|
-
});
|
|
3537
|
-
return retVal;
|
|
3538
|
-
};
|
|
3539
|
-
const de_InvalidConfigurationDetail = (output, context) => {
|
|
3540
|
-
return {
|
|
3541
|
-
Constraint: __expectString(output.Constraint),
|
|
3542
|
-
Location: __expectString(output.Location),
|
|
3543
|
-
Reason: __expectString(output.Reason),
|
|
3544
|
-
Type: __expectString(output.Type),
|
|
3545
|
-
Value: __expectString(output.Value),
|
|
3546
|
-
};
|
|
3547
|
-
};
|
|
3548
|
-
const de_InvalidConfigurationDetailList = (output, context) => {
|
|
3549
|
-
const retVal = (output || [])
|
|
3550
|
-
.filter((e) => e != null)
|
|
3551
|
-
.map((entry) => {
|
|
3552
|
-
if (entry === null) {
|
|
3553
|
-
return null;
|
|
3554
|
-
}
|
|
3555
|
-
return de_InvalidConfigurationDetail(entry, context);
|
|
3556
|
-
});
|
|
3557
|
-
return retVal;
|
|
3558
|
-
};
|
|
3559
|
-
const de_Monitor = (output, context) => {
|
|
3560
|
-
return {
|
|
3561
|
-
AlarmArn: __expectString(output.AlarmArn),
|
|
3562
|
-
AlarmRoleArn: __expectString(output.AlarmRoleArn),
|
|
3563
|
-
};
|
|
3564
|
-
};
|
|
3565
|
-
const de_MonitorList = (output, context) => {
|
|
3566
|
-
const retVal = (output || [])
|
|
3567
|
-
.filter((e) => e != null)
|
|
3568
|
-
.map((entry) => {
|
|
3569
|
-
if (entry === null) {
|
|
3570
|
-
return null;
|
|
3571
|
-
}
|
|
3572
|
-
return de_Monitor(entry, context);
|
|
3573
|
-
});
|
|
3574
|
-
return retVal;
|
|
3575
|
-
};
|
|
3576
|
-
const de_Parameter = (output, context) => {
|
|
3577
|
-
return {
|
|
3578
|
-
Description: __expectString(output.Description),
|
|
3579
|
-
Required: __expectBoolean(output.Required),
|
|
3580
|
-
};
|
|
3581
|
-
};
|
|
3582
|
-
const de_ParameterMap = (output, context) => {
|
|
3583
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3584
|
-
if (value === null) {
|
|
3585
|
-
return acc;
|
|
3586
|
-
}
|
|
3587
|
-
acc[key] = de_Parameter(value, context);
|
|
3588
|
-
return acc;
|
|
3589
|
-
}, {});
|
|
3590
|
-
};
|
|
3591
|
-
const de_ParameterValueMap = (output, context) => {
|
|
3592
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3593
|
-
if (value === null) {
|
|
3594
|
-
return acc;
|
|
3595
|
-
}
|
|
3596
|
-
acc[key] = __expectString(value);
|
|
3597
|
-
return acc;
|
|
3598
|
-
}, {});
|
|
3599
|
-
};
|
|
3600
|
-
const de_TagMap = (output, context) => {
|
|
3601
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3602
|
-
if (value === null) {
|
|
3603
|
-
return acc;
|
|
3604
|
-
}
|
|
3605
|
-
acc[key] = __expectString(value);
|
|
3606
|
-
return acc;
|
|
3607
|
-
}, {});
|
|
3608
|
-
};
|
|
3609
|
-
const de_Validator = (output, context) => {
|
|
3610
|
-
return {
|
|
3611
|
-
Content: __expectString(output.Content),
|
|
3612
|
-
Type: __expectString(output.Type),
|
|
3613
|
-
};
|
|
3614
|
-
};
|
|
3615
|
-
const de_ValidatorList = (output, context) => {
|
|
3616
|
-
const retVal = (output || [])
|
|
3617
|
-
.filter((e) => e != null)
|
|
3618
|
-
.map((entry) => {
|
|
3619
|
-
if (entry === null) {
|
|
3620
|
-
return null;
|
|
3621
|
-
}
|
|
3622
|
-
return de_Validator(entry, context);
|
|
3623
|
-
});
|
|
3624
|
-
return retVal;
|
|
3625
|
-
};
|
|
3626
|
-
const de_ValidatorTypeList = (output, context) => {
|
|
3627
|
-
const retVal = (output || [])
|
|
3628
|
-
.filter((e) => e != null)
|
|
3629
|
-
.map((entry) => {
|
|
3630
|
-
if (entry === null) {
|
|
3631
|
-
return null;
|
|
3632
|
-
}
|
|
3633
|
-
return __expectString(entry);
|
|
3634
|
-
});
|
|
3635
|
-
return retVal;
|
|
3636
2899
|
};
|
|
3637
2900
|
const deserializeMetadata = (output) => ({
|
|
3638
2901
|
httpStatusCode: output.statusCode,
|