@aws-sdk/client-cloud9 3.121.0 → 3.127.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloud9
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
15
 
8
16
 
@@ -904,72 +904,67 @@ const serializeAws_json1_1BoundedEnvironmentIdList = (input, context) => {
904
904
  };
905
905
  const serializeAws_json1_1CreateEnvironmentEC2Request = (input, context) => {
906
906
  return {
907
- ...(input.automaticStopTimeMinutes !== undefined &&
908
- input.automaticStopTimeMinutes !== null && { automaticStopTimeMinutes: input.automaticStopTimeMinutes }),
909
- ...(input.clientRequestToken !== undefined &&
910
- input.clientRequestToken !== null && { clientRequestToken: input.clientRequestToken }),
911
- ...(input.connectionType !== undefined &&
912
- input.connectionType !== null && { connectionType: input.connectionType }),
913
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
914
- ...(input.dryRun !== undefined && input.dryRun !== null && { dryRun: input.dryRun }),
915
- ...(input.imageId !== undefined && input.imageId !== null && { imageId: input.imageId }),
916
- ...(input.instanceType !== undefined && input.instanceType !== null && { instanceType: input.instanceType }),
917
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
918
- ...(input.ownerArn !== undefined && input.ownerArn !== null && { ownerArn: input.ownerArn }),
919
- ...(input.subnetId !== undefined && input.subnetId !== null && { subnetId: input.subnetId }),
920
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
907
+ ...(input.automaticStopTimeMinutes != null && { automaticStopTimeMinutes: input.automaticStopTimeMinutes }),
908
+ ...(input.clientRequestToken != null && { clientRequestToken: input.clientRequestToken }),
909
+ ...(input.connectionType != null && { connectionType: input.connectionType }),
910
+ ...(input.description != null && { description: input.description }),
911
+ ...(input.dryRun != null && { dryRun: input.dryRun }),
912
+ ...(input.imageId != null && { imageId: input.imageId }),
913
+ ...(input.instanceType != null && { instanceType: input.instanceType }),
914
+ ...(input.name != null && { name: input.name }),
915
+ ...(input.ownerArn != null && { ownerArn: input.ownerArn }),
916
+ ...(input.subnetId != null && { subnetId: input.subnetId }),
917
+ ...(input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }),
921
918
  };
922
919
  };
923
920
  const serializeAws_json1_1CreateEnvironmentMembershipRequest = (input, context) => {
924
921
  return {
925
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
926
- ...(input.permissions !== undefined && input.permissions !== null && { permissions: input.permissions }),
927
- ...(input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }),
922
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
923
+ ...(input.permissions != null && { permissions: input.permissions }),
924
+ ...(input.userArn != null && { userArn: input.userArn }),
928
925
  };
929
926
  };
930
927
  const serializeAws_json1_1DeleteEnvironmentMembershipRequest = (input, context) => {
931
928
  return {
932
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
933
- ...(input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }),
929
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
930
+ ...(input.userArn != null && { userArn: input.userArn }),
934
931
  };
935
932
  };
936
933
  const serializeAws_json1_1DeleteEnvironmentRequest = (input, context) => {
937
934
  return {
938
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
935
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
939
936
  };
940
937
  };
941
938
  const serializeAws_json1_1DescribeEnvironmentMembershipsRequest = (input, context) => {
942
939
  return {
943
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
944
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
945
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
946
- ...(input.permissions !== undefined &&
947
- input.permissions !== null && { permissions: serializeAws_json1_1PermissionsList(input.permissions, context) }),
948
- ...(input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }),
940
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
941
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
942
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
943
+ ...(input.permissions != null && { permissions: serializeAws_json1_1PermissionsList(input.permissions, context) }),
944
+ ...(input.userArn != null && { userArn: input.userArn }),
949
945
  };
950
946
  };
