@aws-sdk/client-observabilityadmin 3.858.0 → 3.862.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 (93) hide show
  1. package/README.md +105 -1
  2. package/dist-cjs/ObservabilityAdmin.js +26 -0
  3. package/dist-cjs/commands/CreateTelemetryRuleCommand.js +26 -0
  4. package/dist-cjs/commands/CreateTelemetryRuleForOrganizationCommand.js +26 -0
  5. package/dist-cjs/commands/DeleteTelemetryRuleCommand.js +26 -0
  6. package/dist-cjs/commands/DeleteTelemetryRuleForOrganizationCommand.js +26 -0
  7. package/dist-cjs/commands/GetTelemetryRuleCommand.js +26 -0
  8. package/dist-cjs/commands/GetTelemetryRuleForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  10. package/dist-cjs/commands/ListTelemetryRulesCommand.js +26 -0
  11. package/dist-cjs/commands/ListTelemetryRulesForOrganizationCommand.js +26 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  14. package/dist-cjs/commands/UpdateTelemetryRuleCommand.js +26 -0
  15. package/dist-cjs/commands/UpdateTelemetryRuleForOrganizationCommand.js +26 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +83 -18
  18. package/dist-cjs/pagination/ListTelemetryRulesForOrganizationPaginator.js +7 -0
  19. package/dist-cjs/pagination/ListTelemetryRulesPaginator.js +7 -0
  20. package/dist-cjs/pagination/index.js +2 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +452 -1
  22. package/dist-es/ObservabilityAdmin.js +26 -0
  23. package/dist-es/commands/CreateTelemetryRuleCommand.js +22 -0
  24. package/dist-es/commands/CreateTelemetryRuleForOrganizationCommand.js +22 -0
  25. package/dist-es/commands/DeleteTelemetryRuleCommand.js +22 -0
  26. package/dist-es/commands/DeleteTelemetryRuleForOrganizationCommand.js +22 -0
  27. package/dist-es/commands/GetTelemetryRuleCommand.js +22 -0
  28. package/dist-es/commands/GetTelemetryRuleForOrganizationCommand.js +22 -0
  29. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  30. package/dist-es/commands/ListTelemetryRulesCommand.js +22 -0
  31. package/dist-es/commands/ListTelemetryRulesForOrganizationCommand.js +22 -0
  32. package/dist-es/commands/TagResourceCommand.js +22 -0
  33. package/dist-es/commands/UntagResourceCommand.js +22 -0
  34. package/dist-es/commands/UpdateTelemetryRuleCommand.js +22 -0
  35. package/dist-es/commands/UpdateTelemetryRuleForOrganizationCommand.js +22 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/models_0.js +78 -17
  38. package/dist-es/pagination/ListTelemetryRulesForOrganizationPaginator.js +4 -0
  39. package/dist-es/pagination/ListTelemetryRulesPaginator.js +4 -0
  40. package/dist-es/pagination/index.js +2 -0
  41. package/dist-es/protocols/Aws_restJson1.js +427 -2
  42. package/dist-types/ObservabilityAdmin.d.ts +94 -1
  43. package/dist-types/ObservabilityAdminClient.d.ts +16 -3
  44. package/dist-types/commands/CreateTelemetryRuleCommand.d.ts +123 -0
  45. package/dist-types/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +123 -0
  46. package/dist-types/commands/DeleteTelemetryRuleCommand.d.ts +97 -0
  47. package/dist-types/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +97 -0
  48. package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +6 -1
  49. package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +7 -2
  50. package/dist-types/commands/GetTelemetryRuleCommand.d.ts +118 -0
  51. package/dist-types/commands/GetTelemetryRuleForOrganizationCommand.d.ts +118 -0
  52. package/dist-types/commands/ListResourceTelemetryCommand.d.ts +7 -2
  53. package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +7 -2
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +101 -0
  55. package/dist-types/commands/ListTelemetryRulesCommand.d.ts +106 -0
  56. package/dist-types/commands/ListTelemetryRulesForOrganizationCommand.d.ts +112 -0
  57. package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +7 -2
  58. package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +6 -1
  59. package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +7 -2
  60. package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +7 -2
  61. package/dist-types/commands/TagResourceCommand.d.ts +105 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +100 -0
  63. package/dist-types/commands/UpdateTelemetryRuleCommand.d.ts +120 -0
  64. package/dist-types/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +120 -0
  65. package/dist-types/commands/index.d.ts +13 -0
  66. package/dist-types/index.d.ts +1 -1
  67. package/dist-types/models/models_0.d.ts +707 -39
  68. package/dist-types/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +7 -0
  69. package/dist-types/pagination/ListTelemetryRulesPaginator.d.ts +7 -0
  70. package/dist-types/pagination/index.d.ts +2 -0
  71. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  72. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +247 -0
  73. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +80 -2
  74. package/dist-types/ts3.4/commands/CreateTelemetryRuleCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/CreateTelemetryRuleForOrganizationCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeleteTelemetryRuleCommand.d.ts +46 -0
  77. package/dist-types/ts3.4/commands/DeleteTelemetryRuleForOrganizationCommand.d.ts +47 -0
  78. package/dist-types/ts3.4/commands/GetTelemetryRuleCommand.d.ts +50 -0
  79. package/dist-types/ts3.4/commands/GetTelemetryRuleForOrganizationCommand.d.ts +51 -0
  80. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  81. package/dist-types/ts3.4/commands/ListTelemetryRulesCommand.d.ts +51 -0
  82. package/dist-types/ts3.4/commands/ListTelemetryRulesForOrganizationCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  84. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  85. package/dist-types/ts3.4/commands/UpdateTelemetryRuleCommand.d.ts +51 -0
  86. package/dist-types/ts3.4/commands/UpdateTelemetryRuleForOrganizationCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +178 -26
  89. package/dist-types/ts3.4/pagination/ListTelemetryRulesForOrganizationPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListTelemetryRulesPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  93. package/package.json +33 -33
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTelemetryRulesForOrganizationCommandInput, ListTelemetryRulesForOrganizationCommandOutput } from "../commands/ListTelemetryRulesForOrganizationCommand";
3
+ import { ObservabilityAdminPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListTelemetryRulesForOrganization: (config: ObservabilityAdminPaginationConfiguration, input: ListTelemetryRulesForOrganizationCommandInput, ...rest: any[]) => Paginator<ListTelemetryRulesForOrganizationCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListTelemetryRulesCommandInput, ListTelemetryRulesCommandOutput } from "../commands/ListTelemetryRulesCommand";
3
+ import { ObservabilityAdminPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListTelemetryRules: (config: ObservabilityAdminPaginationConfiguration, input: ListTelemetryRulesCommandInput, ...rest: any[]) => Paginator<ListTelemetryRulesCommandOutput>;
@@ -1,3 +1,5 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListResourceTelemetryForOrganizationPaginator";
3
3
  export * from "./ListResourceTelemetryPaginator";
4
+ export * from "./ListTelemetryRulesForOrganizationPaginator";
5
+ export * from "./ListTelemetryRulesPaginator";
@@ -1,13 +1,42 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { CreateTelemetryRuleCommandInput, CreateTelemetryRuleCommandOutput } from "../commands/CreateTelemetryRuleCommand";
4
+ import { CreateTelemetryRuleForOrganizationCommandInput, CreateTelemetryRuleForOrganizationCommandOutput } from "../commands/CreateTelemetryRuleForOrganizationCommand";
5
+ import { DeleteTelemetryRuleCommandInput, DeleteTelemetryRuleCommandOutput } from "../commands/DeleteTelemetryRuleCommand";
6
+ import { DeleteTelemetryRuleForOrganizationCommandInput, DeleteTelemetryRuleForOrganizationCommandOutput } from "../commands/DeleteTelemetryRuleForOrganizationCommand";
3
7
  import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "../commands/GetTelemetryEvaluationStatusCommand";
4
8
  import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "../commands/GetTelemetryEvaluationStatusForOrganizationCommand";
9
+ import { GetTelemetryRuleCommandInput, GetTelemetryRuleCommandOutput } from "../commands/GetTelemetryRuleCommand";
10
+ import { GetTelemetryRuleForOrganizationCommandInput, GetTelemetryRuleForOrganizationCommandOutput } from "../commands/GetTelemetryRuleForOrganizationCommand";
5
11
  import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "../commands/ListResourceTelemetryCommand";
6
12
  import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "../commands/ListResourceTelemetryForOrganizationCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
14
+ import { ListTelemetryRulesCommandInput, ListTelemetryRulesCommandOutput } from "../commands/ListTelemetryRulesCommand";
15
+ import { ListTelemetryRulesForOrganizationCommandInput, ListTelemetryRulesForOrganizationCommandOutput } from "../commands/ListTelemetryRulesForOrganizationCommand";
7
16
  import { StartTelemetryEvaluationCommandInput, StartTelemetryEvaluationCommandOutput } from "../commands/StartTelemetryEvaluationCommand";
8
17
  import { StartTelemetryEvaluationForOrganizationCommandInput, StartTelemetryEvaluationForOrganizationCommandOutput } from "../commands/StartTelemetryEvaluationForOrganizationCommand";
9
18
  import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutput } from "../commands/StopTelemetryEvaluationCommand";
