@aws-sdk/client-devops-guru 3.53.0 → 3.55.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 (78) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/DevOpsGuru.js +30 -0
  3. package/dist-cjs/DevOpsGuruClient.js +13 -13
  4. package/dist-cjs/commands/AddNotificationChannelCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeAccountHealthCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeAnomalyCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +36 -0
  9. package/dist-cjs/commands/DescribeFeedbackCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeInsightCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +3 -3
  16. package/dist-cjs/commands/GetCostEstimationCommand.js +3 -3
  17. package/dist-cjs/commands/GetResourceCollectionCommand.js +3 -3
  18. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +3 -3
  19. package/dist-cjs/commands/ListEventsCommand.js +3 -3
  20. package/dist-cjs/commands/ListInsightsCommand.js +3 -3
  21. package/dist-cjs/commands/ListNotificationChannelsCommand.js +3 -3
  22. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +3 -3
  23. package/dist-cjs/commands/ListRecommendationsCommand.js +3 -3
  24. package/dist-cjs/commands/PutFeedbackCommand.js +3 -3
  25. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +3 -3
  26. package/dist-cjs/commands/SearchInsightsCommand.js +3 -3
  27. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +3 -3
  28. package/dist-cjs/commands/StartCostEstimationCommand.js +3 -3
  29. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +36 -0
  30. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
  32. package/dist-cjs/commands/index.js +2 -0
  33. package/dist-cjs/endpoints.js +1 -1
  34. package/dist-cjs/models/models_0.js +51 -4
  35. package/dist-cjs/protocols/Aws_restJson1.js +430 -252
  36. package/dist-cjs/runtimeConfig.browser.js +4 -4
  37. package/dist-cjs/runtimeConfig.js +9 -9
  38. package/dist-cjs/runtimeConfig.native.js +1 -1
  39. package/dist-es/DevOpsGuru.js +56 -26
  40. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +39 -0
  41. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +39 -0
  42. package/dist-es/commands/index.js +2 -0
  43. package/dist-es/models/models_0.js +33 -0
  44. package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +4 -4
  45. package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +4 -4
  46. package/dist-es/pagination/GetCostEstimationPaginator.js +4 -4
  47. package/dist-es/pagination/GetResourceCollectionPaginator.js +4 -4
  48. package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +4 -4
  49. package/dist-es/pagination/ListEventsPaginator.js +4 -4
  50. package/dist-es/pagination/ListInsightsPaginator.js +4 -4
  51. package/dist-es/pagination/ListNotificationChannelsPaginator.js +4 -4
  52. package/dist-es/pagination/ListOrganizationInsightsPaginator.js +4 -4
  53. package/dist-es/pagination/ListRecommendationsPaginator.js +4 -4
  54. package/dist-es/pagination/SearchInsightsPaginator.js +4 -4
  55. package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +4 -4
  56. package/dist-es/protocols/Aws_restJson1.js +250 -26
  57. package/dist-types/DevOpsGuru.d.ts +19 -4
  58. package/dist-types/DevOpsGuruClient.d.ts +6 -4
  59. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +36 -0
  60. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +4 -4
  61. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +35 -0
  62. package/dist-types/commands/index.d.ts +2 -0
  63. package/dist-types/models/models_0.d.ts +343 -198
  64. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  66. package/dist-types/runtimeConfig.d.ts +1 -1
  67. package/dist-types/runtimeConfig.native.d.ts +3 -3
  68. package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
  69. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +6 -4
  70. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +77 -0
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  78. package/package.json +34 -34
@@ -5,11 +5,12 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput } from "./commands/AddNotificationChannelCommand";
10
10
  import { DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput } from "./commands/DescribeAccountHealthCommand";
11
11
  import { DescribeAccountOverviewCommandInput, DescribeAccountOverviewCommandOutput } from "./commands/DescribeAccountOverviewCommand";
12
12
  import { DescribeAnomalyCommandInput, DescribeAnomalyCommandOutput } from "./commands/DescribeAnomalyCommand";
13
+ import { DescribeEventSourcesConfigCommandInput, DescribeEventSourcesConfigCommandOutput } from "./commands/DescribeEventSourcesConfigCommand";
13
14
  import { DescribeFeedbackCommandInput, DescribeFeedbackCommandOutput } from "./commands/DescribeFeedbackCommand";
14
15
  import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