951
947
  const serializeAws_json1_1DescribeEnvironmentsRequest = (input, context) => {
952
948
  return {
953
- ...(input.environmentIds !== undefined &&
954
- input.environmentIds !== null && {
949
+ ...(input.environmentIds != null && {
955
950
  environmentIds: serializeAws_json1_1BoundedEnvironmentIdList(input.environmentIds, context),
956
951
  }),
957
952
  };
958
953
  };
959
954
  const serializeAws_json1_1DescribeEnvironmentStatusRequest = (input, context) => {
960
955
  return {
961
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
956
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
962
957
  };
963
958
  };
964
959
  const serializeAws_json1_1ListEnvironmentsRequest = (input, context) => {
965
960
  return {
966
- ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
967
- ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
961
+ ...(input.maxResults != null && { maxResults: input.maxResults }),
962
+ ...(input.nextToken != null && { nextToken: input.nextToken }),
968
963
  };
969
964
  };
970
965
  const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
971
966
  return {
972
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
967
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
973
968
  };
974
969
  };
975
970
  const serializeAws_json1_1PermissionsList = (input, context) => {
@@ -984,8 +979,8 @@ const serializeAws_json1_1PermissionsList = (input, context) => {
984
979
  };
985
980
  const serializeAws_json1_1Tag = (input, context) => {
986
981
  return {
987
- ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
988
- ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
982
+ ...(input.Key != null && { Key: input.Key }),
983
+ ...(input.Value != null && { Value: input.Value }),
989
984
  };
990
985
  };
991
986
  const serializeAws_json1_1TagKeyList = (input, context) => {
@@ -1010,31 +1005,29 @@ const serializeAws_json1_1TagList = (input, context) => {
1010
1005
  };
1011
1006
  const serializeAws_json1_1TagResourceRequest = (input, context) => {
1012
1007
  return {
1013
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1014
- ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1008
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1009
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
1015
1010
  };
1016
1011
  };
1017
1012
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
1018
1013
  return {
1019
- ...(input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }),
1020
- ...(input.TagKeys !== undefined &&
1021
- input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
1014
+ ...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
1015
+ ...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
1022
1016
  };
1023
1017
  };
1024
1018
  const serializeAws_json1_1UpdateEnvironmentMembershipRequest = (input, context) => {
1025
1019
  return {
1026
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
1027
- ...(input.permissions !== undefined && input.permissions !== null && { permissions: input.permissions }),
1028
- ...(input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }),
1020
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
1021
+ ...(input.permissions != null && { permissions: input.permissions }),
1022
+ ...(input.userArn != null && { userArn: input.userArn }),
1029
1023
  };
1030
1024
  };
1031
1025
  const serializeAws_json1_1UpdateEnvironmentRequest = (input, context) => {
1032
1026
  return {
1033
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
1034
- ...(input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }),
1035
- ...(input.managedCredentialsAction !== undefined &&
1036
- input.managedCredentialsAction !== null && { managedCredentialsAction: input.managedCredentialsAction }),
1037
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
1027
+ ...(input.description != null && { description: input.description }),
1028
+ ...(input.environmentId != null && { environmentId: input.environmentId }),
1029
+ ...(input.managedCredentialsAction != null && { managedCredentialsAction: input.managedCredentialsAction }),
1030
+ ...(input.name != null && { name: input.name }),
1038
1031
  };
1039
1032
  };
