@aws-sdk/client-amp 3.145.0 → 3.154.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 (36) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Amp.js +60 -0
  3. package/dist-cjs/commands/CreateLoggingConfigurationCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +36 -0
  6. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +47 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +277 -1
  10. package/dist-es/Amp.js +60 -0
  11. package/dist-es/commands/CreateLoggingConfigurationCommand.js +39 -0
  12. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +39 -0
  13. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +39 -0
  14. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +39 -0
  15. package/dist-es/commands/index.js +4 -0
  16. package/dist-es/models/models_0.js +18 -0
  17. package/dist-es/protocols/Aws_restJson1.js +390 -0
  18. package/dist-types/Amp.d.ts +28 -0
  19. package/dist-types/AmpClient.d.ts +6 -2
  20. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +35 -0
  21. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +35 -0
  22. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +35 -0
  23. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +35 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/models/models_0.d.ts +183 -0
  26. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  27. package/dist-types/ts3.4/Amp.d.ts +20 -0
  28. package/dist-types/ts3.4/AmpClient.d.ts +6 -2
  29. package/dist-types/ts3.4/commands/CreateLoggingConfigurationCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +97 -0
  35. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  36. package/package.json +4 -4
@@ -296,6 +296,85 @@ export interface ListWorkspacesResponse {
296
296
  nextToken?: string;
297
297
  }
298
298
 
