@aws-sdk/client-codestar-notifications 3.170.0 → 3.173.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/protocols/Aws_restJson1.js +19 -15
  4. package/dist-es/protocols/Aws_restJson1.js +65 -54
  5. package/dist-types/CodestarNotifications.d.ts +7 -7
  6. package/dist-types/CodestarNotificationsClient.d.ts +2 -2
  7. package/dist-types/commands/CreateNotificationRuleCommand.d.ts +1 -1
  8. package/dist-types/commands/ListNotificationRulesCommand.d.ts +1 -1
  9. package/dist-types/commands/ListTargetsCommand.d.ts +1 -1
  10. package/dist-types/commands/SubscribeCommand.d.ts +1 -1
  11. package/dist-types/commands/UnsubscribeCommand.d.ts +1 -1
  12. package/dist-types/models/models_0.d.ts +53 -34
  13. package/dist-types/ts3.4/CodestarNotifications.d.ts +0 -13
  14. package/dist-types/ts3.4/CodestarNotificationsClient.d.ts +0 -25
  15. package/dist-types/ts3.4/commands/CreateNotificationRuleCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/DeleteNotificationRuleCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/DeleteTargetCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/DescribeNotificationRuleCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/ListEventTypesCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/ListNotificationRulesCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/ListTargetsCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/SubscribeCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/UnsubscribeCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/UpdateNotificationRuleCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/models/CodestarNotificationsServiceException.d.ts +0 -1
  29. package/dist-types/ts3.4/models/models_0.d.ts +0 -103
  30. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
  31. package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
  32. package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
  33. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  34. package/package.json +26 -26
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.173.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.172.0...v3.173.0) (2022-09-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-codestar-notifications:** This release adds tag based access control for the UntagResource API. ([5c923c2](https://github.com/aws/aws-sdk-js-v3/commit/5c923c2706dc6053287a8995a08092d2794d0276))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-codestar-notifications
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
26
 
8
27
  **Note:** Version bump only for package @aws-sdk/client-codestar-notifications
package/README.md CHANGED
@@ -52,7 +52,7 @@ notification rule. </p>
52
52
  <ul>
53
53
  <li>
54
54
  <p>
55
- <a>DeleteTarget</a>, which removes a notification rule target (SNS topic) from a
55
+ <a>DeleteTarget</a>, which removes a notification rule target from a
56
56
  notification rule. </p>
57
57
  </li>
58
58
  <li>
@@ -89,7 +89,7 @@ your account. </p>
89
89
  </li>
90
90
  </ul>
91
91
 
92
- <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
92
+ <p> For information about how to use AWS CodeStar Notifications, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html">Amazon Web Services Developer Tools Console User Guide</a>.
93
93
  </p>
94
94
 
95
95
  ## Installing
@@ -262,15 +262,13 @@ const serializeAws_restJson1UnsubscribeCommand = async (input, context) => {
262
262
  exports.serializeAws_restJson1UnsubscribeCommand = serializeAws_restJson1UnsubscribeCommand;
263
263
  const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
264
264
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
265
- const headers = {
266
- "content-type": "application/json",
267
- };
268
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/untagResource";
269
- let body;
270
- body = JSON.stringify({
271
- ...(input.Arn != null && { Arn: input.Arn }),
272
- ...(input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeys(input.TagKeys, context) }),
265
+ const headers = {};
266
+ let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/untagResource/{Arn}";
267
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
268
+ const query = map({
269
+ tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
273
270
  });
271
+ let body;
274
272
  return new protocol_http_1.HttpRequest({
275
273
  protocol,
276
274
  hostname,
@@ -278,6 +276,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
278
276
  method: "POST",
279
277
  headers,
280
278
  path: resolvedPath,
279
+ query,
281
280
  body,
282
281
  });
283
282
  };
@@ -675,6 +674,9 @@ const deserializeAws_restJson1SubscribeCommandError = async (output, context) =>
675
674
  };
676
675
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
677
676
  switch (errorCode) {
677
+ case "ConfigurationException":
678
+ case "com.amazonaws.codestarnotifications#ConfigurationException":
679
+ throw await deserializeAws_restJson1ConfigurationExceptionResponse(parsedOutput, context);
678
680
  case "ResourceNotFoundException":
679
681
  case "com.amazonaws.codestarnotifications#ResourceNotFoundException":
680
682
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -715,6 +717,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
715
717
  case "ConcurrentModificationException":
716
718
  case "com.amazonaws.codestarnotifications#ConcurrentModificationException":
717
719
  throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
720
+ case "LimitExceededException":
721
+ case "com.amazonaws.codestarnotifications#LimitExceededException":
722
+ throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
718
723
  case "ResourceNotFoundException":
719
724
  case "com.amazonaws.codestarnotifications#ResourceNotFoundException":
720
725
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -786,6 +791,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
786
791
  case "ConcurrentModificationException":
787
792
  case "com.amazonaws.codestarnotifications#ConcurrentModificationException":
788
793
  throw await deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context);
794
+ case "LimitExceededException":
795
+ case "com.amazonaws.codestarnotifications#LimitExceededException":
796
+ throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
789
797
  case "ResourceNotFoundException":
790
798
  case "com.amazonaws.codestarnotifications#ResourceNotFoundException":
791
799
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -820,6 +828,9 @@ const deserializeAws_restJson1UpdateNotificationRuleCommandError = async (output
820
828
  };
821
829
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
822
830
  switch (errorCode) {
831
+ case "ConfigurationException":
832
+ case "com.amazonaws.codestarnotifications#ConfigurationException":
833
+ throw await deserializeAws_restJson1ConfigurationExceptionResponse(parsedOutput, context);
823
834
  case "ResourceNotFoundException":
824
835
  case "com.amazonaws.codestarnotifications#ResourceNotFoundException":
825
836
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -979,13 +990,6 @@ const serializeAws_restJson1ListTargetsFilters = (input, context) => {
979
990
  return serializeAws_restJson1ListTargetsFilter(entry, context);
980
991
  });
981
992
  };
982
- const serializeAws_restJson1TagKeys = (input, context) => {
983
- return input
984
- .filter((e) => e != null)
985
- .map((entry) => {
986
- return entry;
987
- });
988
- };
989
993
  const serializeAws_restJson1Tags = (input, context) => {
990
994
  return Object.entries(input).reduce((acc, [key, value]) => {
991
995
  if (value === null) {
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, throwDefaultError, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CodestarNotificationsServiceException as __BaseException } from "../models/CodestarNotificationsServiceException";
6
6
  import { AccessDeniedException, ConcurrentModificationException, ConfigurationException, InvalidNextTokenException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
@@ -274,17 +274,18 @@ export var serializeAws_restJson1UnsubscribeCommand = function (input, context)
274
274
  });
275
275
  }); };
276
276
  export var serializeAws_restJson1UntagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
277
- var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
277
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
278
278
  return __generator(this, function (_c) {
279
279
  switch (_c.label) {
280
280
  case 0: return [4, context.endpoint()];
281
281
  case 1:
282
282
  _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
283
- headers = {
284
- "content-type": "application/json",
285
- };
286
- resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/untagResource";
287
- body = JSON.stringify(__assign(__assign({}, (input.Arn != null && { Arn: input.Arn })), (input.TagKeys != null && { TagKeys: serializeAws_restJson1TagKeys(input.TagKeys, context) })));
283
+ headers = {};
284
+ resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/untagResource/{Arn}";
285
+ resolvedPath = __resolvedPath(resolvedPath, input, "Arn", function () { return input.Arn; }, "{Arn}", false);
286
+ query = map({
287
+ tagKeys: [function () { return input.TagKeys !== void 0; }, function () { return (input.TagKeys || []).map(function (_entry) { return _entry; }); }],
288
+ });
288
289
  return [2, new __HttpRequest({
289
290
  protocol: protocol,
290
291
  hostname: hostname,
@@ -292,6 +293,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
292
293
  method: "POST",
293
294
  headers: headers,
294
295
  path: resolvedPath,
296
+ query: query,
295
297
  body: body,
296
298
  })];
297
299
  }
@@ -890,17 +892,21 @@ var deserializeAws_restJson1SubscribeCommandError = function (output, context) {
890
892
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
891
893
  _b = errorCode;
892
894
  switch (_b) {
893
- case "ResourceNotFoundException": return [3, 2];
894
- case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 2];
895
- case "ValidationException": return [3, 4];
896
- case "com.amazonaws.codestarnotifications#ValidationException": return [3, 4];
895
+ case "ConfigurationException": return [3, 2];
896
+ case "com.amazonaws.codestarnotifications#ConfigurationException": return [3, 2];
897
+ case "ResourceNotFoundException": return [3, 4];
898
+ case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 4];
899
+ case "ValidationException": return [3, 6];
900
+ case "com.amazonaws.codestarnotifications#ValidationException": return [3, 6];
897
901
  }
898
- return [3, 6];
899
- case 2: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
902
+ return [3, 8];
903
+ case 2: return [4, deserializeAws_restJson1ConfigurationExceptionResponse(parsedOutput, context)];
900
904
  case 3: throw _d.sent();
901
- case 4: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
905
+ case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
902
906
  case 5: throw _d.sent();
903
- case 6:
907
+ case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
908
+ case 7: throw _d.sent();
909
+ case 8:
904
910
  parsedBody = parsedOutput.body;
905
911
  throwDefaultError({
906
912
  output: output,
@@ -908,8 +914,8 @@ var deserializeAws_restJson1SubscribeCommandError = function (output, context) {
908
914
  exceptionCtor: __BaseException,
909
915
  errorCode: errorCode,
910
916
  });
911
- _d.label = 7;
912
- case 7: return [2];
917
+ _d.label = 9;
918
+ case 9: return [2];
913
919
  }
914
920
  });
