@aws-sdk/client-oam 3.325.0 → 3.326.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.
@@ -47,6 +47,20 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
47
47
  * };
48
48
  * const command = new CreateLinkCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateLinkOutput
51
+ * // Arn: "STRING_VALUE",
52
+ * // Id: "STRING_VALUE",
53
+ * // Label: "STRING_VALUE",
54
+ * // LabelTemplate: "STRING_VALUE",
55
+ * // ResourceTypes: [ // ResourceTypesOutput
56
+ * // "STRING_VALUE",
57
+ * // ],
58
+ * // SinkArn: "STRING_VALUE",
59
+ * // Tags: { // TagMapOutput
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // };
63
+ *
50
64
  * ```
51
65
  *
52
66
  * @param CreateLinkCommandInput - {@link CreateLinkCommandInput}
@@ -70,6 +84,8 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
70
84
  * @throws {@link ServiceQuotaExceededException} (client fault)
71
85
  * <p>The request would cause a service quota to be exceeded.</p>
72
86
  *
87
+ * @throws {@link OAMServiceException}
88
+ * <p>Base exception class for all service exceptions from OAM service.</p>
73
89
  *
74
90
  */
75
91
  export declare class CreateLinkCommand extends $Command<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig> {
@@ -40,6 +40,15 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
40
40
  * };
41
41
  * const command = new CreateSinkCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // CreateSinkOutput
44
+ * // Arn: "STRING_VALUE",
45
+ * // Id: "STRING_VALUE",
46
+ * // Name: "STRING_VALUE",
47
+ * // Tags: { // TagMapOutput
48
+ * // "<keys>": "STRING_VALUE",
49
+ * // },
50
+ * // };
51
+ *
43
52
  * ```
44
53
  *
45
54
  * @param CreateSinkCommandInput - {@link CreateSinkCommandInput}
@@ -63,6 +72,8 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
63
72
  * @throws {@link ServiceQuotaExceededException} (client fault)
64
73
  * <p>The request would cause a service quota to be exceeded.</p>
65
74
  *
75
+ * @throws {@link OAMServiceException}
76
+ * <p>Base exception class for all service exceptions from OAM service.</p>
66
77
  *
67
78
  */
68
79
  export declare class CreateSinkCommand extends $Command<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
32
32
  * };
33
33
  * const command = new DeleteLinkCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteLinkCommandInput - {@link DeleteLinkCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
52
54
  * @throws {@link ResourceNotFoundException} (client fault)
53
55
  * <p>The request references a resource that does not exist.</p>
54
56
  *
57
+ * @throws {@link OAMServiceException}
58
+ * <p>Base exception class for all service exceptions from OAM service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteLinkCommand extends $Command<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
31
31
  * };
32
32
  * const command = new DeleteSinkCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteSinkCommandInput - {@link DeleteSinkCommandInput}
@@ -54,6 +56,8 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
54
56
  * @throws {@link ResourceNotFoundException} (client fault)
55
57
  * <p>The request references a resource that does not exist.</p>
56
58
  *
59
+ * @throws {@link OAMServiceException}
60
+ * <p>Base exception class for all service exceptions from OAM service.</p>
57
61
  *
58
62
  */
59
63
  export declare class DeleteSinkCommand extends $Command<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig> {
@@ -32,6 +32,20 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
32
32
  * };
33
33
  * const command = new GetLinkCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetLinkOutput
