@aws-sdk/client-pipes 3.222.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 (115) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +207 -0
  3. package/dist-cjs/Pipes.js +157 -0
  4. package/dist-cjs/PipesClient.js +40 -0
  5. package/dist-cjs/commands/CreatePipeCommand.js +46 -0
  6. package/dist-cjs/commands/DeletePipeCommand.js +46 -0
  7. package/dist-cjs/commands/DescribePipeCommand.js +46 -0
  8. package/dist-cjs/commands/ListPipesCommand.js +46 -0
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  10. package/dist-cjs/commands/StartPipeCommand.js +46 -0
  11. package/dist-cjs/commands/StopPipeCommand.js +46 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  14. package/dist-cjs/commands/UpdatePipeCommand.js +46 -0
  15. package/dist-cjs/commands/index.js +13 -0
  16. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  17. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  18. package/dist-cjs/endpoint/ruleset.js +312 -0
  19. package/dist-cjs/index.js +11 -0
  20. package/dist-cjs/models/PipesServiceException.js +11 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +704 -0
  23. package/dist-cjs/pagination/Interfaces.js +2 -0
  24. package/dist-cjs/pagination/ListPipesPaginator.js +36 -0
  25. package/dist-cjs/pagination/index.js +5 -0
  26. package/dist-cjs/protocols/Aws_restJson1.js +2591 -0
  27. package/dist-cjs/runtimeConfig.browser.js +42 -0
  28. package/dist-cjs/runtimeConfig.js +50 -0
  29. package/dist-cjs/runtimeConfig.native.js +15 -0
  30. package/dist-cjs/runtimeConfig.shared.js +18 -0
  31. package/dist-es/Pipes.js +153 -0
  32. package/dist-es/PipesClient.js +36 -0
  33. package/dist-es/commands/CreatePipeCommand.js +42 -0
  34. package/dist-es/commands/DeletePipeCommand.js +42 -0
  35. package/dist-es/commands/DescribePipeCommand.js +42 -0
  36. package/dist-es/commands/ListPipesCommand.js +42 -0
  37. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  38. package/dist-es/commands/StartPipeCommand.js +42 -0
  39. package/dist-es/commands/StopPipeCommand.js +42 -0
  40. package/dist-es/commands/TagResourceCommand.js +42 -0
  41. package/dist-es/commands/UntagResourceCommand.js +42 -0
  42. package/dist-es/commands/UpdatePipeCommand.js +42 -0
  43. package/dist-es/commands/index.js +10 -0
  44. package/dist-es/endpoint/EndpointParameters.js +8 -0
  45. package/dist-es/endpoint/endpointResolver.js +8 -0
  46. package/dist-es/endpoint/ruleset.js +309 -0
  47. package/dist-es/index.js +6 -0
  48. package/dist-es/models/PipesServiceException.js +7 -0
  49. package/dist-es/models/index.js +1 -0
  50. package/dist-es/models/models_0.js +614 -0
  51. package/dist-es/pagination/Interfaces.js +1 -0
  52. package/dist-es/pagination/ListPipesPaginator.js +32 -0
  53. package/dist-es/pagination/index.js +2 -0
  54. package/dist-es/protocols/Aws_restJson1.js +2568 -0
  55. package/dist-es/runtimeConfig.browser.js +37 -0
  56. package/dist-es/runtimeConfig.js +45 -0
  57. package/dist-es/runtimeConfig.native.js +11 -0
  58. package/dist-es/runtimeConfig.shared.js +14 -0
  59. package/dist-types/Pipes.d.ts +95 -0
  60. package/dist-types/PipesClient.d.ts +153 -0
  61. package/dist-types/commands/CreatePipeCommand.d.ts +37 -0
  62. package/dist-types/commands/DeletePipeCommand.d.ts +37 -0
  63. package/dist-types/commands/DescribePipeCommand.d.ts +37 -0
  64. package/dist-types/commands/ListPipesCommand.d.ts +37 -0
  65. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  66. package/dist-types/commands/StartPipeCommand.d.ts +37 -0
  67. package/dist-types/commands/StopPipeCommand.d.ts +37 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +47 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
  70. package/dist-types/commands/UpdatePipeCommand.d.ts +43 -0
  71. package/dist-types/commands/index.d.ts +10 -0
  72. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  73. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  74. package/dist-types/endpoint/ruleset.d.ts +2 -0
  75. package/dist-types/index.d.ts +6 -0
  76. package/dist-types/models/PipesServiceException.d.ts +10 -0
  77. package/dist-types/models/index.d.ts +1 -0
  78. package/dist-types/models/models_0.d.ts +2541 -0
  79. package/dist-types/pagination/Interfaces.d.ts +6 -0
  80. package/dist-types/pagination/ListPipesPaginator.d.ts +4 -0
  81. package/dist-types/pagination/index.d.ts +2 -0
  82. package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
  83. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  84. package/dist-types/runtimeConfig.d.ts +42 -0
  85. package/dist-types/runtimeConfig.native.d.ts +41 -0
  86. package/dist-types/runtimeConfig.shared.d.ts +16 -0
  87. package/dist-types/ts3.4/Pipes.d.ts +174 -0
  88. package/dist-types/ts3.4/PipesClient.d.ts +171 -0
  89. package/dist-types/ts3.4/commands/CreatePipeCommand.d.ts +34 -0
  90. package/dist-types/ts3.4/commands/DeletePipeCommand.d.ts +34 -0
  91. package/dist-types/ts3.4/commands/DescribePipeCommand.d.ts +34 -0
  92. package/dist-types/ts3.4/commands/ListPipesCommand.d.ts +34 -0
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  94. package/dist-types/ts3.4/commands/StartPipeCommand.d.ts +34 -0
  95. package/dist-types/ts3.4/commands/StopPipeCommand.d.ts +34 -0
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  98. package/dist-types/ts3.4/commands/UpdatePipeCommand.d.ts +34 -0
  99. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  100. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  101. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  102. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  103. package/dist-types/ts3.4/index.d.ts +6 -0
  104. package/dist-types/ts3.4/models/PipesServiceException.d.ts +7 -0
  105. package/dist-types/ts3.4/models/index.d.ts +1 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +915 -0
  107. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  108. package/dist-types/ts3.4/pagination/ListPipesPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  110. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +125 -0
  111. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
  112. package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
  113. package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
  114. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
  115. package/package.json +102 -0