915
921
  }); };
@@ -952,19 +958,23 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
952
958
  switch (_b) {
953
959
  case "ConcurrentModificationException": return [3, 2];
954
960
  case "com.amazonaws.codestarnotifications#ConcurrentModificationException": return [3, 2];
955
- case "ResourceNotFoundException": return [3, 4];
956
- case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 4];
957
- case "ValidationException": return [3, 6];
958
- case "com.amazonaws.codestarnotifications#ValidationException": return [3, 6];
961
+ case "LimitExceededException": return [3, 4];
962
+ case "com.amazonaws.codestarnotifications#LimitExceededException": return [3, 4];
963
+ case "ResourceNotFoundException": return [3, 6];
964
+ case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 6];
965
+ case "ValidationException": return [3, 8];
966
+ case "com.amazonaws.codestarnotifications#ValidationException": return [3, 8];
959
967
  }
960
- return [3, 8];
968
+ return [3, 10];
961
969
  case 2: return [4, deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context)];
962
970
  case 3: throw _d.sent();
963
- case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
971
+ case 4: return [4, deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)];
964
972
  case 5: throw _d.sent();
965
- case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
973
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
966
974
  case 7: throw _d.sent();
967
- case 8:
975
+ case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
976
+ case 9: throw _d.sent();
977
+ case 10:
968
978
  parsedBody = parsedOutput.body;