1040
1033
  const deserializeAws_json1_1BadRequestException = (output, context) => {
@@ -1065,9 +1058,7 @@ const deserializeAws_json1_1CreateEnvironmentEC2Result = (output, context) => {
1065
1058
  };
1066
1059
  const deserializeAws_json1_1CreateEnvironmentMembershipResult = (output, context) => {
1067
1060
  return {
1068
- membership: output.membership !== undefined && output.membership !== null
1069
- ? deserializeAws_json1_1EnvironmentMember(output.membership, context)
1070
- : undefined,
1061
+ membership: output.membership != null ? deserializeAws_json1_1EnvironmentMember(output.membership, context) : undefined,
1071
1062
  };
1072
1063
  };
1073
1064
  const deserializeAws_json1_1DeleteEnvironmentMembershipResult = (output, context) => {
@@ -1078,7 +1069,7 @@ const deserializeAws_json1_1DeleteEnvironmentResult = (output, context) => {
1078
1069
  };
1079
1070
  const deserializeAws_json1_1DescribeEnvironmentMembershipsResult = (output, context) => {
1080
1071
  return {
1081
- memberships: output.memberships !== undefined && output.memberships !== null
1072
+ memberships: output.memberships != null
1082
1073
  ? deserializeAws_json1_1EnvironmentMembersList(output.memberships, context)
1083
1074
  : undefined,
1084
1075
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
@@ -1086,9 +1077,7 @@ const deserializeAws_json1_1DescribeEnvironmentMembershipsResult = (output, cont
1086
1077
  };
1087
1078
  const deserializeAws_json1_1DescribeEnvironmentsResult = (output, context) => {
1088
1079
  return {
1089
- environments: output.environments !== undefined && output.environments !== null
1090
- ? deserializeAws_json1_1EnvironmentList(output.environments, context)
1091
- : undefined,
1080
+ environments: output.environments != null ? deserializeAws_json1_1EnvironmentList(output.environments, context) : undefined,
1092
1081
  };
1093
1082
  };
1094
1083
  const deserializeAws_json1_1DescribeEnvironmentStatusResult = (output, context) => {
@@ -1103,9 +1092,7 @@ const deserializeAws_json1_1Environment = (output, context) => {
1103
1092
  connectionType: (0, smithy_client_1.expectString)(output.connectionType),
1104
1093
  description: (0, smithy_client_1.expectString)(output.description),
1105
1094
  id: (0, smithy_client_1.expectString)(output.id),
1106
- lifecycle: output.lifecycle !== undefined && output.lifecycle !== null
1107
- ? deserializeAws_json1_1EnvironmentLifecycle(output.lifecycle, context)
1108
- : undefined,
1095
+ lifecycle: output.lifecycle != null ? deserializeAws_json1_1EnvironmentLifecycle(output.lifecycle, context) : undefined,
1109
1096
  managedCredentialsStatus: (0, smithy_client_1.expectString)(output.managedCredentialsStatus),
1110
1097
  name: (0, smithy_client_1.expectString)(output.name),
1111
1098
  ownerArn: (0, smithy_client_1.expectString)(output.ownerArn),
@@ -1144,9 +1131,7 @@ const deserializeAws_json1_1EnvironmentList = (output, context) => {
1144
1131
  const deserializeAws_json1_1EnvironmentMember = (output, context) => {
1145
1132
  return {
1146
1133
  environmentId: (0, smithy_client_1.expectString)(output.environmentId),
1147
- lastAccess: output.lastAccess !== undefined && output.lastAccess !== null
1148
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAccess)))
1149
- : undefined,
1134
+ lastAccess: output.lastAccess != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastAccess))) : undefined,
1150
1135
  permissions: (0, smithy_client_1.expectString)(output.permissions),
1151
1136
  userArn: (0, smithy_client_1.expectString)(output.userArn),
1152
1137
  userId: (0, smithy_client_1.expectString)(output.userId),
@@ -1186,7 +1171,7 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
1186
1171
  };
1187
1172
  const deserializeAws_json1_1ListEnvironmentsResult = (output, context) => {
1188
1173
  return {
1189
- environmentIds: output.environmentIds !== undefined && output.environmentIds !== null
1174
+ environmentIds: output.environmentIds != null
1190
1175
  ? deserializeAws_json1_1EnvironmentIdList(output.environmentIds, context)
1191
1176
  : undefined,
1192
1177
  nextToken: (0, smithy_client_1.expectString)(output.nextToken),
@@ -1194,9 +1179,7 @@ const deserializeAws_json1_1ListEnvironmentsResult = (output, context) => {
1194
1179
  };
1195
1180
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
1196
1181
  return {
1197
- Tags: output.Tags !== undefined && output.Tags !== null
1198
- ? deserializeAws_json1_1TagList(output.Tags, context)
1199
- : undefined,
1182
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
1200
1183
  };
1201
1184
  };
1202
1185
  const deserializeAws_json1_1NotFoundException = (output, context) => {
@@ -1238,9 +1221,7 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
1238
1221
  };
1239
1222
  const deserializeAws_json1_1UpdateEnvironmentMembershipResult = (output, context) => {
1240
1223
  return {
1241
- membership: output.membership !== undefined && output.membership !== null
1242
- ? deserializeAws_json1_1EnvironmentMember(output.membership, context)
1243
- : undefined,
1224
+ membership: output.membership != null ? deserializeAws_json1_1EnvironmentMember(output.membership, context) : undefined,
1244
1225
  };
1245
1226
  };
1246
1227
  const deserializeAws_json1_1UpdateEnvironmentResult = (output, context) => {
@@ -1164,38 +1164,33 @@ var serializeAws_json1_1BoundedEnvironmentIdList = function (input, context) {
1164
1164
  });
1165
1165
  };
1166
1166
  var serializeAws_json1_1CreateEnvironmentEC2Request = function (input, context) {
1167
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.automaticStopTimeMinutes !== undefined &&
1168
- input.automaticStopTimeMinutes !== null && { automaticStopTimeMinutes: input.automaticStopTimeMinutes })), (input.clientRequestToken !== undefined &&
1169
- input.clientRequestToken !== null && { clientRequestToken: input.clientRequestToken })), (input.connectionType !== undefined &&
1170
- input.connectionType !== null && { connectionType: input.connectionType })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.dryRun !== undefined && input.dryRun !== null && { dryRun: input.dryRun })), (input.imageId !== undefined && input.imageId !== null && { imageId: input.imageId })), (input.instanceType !== undefined && input.instanceType !== null && { instanceType: input.instanceType })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.ownerArn !== undefined && input.ownerArn !== null && { ownerArn: input.ownerArn })), (input.subnetId !== undefined && input.subnetId !== null && { subnetId: input.subnetId })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
1167
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.automaticStopTimeMinutes != null && { automaticStopTimeMinutes: input.automaticStopTimeMinutes })), (input.clientRequestToken != null && { clientRequestToken: input.clientRequestToken })), (input.connectionType != null && { connectionType: input.connectionType })), (input.description != null && { description: input.description })), (input.dryRun != null && { dryRun: input.dryRun })), (input.imageId != null && { imageId: input.imageId })), (input.instanceType != null && { instanceType: input.instanceType })), (input.name != null && { name: input.name })), (input.ownerArn != null && { ownerArn: input.ownerArn })), (input.subnetId != null && { subnetId: input.subnetId })), (input.tags != null && { tags: serializeAws_json1_1TagList(input.tags, context) }));
1171
1168
  };