@@ -0,0 +1,37 @@
1
+ import packageInfo from "../package.json";
2
+ import { Sha256 } from "@aws-crypto/sha256-browser";
3
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
7
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
12
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
+ export const getRuntimeConfig = (config) => {
14
+ const defaultsMode = resolveDefaultsModeConfig(config);
15
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
16
+ const clientSharedValues = getSharedRuntimeConfig(config);
17
+ return {
18
+ ...clientSharedValues,
19
+ ...config,
20
+ runtime: "browser",
21
+ defaultsMode,
22
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
23
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
24
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
25
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
26
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
27
+ region: config?.region ?? invalidProvider("Region is missing"),
28
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
29
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
30
+ sha256: config?.sha256 ?? Sha256,
31
+ streamCollector: config?.streamCollector ?? streamCollector,
32
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
34
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
35
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
36
+ };
37
+ };
@@ -0,0 +1,45 @@
1
+ import packageInfo from "../package.json";
2
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
+ import { Hash } from "@aws-sdk/hash-node";
6
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
7
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ export const getRuntimeConfig = (config) => {
17
+ emitWarningIfUnsupportedVersion(process.version);
18
+ const defaultsMode = resolveDefaultsModeConfig(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
+ const clientSharedValues = getSharedRuntimeConfig(config);
21
+ return {
22
+ ...clientSharedValues,
23
+ ...config,
24
+ runtime: "node",
25
+ defaultsMode,
26
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
27
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
28
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ retryMode: config?.retryMode ??
34
+ loadNodeConfig({
35
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
+ }),
38
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
+ streamCollector: config?.streamCollector ?? streamCollector,
40
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
41
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
42
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
43
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
44
+ };
45
+ };
@@ -0,0 +1,11 @@
1
+ import { Sha256 } from "@aws-crypto/sha256-js";
2
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
+ export const getRuntimeConfig = (config) => {
4
+ const browserDefaults = getBrowserRuntimeConfig(config);
5
+ return {
6
+ ...browserDefaults,
7
+ ...config,
8
+ runtime: "react-native",
9
+ sha256: config?.sha256 ?? Sha256,
10
+ };
11
+ };
@@ -0,0 +1,14 @@
1
+ import { NoOpLogger } from "@aws-sdk/smithy-client";
2
+ import { parseUrl } from "@aws-sdk/url-parser";
3
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
5
+ export const getRuntimeConfig = (config) => ({
6
+ apiVersion: "2015-10-07",
7
+ base64Decoder: config?.base64Decoder ?? fromBase64,
8
+ base64Encoder: config?.base64Encoder ?? toBase64,
9
+ disableHostPrefix: config?.disableHostPrefix ?? false,
10
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
11
+ logger: config?.logger ?? new NoOpLogger(),
12
+ serviceId: config?.serviceId ?? "Pipes",
13
+ urlParser: config?.urlParser ?? parseUrl,
14
+ });
@@ -0,0 +1,95 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreatePipeCommandInput, CreatePipeCommandOutput } from "./commands/CreatePipeCommand";
3
+ import { DeletePipeCommandInput, DeletePipeCommandOutput } from "./commands/DeletePipeCommand";
4
+ import { DescribePipeCommandInput, DescribePipeCommandOutput } from "./commands/DescribePipeCommand";
5
+ import { ListPipesCommandInput, ListPipesCommandOutput } from "./commands/ListPipesCommand";
6
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
7
+ import { StartPipeCommandInput, StartPipeCommandOutput } from "./commands/StartPipeCommand";
8
+ import { StopPipeCommandInput, StopPipeCommandOutput } from "./commands/StopPipeCommand";
9
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
10
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
11
+ import { UpdatePipeCommandInput, UpdatePipeCommandOutput } from "./commands/UpdatePipeCommand";
12
+ import { PipesClient } from "./PipesClient";
13
+ /**
14
+ * <p>Amazon EventBridge Pipes connects event sources to targets. Pipes reduces the need for specialized knowledge and integration code when developing
15
+ * event driven architectures. This helps ensures consistency across your company’s applications. With Pipes, the target can be any available EventBridge target.
16
+ * To set up a pipe, you select the event source, add optional event filtering, define optional enrichment, and select the target for the event data. </p>
17
+ */
18
+ export declare class Pipes extends PipesClient {
19
+ /**
20
+ * <p>Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.</p>
21
+ */
22
+ createPipe(args: CreatePipeCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipeCommandOutput>;
23
+ createPipe(args: CreatePipeCommandInput, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
24
+ createPipe(args: CreatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipeCommandOutput) => void): void;
25
+ /**
26
+ * <p>Delete an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
27
+ */
28
+ deletePipe(args: DeletePipeCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipeCommandOutput>;
29
+ deletePipe(args: DeletePipeCommandInput, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
30
+ deletePipe(args: DeletePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipeCommandOutput) => void): void;
31
+ /**
32
+ * <p>Get the information about an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
33
+ */
34
+ describePipe(args: DescribePipeCommandInput, options?: __HttpHandlerOptions): Promise<DescribePipeCommandOutput>;
35
+ describePipe(args: DescribePipeCommandInput, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
36
+ describePipe(args: DescribePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePipeCommandOutput) => void): void;
37
+ /**
38
+ * <p>Get the pipes associated with this account. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
39
+ */
40
+ listPipes(args: ListPipesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipesCommandOutput>;
41
+ listPipes(args: ListPipesCommandInput, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
42
+ listPipes(args: ListPipesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipesCommandOutput) => void): void;
43
+ /**
44
+ * <p>Displays the tags associated with a pipe.</p>
45
+ */
46
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
47
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
48
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
49
+ /**
50
+ * <p>Start an existing pipe.</p>
51
+ */
52
+ startPipe(args: StartPipeCommandInput, options?: __HttpHandlerOptions): Promise<StartPipeCommandOutput>;
53
+ startPipe(args: StartPipeCommandInput, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
54
+ startPipe(args: StartPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPipeCommandOutput) => void): void;
55
+ /**
56
+ * <p>Stop an existing pipe.</p>
57
+ */
58
+ stopPipe(args: StopPipeCommandInput, options?: __HttpHandlerOptions): Promise<StopPipeCommandOutput>;
59
+ stopPipe(args: StopPipeCommandInput, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
60
+ stopPipe(args: StopPipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPipeCommandOutput) => void): void;
61
+ /**
62
+ * <p>Assigns one or more tags (key-value pairs) to the specified pipe. Tags can
63
+ * help you organize and categorize your resources. You can also use them to scope user
64
+ * permissions by granting a user permission to access or change only resources with certain tag
65
+ * values.</p>
66
+ * <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
67
+ * characters.</p>
68
+ * <p>You can use the <code>TagResource</code> action with a pipe that already has tags. If
69
+ * you specify a new tag key, this tag is appended to the list of tags associated with the
70
+ * pipe. If you specify a tag key that is already associated with the pipe, the new tag
71
+ * value that you specify replaces the previous value for that tag.</p>
72
+ * <p>You can associate as many as 50 tags with a pipe.</p>
73
+ */
74
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
75
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
76
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
77
+ /**
78
+ * <p>Removes one or more tags from the specified pipes.</p>
79
+ */
80
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
81
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
82
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
83
+ /**
84
+ * <p>Update an existing pipe. When you call <code>UpdatePipe</code>, only the fields that are included in the request are changed, the rest are unchanged.
85
+ * The exception to this is if you modify any Amazon Web Services-service specific fields in the <code>SourceParameters</code>, <code>EnrichmentParameters</code>, or
86
+ * <code>TargetParameters</code> objects. The fields in these objects are updated atomically as one and override existing values. This is by design and means that
87
+ * if you don't specify an optional field in one of these Parameters objects, that field will be set to its system-default value after the update.</p>
88
+ *
89
+ * <p>For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">
90
+ * Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
91
+ */
92
+ updatePipe(args: UpdatePipeCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipeCommandOutput>;
93
+ updatePipe(args: UpdatePipeCommandInput, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
94
+ updatePipe(args: UpdatePipeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipeCommandOutput) => void): void;
95
+ }
@@ -0,0 +1,153 @@
1
+ import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
+ import { CreatePipeCommandInput, CreatePipeCommandOutput } from "./commands/CreatePipeCommand";
11
+ import { DeletePipeCommandInput, DeletePipeCommandOutput } from "./commands/DeletePipeCommand";
12
+ import { DescribePipeCommandInput, DescribePipeCommandOutput } from "./commands/DescribePipeCommand";
13
+ import { ListPipesCommandInput, ListPipesCommandOutput } from "./commands/ListPipesCommand";
14
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
15
+ import { StartPipeCommandInput, StartPipeCommandOutput } from "./commands/StartPipeCommand";
16
+ import { StopPipeCommandInput, StopPipeCommandOutput } from "./commands/StopPipeCommand";
17
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
18
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
19
+ import { UpdatePipeCommandInput, UpdatePipeCommandOutput } from "./commands/UpdatePipeCommand";
20
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
21
+ export declare type ServiceInputTypes = CreatePipeCommandInput | DeletePipeCommandInput | DescribePipeCommandInput | ListPipesCommandInput | ListTagsForResourceCommandInput | StartPipeCommandInput | StopPipeCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePipeCommandInput;
22
+ export declare type ServiceOutputTypes = CreatePipeCommandOutput | DeletePipeCommandOutput | DescribePipeCommandOutput | ListPipesCommandOutput | ListTagsForResourceCommandOutput | StartPipeCommandOutput | StopPipeCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePipeCommandOutput;
23
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
24
+ /**
25
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
26
+ */
27
+ requestHandler?: __HttpHandler;
28
+ /**
29
+ * A constructor for a class implementing the {@link __Hash} interface
30
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
31
+ * @internal
32
+ */
33
+ sha256?: __HashConstructor;
34
+ /**
35
+ * The function that will be used to convert strings into HTTP endpoints.
36
+ * @internal
37
+ */
38
+ urlParser?: __UrlParser;
39
+ /**
40
+ * A function that can calculate the length of a request body.
41
+ * @internal
42
+ */
43
+ bodyLengthChecker?: __BodyLengthCalculator;
44
+ /**
45
+ * A function that converts a stream into an array of bytes.
46
+ * @internal
47
+ */
48
+ streamCollector?: __StreamCollector;
49
+ /**
50
+ * The function that will be used to convert a base64-encoded string to a byte array.
51
+ * @internal
52
+ */
53
+ base64Decoder?: __Decoder;
54
+ /**
55
+ * The function that will be used to convert binary data to a base64-encoded string.
56
+ * @internal
57
+ */
58
+ base64Encoder?: __Encoder;
59
+ /**
60
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
61
+ * @internal
62
+ */
63
+ utf8Decoder?: __Decoder;
64
+ /**
65
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
66
+ * @internal
67
+ */
68
+ utf8Encoder?: __Encoder;
69
+ /**
70
+ * The runtime environment.
71
+ * @internal
72
+ */
73
+ runtime?: string;
74
+ /**
75
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
76
+ * trait of an operation.
77
+ */
78
+ disableHostPrefix?: boolean;
79
+ /**
80
+ * Value for how many times a request will be made at most in case of retry.
81
+ */
82
+ maxAttempts?: number | __Provider<number>;
83
+ /**
84
+ * Specifies which retry algorithm to use.
85
+ */
86
+ retryMode?: string | __Provider<string>;
87
+ /**
88
+ * Optional logger for logging debug/info/warn/error.
89
+ */
90
+ logger?: __Logger;
91
+ /**
92
+ * Enables IPv6/IPv4 dualstack endpoint.
93
+ */
94
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
95
+ /**
96
+ * Enables FIPS compatible endpoints.
97
+ */
98
+ useFipsEndpoint?: boolean | __Provider<boolean>;
99
+ /**
100
+ * Unique service identifier.
101
+ * @internal
102
+ */
103
+ serviceId?: string;
104
+ /**
105
+ * The AWS region to which this client will send requests
106
+ */
107
+ region?: string | __Provider<string>;
108
+ /**
109
+ * Default credentials provider; Not available in browser runtime.
110
+ * @internal
111
+ */
112
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
113
+ /**
114
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
115
+ * @internal
116
+ */
117
+ defaultUserAgentProvider?: Provider<__UserAgent>;
118
+ /**
119
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
120
+ */
121
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
122
+ }
123
+ declare type PipesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
124
+ /**
125
+ * The configuration interface of PipesClient class constructor that set the region, credentials and other options.
126
+ */
127
+ export interface PipesClientConfig extends PipesClientConfigType {
128
+ }
129
+ declare type PipesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
130
+ /**
131
+ * The resolved configuration interface of PipesClient class. This is resolved and normalized from the {@link PipesClientConfig | constructor configuration interface}.
132
+ */
133
+ export interface PipesClientResolvedConfig extends PipesClientResolvedConfigType {
134
+ }
135
+ /**
136
+ * <p>Amazon EventBridge Pipes connects event sources to targets. Pipes reduces the need for specialized knowledge and integration code when developing
137
+ * event driven architectures. This helps ensures consistency across your company’s applications. With Pipes, the target can be any available EventBridge target.
138
+ * To set up a pipe, you select the event source, add optional event filtering, define optional enrichment, and select the target for the event data. </p>
139
+ */
140
+ export declare class PipesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PipesClientResolvedConfig> {
141
+ /**
142
+ * The resolved configuration of PipesClient class. This is resolved and normalized from the {@link PipesClientConfig | constructor configuration interface}.
143
+ */
144
+ readonly config: PipesClientResolvedConfig;
145
+ constructor(configuration: PipesClientConfig);
146
+ /**
147
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
148
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
149
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
150
+ */
151
+ destroy(): void;
152
+ }
153
+ export {};
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CreatePipeRequest, CreatePipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface CreatePipeCommandInput extends CreatePipeRequest {
7
+ }
8
+ export interface CreatePipeCommandOutput extends CreatePipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Create a pipe. Amazon EventBridge Pipes connect event sources to targets and reduces the need for specialized knowledge and integration code.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, CreatePipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, CreatePipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new CreatePipeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreatePipeCommandInput} for command's `input` shape.
23
+ * @see {@link CreatePipeCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreatePipeCommand extends $Command<CreatePipeCommandInput, CreatePipeCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: CreatePipeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreatePipeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePipeCommandInput, CreatePipeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DeletePipeRequest, DeletePipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface DeletePipeCommandInput extends DeletePipeRequest {
7
+ }
8
+ export interface DeletePipeCommandOutput extends DeletePipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Delete an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, DeletePipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, DeletePipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new DeletePipeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeletePipeCommandInput} for command's `input` shape.
23
+ * @see {@link DeletePipeCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeletePipeCommand extends $Command<DeletePipeCommandInput, DeletePipeCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: DeletePipeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeletePipeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePipeCommandInput, DeletePipeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { DescribePipeRequest, DescribePipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface DescribePipeCommandInput extends DescribePipeRequest {
7
+ }
8
+ export interface DescribePipeCommandOutput extends DescribePipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Get the information about an existing pipe. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, DescribePipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, DescribePipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new DescribePipeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DescribePipeCommandInput} for command's `input` shape.
23
+ * @see {@link DescribePipeCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DescribePipeCommand extends $Command<DescribePipeCommandInput, DescribePipeCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: DescribePipeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribePipeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribePipeCommandInput, DescribePipeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListPipesRequest, ListPipesResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface ListPipesCommandInput extends ListPipesRequest {
7
+ }
8
+ export interface ListPipesCommandOutput extends ListPipesResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Get the pipes associated with this account. For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, ListPipesCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, ListPipesCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new ListPipesCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListPipesCommandInput} for command's `input` shape.
23
+ * @see {@link ListPipesCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListPipesCommand extends $Command<ListPipesCommandInput, ListPipesCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: ListPipesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListPipesCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPipesCommandInput, ListPipesCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
7
+ }
8
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Displays the tags associated with a pipe.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, ListTagsForResourceCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, ListTagsForResourceCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new ListTagsForResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListTagsForResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { StartPipeRequest, StartPipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface StartPipeCommandInput extends StartPipeRequest {
7
+ }
8
+ export interface StartPipeCommandOutput extends StartPipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Start an existing pipe.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, StartPipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, StartPipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new StartPipeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link StartPipeCommandInput} for command's `input` shape.
23
+ * @see {@link StartPipeCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class StartPipeCommand extends $Command<StartPipeCommandInput, StartPipeCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: StartPipeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: StartPipeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartPipeCommandInput, StartPipeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { StopPipeRequest, StopPipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface StopPipeCommandInput extends StopPipeRequest {
7
+ }
8
+ export interface StopPipeCommandOutput extends StopPipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Stop an existing pipe.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, StopPipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, StopPipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new StopPipeCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link StopPipeCommandInput} for command's `input` shape.
23
+ * @see {@link StopPipeCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class StopPipeCommand extends $Command<StopPipeCommandInput, StopPipeCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: StopPipeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: StopPipeCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopPipeCommandInput, StopPipeCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }