@aws-sdk/client-codestar-notifications 3.321.1 → 3.326.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.
@@ -49,6 +49,10 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
49
49
  * };
50
50
  * const command = new CreateNotificationRuleCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // CreateNotificationRuleResult
53
+ * // Arn: "STRING_VALUE",
54
+ * // };
55
+ *
52
56
  * ```
53
57
  *
54
58
  * @param CreateNotificationRuleCommandInput - {@link CreateNotificationRuleCommandInput}
@@ -80,6 +84,8 @@ export interface CreateNotificationRuleCommandOutput extends CreateNotificationR
80
84
  * @throws {@link ValidationException} (client fault)
81
85
  * <p>One or more parameter values are not valid.</p>
82
86
  *
87
+ * @throws {@link CodestarNotificationsServiceException}
88
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
83
89
  *
84
90
  */
85
91
  export declare class CreateNotificationRuleCommand extends $Command<CreateNotificationRuleCommandInput, CreateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -31,6 +31,10 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
31
31
  * };
32
32
  * const command = new DeleteNotificationRuleCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DeleteNotificationRuleResult
35
+ * // Arn: "STRING_VALUE",
36
+ * // };
37
+ *
34
38
  * ```
35
39
  *
36
40
  * @param DeleteNotificationRuleCommandInput - {@link DeleteNotificationRuleCommandInput}
@@ -51,6 +55,8 @@ export interface DeleteNotificationRuleCommandOutput extends DeleteNotificationR
51
55
  * @throws {@link ValidationException} (client fault)
52
56
  * <p>One or more parameter values are not valid.</p>
53
57
  *
58
+ * @throws {@link CodestarNotificationsServiceException}
59
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
54
60
  *
55
61
  */
56
62
  export declare class DeleteNotificationRuleCommand extends $Command<DeleteNotificationRuleCommandInput, DeleteNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
32
32
  * };
33
33
  * const command = new DeleteTargetCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteTargetCommandInput - {@link DeleteTargetCommandInput}
@@ -43,6 +45,8 @@ export interface DeleteTargetCommandOutput extends DeleteTargetResult, __Metadat
43
45
  * @throws {@link ValidationException} (client fault)
44
46
  * <p>One or more parameter values are not valid.</p>
45
47
  *
48
+ * @throws {@link CodestarNotificationsServiceException}
49
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
46
50
  *
47
51
  */
48
52
  export declare class DeleteTargetCommand extends $Command<DeleteTargetCommandInput, DeleteTargetCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -31,6 +31,35 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
31
31
  * };
32
32
  * const command = new DescribeNotificationRuleCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DescribeNotificationRuleResult
35
+ * // Arn: "STRING_VALUE", // required
36
+ * // Name: "STRING_VALUE",
37
+ * // EventTypes: [ // EventTypeBatch
38
+ * // { // EventTypeSummary
39
+ * // EventTypeId: "STRING_VALUE",
40
+ * // ServiceName: "STRING_VALUE",
41
+ * // EventTypeName: "STRING_VALUE",
42
+ * // ResourceType: "STRING_VALUE",
43
+ * // },
44
+ * // ],
45
+ * // Resource: "STRING_VALUE",
46
+ * // Targets: [ // TargetsBatch
47
+ * // { // TargetSummary
48
+ * // TargetAddress: "STRING_VALUE",
49
+ * // TargetType: "STRING_VALUE",
50
+ * // TargetStatus: "PENDING" || "ACTIVE" || "UNREACHABLE" || "INACTIVE" || "DEACTIVATED",
51
+ * // },
52
+ * // ],
53
+ * // DetailType: "BASIC" || "FULL",
54
+ * // CreatedBy: "STRING_VALUE",
55
+ * // Status: "ENABLED" || "DISABLED",
56
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
57
+ * // LastModifiedTimestamp: new Date("TIMESTAMP"),
58
+ * // Tags: { // Tags
59
+ * // "<keys>": "STRING_VALUE",
60
+ * // },
61
+ * // };
62
+ *
34
63
  * ```
35
64
  *
36
65
  * @param DescribeNotificationRuleCommandInput - {@link DescribeNotificationRuleCommandInput}
@@ -45,6 +74,8 @@ export interface DescribeNotificationRuleCommandOutput extends DescribeNotificat
45
74
  * @throws {@link ValidationException} (client fault)
46
75
  * <p>One or more parameter values are not valid.</p>
47
76
  *
77
+ * @throws {@link CodestarNotificationsServiceException}
78
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
48
79
  *
49
80
  */
50
81
  export declare class DescribeNotificationRuleCommand extends $Command<DescribeNotificationRuleCommandInput, DescribeNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -38,6 +38,18 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
38
38
  * };
39
39
  * const command = new ListEventTypesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListEventTypesResult
42
+ * // EventTypes: [ // EventTypeBatch
43
+ * // { // EventTypeSummary
44
+ * // EventTypeId: "STRING_VALUE",
45
+ * // ServiceName: "STRING_VALUE",
46
+ * // EventTypeName: "STRING_VALUE",
47
+ * // ResourceType: "STRING_VALUE",
48
+ * // },
49
+ * // ],
50
+ * // NextToken: "STRING_VALUE",
51
+ * // };
52
+ *
41
53
  * ```
