@aws-sdk/client-codestar-notifications 3.296.0 → 3.298.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 (51) hide show
  1. package/dist-cjs/commands/CreateNotificationRuleCommand.js +1 -1
  2. package/dist-cjs/commands/DeleteNotificationRuleCommand.js +2 -3
  3. package/dist-cjs/commands/DeleteTargetCommand.js +1 -1
  4. package/dist-cjs/commands/DescribeNotificationRuleCommand.js +1 -1
  5. package/dist-cjs/commands/ListEventTypesCommand.js +2 -3
  6. package/dist-cjs/commands/ListNotificationRulesCommand.js +2 -3
  7. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
  8. package/dist-cjs/commands/ListTargetsCommand.js +1 -1
  9. package/dist-cjs/commands/SubscribeCommand.js +1 -1
  10. package/dist-cjs/commands/TagResourceCommand.js +2 -3
  11. package/dist-cjs/commands/UnsubscribeCommand.js +1 -1
  12. package/dist-cjs/commands/UntagResourceCommand.js +2 -3
  13. package/dist-cjs/commands/UpdateNotificationRuleCommand.js +1 -1
  14. package/dist-cjs/models/models_0.js +1 -97
  15. package/dist-es/commands/CreateNotificationRuleCommand.js +2 -2
  16. package/dist-es/commands/DeleteNotificationRuleCommand.js +2 -3
  17. package/dist-es/commands/DeleteTargetCommand.js +2 -2
  18. package/dist-es/commands/DescribeNotificationRuleCommand.js +2 -2
  19. package/dist-es/commands/ListEventTypesCommand.js +2 -3
  20. package/dist-es/commands/ListNotificationRulesCommand.js +2 -3
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
  22. package/dist-es/commands/ListTargetsCommand.js +2 -2
  23. package/dist-es/commands/SubscribeCommand.js +2 -2
  24. package/dist-es/commands/TagResourceCommand.js +2 -3
  25. package/dist-es/commands/UnsubscribeCommand.js +2 -2
  26. package/dist-es/commands/UntagResourceCommand.js +2 -3
  27. package/dist-es/commands/UpdateNotificationRuleCommand.js +2 -2
  28. package/dist-es/models/models_0.js +0 -72
  29. package/dist-types/CodestarNotifications.d.ts +14 -0
  30. package/dist-types/CodestarNotificationsClient.d.ts +24 -4
  31. package/dist-types/commands/CreateNotificationRuleCommand.d.ts +16 -0
  32. package/dist-types/commands/DeleteNotificationRuleCommand.d.ts +16 -0
  33. package/dist-types/commands/DeleteTargetCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeNotificationRuleCommand.d.ts +16 -0
  35. package/dist-types/commands/ListEventTypesCommand.d.ts +16 -0
  36. package/dist-types/commands/ListNotificationRulesCommand.d.ts +16 -0
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  38. package/dist-types/commands/ListTargetsCommand.d.ts +16 -0
  39. package/dist-types/commands/SubscribeCommand.d.ts +16 -0
  40. package/dist-types/commands/TagResourceCommand.d.ts +16 -0
  41. package/dist-types/commands/UnsubscribeCommand.d.ts +16 -0
  42. package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
  43. package/dist-types/commands/UpdateNotificationRuleCommand.d.ts +16 -0
  44. package/dist-types/models/CodestarNotificationsServiceException.d.ts +2 -0
  45. package/dist-types/models/models_0.d.ts +111 -96
  46. package/dist-types/pagination/Interfaces.d.ts +3 -0
  47. package/dist-types/pagination/ListEventTypesPaginator.d.ts +3 -0
  48. package/dist-types/pagination/ListNotificationRulesPaginator.d.ts +3 -0
  49. package/dist-types/pagination/ListTargetsPaginator.d.ts +3 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +0 -72
  51. package/package.json +4 -3
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { ListTargetsRequest, ListTargetsResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link ListTargetsCommand}.
8
10
  */
9
11
  export interface ListTargetsCommandInput extends ListTargetsRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link ListTargetsCommand}.
13
17
  */
14
18
  export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Returns a list of the notification rule targets for an Amazon Web Services account.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param ListTargetsCommandInput - {@link ListTargetsCommandInput}
34
+ * @returns {@link ListTargetsCommandOutput}
28
35
  * @see {@link ListTargetsCommandInput} for command's `input` shape.
29
36
  * @see {@link ListTargetsCommandOutput} for command's `response` shape.
30
37
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -40,11 +47,20 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
40
47
  export declare class ListTargetsCommand extends $Command<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig> {
41
48
  readonly input: ListTargetsCommandInput;
42
49
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
50
+ /**
51
+ * @public
52
+ */
43
53
  constructor(input: ListTargetsCommandInput);
44
54
  /**
45
55
  * @internal
46
56
  */
47
57
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTargetsCommandInput, ListTargetsCommandOutput>;
58
+ /**
59
+ * @internal
60
+ */
48
61
  private serialize;
62
+ /**
63
+ * @internal
64
+ */
49
65
  private deserialize;
50
66
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { SubscribeRequest, SubscribeResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link SubscribeCommand}.
8
10
  */
9
11
  export interface SubscribeCommandInput extends SubscribeRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link SubscribeCommand}.
13
17
  */
14
18
  export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Creates an association between a notification rule and an Chatbot topic or Chatbot client so that the
18
23
  * associated target can receive notifications when the events described in the rule are
19
24
  * triggered.</p>
@@ -27,6 +32,8 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param SubscribeCommandInput - {@link SubscribeCommandInput}
36
+ * @returns {@link SubscribeCommandOutput}
30
37
  * @see {@link SubscribeCommandInput} for command's `input` shape.
31
38
  * @see {@link SubscribeCommandOutput} for command's `response` shape.
32
39
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -45,11 +52,20 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
45
52
  export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
46
53
  readonly input: SubscribeCommandInput;
47
54
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
55
+ /**
56
+ * @public
57
+ */
48
58
  constructor(input: SubscribeCommandInput);
49
59
  /**
50
60
  * @internal
51
61
  */
52
62
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SubscribeCommandInput, SubscribeCommandOutput>;
63
+ /**
64
+ * @internal
65
+ */
53
66
  private serialize;
67
+ /**
68
+ * @internal
69
+ */
54
70
  private deserialize;
55
71
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { TagResourceRequest, TagResourceResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link TagResourceCommand}.
8
10
  */
9
11
  export interface TagResourceCommandInput extends TagResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link TagResourceCommand}.
13
17
  */
14
18
  export interface TagResourceCommandOutput extends TagResourceResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Associates a set of provided tags with a notification rule.</p>
18
23
  * @example
19
24
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
25
30
  * const response = await client.send(command);
26
31
  * ```
27
32
  *
33
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
34
+ * @returns {@link TagResourceCommandOutput}
28
35
  * @see {@link TagResourceCommandInput} for command's `input` shape.
29
36
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
30
37
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -49,11 +56,20 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
49
56
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
50
57
  readonly input: TagResourceCommandInput;
51
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
59
+ /**
60
+ * @public
61
+ */
52
62
  constructor(input: TagResourceCommandInput);
53
63
  /**
54
64
  * @internal
55
65
  */
56
66
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
67
+ /**
68
+ * @internal
69
+ */
57
70
  private serialize;
71
+ /**
72
+ * @internal
73
+ */
58
74
  private deserialize;
59
75
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { UnsubscribeRequest, UnsubscribeResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UnsubscribeCommand}.
8
10
  */
9
11
  export interface UnsubscribeCommandInput extends UnsubscribeRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UnsubscribeCommand}.
13
17
  */
14
18
  export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Removes an association between a notification rule and an Chatbot topic so that
18
23
  * subscribers to that topic stop receiving notifications when the events described in the
19
24
  * rule are triggered.</p>
@@ -27,6 +32,8 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
27
32
  * const response = await client.send(command);
28
33
  * ```
29
34
  *
35
+ * @param UnsubscribeCommandInput - {@link UnsubscribeCommandInput}
36
+ * @returns {@link UnsubscribeCommandOutput}
30
37
  * @see {@link UnsubscribeCommandInput} for command's `input` shape.