969
979
  throwDefaultError({
970
980
  output: output,
@@ -972,8 +982,8 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
972
982
  exceptionCtor: __BaseException,
973
983
  errorCode: errorCode,
974
984
  });
975
- _d.label = 9;
976
- case 9: return [2];
985
+ _d.label = 11;
986
+ case 11: return [2];
977
987
  }
978
988
  });
979
989
  }); };
@@ -1067,19 +1077,23 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
1067
1077
  switch (_b) {
1068
1078
  case "ConcurrentModificationException": return [3, 2];
1069
1079
  case "com.amazonaws.codestarnotifications#ConcurrentModificationException": return [3, 2];
1070
- case "ResourceNotFoundException": return [3, 4];
1071
- case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 4];
1072
- case "ValidationException": return [3, 6];
1073
- case "com.amazonaws.codestarnotifications#ValidationException": return [3, 6];
1080
+ case "LimitExceededException": return [3, 4];
1081
+ case "com.amazonaws.codestarnotifications#LimitExceededException": return [3, 4];
1082
+ case "ResourceNotFoundException": return [3, 6];
1083
+ case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 6];
1084
+ case "ValidationException": return [3, 8];
1085
+ case "com.amazonaws.codestarnotifications#ValidationException": return [3, 8];
1074
1086
  }
1075
- return [3, 8];
1087
+ return [3, 10];
1076
1088
  case 2: return [4, deserializeAws_restJson1ConcurrentModificationExceptionResponse(parsedOutput, context)];
1077
1089
  case 3: throw _d.sent();
1078
- case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1090
+ case 4: return [4, deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)];
1079
1091
  case 5: throw _d.sent();
1080
- case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1092
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1081
1093
  case 7: throw _d.sent();