42
54
  *
43
55
  * @param ListEventTypesCommandInput - {@link ListEventTypesCommandInput}
@@ -52,6 +64,8 @@ export interface ListEventTypesCommandOutput extends ListEventTypesResult, __Met
52
64
  * @throws {@link ValidationException} (client fault)
53
65
  * <p>One or more parameter values are not valid.</p>
54
66
  *
67
+ * @throws {@link CodestarNotificationsServiceException}
68
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
55
69
  *
56
70
  */
57
71
  export declare class ListEventTypesCommand extends $Command<ListEventTypesCommandInput, ListEventTypesCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -38,6 +38,16 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
38
38
  * };
39
39
  * const command = new ListNotificationRulesCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListNotificationRulesResult
42
+ * // NextToken: "STRING_VALUE",
43
+ * // NotificationRules: [ // NotificationRuleBatch
44
+ * // { // NotificationRuleSummary
45
+ * // Id: "STRING_VALUE",
46
+ * // Arn: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // };
50
+ *
41
51
  * ```
42
52
  *
43
53
  * @param ListNotificationRulesCommandInput - {@link ListNotificationRulesCommandInput}
@@ -52,6 +62,8 @@ export interface ListNotificationRulesCommandOutput extends ListNotificationRule
52
62
  * @throws {@link ValidationException} (client fault)
53
63
  * <p>One or more parameter values are not valid.</p>
54
64
  *
65
+ * @throws {@link CodestarNotificationsServiceException}
66
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
55
67
  *
56
68
  */
57
69
  export declare class ListNotificationRulesCommand extends $Command<ListNotificationRulesCommandInput, ListNotificationRulesCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResult
35
+ * // Tags: { // Tags
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -45,6 +51,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
45
51
  * @throws {@link ValidationException} (client fault)
46
52
  * <p>One or more parameter values are not valid.</p>
47
53
  *
54
+ * @throws {@link CodestarNotificationsServiceException}
55
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
48
56
  *
49
57
  */
50
58
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -38,6 +38,17 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
38
38
  * };
39
39
  * const command = new ListTargetsCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // ListTargetsResult
42
+ * // Targets: [ // TargetsBatch
43
+ * // { // TargetSummary
44
+ * // TargetAddress: "STRING_VALUE",
45
+ * // TargetType: "STRING_VALUE",
46
+ * // TargetStatus: "PENDING" || "ACTIVE" || "UNREACHABLE" || "INACTIVE" || "DEACTIVATED",
47
+ * // },
48
+ * // ],
49
+ * // NextToken: "STRING_VALUE",
50
+ * // };
51
+ *
41
52
  * ```
42
53
  *
43
54
  * @param ListTargetsCommandInput - {@link ListTargetsCommandInput}
@@ -52,6 +63,8 @@ export interface ListTargetsCommandOutput extends ListTargetsResult, __MetadataB
52
63
  * @throws {@link ValidationException} (client fault)
