@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.
Files changed (50) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +154 -1
  3. package/dist-cjs/schemas/schemas_0.js +377 -64
  4. package/dist-es/ApplicationSignals.js +18 -0
  5. package/dist-es/commands/BatchDeleteInstrumentationConfigurationsCommand.js +16 -0
  6. package/dist-es/commands/CreateInstrumentationConfigurationCommand.js +16 -0
  7. package/dist-es/commands/DeleteInstrumentationConfigurationCommand.js +16 -0
  8. package/dist-es/commands/GetInstrumentationConfigurationCommand.js +16 -0
  9. package/dist-es/commands/GetInstrumentationConfigurationStatusCommand.js +16 -0
  10. package/dist-es/commands/ListInstrumentationConfigurationsCommand.js +16 -0
  11. package/dist-es/commands/ReportInstrumentationConfigurationStatusCommand.js +16 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/models/enums.js +39 -0
  14. package/dist-es/pagination/GetInstrumentationConfigurationStatusPaginator.js +4 -0
  15. package/dist-es/pagination/ListInstrumentationConfigurationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +2 -0
  17. package/dist-es/schemas/schemas_0.js +347 -64
  18. package/dist-types/ApplicationSignals.d.ts +63 -0
  19. package/dist-types/ApplicationSignalsClient.d.ts +9 -2
  20. package/dist-types/commands/BatchDeleteInstrumentationConfigurationsCommand.d.ts +111 -0
  21. package/dist-types/commands/CreateInstrumentationConfigurationCommand.d.ts +181 -0
  22. package/dist-types/commands/DeleteInstrumentationConfigurationCommand.d.ts +99 -0
  23. package/dist-types/commands/GetInstrumentationConfigurationCommand.d.ts +146 -0
  24. package/dist-types/commands/GetInstrumentationConfigurationStatusCommand.d.ts +124 -0
  25. package/dist-types/commands/ListInstrumentationConfigurationsCommand.d.ts +143 -0
  26. package/dist-types/commands/ReportInstrumentationConfigurationStatusCommand.d.ts +104 -0
  27. package/dist-types/commands/index.d.ts +7 -0
  28. package/dist-types/models/enums.d.ts +118 -0
  29. package/dist-types/models/models_0.d.ts +1087 -78
  30. package/dist-types/pagination/GetInstrumentationConfigurationStatusPaginator.d.ts +7 -0
  31. package/dist-types/pagination/ListInstrumentationConfigurationsPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +2 -0
  33. package/dist-types/schemas/schemas_0.d.ts +37 -0
  34. package/dist-types/ts3.4/ApplicationSignals.d.ts +169 -0
  35. package/dist-types/ts3.4/ApplicationSignalsClient.d.ts +42 -0
  36. package/dist-types/ts3.4/commands/BatchDeleteInstrumentationConfigurationsCommand.d.ts +53 -0
  37. package/dist-types/ts3.4/commands/CreateInstrumentationConfigurationCommand.d.ts +53 -0
  38. package/dist-types/ts3.4/commands/DeleteInstrumentationConfigurationCommand.d.ts +53 -0
  39. package/dist-types/ts3.4/commands/GetInstrumentationConfigurationCommand.d.ts +53 -0
  40. package/dist-types/ts3.4/commands/GetInstrumentationConfigurationStatusCommand.d.ts +53 -0
  41. package/dist-types/ts3.4/commands/ListInstrumentationConfigurationsCommand.d.ts +53 -0
  42. package/dist-types/ts3.4/commands/ReportInstrumentationConfigurationStatusCommand.d.ts +53 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +55 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +290 -4
  46. package/dist-types/ts3.4/pagination/GetInstrumentationConfigurationStatusPaginator.d.ts +11 -0
  47. package/dist-types/ts3.4/pagination/ListInstrumentationConfigurationsPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  49. package/dist-types/ts3.4/schemas/schemas_0.d.ts +37 -0
  50. package/package.json +3 -3
@@ -1,15 +1,21 @@
1
1
  import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { ApplicationSignalsClient } from "./ApplicationSignalsClient";