31
38
  * @see {@link UnsubscribeCommandOutput} for command's `response` shape.
32
39
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -39,11 +46,20 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
39
46
  export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
40
47
  readonly input: UnsubscribeCommandInput;
41
48
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
49
+ /**
50
+ * @public
51
+ */
42
52
  constructor(input: UnsubscribeCommandInput);
43
53
  /**
44
54
  * @internal
45
55
  */
46
56
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnsubscribeCommandInput, UnsubscribeCommandOutput>;
57
+ /**
58
+ * @internal
59
+ */
47
60
  private serialize;
61
+ /**
62
+ * @internal
63
+ */
48
64
  private deserialize;
49
65
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { UntagResourceRequest, UntagResourceResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UntagResourceCommand}.
8
10
  */
9
11
  export interface UntagResourceCommandInput extends UntagResourceRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UntagResourceCommand}.
13
17
  */
14
18
  export interface UntagResourceCommandOutput extends UntagResourceResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Removes the association between one or more provided tags and a notification
18
23
  * rule.</p>
19
24
  * @example
@@ -26,6 +31,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
26
31
  * const response = await client.send(command);
27
32
  * ```
28
33
  *
34
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
35
+ * @returns {@link UntagResourceCommandOutput}
29
36
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
30
37
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
31
38
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -50,11 +57,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
50
57
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
51
58
  readonly input: UntagResourceCommandInput;
52
59
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ /**
61
+ * @public
62
+ */
53
63
  constructor(input: UntagResourceCommandInput);
54
64
  /**
55
65
  * @internal
56
66
  */
57
67
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
68
+ /**
69
+ * @internal
70
+ */
58
71
  private serialize;
72
+ /**
73
+ * @internal
74
+ */
59
75
  private deserialize;
60
76
  }
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
4
4
  import { CodestarNotificationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodestarNotificationsClient";
5
5
  import { UpdateNotificationRuleRequest, UpdateNotificationRuleResult } from "../models/models_0";
6
6
  /**
7
+ * @public
8
+ *
7
9
  * The input for {@link UpdateNotificationRuleCommand}.
8
10
  */
9
11
  export interface UpdateNotificationRuleCommandInput extends UpdateNotificationRuleRequest {
10
12
  }
11
13
  /**
14
+ * @public
15
+ *
12
16
  * The output of {@link UpdateNotificationRuleCommand}.
13
17
  */
14
18
  export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationRuleResult, __MetadataBearer {
15
19
  }
16
20
  /**
21
+ * @public
17
22
  * <p>Updates a notification rule for a resource. You can change the events that trigger the
18
23
  * notification rule, the status of the rule, and the targets that receive the
19
24
  * notifications.</p>
@@ -30,6 +35,8 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
30
35
  * const response = await client.send(command);
31
36
  * ```
32
37
  *
38
+ * @param UpdateNotificationRuleCommandInput - {@link UpdateNotificationRuleCommandInput}
39
+ * @returns {@link UpdateNotificationRuleCommandOutput}
33
40
  * @see {@link UpdateNotificationRuleCommandInput} for command's `input` shape.
34
41
  * @see {@link UpdateNotificationRuleCommandOutput} for command's `response` shape.
35
42
  * @see {@link CodestarNotificationsClientResolvedConfig | config} for CodestarNotificationsClient's `config` shape.
@@ -48,11 +55,20 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
48
55
  export declare class UpdateNotificationRuleCommand extends $Command<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
49
56
  readonly input: UpdateNotificationRuleCommandInput;
50
57
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
58
+ /**
59
+ * @public
60
+ */
51
61
  constructor(input: UpdateNotificationRuleCommandInput);
52
62
  /**
53
63
  * @internal
54
64
  */
55
65
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodestarNotificationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput>;
66
+ /**
67
+ * @internal
68
+ */
56
69
  private serialize;
70
+ /**
71
+ * @internal
72
+ */
57
73
  private deserialize;
58
74
  }
@@ -1,5 +1,7 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
2
  /**
3
+ * @public
4
+ *
3
5
  * Base exception class for all service exceptions from CodestarNotifications service.
4
6
  */
5
7
  export declare class CodestarNotificationsServiceException extends __ServiceException {