@aws-sdk/client-oam 3.478.0 → 3.484.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 (65) hide show
  1. package/dist-cjs/commands/CreateLinkCommand.js +18 -41
  2. package/dist-cjs/commands/CreateSinkCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteLinkCommand.js +18 -41
  4. package/dist-cjs/commands/DeleteSinkCommand.js +18 -41
  5. package/dist-cjs/commands/GetLinkCommand.js +18 -41
  6. package/dist-cjs/commands/GetSinkCommand.js +18 -41
  7. package/dist-cjs/commands/GetSinkPolicyCommand.js +18 -41
  8. package/dist-cjs/commands/ListAttachedLinksCommand.js +18 -41
  9. package/dist-cjs/commands/ListLinksCommand.js +18 -41
  10. package/dist-cjs/commands/ListSinksCommand.js +18 -41
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  12. package/dist-cjs/commands/PutSinkPolicyCommand.js +18 -41
  13. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  14. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  15. package/dist-cjs/commands/UpdateLinkCommand.js +18 -41
  16. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  17. package/dist-es/commands/CreateLinkCommand.js +18 -41
  18. package/dist-es/commands/CreateSinkCommand.js +18 -41
  19. package/dist-es/commands/DeleteLinkCommand.js +18 -41
  20. package/dist-es/commands/DeleteSinkCommand.js +18 -41
  21. package/dist-es/commands/GetLinkCommand.js +18 -41
  22. package/dist-es/commands/GetSinkCommand.js +18 -41
  23. package/dist-es/commands/GetSinkPolicyCommand.js +18 -41
  24. package/dist-es/commands/ListAttachedLinksCommand.js +18 -41
  25. package/dist-es/commands/ListLinksCommand.js +18 -41
  26. package/dist-es/commands/ListSinksCommand.js +18 -41
  27. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  28. package/dist-es/commands/PutSinkPolicyCommand.js +18 -41
  29. package/dist-es/commands/TagResourceCommand.js +18 -41
  30. package/dist-es/commands/UntagResourceCommand.js +18 -41
  31. package/dist-es/commands/UpdateLinkCommand.js +18 -41
  32. package/dist-es/endpoint/EndpointParameters.js +6 -0
  33. package/dist-types/commands/CreateLinkCommand.d.ts +6 -21
  34. package/dist-types/commands/CreateSinkCommand.d.ts +6 -21
  35. package/dist-types/commands/DeleteLinkCommand.d.ts +6 -21
  36. package/dist-types/commands/DeleteSinkCommand.d.ts +6 -21
  37. package/dist-types/commands/GetLinkCommand.d.ts +6 -21
  38. package/dist-types/commands/GetSinkCommand.d.ts +6 -21
  39. package/dist-types/commands/GetSinkPolicyCommand.d.ts +6 -21
  40. package/dist-types/commands/ListAttachedLinksCommand.d.ts +6 -21
  41. package/dist-types/commands/ListLinksCommand.d.ts +6 -21
  42. package/dist-types/commands/ListSinksCommand.d.ts +6 -21
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  44. package/dist-types/commands/PutSinkPolicyCommand.d.ts +6 -21
  45. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  46. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  47. package/dist-types/commands/UpdateLinkCommand.d.ts +6 -21
  48. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  49. package/dist-types/ts3.4/commands/CreateLinkCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/CreateSinkCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/DeleteLinkCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/DeleteSinkCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/GetLinkCommand.d.ts +12 -23
  54. package/dist-types/ts3.4/commands/GetSinkCommand.d.ts +12 -23
  55. package/dist-types/ts3.4/commands/GetSinkPolicyCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/commands/ListAttachedLinksCommand.d.ts +14 -23
  57. package/dist-types/ts3.4/commands/ListLinksCommand.d.ts +14 -23
  58. package/dist-types/ts3.4/commands/ListSinksCommand.d.ts +14 -23
  59. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  60. package/dist-types/ts3.4/commands/PutSinkPolicyCommand.d.ts +14 -23
  61. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  62. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  63. package/dist-types/ts3.4/commands/UpdateLinkCommand.d.ts +14 -23
  64. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  65. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OAMClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "oamservice",