53
64
  * <p>One or more parameter values are not valid.</p>
54
65
  *
66
+ * @throws {@link CodestarNotificationsServiceException}
67
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
55
68
  *
56
69
  */
57
70
  export declare class ListTargetsCommand extends $Command<ListTargetsCommandInput, ListTargetsCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -38,6 +38,10 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
38
38
  * };
39
39
  * const command = new SubscribeCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // SubscribeResult
42
+ * // Arn: "STRING_VALUE",
43
+ * // };
44
+ *
41
45
  * ```
42
46
  *
43
47
  * @param SubscribeCommandInput - {@link SubscribeCommandInput}
@@ -55,6 +59,8 @@ export interface SubscribeCommandOutput extends SubscribeResult, __MetadataBeare
55
59
  * @throws {@link ValidationException} (client fault)
56
60
  * <p>One or more parameter values are not valid.</p>
57
61
  *
62
+ * @throws {@link CodestarNotificationsServiceException}
63
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
58
64
  *
59
65
  */
60
66
  export declare class SubscribeCommand extends $Command<SubscribeCommandInput, SubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -34,6 +34,12 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // TagResourceResult
38
+ * // Tags: { // Tags
39
+ * // "<keys>": "STRING_VALUE",
40
+ * // },
41
+ * // };
42
+ *
37
43
  * ```
38
44
  *
39
45
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -57,6 +63,8 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
57
63
  * @throws {@link ValidationException} (client fault)
58
64
  * <p>One or more parameter values are not valid.</p>
59
65
  *
66
+ * @throws {@link CodestarNotificationsServiceException}
67
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
60
68
  *
61
69
  */
62
70
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -34,6 +34,10 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
34
34
  * };
35
35
  * const command = new UnsubscribeCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // UnsubscribeResult
38
+ * // Arn: "STRING_VALUE", // required
39
+ * // };
40
+ *
37
41
  * ```
38
42
  *
39
43
  * @param UnsubscribeCommandInput - {@link UnsubscribeCommandInput}
@@ -45,6 +49,8 @@ export interface UnsubscribeCommandOutput extends UnsubscribeResult, __MetadataB
45
49
  * @throws {@link ValidationException} (client fault)
46
50
  * <p>One or more parameter values are not valid.</p>
47
51
  *
52
+ * @throws {@link CodestarNotificationsServiceException}
53
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
48
54
  *
49
55
  */
50
56
  export declare class UnsubscribeCommand extends $Command<UnsubscribeCommandInput, UnsubscribeCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
35
35
  * };
36
36
  * const command = new UntagResourceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -58,6 +60,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
58
60
  * @throws {@link ValidationException} (client fault)
59
61
  * <p>One or more parameter values are not valid.</p>
60
62
  *
63
+ * @throws {@link CodestarNotificationsServiceException}
64
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
61
65
  *
62
66
  */
63
67
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CodestarNotificationsClientResolvedConfig> {
@@ -48,6 +48,8 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
48
48
  * };
49
49
  * const command = new UpdateNotificationRuleCommand(input);
50
50
  * const response = await client.send(command);
51
+ * // {};
52
+ *
51
53
  * ```
52
54
  *
53
55
  * @param UpdateNotificationRuleCommandInput - {@link UpdateNotificationRuleCommandInput}
@@ -65,6 +67,8 @@ export interface UpdateNotificationRuleCommandOutput extends UpdateNotificationR
65
67
  * @throws {@link ValidationException} (client fault)
66
68
  * <p>One or more parameter values are not valid.</p>
67
69
  *
70
+ * @throws {@link CodestarNotificationsServiceException}
71
+ * <p>Base exception class for all service exceptions from CodestarNotifications service.</p>
68
72
  *
69
73
  */
70
74
  export declare class UpdateNotificationRuleCommand extends $Command<UpdateNotificationRuleCommandInput, UpdateNotificationRuleCommandOutput, CodestarNotificationsClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codestar-notifications",
3
3
  "description": "AWS SDK for JavaScript Codestar Notifications Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
4
+ "version": "3.326.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",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",