10
19
  import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "../commands/StopTelemetryEvaluationForOrganizationCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
22
+ import { UpdateTelemetryRuleCommandInput, UpdateTelemetryRuleCommandOutput } from "../commands/UpdateTelemetryRuleCommand";
23
+ import { UpdateTelemetryRuleForOrganizationCommandInput, UpdateTelemetryRuleForOrganizationCommandOutput } from "../commands/UpdateTelemetryRuleForOrganizationCommand";
24
+ /**
25
+ * serializeAws_restJson1CreateTelemetryRuleCommand
26
+ */
27
+ export declare const se_CreateTelemetryRuleCommand: (input: CreateTelemetryRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ /**
29
+ * serializeAws_restJson1CreateTelemetryRuleForOrganizationCommand
30
+ */
31
+ export declare const se_CreateTelemetryRuleForOrganizationCommand: (input: CreateTelemetryRuleForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
+ /**
33
+ * serializeAws_restJson1DeleteTelemetryRuleCommand
34
+ */
35
+ export declare const se_DeleteTelemetryRuleCommand: (input: DeleteTelemetryRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
+ /**
37
+ * serializeAws_restJson1DeleteTelemetryRuleForOrganizationCommand
38
+ */
39
+ export declare const se_DeleteTelemetryRuleForOrganizationCommand: (input: DeleteTelemetryRuleForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
40
  /**
12
41
  * serializeAws_restJson1GetTelemetryEvaluationStatusCommand
13
42
  */
@@ -16,6 +45,14 @@ export declare const se_GetTelemetryEvaluationStatusCommand: (input: GetTelemetr
16
45
  * serializeAws_restJson1GetTelemetryEvaluationStatusForOrganizationCommand
17
46
  */
18
47
  export declare const se_GetTelemetryEvaluationStatusForOrganizationCommand: (input: GetTelemetryEvaluationStatusForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
48
+ /**
49
+ * serializeAws_restJson1GetTelemetryRuleCommand
50
+ */
51
+ export declare const se_GetTelemetryRuleCommand: (input: GetTelemetryRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
52
+ /**
53
+ * serializeAws_restJson1GetTelemetryRuleForOrganizationCommand
54
+ */
55
+ export declare const se_GetTelemetryRuleForOrganizationCommand: (input: GetTelemetryRuleForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
56
  /**
20
57
  * serializeAws_restJson1ListResourceTelemetryCommand
21
58
  */
@@ -24,6 +61,18 @@ export declare const se_ListResourceTelemetryCommand: (input: ListResourceTeleme
24
61
  * serializeAws_restJson1ListResourceTelemetryForOrganizationCommand
25
62
  */
26
63
  export declare const se_ListResourceTelemetryForOrganizationCommand: (input: ListResourceTelemetryForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
+ /**
65
+ * serializeAws_restJson1ListTagsForResourceCommand
66
+ */
67
+ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
68
+ /**
69
+ * serializeAws_restJson1ListTelemetryRulesCommand
70
+ */
71
+ export declare const se_ListTelemetryRulesCommand: (input: ListTelemetryRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
72
+ /**
73
+ * serializeAws_restJson1ListTelemetryRulesForOrganizationCommand
74
+ */
75
+ export declare const se_ListTelemetryRulesForOrganizationCommand: (input: ListTelemetryRulesForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
76
  /**
28
77
  * serializeAws_restJson1StartTelemetryEvaluationCommand
29
78
  */
@@ -40,6 +89,38 @@ export declare const se_StopTelemetryEvaluationCommand: (input: StopTelemetryEva
40
89
  * serializeAws_restJson1StopTelemetryEvaluationForOrganizationCommand
41
90
  */
42
91
  export declare const se_StopTelemetryEvaluationForOrganizationCommand: (input: StopTelemetryEvaluationForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
92
+ /**
93
+ * serializeAws_restJson1TagResourceCommand
94
+ */
95
+ export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
+ /**
97
+ * serializeAws_restJson1UntagResourceCommand
98
+ */
99
+ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
100
+ /**
101
+ * serializeAws_restJson1UpdateTelemetryRuleCommand
102
+ */
103
+ export declare const se_UpdateTelemetryRuleCommand: (input: UpdateTelemetryRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
104
+ /**
105
+ * serializeAws_restJson1UpdateTelemetryRuleForOrganizationCommand
106
+ */
107
+ export declare const se_UpdateTelemetryRuleForOrganizationCommand: (input: UpdateTelemetryRuleForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
108
+ /**
109
+ * deserializeAws_restJson1CreateTelemetryRuleCommand
110
+ */
111
+ export declare const de_CreateTelemetryRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTelemetryRuleCommandOutput>;
112
+ /**
113
+ * deserializeAws_restJson1CreateTelemetryRuleForOrganizationCommand
114
+ */
115
+ export declare const de_CreateTelemetryRuleForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateTelemetryRuleForOrganizationCommandOutput>;
116
+ /**
117
+ * deserializeAws_restJson1DeleteTelemetryRuleCommand
118
+ */
119
+ export declare const de_DeleteTelemetryRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTelemetryRuleCommandOutput>;
120
+ /**
121
+ * deserializeAws_restJson1DeleteTelemetryRuleForOrganizationCommand
122
+ */
123
+ export declare const de_DeleteTelemetryRuleForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTelemetryRuleForOrganizationCommandOutput>;
43
124
  /**
44
125
  * deserializeAws_restJson1GetTelemetryEvaluationStatusCommand
45
126
  */
@@ -48,6 +129,14 @@ export declare const de_GetTelemetryEvaluationStatusCommand: (output: __HttpResp
48
129
  * deserializeAws_restJson1GetTelemetryEvaluationStatusForOrganizationCommand
49
130
  */
50
131
  export declare const de_GetTelemetryEvaluationStatusForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelemetryEvaluationStatusForOrganizationCommandOutput>;
132
+ /**
133
+ * deserializeAws_restJson1GetTelemetryRuleCommand
134
+ */
135
+ export declare const de_GetTelemetryRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelemetryRuleCommandOutput>;
136
+ /**
137
+ * deserializeAws_restJson1GetTelemetryRuleForOrganizationCommand
138
+ */
139
+ export declare const de_GetTelemetryRuleForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelemetryRuleForOrganizationCommandOutput>;
51
140
  /**
52
141
  * deserializeAws_restJson1ListResourceTelemetryCommand
53
142
  */
@@ -56,6 +145,18 @@ export declare const de_ListResourceTelemetryCommand: (output: __HttpResponse, c
56
145
  * deserializeAws_restJson1ListResourceTelemetryForOrganizationCommand
57
146
  */
58
147
  export declare const de_ListResourceTelemetryForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceTelemetryForOrganizationCommandOutput>;
148
+ /**
149
+ * deserializeAws_restJson1ListTagsForResourceCommand
150
+ */
151
+ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
152
+ /**
153
+ * deserializeAws_restJson1ListTelemetryRulesCommand
154
+ */
155
+ export declare const de_ListTelemetryRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTelemetryRulesCommandOutput>;
156
+ /**
157
+ * deserializeAws_restJson1ListTelemetryRulesForOrganizationCommand
158
+ */
159
+ export declare const de_ListTelemetryRulesForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTelemetryRulesForOrganizationCommandOutput>;
59
160
  /**
60
161
  * deserializeAws_restJson1StartTelemetryEvaluationCommand
61
162
  */
@@ -72,3 +173,19 @@ export declare const de_StopTelemetryEvaluationCommand: (output: __HttpResponse,
72
173
  * deserializeAws_restJson1StopTelemetryEvaluationForOrganizationCommand
73
174
  */
74
175
  export declare const de_StopTelemetryEvaluationForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTelemetryEvaluationForOrganizationCommandOutput>;
176
+ /**
177
+ * deserializeAws_restJson1TagResourceCommand
178
+ */
179
+ export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
180
+ /**
181
+ * deserializeAws_restJson1UntagResourceCommand
182
+ */
183
+ export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
184
+ /**
185
+ * deserializeAws_restJson1UpdateTelemetryRuleCommand
186
+ */
187
+ export declare const de_UpdateTelemetryRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTelemetryRuleCommandOutput>;
188
+ /**
189
+ * deserializeAws_restJson1UpdateTelemetryRuleForOrganizationCommand
190
+ */
191
+ export declare const de_UpdateTelemetryRuleForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateTelemetryRuleForOrganizationCommandOutput>;
@@ -1,4 +1,20 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreateTelemetryRuleCommandInput,
4
+ CreateTelemetryRuleCommandOutput,
5
+ } from "./commands/CreateTelemetryRuleCommand";
6
+ import {
7
+ CreateTelemetryRuleForOrganizationCommandInput,
8
+ CreateTelemetryRuleForOrganizationCommandOutput,
9
+ } from "./commands/CreateTelemetryRuleForOrganizationCommand";
10
+ import {
11
+ DeleteTelemetryRuleCommandInput,
12
+ DeleteTelemetryRuleCommandOutput,
13
+ } from "./commands/DeleteTelemetryRuleCommand";
14
+ import {
15
+ DeleteTelemetryRuleForOrganizationCommandInput,
16
+ DeleteTelemetryRuleForOrganizationCommandOutput,
17
+ } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
2
18
  import {
3
19
  GetTelemetryEvaluationStatusCommandInput,
4
20
  GetTelemetryEvaluationStatusCommandOutput,
@@ -7,6 +23,14 @@ import {
7
23
  GetTelemetryEvaluationStatusForOrganizationCommandInput,
8
24
  GetTelemetryEvaluationStatusForOrganizationCommandOutput,
9
25
  } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
26
+ import {
27
+ GetTelemetryRuleCommandInput,
28
+ GetTelemetryRuleCommandOutput,
29
+ } from "./commands/GetTelemetryRuleCommand";
30
+ import {
31
+ GetTelemetryRuleForOrganizationCommandInput,
32
+ GetTelemetryRuleForOrganizationCommandOutput,
33
+ } from "./commands/GetTelemetryRuleForOrganizationCommand";
10
34
  import {
11
35
  ListResourceTelemetryCommandInput,
12
36
  ListResourceTelemetryCommandOutput,
@@ -15,6 +39,18 @@ import {
15
39
  ListResourceTelemetryForOrganizationCommandInput,
16
40
  ListResourceTelemetryForOrganizationCommandOutput,
17
41
  } from "./commands/ListResourceTelemetryForOrganizationCommand";
42
+ import {
43
+ ListTagsForResourceCommandInput,
44
+ ListTagsForResourceCommandOutput,
45
+ } from "./commands/ListTagsForResourceCommand";
46
+ import {
47
+ ListTelemetryRulesCommandInput,
48
+ ListTelemetryRulesCommandOutput,
49
+ } from "./commands/ListTelemetryRulesCommand";
50
+ import {
51
+ ListTelemetryRulesForOrganizationCommandInput,
52
+ ListTelemetryRulesForOrganizationCommandOutput,
53
+ } from "./commands/ListTelemetryRulesForOrganizationCommand";
18
54
  import {
19
55
  StartTelemetryEvaluationCommandInput,
20
56
  StartTelemetryEvaluationCommandOutput,
@@ -31,8 +67,88 @@ import {
31
67
  StopTelemetryEvaluationForOrganizationCommandInput,
32
68
  StopTelemetryEvaluationForOrganizationCommandOutput,
33
69
  } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
70
+ import {
71
+ TagResourceCommandInput,
72
+ TagResourceCommandOutput,
73
+ } from "./commands/TagResourceCommand";
74
+ import {
75
+ UntagResourceCommandInput,
76
+ UntagResourceCommandOutput,
77
+ } from "./commands/UntagResourceCommand";
78
+ import {
79
+ UpdateTelemetryRuleCommandInput,
80
+ UpdateTelemetryRuleCommandOutput,
81
+ } from "./commands/UpdateTelemetryRuleCommand";
82
+ import {
83
+ UpdateTelemetryRuleForOrganizationCommandInput,
84
+ UpdateTelemetryRuleForOrganizationCommandOutput,
85
+ } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
34
86
  import { ObservabilityAdminClient } from "./ObservabilityAdminClient";
35
87
  export interface ObservabilityAdmin {
88
+ createTelemetryRule(
89
+ args: CreateTelemetryRuleCommandInput,
90
+ options?: __HttpHandlerOptions
91
+ ): Promise<CreateTelemetryRuleCommandOutput>;
92
+ createTelemetryRule(
93
+ args: CreateTelemetryRuleCommandInput,
94
+ cb: (err: any, data?: CreateTelemetryRuleCommandOutput) => void
95
+ ): void;
96
+ createTelemetryRule(
97
+ args: CreateTelemetryRuleCommandInput,
98
+ options: __HttpHandlerOptions,
99
+ cb: (err: any, data?: CreateTelemetryRuleCommandOutput) => void
100
+ ): void;
101
+ createTelemetryRuleForOrganization(
102
+ args: CreateTelemetryRuleForOrganizationCommandInput,
103
+ options?: __HttpHandlerOptions
104
+ ): Promise<CreateTelemetryRuleForOrganizationCommandOutput>;
105
+ createTelemetryRuleForOrganization(
106
+ args: CreateTelemetryRuleForOrganizationCommandInput,
107
+ cb: (
108
+ err: any,
109
+ data?: CreateTelemetryRuleForOrganizationCommandOutput
110
+ ) => void
111
+ ): void;
112
+ createTelemetryRuleForOrganization(
113
+ args: CreateTelemetryRuleForOrganizationCommandInput,
114
+ options: __HttpHandlerOptions,
115
+ cb: (
116
+ err: any,
117
+ data?: CreateTelemetryRuleForOrganizationCommandOutput
118
+ ) => void
119
+ ): void;
120
+ deleteTelemetryRule(
121
+ args: DeleteTelemetryRuleCommandInput,
122
+ options?: __HttpHandlerOptions
123
+ ): Promise<DeleteTelemetryRuleCommandOutput>;
124
+ deleteTelemetryRule(
125
+ args: DeleteTelemetryRuleCommandInput,
126
+ cb: (err: any, data?: DeleteTelemetryRuleCommandOutput) => void
127
+ ): void;
128
+ deleteTelemetryRule(
129
+ args: DeleteTelemetryRuleCommandInput,
130
+ options: __HttpHandlerOptions,
131
+ cb: (err: any, data?: DeleteTelemetryRuleCommandOutput) => void
132
+ ): void;
133
+ deleteTelemetryRuleForOrganization(
134
+ args: DeleteTelemetryRuleForOrganizationCommandInput,
135
+ options?: __HttpHandlerOptions
136
+ ): Promise<DeleteTelemetryRuleForOrganizationCommandOutput>;
137
+ deleteTelemetryRuleForOrganization(
138
+ args: DeleteTelemetryRuleForOrganizationCommandInput,
139
+ cb: (
140
+ err: any,
141
+ data?: DeleteTelemetryRuleForOrganizationCommandOutput
142
+ ) => void
143
+ ): void;
144
+ deleteTelemetryRuleForOrganization(
145
+ args: DeleteTelemetryRuleForOrganizationCommandInput,
146
+ options: __HttpHandlerOptions,
147
+ cb: (
148
+ err: any,
149
+ data?: DeleteTelemetryRuleForOrganizationCommandOutput
150
+ ) => void
151
+ ): void;
36
152
  getTelemetryEvaluationStatus(): Promise<GetTelemetryEvaluationStatusCommandOutput>;
37
153
  getTelemetryEvaluationStatus(
38
154
  args: GetTelemetryEvaluationStatusCommandInput,
@@ -67,6 +183,32 @@ export interface ObservabilityAdmin {
67
183
  data?: GetTelemetryEvaluationStatusForOrganizationCommandOutput
68
184
  ) => void
69
185
  ): void;
186
+ getTelemetryRule(
187
+ args: GetTelemetryRuleCommandInput,
188
+ options?: __HttpHandlerOptions
189
+ ): Promise<GetTelemetryRuleCommandOutput>;
190
+ getTelemetryRule(
191
+ args: GetTelemetryRuleCommandInput,
192
+ cb: (err: any, data?: GetTelemetryRuleCommandOutput) => void
193
+ ): void;
194
+ getTelemetryRule(
195
+ args: GetTelemetryRuleCommandInput,
196
+ options: __HttpHandlerOptions,
197
+ cb: (err: any, data?: GetTelemetryRuleCommandOutput) => void
198
+ ): void;
199
+ getTelemetryRuleForOrganization(
200
+ args: GetTelemetryRuleForOrganizationCommandInput,
201
+ options?: __HttpHandlerOptions
202
+ ): Promise<GetTelemetryRuleForOrganizationCommandOutput>;
203
+ getTelemetryRuleForOrganization(
204
+ args: GetTelemetryRuleForOrganizationCommandInput,
205
+ cb: (err: any, data?: GetTelemetryRuleForOrganizationCommandOutput) => void
206
+ ): void;
207
+ getTelemetryRuleForOrganization(
208
+ args: GetTelemetryRuleForOrganizationCommandInput,
209
+ options: __HttpHandlerOptions,
210
+ cb: (err: any, data?: GetTelemetryRuleForOrganizationCommandOutput) => void
211
+ ): void;
70
212
  listResourceTelemetry(): Promise<ListResourceTelemetryCommandOutput>;
71
213
  listResourceTelemetry(
72
214
  args: ListResourceTelemetryCommandInput,
@@ -101,6 +243,53 @@ export interface ObservabilityAdmin {
101
243
  data?: ListResourceTelemetryForOrganizationCommandOutput
102
244
  ) => void
103
245
  ): void;
246
+ listTagsForResource(
247
+ args: ListTagsForResourceCommandInput,
248
+ options?: __HttpHandlerOptions
249
+ ): Promise<ListTagsForResourceCommandOutput>;
250
+ listTagsForResource(
251
+ args: ListTagsForResourceCommandInput,
252
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
253
+ ): void;
254
+ listTagsForResource(
255
+ args: ListTagsForResourceCommandInput,
256
+ options: __HttpHandlerOptions,
257
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
258
+ ): void;
259
+ listTelemetryRules(): Promise<ListTelemetryRulesCommandOutput>;
260
+ listTelemetryRules(
261
+ args: ListTelemetryRulesCommandInput,
262
+ options?: __HttpHandlerOptions
263
+ ): Promise<ListTelemetryRulesCommandOutput>;
264
+ listTelemetryRules(
265
+ args: ListTelemetryRulesCommandInput,
266
+ cb: (err: any, data?: ListTelemetryRulesCommandOutput) => void
267
+ ): void;
268
+ listTelemetryRules(
269
+ args: ListTelemetryRulesCommandInput,
270
+ options: __HttpHandlerOptions,
271
+ cb: (err: any, data?: ListTelemetryRulesCommandOutput) => void
272
+ ): void;
273
+ listTelemetryRulesForOrganization(): Promise<ListTelemetryRulesForOrganizationCommandOutput>;
274
+ listTelemetryRulesForOrganization(
275
+ args: ListTelemetryRulesForOrganizationCommandInput,
276
+ options?: __HttpHandlerOptions
277
+ ): Promise<ListTelemetryRulesForOrganizationCommandOutput>;
278
+ listTelemetryRulesForOrganization(
279
+ args: ListTelemetryRulesForOrganizationCommandInput,
280
+ cb: (
281
+ err: any,
282
+ data?: ListTelemetryRulesForOrganizationCommandOutput
283
+ ) => void
284
+ ): void;
285
+ listTelemetryRulesForOrganization(
286
+ args: ListTelemetryRulesForOrganizationCommandInput,
287
+ options: __HttpHandlerOptions,
288
+ cb: (
289
+ err: any,
290
+ data?: ListTelemetryRulesForOrganizationCommandOutput
291
+ ) => void
292
+ ): void;
104
293
  startTelemetryEvaluation(): Promise<StartTelemetryEvaluationCommandOutput>;
105
294
  startTelemetryEvaluation(
106
295
  args: StartTelemetryEvaluationCommandInput,
@@ -169,6 +358,64 @@ export interface ObservabilityAdmin {
169
358
  data?: StopTelemetryEvaluationForOrganizationCommandOutput
170
359
  ) => void
171
360
  ): void;
361
+ tagResource(
362
+ args: TagResourceCommandInput,
363
+ options?: __HttpHandlerOptions
364
+ ): Promise<TagResourceCommandOutput>;
365
+ tagResource(
366
+ args: TagResourceCommandInput,
367
+ cb: (err: any, data?: TagResourceCommandOutput) => void
368
+ ): void;
369
+ tagResource(
370
+ args: TagResourceCommandInput,
371
+ options: __HttpHandlerOptions,
372
+ cb: (err: any, data?: TagResourceCommandOutput) => void
373
+ ): void;
374
+ untagResource(
375
+ args: UntagResourceCommandInput,
376
+ options?: __HttpHandlerOptions
377
+ ): Promise<UntagResourceCommandOutput>;
378
+ untagResource(
379
+ args: UntagResourceCommandInput,
380
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
381
+ ): void;
382
+ untagResource(
383
+ args: UntagResourceCommandInput,
384
+ options: __HttpHandlerOptions,
385
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
386
+ ): void;
387
+ updateTelemetryRule(
388
+ args: UpdateTelemetryRuleCommandInput,
389
+ options?: __HttpHandlerOptions
390
+ ): Promise<UpdateTelemetryRuleCommandOutput>;
391
+ updateTelemetryRule(
392
+ args: UpdateTelemetryRuleCommandInput,
393
+ cb: (err: any, data?: UpdateTelemetryRuleCommandOutput) => void
394
+ ): void;
395
+ updateTelemetryRule(
396
+ args: UpdateTelemetryRuleCommandInput,
397
+ options: __HttpHandlerOptions,
398
+ cb: (err: any, data?: UpdateTelemetryRuleCommandOutput) => void
399
+ ): void;
400
+ updateTelemetryRuleForOrganization(
401
+ args: UpdateTelemetryRuleForOrganizationCommandInput,
402
+ options?: __HttpHandlerOptions
403
+ ): Promise<UpdateTelemetryRuleForOrganizationCommandOutput>;
404
+ updateTelemetryRuleForOrganization(
405
+ args: UpdateTelemetryRuleForOrganizationCommandInput,
406
+ cb: (
407
+ err: any,
408
+ data?: UpdateTelemetryRuleForOrganizationCommandOutput
409
+ ) => void
410
+ ): void;
411
+ updateTelemetryRuleForOrganization(
412
+ args: UpdateTelemetryRuleForOrganizationCommandInput,
413
+ options: __HttpHandlerOptions,
414
+ cb: (
415
+ err: any,
416
+ data?: UpdateTelemetryRuleForOrganizationCommandOutput
417
+ ) => void
418
+ ): void;
172
419
  }
173
420
  export declare class ObservabilityAdmin
174
421
  extends ObservabilityAdminClient
@@ -45,6 +45,22 @@ import {
45
45
  HttpAuthSchemeInputConfig,
46
46
  HttpAuthSchemeResolvedConfig,
47
47
  } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CreateTelemetryRuleCommandInput,
50
+ CreateTelemetryRuleCommandOutput,
51
+ } from "./commands/CreateTelemetryRuleCommand";
52
+ import {
53
+ CreateTelemetryRuleForOrganizationCommandInput,
54
+ CreateTelemetryRuleForOrganizationCommandOutput,
55
+ } from "./commands/CreateTelemetryRuleForOrganizationCommand";
56
+ import {
57
+ DeleteTelemetryRuleCommandInput,
58
+ DeleteTelemetryRuleCommandOutput,
59
+ } from "./commands/DeleteTelemetryRuleCommand";
60
+ import {
61
+ DeleteTelemetryRuleForOrganizationCommandInput,
62
+ DeleteTelemetryRuleForOrganizationCommandOutput,
63
+ } from "./commands/DeleteTelemetryRuleForOrganizationCommand";
48
64
  import {
49
65
  GetTelemetryEvaluationStatusCommandInput,
50
66
  GetTelemetryEvaluationStatusCommandOutput,
@@ -53,6 +69,14 @@ import {
53
69
  GetTelemetryEvaluationStatusForOrganizationCommandInput,
54
70
  GetTelemetryEvaluationStatusForOrganizationCommandOutput,
55
71
  } from "./commands/GetTelemetryEvaluationStatusForOrganizationCommand";
72
+ import {
73
+ GetTelemetryRuleCommandInput,
74
+ GetTelemetryRuleCommandOutput,
75
+ } from "./commands/GetTelemetryRuleCommand";
76
+ import {
77
+ GetTelemetryRuleForOrganizationCommandInput,
78
+ GetTelemetryRuleForOrganizationCommandOutput,
79
+ } from "./commands/GetTelemetryRuleForOrganizationCommand";
56
80
  import {
57
81
  ListResourceTelemetryCommandInput,
58
82
  ListResourceTelemetryCommandOutput,
@@ -61,6 +85,18 @@ import {
61
85
  ListResourceTelemetryForOrganizationCommandInput,
62
86
  ListResourceTelemetryForOrganizationCommandOutput,
63
87
  } from "./commands/ListResourceTelemetryForOrganizationCommand";
88
+ import {
89
+ ListTagsForResourceCommandInput,
90
+ ListTagsForResourceCommandOutput,
91
+ } from "./commands/ListTagsForResourceCommand";
92
+ import {
93
+ ListTelemetryRulesCommandInput,
94
+ ListTelemetryRulesCommandOutput,
95
+ } from "./commands/ListTelemetryRulesCommand";
96
+ import {
97
+ ListTelemetryRulesForOrganizationCommandInput,
98
+ ListTelemetryRulesForOrganizationCommandOutput,
99
+ } from "./commands/ListTelemetryRulesForOrganizationCommand";
64
100
  import {
65
101
  StartTelemetryEvaluationCommandInput,
66
102
  StartTelemetryEvaluationCommandOutput,
@@ -77,6 +113,22 @@ import {
77
113
  StopTelemetryEvaluationForOrganizationCommandInput,
78
114
  StopTelemetryEvaluationForOrganizationCommandOutput,
79
115
  } from "./commands/StopTelemetryEvaluationForOrganizationCommand";
116
+ import {
117
+ TagResourceCommandInput,
118
+ TagResourceCommandOutput,
119
+ } from "./commands/TagResourceCommand";
120
+ import {
121
+ UntagResourceCommandInput,
122
+ UntagResourceCommandOutput,
123
+ } from "./commands/UntagResourceCommand";
124
+ import {
125
+ UpdateTelemetryRuleCommandInput,
126
+ UpdateTelemetryRuleCommandOutput,
127
+ } from "./commands/UpdateTelemetryRuleCommand";
128
+ import {
129
+ UpdateTelemetryRuleForOrganizationCommandInput,
130
+ UpdateTelemetryRuleForOrganizationCommandOutput,
131
+ } from "./commands/UpdateTelemetryRuleForOrganizationCommand";
80
132
  import {
81
133
  ClientInputEndpointParameters,
82
134
  ClientResolvedEndpointParameters,
@@ -85,23 +137,49 @@ import {
85
137
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
86
138
  export { __Client };
87
139
  export type ServiceInputTypes =
140
+ | CreateTelemetryRuleCommandInput
141
+ | CreateTelemetryRuleForOrganizationCommandInput
142
+ | DeleteTelemetryRuleCommandInput
143
+ | DeleteTelemetryRuleForOrganizationCommandInput
88
144
  | GetTelemetryEvaluationStatusCommandInput
89
145
  | GetTelemetryEvaluationStatusForOrganizationCommandInput
146
+ | GetTelemetryRuleCommandInput
147
+ | GetTelemetryRuleForOrganizationCommandInput
90
148
  | ListResourceTelemetryCommandInput
91
149
  | ListResourceTelemetryForOrganizationCommandInput
150
+ | ListTagsForResourceCommandInput
151
+ | ListTelemetryRulesCommandInput
152
+ | ListTelemetryRulesForOrganizationCommandInput
92
153
  | StartTelemetryEvaluationCommandInput
93
154
  | StartTelemetryEvaluationForOrganizationCommandInput
94
155
  | StopTelemetryEvaluationCommandInput
95
- | StopTelemetryEvaluationForOrganizationCommandInput;
156
+ | StopTelemetryEvaluationForOrganizationCommandInput
157
+ | TagResourceCommandInput
158
+ | UntagResourceCommandInput
159
+ | UpdateTelemetryRuleCommandInput
160
+ | UpdateTelemetryRuleForOrganizationCommandInput;
96
161
  export type ServiceOutputTypes =
162
+ | CreateTelemetryRuleCommandOutput
163
+ | CreateTelemetryRuleForOrganizationCommandOutput
164
+ | DeleteTelemetryRuleCommandOutput
165
+ | DeleteTelemetryRuleForOrganizationCommandOutput
97
166
  | GetTelemetryEvaluationStatusCommandOutput
98
167
  | GetTelemetryEvaluationStatusForOrganizationCommandOutput
168
+ | GetTelemetryRuleCommandOutput
169
+ | GetTelemetryRuleForOrganizationCommandOutput
99
170
  | ListResourceTelemetryCommandOutput
100
171
  | ListResourceTelemetryForOrganizationCommandOutput
172
+ | ListTagsForResourceCommandOutput
173
+ | ListTelemetryRulesCommandOutput
174
+ | ListTelemetryRulesForOrganizationCommandOutput
101
175
  | StartTelemetryEvaluationCommandOutput
102
176
  | StartTelemetryEvaluationForOrganizationCommandOutput
103
177
  | StopTelemetryEvaluationCommandOutput
104
- | StopTelemetryEvaluationForOrganizationCommandOutput;
178
+ | StopTelemetryEvaluationForOrganizationCommandOutput
179
+ | TagResourceCommandOutput
180
+ | UntagResourceCommandOutput
181
+ | UpdateTelemetryRuleCommandOutput
182
+ | UpdateTelemetryRuleForOrganizationCommandOutput;
105
183
  export interface ClientDefaults
106
184
  extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
107
185
  requestHandler?: __HttpHandlerUserInput;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateTelemetryRuleInput,
5
+ CreateTelemetryRuleOutput,
6
+ } from "../models/models_0";
7
+ import {
8
+ ObservabilityAdminClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../ObservabilityAdminClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateTelemetryRuleCommandInput
15
+ extends CreateTelemetryRuleInput {}
16
+ export interface CreateTelemetryRuleCommandOutput
17
+ extends CreateTelemetryRuleOutput,
18
+ __MetadataBearer {}
19
+ declare const CreateTelemetryRuleCommand_base: {
20
+ new (
21
+ input: CreateTelemetryRuleCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateTelemetryRuleCommandInput,
24
+ CreateTelemetryRuleCommandOutput,
25
+ ObservabilityAdminClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateTelemetryRuleCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateTelemetryRuleCommandInput,
33
+ CreateTelemetryRuleCommandOutput,
34
+ ObservabilityAdminClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateTelemetryRuleCommand extends CreateTelemetryRuleCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateTelemetryRuleInput;
44
+ output: CreateTelemetryRuleOutput;
45
+ };
46
+ sdk: {
47
+ input: CreateTelemetryRuleCommandInput;
48
+ output: CreateTelemetryRuleCommandOutput;
49
+ };
50
+ };
51
+ }