@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,47 @@
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface TagResourceCommandInput extends TagResourceRequest {
7
+ }
8
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Assigns one or more tags (key-value pairs) to the specified pipe. Tags can
12
+ * help you organize and categorize your resources. You can also use them to scope user
13
+ * permissions by granting a user permission to access or change only resources with certain tag
14
+ * values.</p>
15
+ * <p>Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of
16
+ * characters.</p>
17
+ * <p>You can use the <code>TagResource</code> action with a pipe that already has tags. If
18
+ * you specify a new tag key, this tag is appended to the list of tags associated with the
19
+ * pipe. If you specify a tag key that is already associated with the pipe, the new tag
20
+ * value that you specify replaces the previous value for that tag.</p>
21
+ * <p>You can associate as many as 50 tags with a pipe.</p>
22
+ * @example
23
+ * Use a bare-bones client and the command you need to make an API call.
24
+ * ```javascript
25
+ * import { PipesClient, TagResourceCommand } from "@aws-sdk/client-pipes"; // ES Modules import
26
+ * // const { PipesClient, TagResourceCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
27
+ * const client = new PipesClient(config);
28
+ * const command = new TagResourceCommand(input);
29
+ * const response = await client.send(command);
30
+ * ```
31
+ *
32
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
33
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
34
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
35
+ *
36
+ */
37
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, PipesClientResolvedConfig> {
38
+ readonly input: TagResourceCommandInput;
39
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
+ constructor(input: TagResourceCommandInput);
41
+ /**
42
+ * @internal
43
+ */
44
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
45
+ private serialize;
46
+ private deserialize;
47
+ }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
7
+ }
8
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Removes one or more tags from the specified pipes.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { PipesClient, UntagResourceCommand } from "@aws-sdk/client-pipes"; // ES Modules import
16
+ * // const { PipesClient, UntagResourceCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
17
+ * const client = new PipesClient(config);
18
+ * const command = new UntagResourceCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
23
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
24
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, PipesClientResolvedConfig> {
28
+ readonly input: UntagResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: UntagResourceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,43 @@
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 { UpdatePipeRequest, UpdatePipeResponse } from "../models/models_0";
5
+ import { PipesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PipesClient";
6
+ export interface UpdatePipeCommandInput extends UpdatePipeRequest {
7
+ }
8
+ export interface UpdatePipeCommandOutput extends UpdatePipeResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <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.
12
+ * The exception to this is if you modify any Amazon Web Services-service specific fields in the <code>SourceParameters</code>, <code>EnrichmentParameters</code>, or
13
+ * <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
14
+ * 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>
15
+ *
16
+ * <p>For more information about pipes, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes.html">
17
+ * Amazon EventBridge Pipes</a> in the Amazon EventBridge User Guide.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { PipesClient, UpdatePipeCommand } from "@aws-sdk/client-pipes"; // ES Modules import
22
+ * // const { PipesClient, UpdatePipeCommand } = require("@aws-sdk/client-pipes"); // CommonJS import
23
+ * const client = new PipesClient(config);
24
+ * const command = new UpdatePipeCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link UpdatePipeCommandInput} for command's `input` shape.
29
+ * @see {@link UpdatePipeCommandOutput} for command's `response` shape.
30
+ * @see {@link PipesClientResolvedConfig | config} for PipesClient's `config` shape.
31
+ *
32
+ */
33
+ export declare class UpdatePipeCommand extends $Command<UpdatePipeCommandInput, UpdatePipeCommandOutput, PipesClientResolvedConfig> {
34
+ readonly input: UpdatePipeCommandInput;
35
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
36
+ constructor(input: UpdatePipeCommandInput);
37
+ /**
38
+ * @internal
39
+ */
40
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: PipesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePipeCommandInput, UpdatePipeCommandOutput>;
41
+ private serialize;
42
+ private deserialize;
43
+ }
@@ -0,0 +1,10 @@
1
+ export * from "./CreatePipeCommand";
2
+ export * from "./DeletePipeCommand";
3
+ export * from "./DescribePipeCommand";
4
+ export * from "./ListPipesCommand";
5
+ export * from "./ListTagsForResourceCommand";
6
+ export * from "./StartPipeCommand";
7
+ export * from "./StopPipeCommand";
8
+ export * from "./TagResourceCommand";
9
+ export * from "./UntagResourceCommand";
10
+ export * from "./UpdatePipeCommand";
@@ -0,0 +1,19 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,6 @@
1
+ export * from "./Pipes";
2
+ export * from "./PipesClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export { PipesServiceException } from "./models/PipesServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Pipes service.
4
+ */
5
+ export declare class PipesServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";