1082
- case 8:
1094
+ case 8: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1095
+ case 9: throw _d.sent();
1096
+ case 10:
1083
1097
  parsedBody = parsedOutput.body;
1084
1098
  throwDefaultError({
1085
1099
  output: output,
@@ -1087,8 +1101,8 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
1087
1101
  exceptionCtor: __BaseException,
1088
1102
  errorCode: errorCode,
1089
1103
  });
1090
- _d.label = 9;
1091
- case 9: return [2];
1104
+ _d.label = 11;
1105
+ case 11: return [2];
1092
1106
  }
1093
1107
  });
1094
1108
  }); };
@@ -1124,17 +1138,21 @@ var deserializeAws_restJson1UpdateNotificationRuleCommandError = function (outpu
1124
1138
  errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1125
1139
  _b = errorCode;
1126
1140
  switch (_b) {
1127
- case "ResourceNotFoundException": return [3, 2];
1128
- case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 2];
1129
- case "ValidationException": return [3, 4];
1130
- case "com.amazonaws.codestarnotifications#ValidationException": return [3, 4];
1141
+ case "ConfigurationException": return [3, 2];
1142
+ case "com.amazonaws.codestarnotifications#ConfigurationException": return [3, 2];
1143
+ case "ResourceNotFoundException": return [3, 4];
1144
+ case "com.amazonaws.codestarnotifications#ResourceNotFoundException": return [3, 4];
1145
+ case "ValidationException": return [3, 6];
1146
+ case "com.amazonaws.codestarnotifications#ValidationException": return [3, 6];
1131
1147
  }
1132
- return [3, 6];
1133
- case 2: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1148
+ return [3, 8];
1149
+ case 2: return [4, deserializeAws_restJson1ConfigurationExceptionResponse(parsedOutput, context)];
1134
1150
  case 3: throw _d.sent();
1135
- case 4: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1151
+ case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
1136
1152
  case 5: throw _d.sent();
1137
- case 6:
1153
+ case 6: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
1154
+ case 7: throw _d.sent();
1155
+ case 8:
1138
1156
  parsedBody = parsedOutput.body;
1139
1157
  throwDefaultError({
1140
1158
  output: output,
@@ -1142,8 +1160,8 @@ var deserializeAws_restJson1UpdateNotificationRuleCommandError = function (outpu
1142
1160
  exceptionCtor: __BaseException,
1143
1161
  errorCode: errorCode,
1144
1162
  });
1145
- _d.label = 7;
1146
- case 7: return [2];
1163
+ _d.label = 9;
1164
+ case 9: return [2];
1147
1165
  }
1148
1166
  });
1149
1167
  }); };
@@ -1281,13 +1299,6 @@ var serializeAws_restJson1ListTargetsFilters = function (input, context) {
1281
1299
  return serializeAws_restJson1ListTargetsFilter(entry, context);
1282
1300
  });
1283
1301
  };