3
+ import { BatchDeleteInstrumentationConfigurationsCommand, } from "./commands/BatchDeleteInstrumentationConfigurationsCommand";
3
4
  import { BatchGetServiceLevelObjectiveBudgetReportCommand, } from "./commands/BatchGetServiceLevelObjectiveBudgetReportCommand";
4
5
  import { BatchUpdateExclusionWindowsCommand, } from "./commands/BatchUpdateExclusionWindowsCommand";
6
+ import { CreateInstrumentationConfigurationCommand, } from "./commands/CreateInstrumentationConfigurationCommand";
5
7
  import { CreateServiceLevelObjectiveCommand, } from "./commands/CreateServiceLevelObjectiveCommand";
6
8
  import { DeleteGroupingConfigurationCommand, } from "./commands/DeleteGroupingConfigurationCommand";
9
+ import { DeleteInstrumentationConfigurationCommand, } from "./commands/DeleteInstrumentationConfigurationCommand";
7
10
  import { DeleteServiceLevelObjectiveCommand, } from "./commands/DeleteServiceLevelObjectiveCommand";
11
+ import { GetInstrumentationConfigurationCommand, } from "./commands/GetInstrumentationConfigurationCommand";
12
+ import { GetInstrumentationConfigurationStatusCommand, } from "./commands/GetInstrumentationConfigurationStatusCommand";
8
13
  import { GetServiceCommand, } from "./commands/GetServiceCommand";
9
14
  import { GetServiceLevelObjectiveCommand, } from "./commands/GetServiceLevelObjectiveCommand";
10
15
  import { ListAuditFindingsCommand, } from "./commands/ListAuditFindingsCommand";
11
16
  import { ListEntityEventsCommand, } from "./commands/ListEntityEventsCommand";
12
17
  import { ListGroupingAttributeDefinitionsCommand, } from "./commands/ListGroupingAttributeDefinitionsCommand";
18
+ import { ListInstrumentationConfigurationsCommand, } from "./commands/ListInstrumentationConfigurationsCommand";
13
19
  import { ListServiceDependenciesCommand, } from "./commands/ListServiceDependenciesCommand";
14
20
  import { ListServiceDependentsCommand, } from "./commands/ListServiceDependentsCommand";
15
21
  import { ListServiceLevelObjectiveExclusionWindowsCommand, } from "./commands/ListServiceLevelObjectiveExclusionWindowsCommand";
@@ -19,11 +25,14 @@ import { ListServicesCommand, } from "./commands/ListServicesCommand";
19
25
  import { ListServiceStatesCommand, } from "./commands/ListServiceStatesCommand";
20
26
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
21
27
  import { PutGroupingConfigurationCommand, } from "./commands/PutGroupingConfigurationCommand";
28
+ import { ReportInstrumentationConfigurationStatusCommand, } from "./commands/ReportInstrumentationConfigurationStatusCommand";
22
29
  import { StartDiscoveryCommand, } from "./commands/StartDiscoveryCommand";
23
30
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
24
31
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
32
  import { UpdateServiceLevelObjectiveCommand, } from "./commands/UpdateServiceLevelObjectiveCommand";
33
+ import { paginateGetInstrumentationConfigurationStatus, } from "./pagination/GetInstrumentationConfigurationStatusPaginator";
26
34
  import { paginateListEntityEvents } from "./pagination/ListEntityEventsPaginator";
35
+ import { paginateListInstrumentationConfigurations } from "./pagination/ListInstrumentationConfigurationsPaginator";
27
36
  import { paginateListServiceDependencies } from "./pagination/ListServiceDependenciesPaginator";
28
37
  import { paginateListServiceDependents } from "./pagination/ListServiceDependentsPaginator";
29
38
  import { paginateListServiceLevelObjectiveExclusionWindows, } from "./pagination/ListServiceLevelObjectiveExclusionWindowsPaginator";
@@ -32,16 +41,22 @@ import { paginateListServiceOperations } from "./pagination/ListServiceOperation
32
41
  import { paginateListServices } from "./pagination/ListServicesPaginator";
