@aws-sdk/client-application-signals 3.594.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 (167) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +345 -0
  3. package/dist-cjs/ApplicationSignals.js +41 -0
  4. package/dist-cjs/ApplicationSignalsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +28 -0
  8. package/dist-cjs/commands/CreateServiceLevelObjectiveCommand.js +28 -0
  9. package/dist-cjs/commands/DeleteServiceLevelObjectiveCommand.js +28 -0
  10. package/dist-cjs/commands/GetServiceCommand.js +28 -0
  11. package/dist-cjs/commands/GetServiceLevelObjectiveCommand.js +28 -0
  12. package/dist-cjs/commands/ListServiceDependenciesCommand.js +28 -0
  13. package/dist-cjs/commands/ListServiceDependentsCommand.js +28 -0
  14. package/dist-cjs/commands/ListServiceLevelObjectivesCommand.js +28 -0
  15. package/dist-cjs/commands/ListServiceOperationsCommand.js +28 -0
  16. package/dist-cjs/commands/ListServicesCommand.js +28 -0
  17. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  18. package/dist-cjs/commands/StartDiscoveryCommand.js +28 -0
  19. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  20. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  21. package/dist-cjs/commands/UpdateServiceLevelObjectiveCommand.js +28 -0
  22. package/dist-cjs/commands/index.js +18 -0
  23. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  24. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  25. package/dist-cjs/endpoint/ruleset.js +7 -0
  26. package/dist-cjs/extensionConfiguration.js +2 -0
  27. package/dist-cjs/index.js +11 -0
  28. package/dist-cjs/models/ApplicationSignalsServiceException.js +12 -0
  29. package/dist-cjs/models/index.js +4 -0
  30. package/dist-cjs/models/models_0.js +148 -0
  31. package/dist-cjs/pagination/Interfaces.js +2 -0
  32. package/dist-cjs/pagination/ListServiceDependenciesPaginator.js +7 -0
  33. package/dist-cjs/pagination/ListServiceDependentsPaginator.js +7 -0
  34. package/dist-cjs/pagination/ListServiceLevelObjectivesPaginator.js +7 -0
  35. package/dist-cjs/pagination/ListServiceOperationsPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListServicesPaginator.js +7 -0
  37. package/dist-cjs/pagination/index.js +9 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +713 -0
  39. package/dist-cjs/runtimeConfig.browser.js +39 -0
  40. package/dist-cjs/runtimeConfig.js +49 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +34 -0
  43. package/dist-cjs/runtimeExtensions.js +25 -0
  44. package/dist-es/ApplicationSignals.js +37 -0
  45. package/dist-es/ApplicationSignalsClient.js +52 -0
  46. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  47. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  48. package/dist-es/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.js +24 -0
  49. package/dist-es/commands/CreateServiceLevelObjectiveCommand.js +24 -0
  50. package/dist-es/commands/DeleteServiceLevelObjectiveCommand.js +24 -0
  51. package/dist-es/commands/GetServiceCommand.js +24 -0
  52. package/dist-es/commands/GetServiceLevelObjectiveCommand.js +24 -0
  53. package/dist-es/commands/ListServiceDependenciesCommand.js +24 -0
  54. package/dist-es/commands/ListServiceDependentsCommand.js +24 -0
  55. package/dist-es/commands/ListServiceLevelObjectivesCommand.js +24 -0
  56. package/dist-es/commands/ListServiceOperationsCommand.js +24 -0
  57. package/dist-es/commands/ListServicesCommand.js +24 -0
  58. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  59. package/dist-es/commands/StartDiscoveryCommand.js +24 -0
  60. package/dist-es/commands/TagResourceCommand.js +24 -0
  61. package/dist-es/commands/UntagResourceCommand.js +24 -0
  62. package/dist-es/commands/UpdateServiceLevelObjectiveCommand.js +24 -0
  63. package/dist-es/commands/index.js +15 -0
  64. package/dist-es/endpoint/EndpointParameters.js +12 -0
  65. package/dist-es/endpoint/endpointResolver.js +10 -0
  66. package/dist-es/endpoint/ruleset.js +4 -0
  67. package/dist-es/extensionConfiguration.js +1 -0
  68. package/dist-es/index.js +6 -0
  69. package/dist-es/models/ApplicationSignalsServiceException.js +8 -0
  70. package/dist-es/models/index.js +1 -0
  71. package/dist-es/models/models_0.js +139 -0
  72. package/dist-es/pagination/Interfaces.js +1 -0
  73. package/dist-es/pagination/ListServiceDependenciesPaginator.js +4 -0
  74. package/dist-es/pagination/ListServiceDependentsPaginator.js +4 -0
  75. package/dist-es/pagination/ListServiceLevelObjectivesPaginator.js +4 -0
  76. package/dist-es/pagination/ListServiceOperationsPaginator.js +4 -0
  77. package/dist-es/pagination/ListServicesPaginator.js +4 -0
  78. package/dist-es/pagination/index.js +6 -0
  79. package/dist-es/protocols/Aws_restJson1.js +680 -0
  80. package/dist-es/runtimeConfig.browser.js +34 -0
  81. package/dist-es/runtimeConfig.js +44 -0
  82. package/dist-es/runtimeConfig.native.js +11 -0
  83. package/dist-es/runtimeConfig.shared.js +30 -0
  84. package/dist-es/runtimeExtensions.js +21 -0
  85. package/dist-types/ApplicationSignals.d.ts +137 -0
  86. package/dist-types/ApplicationSignalsClient.d.ts +206 -0
  87. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  88. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  89. package/dist-types/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +148 -0
  90. package/dist-types/commands/CreateServiceLevelObjectiveCommand.d.ts +252 -0
  91. package/dist-types/commands/DeleteServiceLevelObjectiveCommand.d.ts +67 -0
  92. package/dist-types/commands/GetServiceCommand.d.ts +94 -0
  93. package/dist-types/commands/GetServiceLevelObjectiveCommand.d.ts +126 -0
  94. package/dist-types/commands/ListServiceDependenciesCommand.d.ts +99 -0
  95. package/dist-types/commands/ListServiceDependentsCommand.d.ts +97 -0
  96. package/dist-types/commands/ListServiceLevelObjectivesCommand.d.ts +82 -0
  97. package/dist-types/commands/ListServiceOperationsCommand.d.ts +93 -0
  98. package/dist-types/commands/ListServicesCommand.d.ts +98 -0
  99. package/dist-types/commands/ListTagsForResourceCommand.d.ts +71 -0
  100. package/dist-types/commands/StartDiscoveryCommand.d.ts +108 -0
  101. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  102. package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
  103. package/dist-types/commands/UpdateServiceLevelObjectiveCommand.d.ts +181 -0
  104. package/dist-types/commands/index.d.ts +15 -0
  105. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  106. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  107. package/dist-types/endpoint/ruleset.d.ts +2 -0
  108. package/dist-types/extensionConfiguration.d.ts +9 -0
  109. package/dist-types/index.d.ts +34 -0
  110. package/dist-types/models/ApplicationSignalsServiceException.d.ts +14 -0
  111. package/dist-types/models/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +2004 -0
  113. package/dist-types/pagination/Interfaces.d.ts +8 -0
  114. package/dist-types/pagination/ListServiceDependenciesPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListServiceDependentsPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListServiceLevelObjectivesPaginator.d.ts +7 -0
  117. package/dist-types/pagination/ListServiceOperationsPaginator.d.ts +7 -0
  118. package/dist-types/pagination/ListServicesPaginator.d.ts +7 -0
  119. package/dist-types/pagination/index.d.ts +6 -0
  120. package/dist-types/protocols/Aws_restJson1.d.ts +137 -0
  121. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  122. package/dist-types/runtimeConfig.d.ts +45 -0
  123. package/dist-types/runtimeConfig.native.d.ts +44 -0
  124. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  125. package/dist-types/runtimeExtensions.d.ts +17 -0
  126. package/dist-types/ts3.4/ApplicationSignals.d.ts +270 -0
  127. package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +213 -0
  128. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  129. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  130. package/dist-types/ts3.4/commands/BatchGetServiceLevelObjectiveBudgetReportCommand.d.ts +40 -0
  131. package/dist-types/ts3.4/commands/CreateServiceLevelObjectiveCommand.d.ts +40 -0
  132. package/dist-types/ts3.4/commands/DeleteServiceLevelObjectiveCommand.d.ts +40 -0
  133. package/dist-types/ts3.4/commands/GetServiceCommand.d.ts +36 -0
  134. package/dist-types/ts3.4/commands/GetServiceLevelObjectiveCommand.d.ts +40 -0
  135. package/dist-types/ts3.4/commands/ListServiceDependenciesCommand.d.ts +40 -0
  136. package/dist-types/ts3.4/commands/ListServiceDependentsCommand.d.ts +40 -0
  137. package/dist-types/ts3.4/commands/ListServiceLevelObjectivesCommand.d.ts +40 -0
  138. package/dist-types/ts3.4/commands/ListServiceOperationsCommand.d.ts +40 -0
  139. package/dist-types/ts3.4/commands/ListServicesCommand.d.ts +36 -0
  140. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  141. package/dist-types/ts3.4/commands/StartDiscoveryCommand.d.ts +36 -0
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  144. package/dist-types/ts3.4/commands/UpdateServiceLevelObjectiveCommand.d.ts +40 -0
  145. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  146. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  147. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  148. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  149. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  150. package/dist-types/ts3.4/index.d.ts +9 -0
  151. package/dist-types/ts3.4/models/ApplicationSignalsServiceException.d.ts +9 -0
  152. package/dist-types/ts3.4/models/index.d.ts +1 -0
  153. package/dist-types/ts3.4/models/models_0.d.ts +390 -0
  154. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  155. package/dist-types/ts3.4/pagination/ListServiceDependenciesPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/ListServiceDependentsPaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/ListServiceLevelObjectivesPaginator.d.ts +11 -0
  158. package/dist-types/ts3.4/pagination/ListServiceOperationsPaginator.d.ts +11 -0
  159. package/dist-types/ts3.4/pagination/ListServicesPaginator.d.ts +11 -0
  160. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  161. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +185 -0
  162. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  163. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  164. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  165. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  166. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  167. package/package.json +101 -0