36
+ * // Arn: "STRING_VALUE",
37
+ * // Id: "STRING_VALUE",
38
+ * // Label: "STRING_VALUE",
39
+ * // LabelTemplate: "STRING_VALUE",
40
+ * // ResourceTypes: [ // ResourceTypesOutput
41
+ * // "STRING_VALUE",
42
+ * // ],
43
+ * // SinkArn: "STRING_VALUE",
44
+ * // Tags: { // TagMapOutput
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // };
48
+ *
35
49
  * ```
36
50
  *
37
51
  * @param GetLinkCommandInput - {@link GetLinkCommandInput}
@@ -52,6 +66,8 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
52
66
  * @throws {@link ResourceNotFoundException} (client fault)
53
67
  * <p>The request references a resource that does not exist.</p>
54
68
  *
69
+ * @throws {@link OAMServiceException}
70
+ * <p>Base exception class for all service exceptions from OAM service.</p>
55
71
  *
56
72
  */
57
73
  export declare class GetLinkCommand extends $Command<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
32
32
  * };
33
33
  * const command = new GetSinkCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetSinkOutput
36
+ * // Arn: "STRING_VALUE",
37
+ * // Id: "STRING_VALUE",
38
+ * // Name: "STRING_VALUE",
39
+ * // Tags: { // TagMapOutput
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param GetSinkCommandInput - {@link GetSinkCommandInput}
@@ -52,6 +61,8 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
52
61
  * @throws {@link ResourceNotFoundException} (client fault)
53
62
  * <p>The request references a resource that does not exist.</p>
54
63
  *
64
+ * @throws {@link OAMServiceException}
65
+ * <p>Base exception class for all service exceptions from OAM service.</p>
55
66
  *
56
67
  */
57
68
  export declare class GetSinkCommand extends $Command<GetSinkCommandInput, GetSinkCommandOutput, OAMClientResolvedConfig> {
@@ -32,6 +32,12 @@ export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __Metad
32
32
  * };
33
33
  * const command = new GetSinkPolicyCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetSinkPolicyOutput
36
+ * // SinkArn: "STRING_VALUE",
37
+ * // SinkId: "STRING_VALUE",
38
+ * // Policy: "STRING_VALUE",
39
+ * // };
40
+ *
35
41
  * ```
36
42
  *
37
43
  * @param GetSinkPolicyCommandInput - {@link GetSinkPolicyCommandInput}
@@ -52,6 +58,8 @@ export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __Metad
52
58
  * @throws {@link ResourceNotFoundException} (client fault)
53
59
  * <p>The request references a resource that does not exist.</p>
54
60
  *
61
+ * @throws {@link OAMServiceException}
62
+ * <p>Base exception class for all service exceptions from OAM service.</p>
55
63
  *
56
64
  */
57
65
  export declare class GetSinkPolicyCommand extends $Command<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput, OAMClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
35
35
  * };
36
36
  * const command = new ListAttachedLinksCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListAttachedLinksOutput
39
+ * // Items: [ // ListAttachedLinksItems // required
40
+ * // { // ListAttachedLinksItem
41
+ * // Label: "STRING_VALUE",
42
+ * // LinkArn: "STRING_VALUE",
43
+ * // ResourceTypes: [ // ResourceTypesOutput
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // },
47
+ * // ],
48
+ * // NextToken: "STRING_VALUE",
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param ListAttachedLinksCommandInput - {@link ListAttachedLinksCommandInput}
@@ -55,6 +68,8 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
55
68
  * @throws {@link ResourceNotFoundException} (client fault)
56
69
  * <p>The request references a resource that does not exist.</p>
57
70
  *
71
+ * @throws {@link OAMServiceException}
72
+ * <p>Base exception class for all service exceptions from OAM service.</p>
58
73
  *
59
74
  */
60
75
  export declare class ListAttachedLinksCommand extends $Command<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput, OAMClientResolvedConfig> {
@@ -34,6 +34,21 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
34
34
  * };
35
35
  * const command = new ListLinksCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // ListLinksOutput
38
+ * // Items: [ // ListLinksItems // required
39
+ * // { // ListLinksItem
40
+ * // Arn: "STRING_VALUE",
41
+ * // Id: "STRING_VALUE",
42
+ * // Label: "STRING_VALUE",
43
+ * // ResourceTypes: [ // ResourceTypesOutput
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // SinkArn: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // NextToken: "STRING_VALUE",
50
+ * // };
51
+ *
37
52
  * ```
38
53
  *
39
54
  * @param ListLinksCommandInput - {@link ListLinksCommandInput}
@@ -51,6 +66,8 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
51
66
  * @throws {@link ResourceNotFoundException} (client fault)
52
67
  * <p>The request references a resource that does not exist.</p>
53
68
  *
69
+ * @throws {@link OAMServiceException}
70
+ * <p>Base exception class for all service exceptions from OAM service.</p>
54
71
  *
55
72
  */
56
73
  export declare class ListLinksCommand extends $Command<ListLinksCommandInput, ListLinksCommandOutput, OAMClientResolvedConfig> {
@@ -32,6 +32,17 @@ export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBeare
32
32
  * };
33
33
  * const command = new ListSinksCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // ListSinksOutput
36
+ * // Items: [ // ListSinksItems // required
37
+ * // { // ListSinksItem
38
+ * // Arn: "STRING_VALUE",
39
+ * // Id: "STRING_VALUE",
40
+ * // Name: "STRING_VALUE",
41
+ * // },
42
+ * // ],
43
+ * // NextToken: "STRING_VALUE",
44
+ * // };
45
+ *
35
46
  * ```
36
47
  *