1172
1169
  var serializeAws_json1_1CreateEnvironmentMembershipRequest = function (input, context) {
1173
- return __assign(__assign(__assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId })), (input.permissions !== undefined && input.permissions !== null && { permissions: input.permissions })), (input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }));
1170
+ return __assign(__assign(__assign({}, (input.environmentId != null && { environmentId: input.environmentId })), (input.permissions != null && { permissions: input.permissions })), (input.userArn != null && { userArn: input.userArn }));
1174
1171
  };
1175
1172
  var serializeAws_json1_1DeleteEnvironmentMembershipRequest = function (input, context) {
1176
- return __assign(__assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId })), (input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }));
1173
+ return __assign(__assign({}, (input.environmentId != null && { environmentId: input.environmentId })), (input.userArn != null && { userArn: input.userArn }));
1177
1174
  };
1178
1175
  var serializeAws_json1_1DeleteEnvironmentRequest = function (input, context) {
1179
- return __assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }));
1176
+ return __assign({}, (input.environmentId != null && { environmentId: input.environmentId }));
1180
1177
  };
1181
1178
  var serializeAws_json1_1DescribeEnvironmentMembershipsRequest = function (input, context) {
1182
- return __assign(__assign(__assign(__assign(__assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.permissions !== undefined &&
1183
- input.permissions !== null && { permissions: serializeAws_json1_1PermissionsList(input.permissions, context) })), (input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }));
1179
+ return __assign(__assign(__assign(__assign(__assign({}, (input.environmentId != null && { environmentId: input.environmentId })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.permissions != null && { permissions: serializeAws_json1_1PermissionsList(input.permissions, context) })), (input.userArn != null && { userArn: input.userArn }));
1184
1180
  };
1185
1181
  var serializeAws_json1_1DescribeEnvironmentsRequest = function (input, context) {
1186
- return __assign({}, (input.environmentIds !== undefined &&
1187
- input.environmentIds !== null && {
1182
+ return __assign({}, (input.environmentIds != null && {
1188
1183
  environmentIds: serializeAws_json1_1BoundedEnvironmentIdList(input.environmentIds, context),
1189
1184
  }));
1190
1185
  };
1191
1186
  var serializeAws_json1_1DescribeEnvironmentStatusRequest = function (input, context) {
1192
- return __assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId }));
1187
+ return __assign({}, (input.environmentId != null && { environmentId: input.environmentId }));
1193
1188
  };
1194
1189
  var serializeAws_json1_1ListEnvironmentsRequest = function (input, context) {
1195
- return __assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }));
1190
+ return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
1196
1191
  };
1197
1192
  var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
1198
- return __assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN }));
1193
+ return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
1199
1194
  };
1200
1195
  var serializeAws_json1_1PermissionsList = function (input, context) {
1201
1196
  return input
@@ -1208,7 +1203,7 @@ var serializeAws_json1_1PermissionsList = function (input, context) {
1208
1203
  });
1209
1204
  };