15
16
  import { DescribeOrganizationHealthCommandInput, DescribeOrganizationHealthCommandOutput } from "./commands/DescribeOrganizationHealthCommand";
@@ -30,10 +31,11 @@ import { RemoveNotificationChannelCommandInput, RemoveNotificationChannelCommand
30
31
  import { SearchInsightsCommandInput, SearchInsightsCommandOutput } from "./commands/SearchInsightsCommand";
31
32
  import { SearchOrganizationInsightsCommandInput, SearchOrganizationInsightsCommandOutput } from "./commands/SearchOrganizationInsightsCommand";
32
33
  import { StartCostEstimationCommandInput, StartCostEstimationCommandOutput } from "./commands/StartCostEstimationCommand";
34
+ import { UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput } from "./commands/UpdateEventSourcesConfigCommand";
33
35
  import { UpdateResourceCollectionCommandInput, UpdateResourceCollectionCommandOutput } from "./commands/UpdateResourceCollectionCommand";
34
36
  import { UpdateServiceIntegrationCommandInput, UpdateServiceIntegrationCommandOutput } from "./commands/UpdateServiceIntegrationCommand";
35
- export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
36
- export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
37
+ export declare type ServiceInputTypes = AddNotificationChannelCommandInput | DescribeAccountHealthCommandInput | DescribeAccountOverviewCommandInput | DescribeAnomalyCommandInput | DescribeEventSourcesConfigCommandInput | DescribeFeedbackCommandInput | DescribeInsightCommandInput | DescribeOrganizationHealthCommandInput | DescribeOrganizationOverviewCommandInput | DescribeOrganizationResourceCollectionHealthCommandInput | DescribeResourceCollectionHealthCommandInput | DescribeServiceIntegrationCommandInput | GetCostEstimationCommandInput | GetResourceCollectionCommandInput | ListAnomaliesForInsightCommandInput | ListEventsCommandInput | ListInsightsCommandInput | ListNotificationChannelsCommandInput | ListOrganizationInsightsCommandInput | ListRecommendationsCommandInput | PutFeedbackCommandInput | RemoveNotificationChannelCommandInput | SearchInsightsCommandInput | SearchOrganizationInsightsCommandInput | StartCostEstimationCommandInput | UpdateEventSourcesConfigCommandInput | UpdateResourceCollectionCommandInput | UpdateServiceIntegrationCommandInput;
38
+ export declare type ServiceOutputTypes = AddNotificationChannelCommandOutput | DescribeAccountHealthCommandOutput | DescribeAccountOverviewCommandOutput | DescribeAnomalyCommandOutput | DescribeEventSourcesConfigCommandOutput | DescribeFeedbackCommandOutput | DescribeInsightCommandOutput | DescribeOrganizationHealthCommandOutput | DescribeOrganizationOverviewCommandOutput | DescribeOrganizationResourceCollectionHealthCommandOutput | DescribeResourceCollectionHealthCommandOutput | DescribeServiceIntegrationCommandOutput | GetCostEstimationCommandOutput | GetResourceCollectionCommandOutput | ListAnomaliesForInsightCommandOutput | ListEventsCommandOutput | ListInsightsCommandOutput | ListNotificationChannelsCommandOutput | ListOrganizationInsightsCommandOutput | ListRecommendationsCommandOutput | PutFeedbackCommandOutput | RemoveNotificationChannelCommandOutput | SearchInsightsCommandOutput | SearchOrganizationInsightsCommandOutput | StartCostEstimationCommandOutput | UpdateEventSourcesConfigCommandOutput | UpdateResourceCollectionCommandOutput | UpdateServiceIntegrationCommandOutput;
37
39
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
38
40
  /**
39
41
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -54,7 +56,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
54
56
  * A function that can calculate the length of a request body.
55
57
  * @internal
56
58
  */
57
- bodyLengthChecker?: (body: any) => number | undefined;
59
+ bodyLengthChecker?: __BodyLengthCalculator;
58
60
  /**
59
61
  * A function that converts a stream into an array of bytes.
60
62
  * @internal
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { DescribeEventSourcesConfigRequest, DescribeEventSourcesConfigResponse } from "../models/models_0";
5
+ export interface DescribeEventSourcesConfigCommandInput extends DescribeEventSourcesConfigRequest {
6
+ }
7
+ export interface DescribeEventSourcesConfigCommandOutput extends DescribeEventSourcesConfigResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>This operation lists details about a DevOps Guru event source that is shared with your
11
+ account.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { DevOpsGuruClient, DescribeEventSourcesConfigCommand } from "@aws-sdk/client-devops-guru"; // ES Modules import
16
+ * // const { DevOpsGuruClient, DescribeEventSourcesConfigCommand } = require("@aws-sdk/client-devops-guru"); // CommonJS import
17
+ * const client = new DevOpsGuruClient(config);
18
+ * const command = new DescribeEventSourcesConfigCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DescribeEventSourcesConfigCommandInput} for command's `input` shape.
23
+ * @see {@link DescribeEventSourcesConfigCommandOutput} for command's `response` shape.
24
+ * @see {@link DevOpsGuruClientResolvedConfig | config} for DevOpsGuruClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DescribeEventSourcesConfigCommand extends $Command<DescribeEventSourcesConfigCommandInput, DescribeEventSourcesConfigCommandOutput, DevOpsGuruClientResolvedConfig> {
28
+ readonly input: DescribeEventSourcesConfigCommandInput;
29
+ constructor(input: DescribeEventSourcesConfigCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEventSourcesConfigCommandInput, DescribeEventSourcesConfigCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -9,12 +9,12 @@ export interface SearchOrganizationInsightsCommandOutput extends SearchOrganizat
9
9
  /**
10
10
  * <p> Returns a list of insights in your organization. You can specify which insights are
11
11
  * returned by their start time, one or more statuses (<code>ONGOING</code>,
12
- * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
13
- * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
14
- * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
12
+ * <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
13
+ * (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
14
+ * (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
15
15
  * <p> Use the <code>Filters</code> parameter to specify status and severity search
16
16
  * parameters. Use the <code>Type</code> parameter to specify <code>REACTIVE</code> or
17
- * <code>PROACTIVE</code> in your search. </p>
17
+ * <code>PROACTIVE</code> in your search. </p>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DevOpsGuruClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DevOpsGuruClient";
4
+ import { UpdateEventSourcesConfigRequest, UpdateEventSourcesConfigResponse } from "../models/models_0";
5
+ export interface UpdateEventSourcesConfigCommandInput extends UpdateEventSourcesConfigRequest {
6
+ }
7
+ export interface UpdateEventSourcesConfigCommandOutput extends UpdateEventSourcesConfigResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the event source configuration.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { DevOpsGuruClient, UpdateEventSourcesConfigCommand } from "@aws-sdk/client-devops-guru"; // ES Modules import
15
+ * // const { DevOpsGuruClient, UpdateEventSourcesConfigCommand } = require("@aws-sdk/client-devops-guru"); // CommonJS import
16
+ * const client = new DevOpsGuruClient(config);
17
+ * const command = new UpdateEventSourcesConfigCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateEventSourcesConfigCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateEventSourcesConfigCommandOutput} for command's `response` shape.
23
+ * @see {@link DevOpsGuruClientResolvedConfig | config} for DevOpsGuruClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateEventSourcesConfigCommand extends $Command<UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput, DevOpsGuruClientResolvedConfig> {
27
+ readonly input: UpdateEventSourcesConfigCommandInput;
28
+ constructor(input: UpdateEventSourcesConfigCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DevOpsGuruClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -2,6 +2,7 @@ export * from "./AddNotificationChannelCommand";
2
2
  export * from "./DescribeAccountHealthCommand";
3
3
  export * from "./DescribeAccountOverviewCommand";
4
4
  export * from "./DescribeAnomalyCommand";
5
+ export * from "./DescribeEventSourcesConfigCommand";
5
6
  export * from "./DescribeFeedbackCommand";
6
7
  export * from "./DescribeInsightCommand";
7
8
  export * from "./DescribeOrganizationHealthCommand";
@@ -22,5 +23,6 @@ export * from "./RemoveNotificationChannelCommand";
22
23
  export * from "./SearchInsightsCommand";
23
24
  export * from "./SearchOrganizationInsightsCommand";
24
25
  export * from "./StartCostEstimationCommand";
26
+ export * from "./UpdateEventSourcesConfigCommand";
25
27
  export * from "./UpdateResourceCollectionCommand";
26
28
  export * from "./UpdateServiceIntegrationCommand";