299
+ export interface CreateLoggingConfigurationRequest {
300
+
301
+ workspaceId: string | undefined;
302
+
303
+ logGroupArn: string | undefined;
304
+
305
+ clientToken?: string;
306
+ }
307
+ export declare enum LoggingConfigurationStatusCode {
308
+
309
+ ACTIVE = "ACTIVE",
310
+
311
+ CREATING = "CREATING",
312
+
313
+ CREATION_FAILED = "CREATION_FAILED",
314
+
315
+ DELETING = "DELETING",
316
+
317
+ UPDATE_FAILED = "UPDATE_FAILED",
318
+
319
+ UPDATING = "UPDATING"
320
+ }
321
+
322
+ export interface LoggingConfigurationStatus {
323
+
324
+ statusCode: LoggingConfigurationStatusCode | string | undefined;
325
+
326
+ statusReason?: string;
327
+ }
328
+
329
+ export interface CreateLoggingConfigurationResponse {
330
+
331
+ status: LoggingConfigurationStatus | undefined;
332
+ }
333
+
334
+ export interface DeleteLoggingConfigurationRequest {
335
+
336
+ workspaceId: string | undefined;
337
+
338
+ clientToken?: string;
339
+ }
340
+
341
+ export interface DescribeLoggingConfigurationRequest {
342
+
343
+ workspaceId: string | undefined;
344
+ }
345
+
346
+ export interface LoggingConfigurationMetadata {
347
+
348
+ status: LoggingConfigurationStatus | undefined;
349
+
350
+ workspace: string | undefined;
351
+
352
+ logGroupArn: string | undefined;
353
+
354
+ createdAt: Date | undefined;
355
+
356
+ modifiedAt: Date | undefined;
357
+ }
358
+
359
+ export interface DescribeLoggingConfigurationResponse {
360
+
361
+ loggingConfiguration: LoggingConfigurationMetadata | undefined;
362
+ }
363
+
364
+ export interface UpdateLoggingConfigurationRequest {
365
+
366
+ workspaceId: string | undefined;
367
+
368
+ logGroupArn: string | undefined;
369
+
370
+ clientToken?: string;
371
+ }
372
+
373
+ export interface UpdateLoggingConfigurationResponse {
374
+
375
+ status: LoggingConfigurationStatus | undefined;
376
+ }
377
+
299
378
  export interface CreateRuleGroupsNamespaceRequest {
300
379
 
301
380
  workspaceId: string | undefined;
@@ -495,6 +574,24 @@ export declare const WorkspaceSummaryFilterSensitiveLog: (obj: WorkspaceSummary)
495
574
 
496
575
  export declare const ListWorkspacesResponseFilterSensitiveLog: (obj: ListWorkspacesResponse) => any;
497
576
 
577
+ export declare const CreateLoggingConfigurationRequestFilterSensitiveLog: (obj: CreateLoggingConfigurationRequest) => any;
578
+
579
+ export declare const LoggingConfigurationStatusFilterSensitiveLog: (obj: LoggingConfigurationStatus) => any;
580
+
581
+ export declare const CreateLoggingConfigurationResponseFilterSensitiveLog: (obj: CreateLoggingConfigurationResponse) => any;
582
+
583
+ export declare const DeleteLoggingConfigurationRequestFilterSensitiveLog: (obj: DeleteLoggingConfigurationRequest) => any;
584
+
585
+ export declare const DescribeLoggingConfigurationRequestFilterSensitiveLog: (obj: DescribeLoggingConfigurationRequest) => any;
586
+
587
+ export declare const LoggingConfigurationMetadataFilterSensitiveLog: (obj: LoggingConfigurationMetadata) => any;
588
+
589
+ export declare const DescribeLoggingConfigurationResponseFilterSensitiveLog: (obj: DescribeLoggingConfigurationResponse) => any;
590
+
591
+ export declare const UpdateLoggingConfigurationRequestFilterSensitiveLog: (obj: UpdateLoggingConfigurationRequest) => any;
592
+
593
+ export declare const UpdateLoggingConfigurationResponseFilterSensitiveLog: (obj: UpdateLoggingConfigurationResponse) => any;
594
+
498
595
  export declare const CreateRuleGroupsNamespaceRequestFilterSensitiveLog: (obj: CreateRuleGroupsNamespaceRequest) => any;
499
596
 
500
597
  export declare const RuleGroupsNamespaceStatusFilterSensitiveLog: (obj: RuleGroupsNamespaceStatus) => any;
@@ -1,12 +1,15 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "../commands/CreateAlertManagerDefinitionCommand";
4
+ import { CreateLoggingConfigurationCommandInput, CreateLoggingConfigurationCommandOutput } from "../commands/CreateLoggingConfigurationCommand";
4
5
  import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "../commands/CreateRuleGroupsNamespaceCommand";
5
6
  import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
6
7
  import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "../commands/DeleteAlertManagerDefinitionCommand";
8
+ import { DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput } from "../commands/DeleteLoggingConfigurationCommand";
7
9
  import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "../commands/DeleteRuleGroupsNamespaceCommand";
8
10
  import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
9
11
  import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
12
+ import { DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput } from "../commands/DescribeLoggingConfigurationCommand";
10
13
  import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "../commands/DescribeRuleGroupsNamespaceCommand";
11
14
  import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
12
15
  import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "../commands/ListRuleGroupsNamespacesCommand";
@@ -16,14 +19,18 @@ import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommand
16
19
  import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "../commands/PutRuleGroupsNamespaceCommand";
17
20
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
18
21
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
22
+ import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "../commands/UpdateLoggingConfigurationCommand";
19
23
  import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
20
24
  export declare const serializeAws_restJson1CreateAlertManagerDefinitionCommand: (input: CreateAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
+ export declare const serializeAws_restJson1CreateLoggingConfigurationCommand: (input: CreateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
26
  export declare const serializeAws_restJson1CreateRuleGroupsNamespaceCommand: (input: CreateRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
22
27
  export declare const serializeAws_restJson1CreateWorkspaceCommand: (input: CreateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
28
  export declare const serializeAws_restJson1DeleteAlertManagerDefinitionCommand: (input: DeleteAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
+ export declare const serializeAws_restJson1DeleteLoggingConfigurationCommand: (input: DeleteLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
30
  export declare const serializeAws_restJson1DeleteRuleGroupsNamespaceCommand: (input: DeleteRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
31
  export declare const serializeAws_restJson1DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
32
  export declare const serializeAws_restJson1DescribeAlertManagerDefinitionCommand: (input: DescribeAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ export declare const serializeAws_restJson1DescribeLoggingConfigurationCommand: (input: DescribeLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
34
  export declare const serializeAws_restJson1DescribeRuleGroupsNamespaceCommand: (input: DescribeRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
35
  export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
36
  export declare const serializeAws_restJson1ListRuleGroupsNamespacesCommand: (input: ListRuleGroupsNamespacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -33,14 +40,18 @@ export declare const serializeAws_restJson1PutAlertManagerDefinitionCommand: (in
33
40
  export declare const serializeAws_restJson1PutRuleGroupsNamespaceCommand: (input: PutRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
34
41
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
35
42
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ export declare const serializeAws_restJson1UpdateLoggingConfigurationCommand: (input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
44
  export declare const serializeAws_restJson1UpdateWorkspaceAliasCommand: (input: UpdateWorkspaceAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
45
  export declare const deserializeAws_restJson1CreateAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAlertManagerDefinitionCommandOutput>;
46
+ export declare const deserializeAws_restJson1CreateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateLoggingConfigurationCommandOutput>;
38
47
  export declare const deserializeAws_restJson1CreateRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRuleGroupsNamespaceCommandOutput>;
39
48
  export declare const deserializeAws_restJson1CreateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceCommandOutput>;
40
49
  export declare const deserializeAws_restJson1DeleteAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlertManagerDefinitionCommandOutput>;
50
+ export declare const deserializeAws_restJson1DeleteLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteLoggingConfigurationCommandOutput>;
41
51
  export declare const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRuleGroupsNamespaceCommandOutput>;
42
52
  export declare const deserializeAws_restJson1DeleteWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceCommandOutput>;
43
53
  export declare const deserializeAws_restJson1DescribeAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAlertManagerDefinitionCommandOutput>;
54
+ export declare const deserializeAws_restJson1DescribeLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeLoggingConfigurationCommandOutput>;
44
55
  export declare const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupsNamespaceCommandOutput>;
45
56
  export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
46
57
  export declare const deserializeAws_restJson1ListRuleGroupsNamespacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleGroupsNamespacesCommandOutput>;
@@ -50,4 +61,5 @@ export declare const deserializeAws_restJson1PutAlertManagerDefinitionCommand: (
50
61
  export declare const deserializeAws_restJson1PutRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRuleGroupsNamespaceCommandOutput>;
51
62
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
52
63
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
64
+ export declare const deserializeAws_restJson1UpdateLoggingConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateLoggingConfigurationCommandOutput>;
53
65
  export declare const deserializeAws_restJson1UpdateWorkspaceAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceAliasCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.145.0",
4
+ "version": "3.154.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.145.0",
21
+ "@aws-sdk/client-sts": "3.154.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.145.0",
23
+ "@aws-sdk/credential-provider-node": "3.154.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -41,7 +41,7 @@
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
- "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.142.0",