1210
1205
  var serializeAws_json1_1Tag = function (input, context) {
1211
- return __assign(__assign({}, (input.Key !== undefined && input.Key !== null && { Key: input.Key })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
1206
+ return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
1212
1207
  };
1213
1208
  var serializeAws_json1_1TagKeyList = function (input, context) {
1214
1209
  return input
@@ -1231,18 +1226,16 @@ var serializeAws_json1_1TagList = function (input, context) {
1231
1226
  });
1232
1227
  };
1233
1228
  var serializeAws_json1_1TagResourceRequest = function (input, context) {
1234
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
1229
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
1235
1230
  };
1236
1231
  var serializeAws_json1_1UntagResourceRequest = function (input, context) {
1237
- return __assign(__assign({}, (input.ResourceARN !== undefined && input.ResourceARN !== null && { ResourceARN: input.ResourceARN })), (input.TagKeys !== undefined &&
1238
- input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
1232
+ return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
1239
1233
  };
1240
1234
  var serializeAws_json1_1UpdateEnvironmentMembershipRequest = function (input, context) {
1241
- return __assign(__assign(__assign({}, (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId })), (input.permissions !== undefined && input.permissions !== null && { permissions: input.permissions })), (input.userArn !== undefined && input.userArn !== null && { userArn: input.userArn }));
1235
+ return __assign(__assign(__assign({}, (input.environmentId != null && { environmentId: input.environmentId })), (input.permissions != null && { permissions: input.permissions })), (input.userArn != null && { userArn: input.userArn }));
1242
1236
  };
1243
1237
  var serializeAws_json1_1UpdateEnvironmentRequest = function (input, context) {
1244
- return __assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.environmentId !== undefined && input.environmentId !== null && { environmentId: input.environmentId })), (input.managedCredentialsAction !== undefined &&
1245
- input.managedCredentialsAction !== null && { managedCredentialsAction: input.managedCredentialsAction })), (input.name !== undefined && input.name !== null && { name: input.name }));
1238
+ return __assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.environmentId != null && { environmentId: input.environmentId })), (input.managedCredentialsAction != null && { managedCredentialsAction: input.managedCredentialsAction })), (input.name != null && { name: input.name }));
1246
1239
  };