1284
- var serializeAws_restJson1TagKeys = function (input, context) {
1285
- return input
1286
- .filter(function (e) { return e != null; })
1287
- .map(function (entry) {
1288
- return entry;
1289
- });
1290
- };
1291
1302
  var serializeAws_restJson1Tags = function (input, context) {
1292
1303
  return Object.entries(input).reduce(function (acc, _a) {
1293
1304
  var _b;
@@ -57,7 +57,7 @@ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput
57
57
  * <ul>
58
58
  * <li>
59
59
  * <p>
60
- * <a>DeleteTarget</a>, which removes a notification rule target (SNS topic) from a
60
+ * <a>DeleteTarget</a>, which removes a notification rule target from a
61
61
  * notification rule. </p>
62
62
  * </li>
63
63
  * <li>
@@ -96,13 +96,13 @@ import { UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput
96
96
  *
97
97
  *
98
98
  *
99
- * <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
99
+ * <p> For information about how to use AWS CodeStar Notifications, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html">Amazon Web Services Developer Tools Console User Guide</a>.
100
100
  * </p>
101
101
  */
102
102
  export declare class CodestarNotifications extends CodestarNotificationsClient {
103
103
  /**
104
104
  * <p>Creates a notification rule for a resource. The rule specifies the events you want
105
- * notifications about and the targets (such as SNS topics) where you want to receive
105
+ * notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive
106
106
  * them.</p>
107
107
  */
108
108
  createNotificationRule(args: CreateNotificationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateNotificationRuleCommandOutput>;
@@ -133,7 +133,7 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
133
133
  listEventTypes(args: ListEventTypesCommandInput, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
134
134
  listEventTypes(args: ListEventTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventTypesCommandOutput) => void): void;
135
135
  /**
136
- * <p>Returns a list of the notification rules for an AWS account.</p>
136
+ * <p>Returns a list of the notification rules for an Amazon Web Services account.</p>
137
137
  */
138
138
  listNotificationRules(args: ListNotificationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationRulesCommandOutput>;
139
139
  listNotificationRules(args: ListNotificationRulesCommandInput, cb: (err: any, data?: ListNotificationRulesCommandOutput) => void): void;
@@ -145,13 +145,13 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
145
145
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
146
146
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
147
147
  /**
148
- * <p>Returns a list of the notification rule targets for an AWS account.</p>
148
+ * <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
149
149
  */
150
150
  listTargets(args: ListTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListTargetsCommandOutput>;
151
151
  listTargets(args: ListTargetsCommandInput, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
152
152
  listTargets(args: ListTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsCommandOutput) => void): void;
153
153
  /**
154
- * <p>Creates an association between a notification rule and an SNS topic so that the
154
+ * <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
155
155
  * associated target can receive notifications when the events described in the rule are
156
156
  * triggered.</p>
157
157
  */
@@ -165,7 +165,7 @@ export declare class CodestarNotifications extends CodestarNotificationsClient {
165
165
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
166
166
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
167
167
  /**
168
- * <p>Removes an association between a notification rule and an Amazon SNS topic so that
168
+ * <p>Removes an association between a notification rule and an Chatbot topic so that
169
169
  * subscribers to that topic stop receiving notifications when the events described in the
170
170
  * rule are triggered.</p>
171
171
  */
@@ -182,7 +182,7 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
182
182
  * <ul>
183
183
  * <li>
184
184
  * <p>
185
- * <a>DeleteTarget</a>, which removes a notification rule target (SNS topic) from a
185
+ * <a>DeleteTarget</a>, which removes a notification rule target from a
186
186
  * notification rule. </p>
187
187
  * </li>
188
188
  * <li>
@@ -221,7 +221,7 @@ export interface CodestarNotificationsClientResolvedConfig extends CodestarNotif
221
221
  *
222
222
  *
223
223
  *
224
- * <p> For information about how to use AWS CodeStar Notifications, see link in the CodeStarNotifications User Guide.
224
+ * <p> For information about how to use AWS CodeStar Notifications, see the <a href="https://docs.aws.amazon.com/dtconsole/latest/userguide/what-is-dtconsole.html">Amazon Web Services Developer Tools Console User Guide</a>.
225
225
  * </p>
226
226
  */
227
227
  export declare class CodestarNotificationsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodestarNotificationsClientResolvedConfig> {
@@ -8,7 +8,7 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
8
8
  }
9
9
  /**
10
10
  * <p>Creates a notification rule for a resource. The rule specifies the events you want
11
- * notifications about and the targets (such as SNS topics) where you want to receive
11
+ * notifications about and the targets (such as Chatbot topics or Chatbot clients configured for Slack) where you want to receive
12
12
  * them.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -7,7 +7,7 @@ export interface ListNotificationRulesCommandInput extends ListNotificationRules
7
7
  export interface ListNotificationRulesCommandOutput extends ListNotificationRulesResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns a list of the notification rules for an AWS account.</p>
10
+ * <p>Returns a list of the notification rules for an Amazon Web Services account.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface ListTargetsCommandInput extends ListTargetsRequest {
7
7
  export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns a list of the notification rule targets for an AWS account.</p>
10
+ * <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -7,7 +7,7 @@ export interface SubscribeCommandInput extends SubscribeRequest {
7
7
  export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an association between a notification rule and an SNS topic so that the
10
+ * <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
11
11
  * associated target can receive notifications when the events described in the rule are
12
12
  * triggered.</p>
13
13
  * @example
@@ -7,7 +7,7 @@ export interface UnsubscribeCommandInput extends UnsubscribeRequest {
7
7
  export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Removes an association between a notification rule and an Amazon SNS topic so that
10
+ * <p>Removes an association between a notification rule and an Chatbot topic so that
11
11
  * subscribers to that topic stop receiving notifications when the events described in the
12
12
  * rule are triggered.</p>
13
13
  * @example