@aws-sdk/client-amp 3.298.0 → 3.300.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 (22) hide show
  1. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +5 -0
  2. package/dist-types/commands/CreateLoggingConfigurationCommand.d.ts +5 -0
  3. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +9 -0
  4. package/dist-types/commands/CreateWorkspaceCommand.d.ts +7 -0
  5. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +4 -0
  6. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +5 -0
  8. package/dist-types/commands/DeleteWorkspaceCommand.d.ts +4 -0
  9. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeLoggingConfigurationCommand.d.ts +3 -0
  11. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +4 -0
  12. package/dist-types/commands/DescribeWorkspaceCommand.d.ts +3 -0
  13. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +6 -0
  14. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  15. package/dist-types/commands/ListWorkspacesCommand.d.ts +5 -0
  16. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +5 -0
  17. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +6 -0
  18. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  19. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  20. package/dist-types/commands/UpdateLoggingConfigurationCommand.d.ts +5 -0
  21. package/dist-types/commands/UpdateWorkspaceAliasCommand.d.ts +5 -0
  22. package/package.json +12 -12
@@ -26,6 +26,11 @@ export interface CreateAlertManagerDefinitionCommandOutput extends CreateAlertMa
26
26
  * import { AmpClient, CreateAlertManagerDefinitionCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, CreateAlertManagerDefinitionCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * data: "BLOB_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new CreateAlertManagerDefinitionCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface CreateLoggingConfigurationCommandOutput extends CreateLoggingCo
26
26
  * import { AmpClient, CreateLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, CreateLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * logGroupArn: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new CreateLoggingConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,15 @@ export interface CreateRuleGroupsNamespaceCommandOutput extends CreateRuleGroups
26
26
  * import { AmpClient, CreateRuleGroupsNamespaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, CreateRuleGroupsNamespaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * data: "BLOB_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * tags: {
35
+ * "<keys>": "STRING_VALUE",
36
+ * },
37
+ * };
29
38
  * const command = new CreateRuleGroupsNamespaceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,13 @@ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, _
26
26
  * import { AmpClient, CreateWorkspaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, CreateWorkspaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * alias: "STRING_VALUE",
31
+ * clientToken: "STRING_VALUE",
32
+ * tags: {
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * };
29
36
  * const command = new CreateWorkspaceCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,10 @@ export interface DeleteAlertManagerDefinitionCommandOutput extends __MetadataBea
26
26
  * import { AmpClient, DeleteAlertManagerDefinitionCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DeleteAlertManagerDefinitionCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * clientToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeleteAlertManagerDefinitionCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface DeleteLoggingConfigurationCommandOutput extends __MetadataBeare
26
26
  * import { AmpClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * clientToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeleteLoggingConfigurationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface DeleteRuleGroupsNamespaceCommandOutput extends __MetadataBearer
26
26
  * import { AmpClient, DeleteRuleGroupsNamespaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DeleteRuleGroupsNamespaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new DeleteRuleGroupsNamespaceCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface DeleteWorkspaceCommandOutput extends __MetadataBearer {
26
26
  * import { AmpClient, DeleteWorkspaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DeleteWorkspaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * clientToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new DeleteWorkspaceCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DescribeAlertManagerDefinitionCommandOutput extends DescribeAle
26
26
  * import { AmpClient, DescribeAlertManagerDefinitionCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DescribeAlertManagerDefinitionCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeAlertManagerDefinitionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface DescribeLoggingConfigurationCommandOutput extends DescribeLoggi
26
26
  * import { AmpClient, DescribeLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DescribeLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeLoggingConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DescribeRuleGroupsNamespaceCommandOutput extends DescribeRuleGr
26
26
  * import { AmpClient, DescribeRuleGroupsNamespaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DescribeRuleGroupsNamespaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DescribeRuleGroupsNamespaceCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceRespons
26
26
  * import { AmpClient, DescribeWorkspaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, DescribeWorkspaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeWorkspaceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,12 @@ export interface ListRuleGroupsNamespacesCommandOutput extends ListRuleGroupsNam
26
26
  * import { AmpClient, ListRuleGroupsNamespacesCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, ListRuleGroupsNamespacesCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE",
32
+ * nextToken: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListRuleGroupsNamespacesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { AmpClient, ListTagsForResourceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, ListTagsForResourceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,11 @@ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __M
26
26
  * import { AmpClient, ListWorkspacesCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, ListWorkspacesCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * nextToken: "STRING_VALUE",
31
+ * alias: "STRING_VALUE",
32
+ * maxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListWorkspacesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface PutAlertManagerDefinitionCommandOutput extends PutAlertManagerD
26
26
  * import { AmpClient, PutAlertManagerDefinitionCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, PutAlertManagerDefinitionCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * data: "BLOB_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new PutAlertManagerDefinitionCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface PutRuleGroupsNamespaceCommandOutput extends PutRuleGroupsNamesp
26
26
  * import { AmpClient, PutRuleGroupsNamespaceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, PutRuleGroupsNamespaceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * name: "STRING_VALUE", // required
32
+ * data: "BLOB_VALUE", // required
33
+ * clientToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new PutRuleGroupsNamespaceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { AmpClient, TagResourceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, TagResourceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tags: { // required
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { AmpClient, UntagResourceCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, UntagResourceCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingCo
26
26
  * import { AmpClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * logGroupArn: "STRING_VALUE", // required
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateLoggingConfigurationCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface UpdateWorkspaceAliasCommandOutput extends __MetadataBearer {
26
26
  * import { AmpClient, UpdateWorkspaceAliasCommand } from "@aws-sdk/client-amp"; // ES Modules import
27
27
  * // const { AmpClient, UpdateWorkspaceAliasCommand } = require("@aws-sdk/client-amp"); // CommonJS import
28
28
  * const client = new AmpClient(config);
29
+ * const input = {
30
+ * workspaceId: "STRING_VALUE", // required
31
+ * alias: "STRING_VALUE",
32
+ * clientToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateWorkspaceAliasCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
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.298.0",
4
+ "version": "3.300.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",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "tslib": "^2.5.0",