@aws-sdk/client-application-signals 3.1072.0 → 3.1074.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.
- package/README.md +49 -0
- package/dist-cjs/index.js +154 -1
- package/dist-cjs/schemas/schemas_0.js +377 -64
- package/dist-es/ApplicationSignals.js +18 -0
- package/dist-es/commands/BatchDeleteInstrumentationConfigurationsCommand.js +16 -0
- package/dist-es/commands/CreateInstrumentationConfigurationCommand.js +16 -0
- package/dist-es/commands/DeleteInstrumentationConfigurationCommand.js +16 -0
- package/dist-es/commands/GetInstrumentationConfigurationCommand.js +16 -0
- package/dist-es/commands/GetInstrumentationConfigurationStatusCommand.js +16 -0
- package/dist-es/commands/ListInstrumentationConfigurationsCommand.js +16 -0
- package/dist-es/commands/ReportInstrumentationConfigurationStatusCommand.js +16 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +39 -0
- package/dist-es/pagination/GetInstrumentationConfigurationStatusPaginator.js +4 -0
- package/dist-es/pagination/ListInstrumentationConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +347 -64
- package/dist-types/ApplicationSignals.d.ts +63 -0
- package/dist-types/ApplicationSignalsClient.d.ts +9 -2
- package/dist-types/commands/BatchDeleteInstrumentationConfigurationsCommand.d.ts +111 -0
- package/dist-types/commands/CreateInstrumentationConfigurationCommand.d.ts +181 -0
- package/dist-types/commands/DeleteInstrumentationConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/GetInstrumentationConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetInstrumentationConfigurationStatusCommand.d.ts +124 -0
- package/dist-types/commands/ListInstrumentationConfigurationsCommand.d.ts +143 -0
- package/dist-types/commands/ReportInstrumentationConfigurationStatusCommand.d.ts +104 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +118 -0
- package/dist-types/models/models_0.d.ts +1087 -78
- package/dist-types/pagination/GetInstrumentationConfigurationStatusPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInstrumentationConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/ApplicationSignals.d.ts +169 -0
- package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDeleteInstrumentationConfigurationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateInstrumentationConfigurationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteInstrumentationConfigurationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetInstrumentationConfigurationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetInstrumentationConfigurationStatusCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListInstrumentationConfigurationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ReportInstrumentationConfigurationStatusCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +55 -0
- package/dist-types/ts3.4/models/models_0.d.ts +290 -4
- package/dist-types/ts3.4/pagination/GetInstrumentationConfigurationStatusPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInstrumentationConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
- package/package.json +3 -3
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
|
|
4
|
+
import type { GetInstrumentationConfigurationRequest, GetInstrumentationConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInstrumentationConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInstrumentationConfigurationCommandInput extends GetInstrumentationConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInstrumentationConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInstrumentationConfigurationCommandOutput extends GetInstrumentationConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInstrumentationConfigurationCommand_base: {
|
|
25
|
+
new (input: GetInstrumentationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetInstrumentationConfigurationCommandInput, GetInstrumentationConfigurationCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetInstrumentationConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetInstrumentationConfigurationCommandInput, GetInstrumentationConfigurationCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns the details of a single instrumentation configuration identified by service, environment, signal type, and location. Use this to audit or display configuration details.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ApplicationSignalsClient, GetInstrumentationConfigurationCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
|
|
37
|
+
* // const { ApplicationSignalsClient, GetInstrumentationConfigurationCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
|
|
38
|
+
* // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals";
|
|
39
|
+
* const config = {}; // type is ApplicationSignalsClientConfig
|
|
40
|
+
* const client = new ApplicationSignalsClient(config);
|
|
41
|
+
* const input = { // GetInstrumentationConfigurationRequest
|
|
42
|
+
* InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
43
|
+
* Service: "STRING_VALUE", // required
|
|
44
|
+
* Environment: "STRING_VALUE", // required
|
|
45
|
+
* SignalType: "SNAPSHOT", // required
|
|
46
|
+
* LocationIdentifier: { // LocationIdentifier Union: only one key present
|
|
47
|
+
* CodeLocation: { // CodeLocation
|
|
48
|
+
* Language: "Java" || "Python" || "Javascript", // required
|
|
49
|
+
* CodeUnit: "STRING_VALUE",
|
|
50
|
+
* ClassName: "STRING_VALUE",
|
|
51
|
+
* MethodName: "STRING_VALUE",
|
|
52
|
+
* FilePath: "STRING_VALUE", // required
|
|
53
|
+
* LineNumber: Number("int"),
|
|
54
|
+
* },
|
|
55
|
+
* LocationHash: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
58
|
+
* const command = new GetInstrumentationConfigurationCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // GetInstrumentationConfigurationResponse
|
|
61
|
+
* // Configuration: { // InstrumentationConfiguration
|
|
62
|
+
* // InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
63
|
+
* // Service: "STRING_VALUE", // required
|
|
64
|
+
* // Environment: "STRING_VALUE", // required
|
|
65
|
+
* // SignalType: "SNAPSHOT", // required
|
|
66
|
+
* // Location: { // Location Union: only one key present
|
|
67
|
+
* // CodeLocation: { // CodeLocation
|
|
68
|
+
* // Language: "Java" || "Python" || "Javascript", // required
|
|
69
|
+
* // CodeUnit: "STRING_VALUE",
|
|
70
|
+
* // ClassName: "STRING_VALUE",
|
|
71
|
+
* // MethodName: "STRING_VALUE",
|
|
72
|
+
* // FilePath: "STRING_VALUE", // required
|
|
73
|
+
* // LineNumber: Number("int"),
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // LocationHash: "STRING_VALUE", // required
|
|
77
|
+
* // Description: "STRING_VALUE",
|
|
78
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
79
|
+
* // AttributeFilters: [ // DynamicInstrumentationAttributeFilters
|
|
80
|
+
* // { // DynamicInstrumentationAttributeFilterGroup
|
|
81
|
+
* // "<keys>": "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // CaptureConfiguration: { // CaptureConfiguration Union: only one key present
|
|
85
|
+
* // CodeCapture: { // CodeCaptureConfiguration
|
|
86
|
+
* // CaptureArguments: [ // StringList
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // CaptureReturn: true || false,
|
|
90
|
+
* // CaptureStackTrace: true || false,
|
|
91
|
+
* // CaptureLocals: [
|
|
92
|
+
* // "STRING_VALUE",
|
|
93
|
+
* // ],
|
|
94
|
+
* // CaptureLimits: { // CaptureLimitsConfig
|
|
95
|
+
* // MaxHits: Number("int"),
|
|
96
|
+
* // MaxStringLength: Number("int"),
|
|
97
|
+
* // MaxCollectionWidth: Number("int"),
|
|
98
|
+
* // MaxCollectionDepth: Number("int"),
|
|
99
|
+
* // MaxStackFrames: Number("int"),
|
|
100
|
+
* // MaxStackTraceSize: Number("int"),
|
|
101
|
+
* // MaxObjectDepth: Number("int"),
|
|
102
|
+
* // MaxFieldsPerObject: Number("int"),
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
105
|
+
* // },
|
|
106
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
107
|
+
* // ARN: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param GetInstrumentationConfigurationCommandInput - {@link GetInstrumentationConfigurationCommandInput}
|
|
114
|
+
* @returns {@link GetInstrumentationConfigurationCommandOutput}
|
|
115
|
+
* @see {@link GetInstrumentationConfigurationCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link GetInstrumentationConfigurationCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
120
|
+
* <p>Resource not found.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
123
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
* <p>The resource is not valid.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ApplicationSignalsServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
|
|
130
|
+
*
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class GetInstrumentationConfigurationCommand extends GetInstrumentationConfigurationCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: GetInstrumentationConfigurationRequest;
|
|
139
|
+
output: GetInstrumentationConfigurationResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: GetInstrumentationConfigurationCommandInput;
|
|
143
|
+
output: GetInstrumentationConfigurationCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
|
|
4
|
+
import type { GetInstrumentationConfigurationStatusRequest, GetInstrumentationConfigurationStatusResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetInstrumentationConfigurationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetInstrumentationConfigurationStatusCommandInput extends GetInstrumentationConfigurationStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetInstrumentationConfigurationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetInstrumentationConfigurationStatusCommandOutput extends GetInstrumentationConfigurationStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetInstrumentationConfigurationStatusCommand_base: {
|
|
25
|
+
new (input: GetInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl<GetInstrumentationConfigurationStatusCommandInput, GetInstrumentationConfigurationStatusCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl<GetInstrumentationConfigurationStatusCommandInput, GetInstrumentationConfigurationStatusCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Retrieves the status history for a single instrumentation configuration during a specified time range. The response lists when the configuration was ACTIVE, READY, ERROR, or DISABLED.</p> <p>If no status or time window is provided, the operation defaults to ACTIVE events from the last hour.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ApplicationSignalsClient, GetInstrumentationConfigurationStatusCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
|
|
37
|
+
* // const { ApplicationSignalsClient, GetInstrumentationConfigurationStatusCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
|
|
38
|
+
* // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals";
|
|
39
|
+
* const config = {}; // type is ApplicationSignalsClientConfig
|
|
40
|
+
* const client = new ApplicationSignalsClient(config);
|
|
41
|
+
* const input = { // GetInstrumentationConfigurationStatusRequest
|
|
42
|
+
* InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
43
|
+
* Service: "STRING_VALUE", // required
|
|
44
|
+
* Environment: "STRING_VALUE", // required
|
|
45
|
+
* SignalType: "SNAPSHOT", // required
|
|
46
|
+
* LocationIdentifier: { // LocationIdentifier Union: only one key present
|
|
47
|
+
* CodeLocation: { // CodeLocation
|
|
48
|
+
* Language: "Java" || "Python" || "Javascript", // required
|
|
49
|
+
* CodeUnit: "STRING_VALUE",
|
|
50
|
+
* ClassName: "STRING_VALUE",
|
|
51
|
+
* MethodName: "STRING_VALUE",
|
|
52
|
+
* FilePath: "STRING_VALUE", // required
|
|
53
|
+
* LineNumber: Number("int"),
|
|
54
|
+
* },
|
|
55
|
+
* LocationHash: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED",
|
|
58
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
59
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
60
|
+
* MaxResults: Number("int"),
|
|
61
|
+
* NextToken: "STRING_VALUE",
|
|
62
|
+
* };
|
|
63
|
+
* const command = new GetInstrumentationConfigurationStatusCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* // { // GetInstrumentationConfigurationStatusResponse
|
|
66
|
+
* // Service: "STRING_VALUE", // required
|
|
67
|
+
* // Environment: "STRING_VALUE", // required
|
|
68
|
+
* // SignalType: "SNAPSHOT", // required
|
|
69
|
+
* // Location: { // Location Union: only one key present
|
|
70
|
+
* // CodeLocation: { // CodeLocation
|
|
71
|
+
* // Language: "Java" || "Python" || "Javascript", // required
|
|
72
|
+
* // CodeUnit: "STRING_VALUE",
|
|
73
|
+
* // ClassName: "STRING_VALUE",
|
|
74
|
+
* // MethodName: "STRING_VALUE",
|
|
75
|
+
* // FilePath: "STRING_VALUE", // required
|
|
76
|
+
* // LineNumber: Number("int"),
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED", // required
|
|
80
|
+
* // Events: [ // InstrumentationStatusEventList // required
|
|
81
|
+
* // { // InstrumentationStatusEvent
|
|
82
|
+
* // Time: new Date("TIMESTAMP"), // required
|
|
83
|
+
* // ErrorCause: "FILE_NOT_FOUND" || "METHOD_NOT_FOUND" || "LINE_NOT_EXECUTABLE" || "OVERLOADED_METHODS" || "LANGUAGE_MISMATCH" || "RUNTIME_ERROR",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // NextToken: "STRING_VALUE",
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param GetInstrumentationConfigurationStatusCommandInput - {@link GetInstrumentationConfigurationStatusCommandInput}
|
|
92
|
+
* @returns {@link GetInstrumentationConfigurationStatusCommandOutput}
|
|
93
|
+
* @see {@link GetInstrumentationConfigurationStatusCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link GetInstrumentationConfigurationStatusCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>Resource not found.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The resource is not valid.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ApplicationSignalsServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
|
|
108
|
+
*
|
|
109
|
+
*
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export declare class GetInstrumentationConfigurationStatusCommand extends GetInstrumentationConfigurationStatusCommand_base {
|
|
113
|
+
/** @internal type navigation helper, not in runtime. */
|
|
114
|
+
protected static __types: {
|
|
115
|
+
api: {
|
|
116
|
+
input: GetInstrumentationConfigurationStatusRequest;
|
|
117
|
+
output: GetInstrumentationConfigurationStatusResponse;
|
|
118
|
+
};
|
|
119
|
+
sdk: {
|
|
120
|
+
input: GetInstrumentationConfigurationStatusCommandInput;
|
|
121
|
+
output: GetInstrumentationConfigurationStatusCommandOutput;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
|
|
4
|
+
import type { InstrumentationConfigurationsPage, ListInstrumentationConfigurationsRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInstrumentationConfigurationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInstrumentationConfigurationsCommandInput extends ListInstrumentationConfigurationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInstrumentationConfigurationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInstrumentationConfigurationsCommandOutput extends InstrumentationConfigurationsPage, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListInstrumentationConfigurationsCommand_base: {
|
|
25
|
+
new (input: ListInstrumentationConfigurationsCommandInput): import("@smithy/core/client").CommandImpl<ListInstrumentationConfigurationsCommandInput, ListInstrumentationConfigurationsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListInstrumentationConfigurationsCommandInput): import("@smithy/core/client").CommandImpl<ListInstrumentationConfigurationsCommandInput, ListInstrumentationConfigurationsCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Returns all active instrumentation configurations for a service and environment. SDKs use this operation to sync configurations and apply client-side filters locally.</p> <p>Include the previous <code>SyncedAt</code> value to perform incremental syncs. When no changes are detected, the response sets <code>Changed</code> to <code>false</code> and omits configuration details.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ApplicationSignalsClient, ListInstrumentationConfigurationsCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
|
|
37
|
+
* // const { ApplicationSignalsClient, ListInstrumentationConfigurationsCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
|
|
38
|
+
* // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals";
|
|
39
|
+
* const config = {}; // type is ApplicationSignalsClientConfig
|
|
40
|
+
* const client = new ApplicationSignalsClient(config);
|
|
41
|
+
* const input = { // ListInstrumentationConfigurationsRequest
|
|
42
|
+
* Service: "STRING_VALUE", // required
|
|
43
|
+
* Environment: "STRING_VALUE", // required
|
|
44
|
+
* InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
45
|
+
* SyncedAt: new Date("TIMESTAMP"),
|
|
46
|
+
* MaxResults: Number("int"),
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListInstrumentationConfigurationsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // InstrumentationConfigurationsPage
|
|
52
|
+
* // Service: "STRING_VALUE", // required
|
|
53
|
+
* // Environment: "STRING_VALUE", // required
|
|
54
|
+
* // Changed: true || false, // required
|
|
55
|
+
* // LatestConfigurations: [ // InstrumentationConfigurationsWithoutServiceEnv
|
|
56
|
+
* // { // InstrumentationConfigurationWithoutServiceEnv
|
|
57
|
+
* // InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
58
|
+
* // SignalType: "SNAPSHOT", // required
|
|
59
|
+
* // Location: { // Location Union: only one key present
|
|
60
|
+
* // CodeLocation: { // CodeLocation
|
|
61
|
+
* // Language: "Java" || "Python" || "Javascript", // required
|
|
62
|
+
* // CodeUnit: "STRING_VALUE",
|
|
63
|
+
* // ClassName: "STRING_VALUE",
|
|
64
|
+
* // MethodName: "STRING_VALUE",
|
|
65
|
+
* // FilePath: "STRING_VALUE", // required
|
|
66
|
+
* // LineNumber: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // LocationHash: "STRING_VALUE", // required
|
|
70
|
+
* // Description: "STRING_VALUE",
|
|
71
|
+
* // ExpiresAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // AttributeFilters: [ // DynamicInstrumentationAttributeFilters
|
|
73
|
+
* // { // DynamicInstrumentationAttributeFilterGroup
|
|
74
|
+
* // "<keys>": "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // CaptureConfiguration: { // CaptureConfiguration Union: only one key present
|
|
78
|
+
* // CodeCapture: { // CodeCaptureConfiguration
|
|
79
|
+
* // CaptureArguments: [ // StringList
|
|
80
|
+
* // "STRING_VALUE",
|
|
81
|
+
* // ],
|
|
82
|
+
* // CaptureReturn: true || false,
|
|
83
|
+
* // CaptureStackTrace: true || false,
|
|
84
|
+
* // CaptureLocals: [
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // CaptureLimits: { // CaptureLimitsConfig
|
|
88
|
+
* // MaxHits: Number("int"),
|
|
89
|
+
* // MaxStringLength: Number("int"),
|
|
90
|
+
* // MaxCollectionWidth: Number("int"),
|
|
91
|
+
* // MaxCollectionDepth: Number("int"),
|
|
92
|
+
* // MaxStackFrames: Number("int"),
|
|
93
|
+
* // MaxStackTraceSize: Number("int"),
|
|
94
|
+
* // MaxObjectDepth: Number("int"),
|
|
95
|
+
* // MaxFieldsPerObject: Number("int"),
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
100
|
+
* // ARN: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // SyncedAt: new Date("TIMESTAMP"), // required
|
|
104
|
+
* // SyncInterval: Number("int"), // required
|
|
105
|
+
* // NextToken: "STRING_VALUE",
|
|
106
|
+
* // };
|
|
107
|
+
*
|
|
108
|
+
* ```
|
|
109
|
+
*
|
|
110
|
+
* @param ListInstrumentationConfigurationsCommandInput - {@link ListInstrumentationConfigurationsCommandInput}
|
|
111
|
+
* @returns {@link ListInstrumentationConfigurationsCommandOutput}
|
|
112
|
+
* @see {@link ListInstrumentationConfigurationsCommandInput} for command's `input` shape.
|
|
113
|
+
* @see {@link ListInstrumentationConfigurationsCommandOutput} for command's `response` shape.
|
|
114
|
+
* @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
|
+
* <p>Resource not found.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
120
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ValidationException} (client fault)
|
|
123
|
+
* <p>The resource is not valid.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ApplicationSignalsServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class ListInstrumentationConfigurationsCommand extends ListInstrumentationConfigurationsCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: ListInstrumentationConfigurationsRequest;
|
|
136
|
+
output: InstrumentationConfigurationsPage;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: ListInstrumentationConfigurationsCommandInput;
|
|
140
|
+
output: ListInstrumentationConfigurationsCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationSignalsClient";
|
|
4
|
+
import type { ReportInstrumentationConfigurationStatusRequest, ReportInstrumentationConfigurationStatusResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ReportInstrumentationConfigurationStatusCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ReportInstrumentationConfigurationStatusCommandInput extends ReportInstrumentationConfigurationStatusRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ReportInstrumentationConfigurationStatusCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ReportInstrumentationConfigurationStatusCommandOutput extends ReportInstrumentationConfigurationStatusResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ReportInstrumentationConfigurationStatusCommand_base: {
|
|
25
|
+
new (input: ReportInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl<ReportInstrumentationConfigurationStatusCommandInput, ReportInstrumentationConfigurationStatusCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ReportInstrumentationConfigurationStatusCommandInput): import("@smithy/core/client").CommandImpl<ReportInstrumentationConfigurationStatusCommandInput, ReportInstrumentationConfigurationStatusCommandOutput, ApplicationSignalsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Reports the status of one or more instrumentation configurations from SDK instances. Use this to record when configurations become ready, hit errors, become active, or are disabled by limits.</p> <p>Report <code>READY</code>, <code>ERROR</code>, and <code>DISABLED</code> when the status changes. Report <code>ACTIVE</code> periodically (for example, every minute) while instrumentation is running.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ApplicationSignalsClient, ReportInstrumentationConfigurationStatusCommand } from "@aws-sdk/client-application-signals"; // ES Modules import
|
|
37
|
+
* // const { ApplicationSignalsClient, ReportInstrumentationConfigurationStatusCommand } = require("@aws-sdk/client-application-signals"); // CommonJS import
|
|
38
|
+
* // import type { ApplicationSignalsClientConfig } from "@aws-sdk/client-application-signals";
|
|
39
|
+
* const config = {}; // type is ApplicationSignalsClientConfig
|
|
40
|
+
* const client = new ApplicationSignalsClient(config);
|
|
41
|
+
* const input = { // ReportInstrumentationConfigurationStatusRequest
|
|
42
|
+
* Service: "STRING_VALUE", // required
|
|
43
|
+
* Environment: "STRING_VALUE", // required
|
|
44
|
+
* Configurations: [ // InstrumentationConfigurationStatusList // required
|
|
45
|
+
* { // InstrumentationConfigurationStatusReport
|
|
46
|
+
* InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
47
|
+
* SignalType: "SNAPSHOT", // required
|
|
48
|
+
* LocationHash: "STRING_VALUE", // required
|
|
49
|
+
* Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED", // required
|
|
50
|
+
* Time: new Date("TIMESTAMP"), // required
|
|
51
|
+
* ErrorCause: "FILE_NOT_FOUND" || "METHOD_NOT_FOUND" || "LINE_NOT_EXECUTABLE" || "OVERLOADED_METHODS" || "LANGUAGE_MISMATCH" || "RUNTIME_ERROR",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* };
|
|
55
|
+
* const command = new ReportInstrumentationConfigurationStatusCommand(input);
|
|
56
|
+
* const response = await client.send(command);
|
|
57
|
+
* // { // ReportInstrumentationConfigurationStatusResponse
|
|
58
|
+
* // Service: "STRING_VALUE", // required
|
|
59
|
+
* // Environment: "STRING_VALUE", // required
|
|
60
|
+
* // UnprocessedStatusEvents: [ // UnprocessedStatusEventList // required
|
|
61
|
+
* // { // UnprocessedStatusEvent
|
|
62
|
+
* // InstrumentationType: "BREAKPOINT" || "PROBE", // required
|
|
63
|
+
* // SignalType: "SNAPSHOT", // required
|
|
64
|
+
* // LocationHash: "STRING_VALUE", // required
|
|
65
|
+
* // Status: "READY" || "ERROR" || "ACTIVE" || "DISABLED", // required
|
|
66
|
+
* // Time: new Date("TIMESTAMP"), // required
|
|
67
|
+
* // FailedReason: "THROTTLED" || "INTERNAL_ERROR" || "VALIDATION_ERROR", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param ReportInstrumentationConfigurationStatusCommandInput - {@link ReportInstrumentationConfigurationStatusCommandInput}
|
|
75
|
+
* @returns {@link ReportInstrumentationConfigurationStatusCommandOutput}
|
|
76
|
+
* @see {@link ReportInstrumentationConfigurationStatusCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link ReportInstrumentationConfigurationStatusCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link ApplicationSignalsClientResolvedConfig | config} for ApplicationSignalsClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was throttled because of quota limits.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The resource is not valid.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ApplicationSignalsServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from ApplicationSignals service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ReportInstrumentationConfigurationStatusCommand extends ReportInstrumentationConfigurationStatusCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ReportInstrumentationConfigurationStatusRequest;
|
|
97
|
+
output: ReportInstrumentationConfigurationStatusResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ReportInstrumentationConfigurationStatusCommandInput;
|
|
101
|
+
output: ReportInstrumentationConfigurationStatusCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
export * from "./BatchDeleteInstrumentationConfigurationsCommand";
|
|
1
2
|
export * from "./BatchGetServiceLevelObjectiveBudgetReportCommand";
|
|
2
3
|
export * from "./BatchUpdateExclusionWindowsCommand";
|
|
4
|
+
export * from "./CreateInstrumentationConfigurationCommand";
|
|
3
5
|
export * from "./CreateServiceLevelObjectiveCommand";
|
|
4
6
|
export * from "./DeleteGroupingConfigurationCommand";
|
|
7
|
+
export * from "./DeleteInstrumentationConfigurationCommand";
|
|
5
8
|
export * from "./DeleteServiceLevelObjectiveCommand";
|
|
9
|
+
export * from "./GetInstrumentationConfigurationCommand";
|
|
10
|
+
export * from "./GetInstrumentationConfigurationStatusCommand";
|
|
6
11
|
export * from "./GetServiceCommand";
|
|
7
12
|
export * from "./GetServiceLevelObjectiveCommand";
|
|
8
13
|
export * from "./ListAuditFindingsCommand";
|
|
9
14
|
export * from "./ListEntityEventsCommand";
|
|
10
15
|
export * from "./ListGroupingAttributeDefinitionsCommand";
|
|
16
|
+
export * from "./ListInstrumentationConfigurationsCommand";
|
|
11
17
|
export * from "./ListServiceDependenciesCommand";
|
|
12
18
|
export * from "./ListServiceDependentsCommand";
|
|
13
19
|
export * from "./ListServiceLevelObjectiveExclusionWindowsCommand";
|
|
@@ -17,6 +23,7 @@ export * from "./ListServiceStatesCommand";
|
|
|
17
23
|
export * from "./ListServicesCommand";
|
|
18
24
|
export * from "./ListTagsForResourceCommand";
|
|
19
25
|
export * from "./PutGroupingConfigurationCommand";
|
|
26
|
+
export * from "./ReportInstrumentationConfigurationStatusCommand";
|
|
20
27
|
export * from "./StartDiscoveryCommand";
|
|
21
28
|
export * from "./TagResourceCommand";
|
|
22
29
|
export * from "./UntagResourceCommand";
|