33
42
  import { paginateListServiceStates } from "./pagination/ListServiceStatesPaginator";
34
43
  const commands = {
44
+ BatchDeleteInstrumentationConfigurationsCommand,
35
45
  BatchGetServiceLevelObjectiveBudgetReportCommand,
36
46
  BatchUpdateExclusionWindowsCommand,
47
+ CreateInstrumentationConfigurationCommand,
37
48
  CreateServiceLevelObjectiveCommand,
38
49
  DeleteGroupingConfigurationCommand,
50
+ DeleteInstrumentationConfigurationCommand,
39
51
  DeleteServiceLevelObjectiveCommand,
52
+ GetInstrumentationConfigurationCommand,
53
+ GetInstrumentationConfigurationStatusCommand,
40
54
  GetServiceCommand,
41
55
  GetServiceLevelObjectiveCommand,
42
56
  ListAuditFindingsCommand,
43
57
  ListEntityEventsCommand,
44
58
  ListGroupingAttributeDefinitionsCommand,
59
+ ListInstrumentationConfigurationsCommand,
45
60
  ListServiceDependenciesCommand,
46
61
  ListServiceDependentsCommand,
47
62
  ListServiceLevelObjectiveExclusionWindowsCommand,
@@ -51,13 +66,16 @@ const commands = {
51
66
  ListServiceStatesCommand,
52
67
  ListTagsForResourceCommand,
53
68
  PutGroupingConfigurationCommand,
69
+ ReportInstrumentationConfigurationStatusCommand,
54
70
  StartDiscoveryCommand,
55
71
  TagResourceCommand,
56
72
  UntagResourceCommand,
57
73
  UpdateServiceLevelObjectiveCommand,
58
74
  };
59
75
  const paginators = {
76
+ paginateGetInstrumentationConfigurationStatus,
60
77
  paginateListEntityEvents,
78
+ paginateListInstrumentationConfigurations,
61
79
  paginateListServiceDependencies,
62
80
  paginateListServiceDependents,
63
81
  paginateListServiceLevelObjectiveExclusionWindows,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchDeleteInstrumentationConfigurations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchDeleteInstrumentationConfigurationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "BatchDeleteInstrumentationConfigurations", {})
13
+ .n("ApplicationSignalsClient", "BatchDeleteInstrumentationConfigurationsCommand")
14
+ .sc(BatchDeleteInstrumentationConfigurations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { CreateInstrumentationConfiguration$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class CreateInstrumentationConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "CreateInstrumentationConfiguration", {})
13
+ .n("ApplicationSignalsClient", "CreateInstrumentationConfigurationCommand")
14
+ .sc(CreateInstrumentationConfiguration$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DeleteInstrumentationConfiguration$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DeleteInstrumentationConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "DeleteInstrumentationConfiguration", {})
13
+ .n("ApplicationSignalsClient", "DeleteInstrumentationConfigurationCommand")
14
+ .sc(DeleteInstrumentationConfiguration$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetInstrumentationConfiguration$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetInstrumentationConfigurationCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "GetInstrumentationConfiguration", {})
13
+ .n("ApplicationSignalsClient", "GetInstrumentationConfigurationCommand")
14
+ .sc(GetInstrumentationConfiguration$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { GetInstrumentationConfigurationStatus$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class GetInstrumentationConfigurationStatusCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "GetInstrumentationConfigurationStatus", {})
13
+ .n("ApplicationSignalsClient", "GetInstrumentationConfigurationStatusCommand")
14
+ .sc(GetInstrumentationConfigurationStatus$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ListInstrumentationConfigurations$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ListInstrumentationConfigurationsCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "ListInstrumentationConfigurations", {})
13
+ .n("ApplicationSignalsClient", "ListInstrumentationConfigurationsCommand")
14
+ .sc(ListInstrumentationConfigurations$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { ReportInstrumentationConfigurationStatus$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class ReportInstrumentationConfigurationStatusCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("ApplicationSignals", "ReportInstrumentationConfigurationStatus", {})
13
+ .n("ApplicationSignalsClient", "ReportInstrumentationConfigurationStatusCommand")
14
+ .sc(ReportInstrumentationConfigurationStatus$)
15
+ .build() {
16
+ }
@@ -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";
@@ -1,3 +1,12 @@
1
+ export const InstrumentationType = {
2
+ BREAKPOINT: "BREAKPOINT",
3
+ PROBE: "PROBE",
4
+ };
5
+ export const BatchDeleteErrorCode = {
6
+ ACCESS_DENIED: "AccessDeniedException",
7
+ INTERNAL_SERVICE_ERROR: "InternalServiceException",
8
+ RESOURCE_NOT_FOUND: "ResourceNotFoundException",
9
+ };
1
10
  export const ServiceLevelObjectiveBudgetStatus = {
2
11
  BREACHED: "BREACHED",
3
12
  INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
@@ -58,6 +67,31 @@ export const StandardUnit = {
58
67
  TERABYTES: "Terabytes",
59
68
  TERABYTES_SECOND: "Terabytes/Second",
60
69
  };
70
+ export const ProgrammingLanguage = {
71
+ JAVA: "Java",
72
+ JAVASCRIPT: "Javascript",
73
+ PYTHON: "Python",
74
+ };
75
+ export const DynamicInstrumentationSignalType = {
76
+ SNAPSHOT: "SNAPSHOT",
77
+ };
78
+ export const DynamicInstrumentationDeletionStatus = {
79
+ DELETED: "DELETED",
80
+ };
81
+ export const InstrumentationConfigurationStatus = {
82
+ ACTIVE: "ACTIVE",
83
+ DISABLED: "DISABLED",
84
+ ERROR: "ERROR",
85
+ READY: "READY",
86
+ };
87
+ export const InstrumentationErrorCause = {
88
+ FILE_NOT_FOUND: "FILE_NOT_FOUND",
89
+ LANGUAGE_MISMATCH: "LANGUAGE_MISMATCH",
90
+ LINE_NOT_EXECUTABLE: "LINE_NOT_EXECUTABLE",
91
+ METHOD_NOT_FOUND: "METHOD_NOT_FOUND",
92
+ OVERLOADED_METHODS: "OVERLOADED_METHODS",
93
+ RUNTIME_ERROR: "RUNTIME_ERROR",
94
+ };
61
95
  export const DetailLevel = {
62
96
  BRIEF: "BRIEF",
63
97
  DETAILED: "DETAILED",
@@ -77,6 +111,11 @@ export const ChangeEventType = {
77
111
  CONFIGURATION: "CONFIGURATION",
78
112
  DEPLOYMENT: "DEPLOYMENT",
79
113
  };
114
+ export const UnprocessedStatusEventFailureReason = {
115
+ INTERNAL_ERROR: "INTERNAL_ERROR",
116
+ THROTTLED: "THROTTLED",
117
+ VALIDATION_ERROR: "VALIDATION_ERROR",
118
+ };
80
119
  export const MetricSourceType = {
81
120
  APPMONITOR: "AppMonitor",
82
121
  CANARY: "Canary",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
3
+ import { GetInstrumentationConfigurationStatusCommand, } from "../commands/GetInstrumentationConfigurationStatusCommand";
4
+ export const paginateGetInstrumentationConfigurationStatus = createPaginator(ApplicationSignalsClient, GetInstrumentationConfigurationStatusCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ApplicationSignalsClient } from "../ApplicationSignalsClient";
3
+ import { ListInstrumentationConfigurationsCommand, } from "../commands/ListInstrumentationConfigurationsCommand";
4
+ export const paginateListInstrumentationConfigurations = createPaginator(ApplicationSignalsClient, ListInstrumentationConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,5 +1,7 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./GetInstrumentationConfigurationStatusPaginator";
2
3
  export * from "./ListEntityEventsPaginator";
4
+ export * from "./ListInstrumentationConfigurationsPaginator";
3
5
  export * from "./ListServiceDependenciesPaginator";
4
6
  export * from "./ListServiceDependentsPaginator";
5
7
  export * from "./ListServiceLevelObjectiveExclusionWindowsPaginator";