@@ -0,0 +1,71 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Displays the tags associated with a CloudWatch resource. Tags can be assigned to service level objectives.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ApplicationSignalsClient, ListTagsForResourceCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
35
+ * // const { ApplicationSignalsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
36
+ * const client = new ApplicationSignalsClient(config);
37
+ * const input = { // ListTagsForResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new ListTagsForResourceCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListTagsForResourceResponse
43
+ * // Tags: [ // TagList
44
+ * // { // Tag
45
+ * // Key: "STRING_VALUE", // required
46
+ * // Value: "STRING_VALUE", // required
47
+ * // },
48
+ * // ],
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
54
+ * @returns {@link ListTagsForResourceCommandOutput}
55
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
56
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
57
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
58
+ *
59
+ * @throws {@link ResourceNotFoundException} (client fault)
60
+ * <p>Resource not found.</p>
61
+ *
62
+ * @throws {@link ThrottlingException} (client fault)
63
+ * <p>The request was throttled because of quota limits.</p>
64
+ *
65
+ * @throws {@link ApplicationSignalsServiceException}
66
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
67
+ *
68
+ * @public
69
+ */
70
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
71
+ }
@@ -0,0 +1,108 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { StartDiscoveryInput, StartDiscoveryOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartDiscoveryCommand}.
14
+ */
15
+ export interface StartDiscoveryCommandInput extends StartDiscoveryInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartDiscoveryCommand}.
21
+ */
22
+ export interface StartDiscoveryCommandOutput extends StartDiscoveryOutput, __MetadataBearer {
23
+ }
24
+ declare const StartDiscoveryCommand_base: {
25
+ new (input: StartDiscoveryCommandInput): import("@smithy/smithy-client").CommandImpl<StartDiscoveryCommandInput, StartDiscoveryCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [StartDiscoveryCommandInput]): import("@smithy/smithy-client").CommandImpl<StartDiscoveryCommandInput, StartDiscoveryCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Enables this Amazon Web Services account to be able to use CloudWatch Application Signals
31
+ * by creating the <i>AWSServiceRoleForCloudWatchApplicationSignals</i> service-linked role. This service-
32
+ * linked role has the following permissions:</p>
33
+ * <ul>
34
+ * <li>
35
+ * <p>
36
+ * <code>xray:GetServiceGraph</code>
37
+ * </p>
38
+ * </li>
39
+ * <li>
40
+ * <p>
41
+ * <code>logs:StartQuery</code>
42
+ * </p>
43
+ * </li>
44
+ * <li>
45
+ * <p>
46
+ * <code>logs:GetQueryResults</code>
47
+ * </p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>cloudwatch:GetMetricData</code>
52
+ * </p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <code>cloudwatch:ListMetrics</code>
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>tag:GetResources</code>
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>autoscaling:DescribeAutoScalingGroups</code>
67
+ * </p>
68
+ * </li>
69
+ * </ul>
70
+ * <p>After completing this step, you still need to instrument your Java and Python applications to send data
71
+ * to Application Signals. For more information, see
72
+ * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Application-Signals-Enable.html">
73
+ * Enabling Application Signals</a>.</p>
74
+ * @example
75
+ * Use a bare-bones client and the command you need to make an API call.
76
+ * ```javascript
77
+ * import { ApplicationSignalsClient, StartDiscoveryCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
78
+ * // const { ApplicationSignalsClient, StartDiscoveryCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
79
+ * const client = new ApplicationSignalsClient(config);
80
+ * const input = {};
81
+ * const command = new StartDiscoveryCommand(input);
82
+ * const response = await client.send(command);
83
+ * // {};
84
+ *
85
+ * ```
86
+ *
87
+ * @param StartDiscoveryCommandInput - {@link StartDiscoveryCommandInput}
88
+ * @returns {@link StartDiscoveryCommandOutput}
89
+ * @see {@link StartDiscoveryCommandInput} for command's `input` shape.
90
+ * @see {@link StartDiscoveryCommandOutput} for command's `response` shape.
91
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
92
+ *
93
+ * @throws {@link AccessDeniedException} (client fault)
94
+ * <p>You don't have sufficient permissions to perform this action.</p>
95
+ *
96
+ * @throws {@link ThrottlingException} (client fault)
97
+ * <p>The request was throttled because of quota limits.</p>
98
+ *
99
+ * @throws {@link ValidationException} (client fault)
100
+ * <p>The resource is not valid.</p>
101
+ *
102
+ * @throws {@link ApplicationSignalsServiceException}
103
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
104
+ *
105
+ * @public
106
+ */
107
+ export declare class StartDiscoveryCommand extends StartDiscoveryCommand_base {
108
+ }
@@ -0,0 +1,82 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.</p>
31
+ * <p>Tags can help you organize and categorize your resources. You can also use them to scope user
32
+ * permissions by granting a user
33
+ * permission to access or change only resources with certain tag values.</p>
34
+ * <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.</p>
35
+ * <p>You can use the <code>TagResource</code> action with an alarm that already has tags. If you specify a new tag key for the alarm,
36
+ * this tag is appended to the list of tags associated
37
+ * with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces
38
+ * the previous value for that tag.</p>
39
+ * <p>You can associate as many as 50 tags with a CloudWatch resource.</p>
40
+ * @example
41
+ * Use a bare-bones client and the command you need to make an API call.
42
+ * ```javascript
43
+ * import { ApplicationSignalsClient, TagResourceCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
44
+ * // const { ApplicationSignalsClient, TagResourceCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
45
+ * const client = new ApplicationSignalsClient(config);
46
+ * const input = { // TagResourceRequest
47
+ * ResourceArn: "STRING_VALUE", // required
48
+ * Tags: [ // TagList // required
49
+ * { // Tag
50
+ * Key: "STRING_VALUE", // required
51
+ * Value: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * };
55
+ * const command = new TagResourceCommand(input);
56
+ * const response = await client.send(command);
57
+ * // {};
58
+ *
59
+ * ```
60
+ *
61
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
62
+ * @returns {@link TagResourceCommandOutput}
63
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
64
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
65
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
66
+ *
67
+ * @throws {@link ResourceNotFoundException} (client fault)
68
+ * <p>Resource not found.</p>
69
+ *
70
+ * @throws {@link ServiceQuotaExceededException} (client fault)
71
+ * <p>This request exceeds a service quota.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was throttled because of quota limits.</p>
75
+ *
76
+ * @throws {@link ApplicationSignalsServiceException}
77
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
78
+ *
79
+ * @public
80
+ */
81
+ export declare class TagResourceCommand extends TagResourceCommand_base {
82
+ }
@@ -0,0 +1,67 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes one or more tags from the specified resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ApplicationSignalsClient, UntagResourceCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
35
+ * // const { ApplicationSignalsClient, UntagResourceCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
36
+ * const client = new ApplicationSignalsClient(config);
37
+ * const input = { // UntagResourceRequest
38
+ * ResourceArn: "STRING_VALUE", // required
39
+ * TagKeys: [ // TagKeyList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
43
+ * const command = new UntagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
50
+ * @returns {@link UntagResourceCommandOutput}
51
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>Resource not found.</p>
57
+ *
58
+ * @throws {@link ThrottlingException} (client fault)
59
+ * <p>The request was throttled because of quota limits.</p>
60
+ *
61
+ * @throws {@link ApplicationSignalsServiceException}
62
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
63
+ *
64
+ * @public
65
+ */
66
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
67
+ }
@@ -0,0 +1,181 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
4
+ import { UpdateServiceLevelObjectiveInput, UpdateServiceLevelObjectiveOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateServiceLevelObjectiveCommand}.
14
+ */
15
+ export interface UpdateServiceLevelObjectiveCommandInput extends UpdateServiceLevelObjectiveInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateServiceLevelObjectiveCommand}.
21
+ */
22
+ export interface UpdateServiceLevelObjectiveCommandOutput extends UpdateServiceLevelObjectiveOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateServiceLevelObjectiveCommand_base: {
25
+ new (input: UpdateServiceLevelObjectiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServiceLevelObjectiveCommandInput, UpdateServiceLevelObjectiveCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateServiceLevelObjectiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateServiceLevelObjectiveCommandInput, UpdateServiceLevelObjectiveCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates an existing service level objective (SLO). If you omit parameters, the previous values
31
+ * of those parameters are retained. </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ApplicationSignalsClient, UpdateServiceLevelObjectiveCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
36
+ * // const { ApplicationSignalsClient, UpdateServiceLevelObjectiveCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
37
+ * const client = new ApplicationSignalsClient(config);
38
+ * const input = { // UpdateServiceLevelObjectiveInput
39
+ * Id: "STRING_VALUE", // required
40
+ * Description: "STRING_VALUE",
41
+ * SliConfig: { // ServiceLevelIndicatorConfig
42
+ * SliMetricConfig: { // ServiceLevelIndicatorMetricConfig
43
+ * KeyAttributes: { // Attributes
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * OperationName: "STRING_VALUE",
47
+ * MetricType: "LATENCY" || "AVAILABILITY",
48
+ * Statistic: "STRING_VALUE",
49
+ * PeriodSeconds: Number("int"),
50
+ * MetricDataQueries: [ // MetricDataQueries
51
+ * { // MetricDataQuery
52
+ * Id: "STRING_VALUE", // required
53
+ * MetricStat: { // MetricStat
54
+ * Metric: { // Metric
55
+ * Namespace: "STRING_VALUE",
56
+ * MetricName: "STRING_VALUE",
57
+ * Dimensions: [ // Dimensions
58
+ * { // Dimension
59
+ * Name: "STRING_VALUE", // required
60
+ * Value: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * },
64
+ * Period: Number("int"), // required
65
+ * Stat: "STRING_VALUE", // required
66
+ * Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
67
+ * },
68
+ * Expression: "STRING_VALUE",
69
+ * Label: "STRING_VALUE",
70
+ * ReturnData: true || false,
71
+ * Period: Number("int"),
72
+ * AccountId: "STRING_VALUE",
73
+ * },
74
+ * ],
75
+ * },
76
+ * MetricThreshold: Number("double"), // required
77
+ * ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
78
+ * },
79
+ * Goal: { // Goal
80
+ * Interval: { // Interval Union: only one key present
81
+ * RollingInterval: { // RollingInterval
82
+ * DurationUnit: "DAY" || "MONTH", // required
83
+ * Duration: Number("int"), // required
84
+ * },
85
+ * CalendarInterval: { // CalendarInterval
86
+ * StartTime: new Date("TIMESTAMP"), // required
87
+ * DurationUnit: "DAY" || "MONTH", // required
88
+ * Duration: Number("int"), // required
89
+ * },
90
+ * },
91
+ * AttainmentGoal: Number("double"),
92
+ * WarningThreshold: Number("double"),
93
+ * },
94
+ * };
95
+ * const command = new UpdateServiceLevelObjectiveCommand(input);
96
+ * const response = await client.send(command);
97
+ * // { // UpdateServiceLevelObjectiveOutput
98
+ * // Slo: { // ServiceLevelObjective
99
+ * // Arn: "STRING_VALUE", // required
100
+ * // Name: "STRING_VALUE", // required
101
+ * // Description: "STRING_VALUE",
102
+ * // CreatedTime: new Date("TIMESTAMP"), // required
103
+ * // LastUpdatedTime: new Date("TIMESTAMP"), // required
104
+ * // Sli: { // ServiceLevelIndicator
105
+ * // SliMetric: { // ServiceLevelIndicatorMetric
106
+ * // KeyAttributes: { // Attributes
107
+ * // "<keys>": "STRING_VALUE",
108
+ * // },
109
+ * // OperationName: "STRING_VALUE",
110
+ * // MetricType: "LATENCY" || "AVAILABILITY",
111
+ * // MetricDataQueries: [ // MetricDataQueries // required
112
+ * // { // MetricDataQuery
113
+ * // Id: "STRING_VALUE", // required
114
+ * // MetricStat: { // MetricStat
115
+ * // Metric: { // Metric
116
+ * // Namespace: "STRING_VALUE",
117
+ * // MetricName: "STRING_VALUE",
118
+ * // Dimensions: [ // Dimensions
119
+ * // { // Dimension
120
+ * // Name: "STRING_VALUE", // required
121
+ * // Value: "STRING_VALUE", // required
122
+ * // },
123
+ * // ],
124
+ * // },
125
+ * // Period: Number("int"), // required
126
+ * // Stat: "STRING_VALUE", // required
127
+ * // Unit: "Microseconds" || "Milliseconds" || "Seconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
128
+ * // },
129
+ * // Expression: "STRING_VALUE",
130
+ * // Label: "STRING_VALUE",
131
+ * // ReturnData: true || false,
132
+ * // Period: Number("int"),
133
+ * // AccountId: "STRING_VALUE",
134
+ * // },
135
+ * // ],
136
+ * // },
137
+ * // MetricThreshold: Number("double"), // required
138
+ * // ComparisonOperator: "GreaterThanOrEqualTo" || "GreaterThan" || "LessThan" || "LessThanOrEqualTo", // required
139
+ * // },
140
+ * // Goal: { // Goal
141
+ * // Interval: { // Interval Union: only one key present
142
+ * // RollingInterval: { // RollingInterval
143
+ * // DurationUnit: "DAY" || "MONTH", // required
144
+ * // Duration: Number("int"), // required
145
+ * // },
146
+ * // CalendarInterval: { // CalendarInterval
147
+ * // StartTime: new Date("TIMESTAMP"), // required
148
+ * // DurationUnit: "DAY" || "MONTH", // required
149
+ * // Duration: Number("int"), // required
150
+ * // },
151
+ * // },
152
+ * // AttainmentGoal: Number("double"),
153
+ * // WarningThreshold: Number("double"),
154
+ * // },
155
+ * // },
156
+ * // };
157
+ *
158
+ * ```
159
+ *
160
+ * @param UpdateServiceLevelObjectiveCommandInput - {@link UpdateServiceLevelObjectiveCommandInput}
161
+ * @returns {@link UpdateServiceLevelObjectiveCommandOutput}
162
+ * @see {@link UpdateServiceLevelObjectiveCommandInput} for command's `input` shape.
163
+ * @see {@link UpdateServiceLevelObjectiveCommandOutput} for command's `response` shape.
164
+ * @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
165
+ *
166
+ * @throws {@link ResourceNotFoundException} (client fault)
167
+ * <p>Resource not found.</p>
168
+ *
169
+ * @throws {@link ThrottlingException} (client fault)
170
+ * <p>The request was throttled because of quota limits.</p>
171
+ *
172
+ * @throws {@link ValidationException} (client fault)
173
+ * <p>The resource is not valid.</p>
174
+ *
175
+ * @throws {@link ApplicationSignalsServiceException}
176
+ * <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
177
+ *
178
+ * @public
179
+ */
180
+ export declare class UpdateServiceLevelObjectiveCommand extends UpdateServiceLevelObjectiveCommand_base {
181
+ }
@@ -0,0 +1,15 @@
1
+ export * from "./BatchGetServiceLevelObjectiveBudgetReportCommand";
2
+ export * from "./CreateServiceLevelObjectiveCommand";
3
+ export * from "./DeleteServiceLevelObjectiveCommand";
4
+ export * from "./GetServiceCommand";
5
+ export * from "./GetServiceLevelObjectiveCommand";
6
+ export * from "./ListServiceDependenciesCommand";
7
+ export * from "./ListServiceDependentsCommand";
8
+ export * from "./ListServiceLevelObjectivesCommand";
9
+ export * from "./ListServiceOperationsCommand";
10
+ export * from "./ListServicesCommand";
11
+ export * from "./ListTagsForResourceCommand";
12
+ export * from "./StartDiscoveryCommand";
13
+ export * from "./TagResourceCommand";
14
+ export * from "./UntagResourceCommand";
15
+ export * from "./UpdateServiceLevelObjectiveCommand";
@@ -0,0 +1,34 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ useFipsEndpoint?: boolean | Provider<boolean>;
7
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
+ region?: string | Provider<string>;
9
+ }
10
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
11
+ defaultSigningName: string;
12
+ };
13
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
14
+ defaultSigningName: string;
15
+ };
16
+ export declare const commonParams: {
17
+ readonly UseFIPS: {
18
+ readonly type: "builtInParams";
19
+ readonly name: "useFipsEndpoint";
20
+ };
21
+ readonly Endpoint: {
22
+ readonly type: "builtInParams";
23
+ readonly name: "endpoint";
24
+ };
25
+ readonly Region: {
26
+ readonly type: "builtInParams";
27
+ readonly name: "region";
28
+ };
29
+ };
30
+ export interface EndpointParameters extends __EndpointParameters {
31
+ UseFIPS?: boolean;
32
+ Endpoint?: string;
33
+ Region?: string;
34
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface ApplicationSignalsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * <important>
3
+ * <p>This is a Preview release of the Application Signals API Reference. Operations and parameters are subject to change before the general availability
4
+ * release.</p>
5
+ * </important>
6
+ * <p>Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications.
7
+ * It enables real-time service health dashboards and helps you track long-term performance trends against your business goals.
8
+ * The application-centric view provides you with unified visibility across your applications, services, and
9
+ * dependencies, so you can proactively monitor and efficiently triage any issues that may arise,
10
+ * ensuring optimal customer experience.</p>
11
+ * <p>Application Signals provides the following benefits:</p>
12
+ * <ul>
13
+ * <li>
14
+ * <p>Automatically collect metrics and traces from your applications, and display key metrics such as call volume, availability, latency, faults, and errors. </p>
15
+ * </li>
16
+ * <li>
17
+ * <p>Create and monitor service level objectives (SLOs). </p>
18
+ * </li>
19
+ * <li>
20
+ * <p>See a map of your application topology that Application Signals automatically discovers, that gives you a visual representation of your applications, dependencies, and their connectivity.</p>
21
+ * </li>
22
+ * </ul>
23
+ *
24
+ * @packageDocumentation
25
+ */
26
+ export * from "./ApplicationSignalsClient";
27
+ export * from "./ApplicationSignals";
28
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
29
+ export type { RuntimeExtension } from "./runtimeExtensions";
30
+ export type { ApplicationSignalsExtensionConfiguration } from "./extensionConfiguration";
31
+ export * from "./commands";
32
+ export * from "./pagination";
33
+ export * from "./models";
34
+ export { ApplicationSignalsServiceException } from "./models/ApplicationSignalsServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from ApplicationSignals service.
8
+ */
9
+ export declare class ApplicationSignalsServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";