@aws-sdk/client-devops-guru 3.52.0 → 3.54.1
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.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/DevOpsGuru.js +30 -0
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +36 -0
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/DevOpsGuruServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +160 -3
- package/dist-cjs/protocols/Aws_restJson1.js +527 -1096
- package/dist-es/DevOpsGuru.js +30 -0
- package/dist-es/commands/DescribeEventSourcesConfigCommand.js +39 -0
- package/dist-es/commands/UpdateEventSourcesConfigCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/DevOpsGuruServiceException.js +12 -0
- package/dist-es/models/models_0.js +136 -1
- package/dist-es/protocols/Aws_restJson1.js +891 -1208
- package/dist-types/DevOpsGuru.d.ts +19 -4
- package/dist-types/DevOpsGuruClient.d.ts +6 -4
- package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +36 -0
- package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DevOpsGuruServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +394 -220
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/DevOpsGuru.d.ts +10 -0
- package/dist-types/ts3.4/DevOpsGuruClient.d.ts +6 -4
- package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/DevOpsGuruServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +114 -22
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +27 -27
|
@@ -3,6 +3,7 @@ import { AddNotificationChannelCommandInput, AddNotificationChannelCommandOutput
|
|
|
3
3
|
import { DescribeAccountHealthCommandInput, DescribeAccountHealthCommandOutput } from "./commands/DescribeAccountHealthCommand";
|
|
4
4
|
import { DescribeAccountOverviewCommandInput, DescribeAccountOverviewCommandOutput } from "./commands/DescribeAccountOverviewCommand";
|
|
5
5
|
import { DescribeAnomalyCommandInput, DescribeAnomalyCommandOutput } from "./commands/DescribeAnomalyCommand";
|
|
6
|
+
import { DescribeEventSourcesConfigCommandInput, DescribeEventSourcesConfigCommandOutput } from "./commands/DescribeEventSourcesConfigCommand";
|
|
6
7
|
import { DescribeFeedbackCommandInput, DescribeFeedbackCommandOutput } from "./commands/DescribeFeedbackCommand";
|
|
7
8
|
import { DescribeInsightCommandInput, DescribeInsightCommandOutput } from "./commands/DescribeInsightCommand";
|
|
8
9
|
import { DescribeOrganizationHealthCommandInput, DescribeOrganizationHealthCommandOutput } from "./commands/DescribeOrganizationHealthCommand";
|
|
@@ -23,6 +24,7 @@ import { RemoveNotificationChannelCommandInput, RemoveNotificationChannelCommand
|
|
|
23
24
|
import { SearchInsightsCommandInput, SearchInsightsCommandOutput } from "./commands/SearchInsightsCommand";
|
|
24
25
|
import { SearchOrganizationInsightsCommandInput, SearchOrganizationInsightsCommandOutput } from "./commands/SearchOrganizationInsightsCommand";
|
|
25
26
|
import { StartCostEstimationCommandInput, StartCostEstimationCommandOutput } from "./commands/StartCostEstimationCommand";
|
|
27
|
+
import { UpdateEventSourcesConfigCommandInput, UpdateEventSourcesConfigCommandOutput } from "./commands/UpdateEventSourcesConfigCommand";
|
|
26
28
|
import { UpdateResourceCollectionCommandInput, UpdateResourceCollectionCommandOutput } from "./commands/UpdateResourceCollectionCommand";
|
|
27
29
|
import { UpdateServiceIntegrationCommandInput, UpdateServiceIntegrationCommandOutput } from "./commands/UpdateServiceIntegrationCommand";
|
|
28
30
|
import { DevOpsGuruClient } from "./DevOpsGuruClient";
|
|
@@ -79,6 +81,13 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
|
|
|
79
81
|
describeAnomaly(args: DescribeAnomalyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAnomalyCommandOutput>;
|
|
80
82
|
describeAnomaly(args: DescribeAnomalyCommandInput, cb: (err: any, data?: DescribeAnomalyCommandOutput) => void): void;
|
|
81
83
|
describeAnomaly(args: DescribeAnomalyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAnomalyCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* <p>This operation lists details about a DevOps Guru event source that is shared with your
|
|
86
|
+
account.</p>
|
|
87
|
+
*/
|
|
88
|
+
describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEventSourcesConfigCommandOutput>;
|
|
89
|
+
describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, cb: (err: any, data?: DescribeEventSourcesConfigCommandOutput) => void): void;
|
|
90
|
+
describeEventSourcesConfig(args: DescribeEventSourcesConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSourcesConfigCommandOutput) => void): void;
|
|
82
91
|
/**
|
|
83
92
|
* <p> Returns the most recent feedback submitted in the current Amazon Web Services account and Region.
|
|
84
93
|
* </p>
|
|
@@ -225,12 +234,12 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
|
|
|
225
234
|
/**
|
|
226
235
|
* <p> Returns a list of insights in your organization. You can specify which insights are
|
|
227
236
|
* returned by their start time, one or more statuses (<code>ONGOING</code>,
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
237
|
+
* <code>CLOSED</code>, and <code>CLOSED</code>), one or more severities
|
|
238
|
+
* (<code>LOW</code>, <code>MEDIUM</code>, and <code>HIGH</code>), and type
|
|
239
|
+
* (<code>REACTIVE</code> or <code>PROACTIVE</code>). </p>
|
|
231
240
|
* <p> Use the <code>Filters</code> parameter to specify status and severity search
|
|
232
241
|
* parameters. Use the <code>Type</code> parameter to specify <code>REACTIVE</code> or
|
|
233
|
-
*
|
|
242
|
+
* <code>PROACTIVE</code> in your search. </p>
|
|
234
243
|
*/
|
|
235
244
|
searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, options?: __HttpHandlerOptions): Promise<SearchOrganizationInsightsCommandOutput>;
|
|
236
245
|
searchOrganizationInsights(args: SearchOrganizationInsightsCommandInput, cb: (err: any, data?: SearchOrganizationInsightsCommandOutput) => void): void;
|
|
@@ -242,6 +251,12 @@ export declare class DevOpsGuru extends DevOpsGuruClient {
|
|
|
242
251
|
startCostEstimation(args: StartCostEstimationCommandInput, options?: __HttpHandlerOptions): Promise<StartCostEstimationCommandOutput>;
|
|
243
252
|
startCostEstimation(args: StartCostEstimationCommandInput, cb: (err: any, data?: StartCostEstimationCommandOutput) => void): void;
|
|
244
253
|
startCostEstimation(args: StartCostEstimationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCostEstimationCommandOutput) => void): void;
|
|
254
|
+
/**
|
|
255
|
+
* <p>Updates the event source configuration.</p>
|
|
256
|
+
*/
|
|
257
|
+
updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEventSourcesConfigCommandOutput>;
|
|
258
|
+
updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, cb: (err: any, data?: UpdateEventSourcesConfigCommandOutput) => void): void;
|
|
259
|
+
updateEventSourcesConfig(args: UpdateEventSourcesConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourcesConfigCommandOutput) => void): void;
|
|
245
260
|
/**
|
|
246
261
|
* <p> Updates the collection of resources that DevOps Guru analyzes.
|
|
247
262
|
* The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and
|
|
@@ -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?:
|
|
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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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
|
-
*
|
|
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";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from DevOpsGuru service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DevOpsGuruServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|