37
48
  * @param ListSinksCommandInput - {@link ListSinksCommandInput}
@@ -49,6 +60,8 @@ export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBeare
49
60
  * @throws {@link ResourceNotFoundException} (client fault)
50
61
  * <p>The request references a resource that does not exist.</p>
51
62
  *
63
+ * @throws {@link OAMServiceException}
64
+ * <p>Base exception class for all service exceptions from OAM service.</p>
52
65
  *
53
66
  */
54
67
  export declare class ListSinksCommand extends $Command<ListSinksCommandInput, ListSinksCommandOutput, OAMClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceOutput
35
+ * // Tags: { // TagMapOutput
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -45,6 +51,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
45
51
  * @throws {@link ValidationException} (client fault)
46
52
  * <p>The value of a parameter in the request caused an error.</p>
47
53
  *
54
+ * @throws {@link OAMServiceException}
55
+ * <p>Base exception class for all service exceptions from OAM service.</p>
48
56
  *
49
57
  */
50
58
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, OAMClientResolvedConfig> {
@@ -55,6 +55,12 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
55
55
  * };
56
56
  * const command = new PutSinkPolicyCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // PutSinkPolicyOutput
59
+ * // SinkArn: "STRING_VALUE",
60
+ * // SinkId: "STRING_VALUE",
61
+ * // Policy: "STRING_VALUE",
62
+ * // };
63
+ *
58
64
  * ```
59
65
  *
60
66
  * @param PutSinkPolicyCommandInput - {@link PutSinkPolicyCommandInput}
@@ -75,6 +81,8 @@ export interface PutSinkPolicyCommandOutput extends PutSinkPolicyOutput, __Metad
75
81
  * @throws {@link ResourceNotFoundException} (client fault)
76
82
  * <p>The request references a resource that does not exist.</p>
77
83
  *
84
+ * @throws {@link OAMServiceException}
85
+ * <p>Base exception class for all service exceptions from OAM service.</p>
78
86
  *
79
87
  */
80
88
  export declare class PutSinkPolicyCommand extends $Command<PutSinkPolicyCommandInput, PutSinkPolicyCommandOutput, OAMClientResolvedConfig> {
@@ -50,6 +50,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
50
50
  * };
51
51
  * const command = new TagResourceCommand(input);
52
52
  * const response = await client.send(command);
53
+ * // {};
54
+ *
53
55
  * ```
54
56
  *
55
57
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -67,6 +69,8 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
67
69
  * @throws {@link ValidationException} (client fault)
68
70
  * <p>The value of a parameter in the request caused an error.</p>
69
71
  *
72
+ * @throws {@link OAMServiceException}
73
+ * <p>Base exception class for all service exceptions from OAM service.</p>
70
74
  *
71
75
  */
72
76
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, OAMClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
40
40
  * };
41
41
  * const command = new UntagResourceCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -54,6 +56,8 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
54
56
  * @throws {@link ValidationException} (client fault)
55
57
  * <p>The value of a parameter in the request caused an error.</p>
56
58
  *
59
+ * @throws {@link OAMServiceException}
60
+ * <p>Base exception class for all service exceptions from OAM service.</p>
57
61
  *
58
62
  */
59
63
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, OAMClientResolvedConfig> {
@@ -37,6 +37,20 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
37
37
  * };
38
38
  * const command = new UpdateLinkCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // UpdateLinkOutput
41
+ * // Arn: "STRING_VALUE",
42
+ * // Id: "STRING_VALUE",
43
+ * // Label: "STRING_VALUE",
44
+ * // LabelTemplate: "STRING_VALUE",
45
+ * // ResourceTypes: [ // ResourceTypesOutput
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // SinkArn: "STRING_VALUE",
49
+ * // Tags: { // TagMapOutput
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // };
53
+ *
40
54
  * ```
41
55
  *
42
56
  * @param UpdateLinkCommandInput - {@link UpdateLinkCommandInput}
@@ -57,6 +71,8 @@ export interface UpdateLinkCommandOutput extends UpdateLinkOutput, __MetadataBea
57
71
  * @throws {@link ResourceNotFoundException} (client fault)
58
72
  * <p>The request references a resource that does not exist.</p>
59
73
  *
74
+ * @throws {@link OAMServiceException}
75
+ * <p>Base exception class for all service exceptions from OAM service.</p>
60
76
  *
61
77
  */
62
78
  export declare class UpdateLinkCommand extends $Command<UpdateLinkCommandInput, UpdateLinkCommandOutput, OAMClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",