@aws-sdk/client-observabilityadmin 3.702.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 (127) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +272 -0
  3. package/dist-cjs/ObservabilityAdmin.js +27 -0
  4. package/dist-cjs/ObservabilityAdminClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetTelemetryEvaluationStatusCommand.js +26 -0
  8. package/dist-cjs/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +26 -0
  9. package/dist-cjs/commands/ListResourceTelemetryCommand.js +26 -0
  10. package/dist-cjs/commands/ListResourceTelemetryForOrganizationCommand.js +26 -0
  11. package/dist-cjs/commands/StartTelemetryEvaluationCommand.js +26 -0
  12. package/dist-cjs/commands/StartTelemetryEvaluationForOrganizationCommand.js +26 -0
  13. package/dist-cjs/commands/StopTelemetryEvaluationCommand.js +26 -0
  14. package/dist-cjs/commands/StopTelemetryEvaluationForOrganizationCommand.js +26 -0
  15. package/dist-cjs/commands/index.js +11 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  18. package/dist-cjs/endpoint/ruleset.js +7 -0
  19. package/dist-cjs/extensionConfiguration.js +2 -0
  20. package/dist-cjs/index.js +11 -0
  21. package/dist-cjs/models/ObservabilityAdminServiceException.js +12 -0
  22. package/dist-cjs/models/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +72 -0
  24. package/dist-cjs/pagination/Interfaces.js +2 -0
  25. package/dist-cjs/pagination/ListResourceTelemetryForOrganizationPaginator.js +7 -0
  26. package/dist-cjs/pagination/ListResourceTelemetryPaginator.js +7 -0
  27. package/dist-cjs/pagination/index.js +6 -0
  28. package/dist-cjs/protocols/Aws_restJson1.js +287 -0
  29. package/dist-cjs/runtimeConfig.browser.js +39 -0
  30. package/dist-cjs/runtimeConfig.js +50 -0
  31. package/dist-cjs/runtimeConfig.native.js +15 -0
  32. package/dist-cjs/runtimeConfig.shared.js +34 -0
  33. package/dist-cjs/runtimeExtensions.js +25 -0
  34. package/dist-es/ObservabilityAdmin.js +23 -0
  35. package/dist-es/ObservabilityAdminClient.js +46 -0
  36. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  37. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  38. package/dist-es/commands/GetTelemetryEvaluationStatusCommand.js +22 -0
  39. package/dist-es/commands/GetTelemetryEvaluationStatusForOrganizationCommand.js +22 -0
  40. package/dist-es/commands/ListResourceTelemetryCommand.js +22 -0
  41. package/dist-es/commands/ListResourceTelemetryForOrganizationCommand.js +22 -0
  42. package/dist-es/commands/StartTelemetryEvaluationCommand.js +22 -0
  43. package/dist-es/commands/StartTelemetryEvaluationForOrganizationCommand.js +22 -0
  44. package/dist-es/commands/StopTelemetryEvaluationCommand.js +22 -0
  45. package/dist-es/commands/StopTelemetryEvaluationForOrganizationCommand.js +22 -0
  46. package/dist-es/commands/index.js +8 -0
  47. package/dist-es/endpoint/EndpointParameters.js +14 -0
  48. package/dist-es/endpoint/endpointResolver.js +14 -0
  49. package/dist-es/endpoint/ruleset.js +4 -0
  50. package/dist-es/extensionConfiguration.js +1 -0
  51. package/dist-es/index.js +6 -0
  52. package/dist-es/models/ObservabilityAdminServiceException.js +8 -0
  53. package/dist-es/models/index.js +1 -0
  54. package/dist-es/models/models_0.js +66 -0
  55. package/dist-es/pagination/Interfaces.js +1 -0
  56. package/dist-es/pagination/ListResourceTelemetryForOrganizationPaginator.js +4 -0
  57. package/dist-es/pagination/ListResourceTelemetryPaginator.js +4 -0
  58. package/dist-es/pagination/index.js +3 -0
  59. package/dist-es/protocols/Aws_restJson1.js +268 -0
  60. package/dist-es/runtimeConfig.browser.js +34 -0
  61. package/dist-es/runtimeConfig.js +45 -0
  62. package/dist-es/runtimeConfig.native.js +11 -0
  63. package/dist-es/runtimeConfig.shared.js +30 -0
  64. package/dist-es/runtimeExtensions.js +21 -0
  65. package/dist-types/ObservabilityAdmin.d.ts +77 -0
  66. package/dist-types/ObservabilityAdminClient.d.ts +180 -0
  67. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  68. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  69. package/dist-types/commands/GetTelemetryEvaluationStatusCommand.d.ts +82 -0
  70. package/dist-types/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +87 -0
  71. package/dist-types/commands/ListResourceTelemetryCommand.d.ts +113 -0
  72. package/dist-types/commands/ListResourceTelemetryForOrganizationCommand.d.ts +116 -0
  73. package/dist-types/commands/StartTelemetryEvaluationCommand.d.ts +83 -0
  74. package/dist-types/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +83 -0
  75. package/dist-types/commands/StopTelemetryEvaluationCommand.d.ts +83 -0
  76. package/dist-types/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +83 -0
  77. package/dist-types/commands/index.d.ts +8 -0
  78. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  79. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  80. package/dist-types/endpoint/ruleset.d.ts +2 -0
  81. package/dist-types/extensionConfiguration.d.ts +9 -0
  82. package/dist-types/index.d.ts +17 -0
  83. package/dist-types/models/ObservabilityAdminServiceException.d.ts +14 -0
  84. package/dist-types/models/index.d.ts +1 -0
  85. package/dist-types/models/models_0.d.ts +344 -0
  86. package/dist-types/pagination/Interfaces.d.ts +8 -0
  87. package/dist-types/pagination/ListResourceTelemetryForOrganizationPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListResourceTelemetryPaginator.d.ts +7 -0
  89. package/dist-types/pagination/index.d.ts +3 -0
  90. package/dist-types/protocols/Aws_restJson1.d.ts +74 -0
  91. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  92. package/dist-types/runtimeConfig.d.ts +48 -0
  93. package/dist-types/runtimeConfig.native.d.ts +47 -0
  94. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  95. package/dist-types/runtimeExtensions.d.ts +17 -0
  96. package/dist-types/ts3.4/ObservabilityAdmin.d.ts +175 -0
  97. package/dist-types/ts3.4/ObservabilityAdminClient.d.ts +169 -0
  98. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  99. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  100. package/dist-types/ts3.4/commands/GetTelemetryEvaluationStatusCommand.d.ts +47 -0
  101. package/dist-types/ts3.4/commands/GetTelemetryEvaluationStatusForOrganizationCommand.d.ts +47 -0
  102. package/dist-types/ts3.4/commands/ListResourceTelemetryCommand.d.ts +51 -0
  103. package/dist-types/ts3.4/commands/ListResourceTelemetryForOrganizationCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/StartTelemetryEvaluationCommand.d.ts +45 -0
  105. package/dist-types/ts3.4/commands/StartTelemetryEvaluationForOrganizationCommand.d.ts +45 -0
  106. package/dist-types/ts3.4/commands/StopTelemetryEvaluationCommand.d.ts +45 -0
  107. package/dist-types/ts3.4/commands/StopTelemetryEvaluationForOrganizationCommand.d.ts +45 -0
  108. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  109. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  110. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  111. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  112. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  113. package/dist-types/ts3.4/index.d.ts +9 -0
  114. package/dist-types/ts3.4/models/ObservabilityAdminServiceException.d.ts +9 -0
  115. package/dist-types/ts3.4/models/index.d.ts +1 -0
  116. package/dist-types/ts3.4/models/models_0.d.ts +104 -0
  117. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  118. package/dist-types/ts3.4/pagination/ListResourceTelemetryForOrganizationPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/ListResourceTelemetryPaginator.d.ts +11 -0
  120. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  121. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +101 -0
  122. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  123. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  124. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  125. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  126. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  127. package/package.json +101 -0
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from ObservabilityAdmin service.
8
+ */
9
+ export declare class ObservabilityAdminServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,344 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ObservabilityAdminServiceException as __BaseException } from "./ObservabilityAdminServiceException";
3
+ /**
4
+ * <p>
5
+ * Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for AWS resources</a> in the IAM user guide.
6
+ * </p>
7
+ * @public
8
+ */
9
+ export declare class AccessDeniedException extends __BaseException {
10
+ readonly name: "AccessDeniedException";
11
+ readonly $fault: "client";
12
+ Message?: string | undefined;
13
+ /**
14
+ * <p>
15
+ * The name of the exception.
16
+ * </p>
17
+ * @public
18
+ */
19
+ amznErrorType?: string | undefined;
20
+ /**
21
+ * @internal
22
+ */
23
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
24
+ }
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const Status: {
30
+ readonly FAILED_START: "FAILED_START";
31
+ readonly FAILED_STOP: "FAILED_STOP";
32
+ readonly NOT_STARTED: "NOT_STARTED";
33
+ readonly RUNNING: "RUNNING";
34
+ readonly STARTING: "STARTING";
35
+ readonly STOPPED: "STOPPED";
36
+ readonly STOPPING: "STOPPING";
37
+ };
38
+ /**
39
+ * @public
40
+ */
41
+ export type Status = (typeof Status)[keyof typeof Status];
42
+ /**
43
+ * @public
44
+ */
45
+ export interface GetTelemetryEvaluationStatusOutput {
46
+ /**
47
+ * <p>
48
+ * The onboarding status of the telemetry config feature.
49
+ * </p>
50
+ * @public
51
+ */
52
+ Status?: Status | undefined;
53
+ /**
54
+ * <p>
55
+ * Describes the reason for the failure status. The field will only be populated if <code>Status</code> is <code>FAILED_START</code> or <code>FAILED_STOP</code>.
56
+ * </p>
57
+ * @public
58
+ */
59
+ FailureReason?: string | undefined;
60
+ }
61
+ /**
62
+ * <p>
63
+ * Indicates the request has failed to process because of an unknown server error, exception, or failure.
64
+ * </p>
65
+ * @public
66
+ */
67
+ export declare class InternalServerException extends __BaseException {
68
+ readonly name: "InternalServerException";
69
+ readonly $fault: "server";
70
+ Message?: string | undefined;
71
+ /**
72
+ * <p>
73
+ * The name of the exception.
74
+ * </p>
75
+ * @public
76
+ */
77
+ amznErrorType?: string | undefined;
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
82
+ }
83
+ /**
84
+ * @public
85
+ */
86
+ export interface GetTelemetryEvaluationStatusForOrganizationOutput {
87
+ /**
88
+ * <p>
89
+ * The onboarding status of the telemetry config feature for the organization.
90
+ * </p>
91
+ * @public
92
+ */
93
+ Status?: Status | undefined;
94
+ /**
95
+ * <p>
96
+ * This field describes the reason for the failure status. The field will only be populated if <code>Status</code> is <code>FAILED_START</code> or <code>FAILED_STOP</code>.
97
+ * </p>
98
+ * @public
99
+ */
100
+ FailureReason?: string | undefined;
101
+ }
102
+ /**
103
+ * <p>
104
+ * Indicates input validation failed. Check your request parameters and retry the request.
105
+ * </p>
106
+ * @public
107
+ */
108
+ export declare class ValidationException extends __BaseException {
109
+ readonly name: "ValidationException";
110
+ readonly $fault: "client";
111
+ Message?: string | undefined;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
116
+ }
117
+ /**
118
+ * @public
119
+ * @enum
120
+ */
121
+ export declare const ResourceType: {
122
+ readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance";
123
+ readonly AWS_EC2_VPC: "AWS::EC2::VPC";
124
+ readonly AWS_LAMDBA_FUNCTION: "AWS::Lambda::Function";
125
+ };
126
+ /**
127
+ * @public
128
+ */
129
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
130
+ /**
131
+ * @public
132
+ * @enum
133
+ */
134
+ export declare const TelemetryType: {
135
+ readonly LOGS: "Logs";
136
+ readonly METRICS: "Metrics";
137
+ readonly TRACES: "Traces";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type TelemetryType = (typeof TelemetryType)[keyof typeof TelemetryType];
143
+ /**
144
+ * @public
145
+ * @enum
146
+ */
147
+ export declare const TelemetryState: {
148
+ readonly DISABLED: "Disabled";
149
+ readonly ENABLED: "Enabled";
150
+ readonly NOT_APPLICABLE: "NotApplicable";
151
+ };
152
+ /**
153
+ * @public
154
+ */
155
+ export type TelemetryState = (typeof TelemetryState)[keyof typeof TelemetryState];
156
+ /**
157
+ * @public
158
+ */
159
+ export interface ListResourceTelemetryInput {
160
+ /**
161
+ * <p>
162
+ * A string used to filter resources which have a <code>ResourceIdentifier</code> starting with the <code>ResourceIdentifierPrefix</code>.
163
+ * </p>
164
+ * @public
165
+ */
166
+ ResourceIdentifierPrefix?: string | undefined;
167
+ /**
168
+ * <p>
169
+ * A list of resource types used to filter resources supported by telemetry config. If this parameter is provided, the resources will be returned in the same order used in the request.
170
+ * </p>
171
+ * @public
172
+ */
173
+ ResourceTypes?: ResourceType[] | undefined;
174
+ /**
175
+ * <p>
176
+ * A key-value pair to filter resources based on the telemetry type and the state of the telemetry configuration. The key is the telemetry type and the value is the state.
177
+ * </p>
178
+ * @public
179
+ */
180
+ TelemetryConfigurationState?: Partial<Record<TelemetryType, TelemetryState>> | undefined;
181
+ /**
182
+ * <p>
183
+ * A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/what-are-tags.html">What are tags?</a>
184
+ * </p>
185
+ * @public
186
+ */
187
+ ResourceTags?: Record<string, string> | undefined;
188
+ /**
189
+ * <p>
190
+ * A number field used to limit the number of results within the returned list.
191
+ * </p>
192
+ * @public
193
+ */
194
+ MaxResults?: number | undefined;
195
+ /**
196
+ * <p>
197
+ * The token for the next set of items to return. A previous call generates this token.
198
+ * </p>
199
+ * @public
200
+ */
201
+ NextToken?: string | undefined;
202
+ }
203
+ /**
204
+ * <p>
205
+ * A model representing the state of a resource within an account according to telemetry config.
206
+ * </p>
207
+ * @public
208
+ */
209
+ export interface TelemetryConfiguration {
210
+ /**
211
+ * <p>
212
+ * The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is <code>012345678901</code>.
213
+ * </p>
214
+ * @public
215
+ */
216
+ AccountIdentifier?: string | undefined;
217
+ /**
218
+ * <p>
219
+ * The configuration state for the resource, for example <code>\{ Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; \}</code>.
220
+ * </p>
221
+ * @public
222
+ */
223
+ TelemetryConfigurationState?: Partial<Record<TelemetryType, TelemetryState>> | undefined;
224
+ /**
225
+ * <p>
226
+ * The type of resource, for example <code>AWS::EC2::Instance</code>.
227
+ * </p>
228
+ * @public
229
+ */
230
+ ResourceType?: ResourceType | undefined;
231
+ /**
232
+ * <p>
233
+ * The identifier of the resource, for example <code>i-0b22a22eec53b9321</code>.
234
+ * </p>
235
+ * @public
236
+ */
237
+ ResourceIdentifier?: string | undefined;
238
+ /**
239
+ * <p>
240
+ * Tags associated with the resource, for example <code>\{ Name: "ExampleInstance", Environment: "Development" \}</code>.
241
+ * </p>
242
+ * @public
243
+ */
244
+ ResourceTags?: Record<string, string> | undefined;
245
+ /**
246
+ * <p>
247
+ * The timestamp of the last change to the telemetry configuration for the resource. For example, <code>1728679196318</code>.
248
+ * </p>
249
+ * @public
250
+ */
251
+ LastUpdateTimeStamp?: number | undefined;
252
+ }
253
+ /**
254
+ * @public
255
+ */
256
+ export interface ListResourceTelemetryOutput {
257
+ /**
258
+ * <p>
259
+ * A list of telemetry configurations for AWS resources supported by telemetry config in the caller's account.
260
+ * </p>
261
+ * @public
262
+ */
263
+ TelemetryConfigurations?: TelemetryConfiguration[] | undefined;
264
+ /**
265
+ * <p>
266
+ * The token for the next set of items to return. A previous call generates this token.
267
+ * </p>
268
+ * @public
269
+ */
270
+ NextToken?: string | undefined;
271
+ }
272
+ /**
273
+ * @public
274
+ */
275
+ export interface ListResourceTelemetryForOrganizationInput {
276
+ /**
277
+ * <p>
278
+ * A list of AWS account IDs used to filter the resources to those associated with the specified accounts.
279
+ * </p>
280
+ * @public
281
+ */
282
+ AccountIdentifiers?: string[] | undefined;
283
+ /**
284
+ * <p>
285
+ * A string used to filter resources in the organization which have a <code>ResourceIdentifier</code> starting with the <code>ResourceIdentifierPrefix</code>.
286
+ * </p>
287
+ * @public
288
+ */
289
+ ResourceIdentifierPrefix?: string | undefined;
290
+ /**
291
+ * <p>
292
+ * A list of resource types used to filter resources in the organization. If this parameter is provided, the resources will be returned in the same order used in the request.
293
+ * </p>
294
+ * @public
295
+ */
296
+ ResourceTypes?: ResourceType[] | undefined;
297
+ /**
298
+ * <p>
299
+ * A key-value pair to filter resources in the organization based on the telemetry type and the state of the telemetry configuration. The key is the telemetry type and the value is the state.
300
+ * </p>
301
+ * @public
302
+ */
303
+ TelemetryConfigurationState?: Partial<Record<TelemetryType, TelemetryState>> | undefined;
304
+ /**
305
+ * <p>
306
+ * A key-value pair to filter resources in the organization based on tags associated with the resource. Fore more information about tags, see <a href="https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/what-are-tags.html">What are tags?</a>
307
+ * </p>
308
+ * @public
309
+ */
310
+ ResourceTags?: Record<string, string> | undefined;
311
+ /**
312
+ * <p>
313
+ * A number field used to limit the number of results within the returned list.
314
+ * </p>
315
+ * @public
316
+ */
317
+ MaxResults?: number | undefined;
318
+ /**
319
+ * <p>
320
+ * The token for the next set of items to return. A previous call provides this token.
321
+ * </p>
322
+ * @public
323
+ */
324
+ NextToken?: string | undefined;
325
+ }
326
+ /**
327
+ * @public
328
+ */
329
+ export interface ListResourceTelemetryForOrganizationOutput {
330
+ /**
331
+ * <p>
332
+ * A list of telemetry configurations for AWS resources supported by telemetry config in the organization.
333
+ * </p>
334
+ * @public
335
+ */
336
+ TelemetryConfigurations?: TelemetryConfiguration[] | undefined;
337
+ /**
338
+ * <p>
339
+ * The token for the next set of items to return. A previous call provides this token.
340
+ * </p>
341
+ * @public
342
+ */
343
+ NextToken?: string | undefined;
344
+ }
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { ObservabilityAdminClient } from "../ObservabilityAdminClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface ObservabilityAdminPaginationConfiguration extends PaginationConfiguration {
7
+ client: ObservabilityAdminClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "../commands/ListResourceTelemetryForOrganizationCommand";
3
+ import { ObservabilityAdminPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListResourceTelemetryForOrganization: (config: ObservabilityAdminPaginationConfiguration, input: ListResourceTelemetryForOrganizationCommandInput, ...rest: any[]) => Paginator<ListResourceTelemetryForOrganizationCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "../commands/ListResourceTelemetryCommand";
3
+ import { ObservabilityAdminPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListResourceTelemetry: (config: ObservabilityAdminPaginationConfiguration, input: ListResourceTelemetryCommandInput, ...rest: any[]) => Paginator<ListResourceTelemetryCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListResourceTelemetryForOrganizationPaginator";
3
+ export * from "./ListResourceTelemetryPaginator";
@@ -0,0 +1,74 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { GetTelemetryEvaluationStatusCommandInput, GetTelemetryEvaluationStatusCommandOutput } from "../commands/GetTelemetryEvaluationStatusCommand";
4
+ import { GetTelemetryEvaluationStatusForOrganizationCommandInput, GetTelemetryEvaluationStatusForOrganizationCommandOutput } from "../commands/GetTelemetryEvaluationStatusForOrganizationCommand";
5
+ import { ListResourceTelemetryCommandInput, ListResourceTelemetryCommandOutput } from "../commands/ListResourceTelemetryCommand";
6
+ import { ListResourceTelemetryForOrganizationCommandInput, ListResourceTelemetryForOrganizationCommandOutput } from "../commands/ListResourceTelemetryForOrganizationCommand";
7
+ import { StartTelemetryEvaluationCommandInput, StartTelemetryEvaluationCommandOutput } from "../commands/StartTelemetryEvaluationCommand";
8
+ import { StartTelemetryEvaluationForOrganizationCommandInput, StartTelemetryEvaluationForOrganizationCommandOutput } from "../commands/StartTelemetryEvaluationForOrganizationCommand";
9
+ import { StopTelemetryEvaluationCommandInput, StopTelemetryEvaluationCommandOutput } from "../commands/StopTelemetryEvaluationCommand";
10
+ import { StopTelemetryEvaluationForOrganizationCommandInput, StopTelemetryEvaluationForOrganizationCommandOutput } from "../commands/StopTelemetryEvaluationForOrganizationCommand";
11
+ /**
12
+ * serializeAws_restJson1GetTelemetryEvaluationStatusCommand
13
+ */
14
+ export declare const se_GetTelemetryEvaluationStatusCommand: (input: GetTelemetryEvaluationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ /**
16
+ * serializeAws_restJson1GetTelemetryEvaluationStatusForOrganizationCommand
17
+ */
18
+ export declare const se_GetTelemetryEvaluationStatusForOrganizationCommand: (input: GetTelemetryEvaluationStatusForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ /**
20
+ * serializeAws_restJson1ListResourceTelemetryCommand
21
+ */
22
+ export declare const se_ListResourceTelemetryCommand: (input: ListResourceTelemetryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ /**
24
+ * serializeAws_restJson1ListResourceTelemetryForOrganizationCommand
25
+ */
26
+ export declare const se_ListResourceTelemetryForOrganizationCommand: (input: ListResourceTelemetryForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_restJson1StartTelemetryEvaluationCommand
29
+ */
30
+ export declare const se_StartTelemetryEvaluationCommand: (input: StartTelemetryEvaluationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
+ /**
32
+ * serializeAws_restJson1StartTelemetryEvaluationForOrganizationCommand
33
+ */
34
+ export declare const se_StartTelemetryEvaluationForOrganizationCommand: (input: StartTelemetryEvaluationForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
+ /**
36
+ * serializeAws_restJson1StopTelemetryEvaluationCommand
37
+ */
38
+ export declare const se_StopTelemetryEvaluationCommand: (input: StopTelemetryEvaluationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
+ /**
40
+ * serializeAws_restJson1StopTelemetryEvaluationForOrganizationCommand
41
+ */
42
+ export declare const se_StopTelemetryEvaluationForOrganizationCommand: (input: StopTelemetryEvaluationForOrganizationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * deserializeAws_restJson1GetTelemetryEvaluationStatusCommand
45
+ */
46
+ export declare const de_GetTelemetryEvaluationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelemetryEvaluationStatusCommandOutput>;
47
+ /**
48
+ * deserializeAws_restJson1GetTelemetryEvaluationStatusForOrganizationCommand
49
+ */
50
+ export declare const de_GetTelemetryEvaluationStatusForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTelemetryEvaluationStatusForOrganizationCommandOutput>;
51
+ /**
52
+ * deserializeAws_restJson1ListResourceTelemetryCommand
53
+ */
54
+ export declare const de_ListResourceTelemetryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceTelemetryCommandOutput>;
55
+ /**
56
+ * deserializeAws_restJson1ListResourceTelemetryForOrganizationCommand
57
+ */
58
+ export declare const de_ListResourceTelemetryForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListResourceTelemetryForOrganizationCommandOutput>;
59
+ /**
60
+ * deserializeAws_restJson1StartTelemetryEvaluationCommand
61
+ */
62
+ export declare const de_StartTelemetryEvaluationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTelemetryEvaluationCommandOutput>;
63
+ /**
64
+ * deserializeAws_restJson1StartTelemetryEvaluationForOrganizationCommand
65
+ */
66
+ export declare const de_StartTelemetryEvaluationForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartTelemetryEvaluationForOrganizationCommandOutput>;
67
+ /**
68
+ * deserializeAws_restJson1StopTelemetryEvaluationCommand
69
+ */
70
+ export declare const de_StopTelemetryEvaluationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTelemetryEvaluationCommandOutput>;
71
+ /**
72
+ * deserializeAws_restJson1StopTelemetryEvaluationForOrganizationCommand
73
+ */
74
+ export declare const de_StopTelemetryEvaluationForOrganizationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopTelemetryEvaluationForOrganizationCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { ObservabilityAdminClientConfig } from "./ObservabilityAdminClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ObservabilityAdminClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ObservabilityAdminHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { ObservabilityAdminClientConfig } from "./ObservabilityAdminClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: ObservabilityAdminClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ObservabilityAdminHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,47 @@
1
+ import { ObservabilityAdminClientConfig } from "./ObservabilityAdminClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ObservabilityAdminClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ maxAttempts: number | import("@smithy/types").Provider<number>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ObservabilityAdminHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { ObservabilityAdminClientConfig } from "./ObservabilityAdminClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: ObservabilityAdminClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ObservabilityAdminHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { ObservabilityAdminExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: ObservabilityAdminExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;