35
- operation: "TagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("oamservice", "TagResource", {})
19
+ .n("OAMClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OAMClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "oamservice",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("oamservice", "UntagResource", {})
19
+ .n("OAMClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateLinkCommand, se_UpdateLinkCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateLinkCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateLinkCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OAMClient";
26
- const commandName = "UpdateLinkCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "oamservice",
35
- operation: "UpdateLink",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateLinkCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateLinkCommand(output, context);
46
- }
7
+ export class UpdateLinkCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("oamservice", "UpdateLink", {})
19
+ .n("OAMClient", "UpdateLinkCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateLinkCommand)
22
+ .de(de_UpdateLinkCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "oam",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateLinkInput, CreateLinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateLinkCommandInput extends CreateLinkInput {
21
20
  */
22
21
  export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateLinkCommand_base: {
24
+ new (input: CreateLinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a link between a source account and a sink that you have created in a monitoring account.</p>
@@ -92,23 +95,5 @@ export interface CreateLinkCommandOutput extends CreateLinkOutput, __MetadataBea
92
95
  * <p>Base exception class for all service exceptions from OAM service.</p>
93
96
  *
94
97
  */
95
- export declare class CreateLinkCommand extends $Command<CreateLinkCommandInput, CreateLinkCommandOutput, OAMClientResolvedConfig> {
96
- readonly input: CreateLinkCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: CreateLinkCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLinkCommandInput, CreateLinkCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class CreateLinkCommand extends CreateLinkCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateSinkInput, CreateSinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSinkCommandInput extends CreateSinkInput {
21
20
  */
22
21
  export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const CreateSinkCommand_base: {
24
+ new (input: CreateSinkCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use this to create a <i>sink</i> in the current account, so that it can be
@@ -80,23 +83,5 @@ export interface CreateSinkCommandOutput extends CreateSinkOutput, __MetadataBea
80
83
  * <p>Base exception class for all service exceptions from OAM service.</p>
81
84
  *
82
85
  */
83
- export declare class CreateSinkCommand extends $Command<CreateSinkCommandInput, CreateSinkCommandOutput, OAMClientResolvedConfig> {
84
- readonly input: CreateSinkCommandInput;
85
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
- /**
87
- * @public
88
- */
89
- constructor(input: CreateSinkCommandInput);
90
- /**
91
- * @internal
92
- */
93
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSinkCommandInput, CreateSinkCommandOutput>;
94
- /**
95
- * @internal
96
- */
97
- private serialize;
98
- /**
99
- * @internal
100
- */
101
- private deserialize;
86
+ export declare class CreateSinkCommand extends CreateSinkCommand_base {
102
87
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteLinkInput, DeleteLinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteLinkCommandInput extends DeleteLinkInput {
21
20
  */
22
21
  export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteLinkCommand_base: {
24
+ new (input: DeleteLinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a link between a monitoring account sink and a source account. You must run this operation
@@ -62,23 +65,5 @@ export interface DeleteLinkCommandOutput extends DeleteLinkOutput, __MetadataBea
62
65
  * <p>Base exception class for all service exceptions from OAM service.</p>
63
66
  *
64
67
  */
65
- export declare class DeleteLinkCommand extends $Command<DeleteLinkCommandInput, DeleteLinkCommandOutput, OAMClientResolvedConfig> {
66
- readonly input: DeleteLinkCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeleteLinkCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLinkCommandInput, DeleteLinkCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeleteLinkCommand extends DeleteLinkCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteSinkInput, DeleteSinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSinkCommandInput extends DeleteSinkInput {
21
20
  */
22
21
  export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSinkCommand_base: {
24
+ new (input: DeleteSinkCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a sink. You must delete all links to a sink before you can delete that sink.</p>
@@ -64,23 +67,5 @@ export interface DeleteSinkCommandOutput extends DeleteSinkOutput, __MetadataBea
64
67
  * <p>Base exception class for all service exceptions from OAM service.</p>
65
68
  *
66
69
  */
67
- export declare class DeleteSinkCommand extends $Command<DeleteSinkCommandInput, DeleteSinkCommandOutput, OAMClientResolvedConfig> {
68
- readonly input: DeleteSinkCommandInput;
69
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
70
- /**
71
- * @public
72
- */
73
- constructor(input: DeleteSinkCommandInput);
74
- /**
75
- * @internal
76
- */
77
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSinkCommandInput, DeleteSinkCommandOutput>;
78
- /**
79
- * @internal
80
- */
81
- private serialize;
82
- /**
83
- * @internal
84
- */
85
- private deserialize;
70
+ export declare class DeleteSinkCommand extends DeleteSinkCommand_base {
86
71
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetLinkInput, GetLinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetLinkCommandInput extends GetLinkInput {
21
20
  */
22
21
  export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetLinkCommand_base: {
24
+ new (input: GetLinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns complete information about one link.</p>
@@ -74,23 +77,5 @@ export interface GetLinkCommandOutput extends GetLinkOutput, __MetadataBearer {
74
77
  * <p>Base exception class for all service exceptions from OAM service.</p>
75
78
  *
76
79
  */
77
- export declare class GetLinkCommand extends $Command<GetLinkCommandInput, GetLinkCommandOutput, OAMClientResolvedConfig> {
78
- readonly input: GetLinkCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: GetLinkCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLinkCommandInput, GetLinkCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class GetLinkCommand extends GetLinkCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSinkInput, GetSinkOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSinkCommandInput extends GetSinkInput {
21
20
  */
22
21
  export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetSinkCommand_base: {
24
+ new (input: GetSinkCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkCommandInput, GetSinkCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns complete information about one monitoring account sink.</p>
@@ -69,23 +72,5 @@ export interface GetSinkCommandOutput extends GetSinkOutput, __MetadataBearer {
69
72
  * <p>Base exception class for all service exceptions from OAM service.</p>
70
73
  *
71
74
  */
72
- export declare class GetSinkCommand extends $Command<GetSinkCommandInput, GetSinkCommandOutput, OAMClientResolvedConfig> {
73
- readonly input: GetSinkCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: GetSinkCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSinkCommandInput, GetSinkCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class GetSinkCommand extends GetSinkCommand_base {
91
76
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetSinkPolicyInput, GetSinkPolicyOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSinkPolicyCommandInput extends GetSinkPolicyInput {
21
20
  */
22
21
  export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __MetadataBearer {
23
22
  }
23
+ declare const GetSinkPolicyCommand_base: {
24
+ new (input: GetSinkPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns the current sink policy attached to this sink. The sink policy specifies what
@@ -66,23 +69,5 @@ export interface GetSinkPolicyCommandOutput extends GetSinkPolicyOutput, __Metad
66
69
  * <p>Base exception class for all service exceptions from OAM service.</p>
67
70
  *
68
71
  */
69
- export declare class GetSinkPolicyCommand extends $Command<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput, OAMClientResolvedConfig> {
70
- readonly input: GetSinkPolicyCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: GetSinkPolicyCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSinkPolicyCommandInput, GetSinkPolicyCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class GetSinkPolicyCommand extends GetSinkPolicyCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListAttachedLinksInput, ListAttachedLinksOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListAttachedLinksCommandInput extends ListAttachedLinksInput {
21
20
  */
22
21
  export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListAttachedLinksCommand_base: {
24
+ new (input: ListAttachedLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns a list of source account links that are linked to this monitoring account sink.</p>
@@ -76,23 +79,5 @@ export interface ListAttachedLinksCommandOutput extends ListAttachedLinksOutput,
76
79
  * <p>Base exception class for all service exceptions from OAM service.</p>
77
80
  *
78
81
  */
79
- export declare class ListAttachedLinksCommand extends $Command<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput, OAMClientResolvedConfig> {
80
- readonly input: ListAttachedLinksCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: ListAttachedLinksCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAttachedLinksCommandInput, ListAttachedLinksCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class ListAttachedLinksCommand extends ListAttachedLinksCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListLinksInput, ListLinksOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListLinksCommandInput extends ListLinksInput {
21
20
  */
22
21
  export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListLinksCommand_base: {
24
+ new (input: ListLinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListLinksCommandInput, ListLinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use this operation in a source account to return a list of links to monitoring account sinks that
@@ -74,23 +77,5 @@ export interface ListLinksCommandOutput extends ListLinksOutput, __MetadataBeare
74
77
  * <p>Base exception class for all service exceptions from OAM service.</p>
75
78
  *
76
79
  */
77
- export declare class ListLinksCommand extends $Command<ListLinksCommandInput, ListLinksCommandOutput, OAMClientResolvedConfig> {
78
- readonly input: ListLinksCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: ListLinksCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLinksCommandInput, ListLinksCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class ListLinksCommand extends ListLinksCommand_base {
96
81
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListSinksInput, ListSinksOutput } from "../models/models_0";
5
4
  import { OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OAMClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListSinksCommandInput extends ListSinksInput {
21
20
  */
22
21
  export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBearer {
23
22
  }
23
+ declare const ListSinksCommand_base: {
24
+ new (input: ListSinksCommandInput): import("@smithy/smithy-client").CommandImpl<ListSinksCommandInput, ListSinksCommandOutput, OAMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Use this operation in a monitoring account to return the list of sinks created in that account.</p>
@@ -68,23 +71,5 @@ export interface ListSinksCommandOutput extends ListSinksOutput, __MetadataBeare
68
71
  * <p>Base exception class for all service exceptions from OAM service.</p>
69
72
  *
70
73
  */
71
- export declare class ListSinksCommand extends $Command<ListSinksCommandInput, ListSinksCommandOutput, OAMClientResolvedConfig> {
72
- readonly input: ListSinksCommandInput;
73
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
74
- /**
75
- * @public
76
- */
77
- constructor(input: ListSinksCommandInput);
78
- /**
79
- * @internal
80
- */
81
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OAMClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSinksCommandInput, ListSinksCommandOutput>;
82
- /**
83
- * @internal
84
- */
85
- private serialize;
86
- /**
87
- * @internal
88
- */
89
- private deserialize;
74
+ export declare class ListSinksCommand extends ListSinksCommand_base {
90
75
  }