@aws-sdk/client-oam 3.299.0 → 3.301.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.
- package/dist-types/commands/CreateLinkCommand.d.ts +10 -0
- package/dist-types/commands/CreateSinkCommand.d.ts +6 -0
- package/dist-types/commands/DeleteLinkCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSinkCommand.d.ts +3 -0
- package/dist-types/commands/GetLinkCommand.d.ts +3 -0
- package/dist-types/commands/GetSinkCommand.d.ts +3 -0
- package/dist-types/commands/GetSinkPolicyCommand.d.ts +3 -0
- package/dist-types/commands/ListAttachedLinksCommand.d.ts +5 -0
- package/dist-types/commands/ListLinksCommand.d.ts +4 -0
- package/dist-types/commands/ListSinksCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PutSinkPolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateLinkCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -35,6 +35,16 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
|
|
|
35
35
|
* import { OAMClient, CreateLinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
36
36
|
* // const { OAMClient, CreateLinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
37
37
|
* const client = new OAMClient(config);
|
|
38
|
+
* const input = { // CreateLinkInput
|
|
39
|
+
* LabelTemplate: "STRING_VALUE", // required
|
|
40
|
+
* ResourceTypes: [ // ResourceTypesInput // required
|
|
41
|
+
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace",
|
|
42
|
+
* ],
|
|
43
|
+
* SinkIdentifier: "STRING_VALUE", // required
|
|
44
|
+
* Tags: { // TagMapInput
|
|
45
|
+
* "<keys>": "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* };
|
|
38
48
|
* const command = new CreateLinkCommand(input);
|
|
39
49
|
* const response = await client.send(command);
|
|
40
50
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
|
|
|
32
32
|
* import { OAMClient, CreateSinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
33
33
|
* // const { OAMClient, CreateSinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
34
34
|
* const client = new OAMClient(config);
|
|
35
|
+
* const input = { // CreateSinkInput
|
|
36
|
+
* Name: "STRING_VALUE", // required
|
|
37
|
+
* Tags: { // TagMapInput
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
35
41
|
* const command = new CreateSinkCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
|
|
|
27
27
|
* import { OAMClient, DeleteLinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
28
28
|
* // const { OAMClient, DeleteLinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
29
29
|
* const client = new OAMClient(config);
|
|
30
|
+
* const input = { // DeleteLinkInput
|
|
31
|
+
* Identifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteLinkCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
|
|
|
26
26
|
* import { OAMClient, DeleteSinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
27
27
|
* // const { OAMClient, DeleteSinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
28
28
|
* const client = new OAMClient(config);
|
|
29
|
+
* const input = { // DeleteSinkInput
|
|
30
|
+
* Identifier: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteSinkCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
|
|
|
27
27
|
* import { OAMClient, GetLinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
28
28
|
* // const { OAMClient, GetLinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
29
29
|
* const client = new OAMClient(config);
|
|
30
|
+
* const input = { // GetLinkInput
|
|
31
|
+
* Identifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetLinkCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
|
|
|
27
27
|
* import { OAMClient, GetSinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
28
28
|
* // const { OAMClient, GetSinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
29
29
|
* const client = new OAMClient(config);
|
|
30
|
+
* const input = { // GetSinkInput
|
|
31
|
+
* Identifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetSinkCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __Metad
|
|
|
27
27
|
* import { OAMClient, GetSinkPolicyCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
28
28
|
* // const { OAMClient, GetSinkPolicyCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
29
29
|
* const client = new OAMClient(config);
|
|
30
|
+
* const input = { // GetSinkPolicyInput
|
|
31
|
+
* SinkIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetSinkPolicyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
|
|
|
28
28
|
* import { OAMClient, ListAttachedLinksCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
29
29
|
* // const { OAMClient, ListAttachedLinksCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
30
30
|
* const client = new OAMClient(config);
|
|
31
|
+
* const input = { // ListAttachedLinksInput
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* SinkIdentifier: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListAttachedLinksCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
|
|
|
28
28
|
* import { OAMClient, ListLinksCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
29
29
|
* // const { OAMClient, ListLinksCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
30
30
|
* const client = new OAMClient(config);
|
|
31
|
+
* const input = { // ListLinksInput
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListLinksCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBeare
|
|
|
26
26
|
* import { OAMClient, ListSinksCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
27
27
|
* // const { OAMClient, ListSinksCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
28
28
|
* const client = new OAMClient(config);
|
|
29
|
+
* const input = { // ListSinksInput
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListSinksCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
26
26
|
* import { OAMClient, ListTagsForResourceCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
27
27
|
* // const { OAMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
28
28
|
* const client = new OAMClient(config);
|
|
29
|
+
* const input = { // ListTagsForResourceInput
|
|
30
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
|
|
|
49
49
|
* import { OAMClient, PutSinkPolicyCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
50
50
|
* // const { OAMClient, PutSinkPolicyCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
51
51
|
* const client = new OAMClient(config);
|
|
52
|
+
* const input = { // PutSinkPolicyInput
|
|
53
|
+
* SinkIdentifier: "STRING_VALUE", // required
|
|
54
|
+
* Policy: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new PutSinkPolicyCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -42,6 +42,12 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
42
42
|
* import { OAMClient, TagResourceCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
43
43
|
* // const { OAMClient, TagResourceCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
44
44
|
* const client = new OAMClient(config);
|
|
45
|
+
* const input = { // TagResourceInput
|
|
46
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
47
|
+
* Tags: { // TagMapInput // required
|
|
48
|
+
* "<keys>": "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
45
51
|
* const command = new TagResourceCommand(input);
|
|
46
52
|
* const response = await client.send(command);
|
|
47
53
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
32
32
|
* import { OAMClient, UntagResourceCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
33
33
|
* // const { OAMClient, UntagResourceCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
34
34
|
* const client = new OAMClient(config);
|
|
35
|
+
* const input = { // UntagResourceInput
|
|
36
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
37
|
+
* TagKeys: [ // TagKeys // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
35
41
|
* const command = new UntagResourceCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
|
|
|
29
29
|
* import { OAMClient, UpdateLinkCommand } from "@aws-sdk/client-oam"; // ES Modules import
|
|
30
30
|
* // const { OAMClient, UpdateLinkCommand } = require("@aws-sdk/client-oam"); // CommonJS import
|
|
31
31
|
* const client = new OAMClient(config);
|
|
32
|
+
* const input = { // UpdateLinkInput
|
|
33
|
+
* Identifier: "STRING_VALUE", // required
|
|
34
|
+
* ResourceTypes: [ // ResourceTypesInput // required
|
|
35
|
+
* "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace",
|
|
36
|
+
* ],
|
|
37
|
+
* };
|
|
32
38
|
* const command = new UpdateLinkCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-oam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|
|
@@ -32,12 +32,12 @@
|
|
|
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.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
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.
|
|
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
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|