1247
1240
  var deserializeAws_json1_1BadRequestException = function (output, context) {
1248
1241
  return {
@@ -1272,9 +1265,7 @@ var deserializeAws_json1_1CreateEnvironmentEC2Result = function (output, context
1272
1265
  };
1273
1266
  var deserializeAws_json1_1CreateEnvironmentMembershipResult = function (output, context) {
1274
1267
  return {
1275
- membership: output.membership !== undefined && output.membership !== null
1276
- ? deserializeAws_json1_1EnvironmentMember(output.membership, context)
1277
- : undefined,
1268
+ membership: output.membership != null ? deserializeAws_json1_1EnvironmentMember(output.membership, context) : undefined,
1278
1269
  };
1279
1270
  };
1280
1271
  var deserializeAws_json1_1DeleteEnvironmentMembershipResult = function (output, context) {
@@ -1285,7 +1276,7 @@ var deserializeAws_json1_1DeleteEnvironmentResult = function (output, context) {
1285
1276
  };
1286
1277
  var deserializeAws_json1_1DescribeEnvironmentMembershipsResult = function (output, context) {
1287
1278
  return {
1288
- memberships: output.memberships !== undefined && output.memberships !== null
1279
+ memberships: output.memberships != null
1289
1280
  ? deserializeAws_json1_1EnvironmentMembersList(output.memberships, context)
1290
1281
  : undefined,
1291
1282
  nextToken: __expectString(output.nextToken),
@@ -1293,9 +1284,7 @@ var deserializeAws_json1_1DescribeEnvironmentMembershipsResult = function (outpu
1293
1284
  };
1294
1285
  var deserializeAws_json1_1DescribeEnvironmentsResult = function (output, context) {
1295
1286
  return {
1296
- environments: output.environments !== undefined && output.environments !== null
1297
- ? deserializeAws_json1_1EnvironmentList(output.environments, context)
1298
- : undefined,
1287
+ environments: output.environments != null ? deserializeAws_json1_1EnvironmentList(output.environments, context) : undefined,
1299
1288
  };
1300
1289
  };
1301
1290
  var deserializeAws_json1_1DescribeEnvironmentStatusResult = function (output, context) {
@@ -1310,9 +1299,7 @@ var deserializeAws_json1_1Environment = function (output, context) {
1310
1299
  connectionType: __expectString(output.connectionType),
1311
1300
  description: __expectString(output.description),
1312
1301
  id: __expectString(output.id),
1313
- lifecycle: output.lifecycle !== undefined && output.lifecycle !== null
1314
- ? deserializeAws_json1_1EnvironmentLifecycle(output.lifecycle, context)
1315
- : undefined,
1302
+ lifecycle: output.lifecycle != null ? deserializeAws_json1_1EnvironmentLifecycle(output.lifecycle, context) : undefined,
1316
1303
  managedCredentialsStatus: __expectString(output.managedCredentialsStatus),
1317
1304
  name: __expectString(output.name),
1318
1305
  ownerArn: __expectString(output.ownerArn),
@@ -1351,9 +1338,7 @@ var deserializeAws_json1_1EnvironmentList = function (output, context) {
1351
1338
  var deserializeAws_json1_1EnvironmentMember = function (output, context) {
1352
1339
  return {
1353
1340
  environmentId: __expectString(output.environmentId),
1354
- lastAccess: output.lastAccess !== undefined && output.lastAccess !== null
1355
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastAccess)))
1356
- : undefined,
1341
+ lastAccess: output.lastAccess != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastAccess))) : undefined,
1357
1342
  permissions: __expectString(output.permissions),
1358
1343
  userArn: __expectString(output.userArn),
1359
1344
  userId: __expectString(output.userId),
@@ -1393,7 +1378,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
1393
1378
  };
1394
1379
  var deserializeAws_json1_1ListEnvironmentsResult = function (output, context) {
1395
1380
  return {
1396
- environmentIds: output.environmentIds !== undefined && output.environmentIds !== null
1381
+ environmentIds: output.environmentIds != null
1397
1382
  ? deserializeAws_json1_1EnvironmentIdList(output.environmentIds, context)
1398
1383
  : undefined,
1399
1384
  nextToken: __expectString(output.nextToken),
@@ -1401,9 +1386,7 @@ var deserializeAws_json1_1ListEnvironmentsResult = function (output, context) {
1401
1386
  };
1402
1387
  var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
1403
1388
  return {
1404
- Tags: output.Tags !== undefined && output.Tags !== null
1405
- ? deserializeAws_json1_1TagList(output.Tags, context)
1406
- : undefined,
1389
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
1407
1390
  };
1408
1391
  };
1409
1392
  var deserializeAws_json1_1NotFoundException = function (output, context) {
@@ -1445,9 +1428,7 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
1445
1428
  };
1446
1429
  var deserializeAws_json1_1UpdateEnvironmentMembershipResult = function (output, context) {
1447
1430
  return {
1448
- membership: output.membership !== undefined && output.membership !== null
1449
- ? deserializeAws_json1_1EnvironmentMember(output.membership, context)
1450
- : undefined,
1431
+ membership: output.membership != null ? deserializeAws_json1_1EnvironmentMember(output.membership, context) : undefined,
1451
1432
  };
1452
1433
  };
1453
1434
  var deserializeAws_json1_1UpdateEnvironmentResult = function (output, context) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloud9",
3
3
  "description": "AWS SDK for JavaScript Cloud9 Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.127.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,35 +18,35 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
21
+ "@aws-sdk/client-sts": "3.127.0",
22
+ "@aws-sdk/config-resolver": "3.127.0",
23
+ "@aws-sdk/credential-provider-node": "3.127.0",
24
+ "@aws-sdk/fetch-http-handler": "3.127.0",
25
+ "@aws-sdk/hash-node": "3.127.0",
26
+ "@aws-sdk/invalid-dependency": "3.127.0",
27
+ "@aws-sdk/middleware-content-length": "3.127.0",
28
+ "@aws-sdk/middleware-host-header": "3.127.0",
29
+ "@aws-sdk/middleware-logger": "3.127.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
+ "@aws-sdk/middleware-retry": "3.127.0",
32
+ "@aws-sdk/middleware-serde": "3.127.0",
33
+ "@aws-sdk/middleware-signing": "3.127.0",
34
+ "@aws-sdk/middleware-stack": "3.127.0",
35
+ "@aws-sdk/middleware-user-agent": "3.127.0",
36
+ "@aws-sdk/node-config-provider": "3.127.0",
37
+ "@aws-sdk/node-http-handler": "3.127.0",
38
+ "@aws-sdk/protocol-http": "3.127.0",
39
+ "@aws-sdk/smithy-client": "3.127.0",
40
+ "@aws-sdk/types": "3.127.0",
41
+ "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.127.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.127.0",
49
+ "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",
51
51
  "@aws-sdk/util-utf8-node": "3.109.0",
52
52
  "tslib": "^2.3.1"