@aws-sdk/client-osis 3.321.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 (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +322 -0
  3. package/dist-cjs/OSIS.js +39 -0
  4. package/dist-cjs/OSISClient.js +40 -0
  5. package/dist-cjs/commands/CreatePipelineCommand.js +45 -0
  6. package/dist-cjs/commands/DeletePipelineCommand.js +45 -0
  7. package/dist-cjs/commands/GetPipelineBlueprintCommand.js +45 -0
  8. package/dist-cjs/commands/GetPipelineChangeProgressCommand.js +45 -0
  9. package/dist-cjs/commands/GetPipelineCommand.js +45 -0
  10. package/dist-cjs/commands/ListPipelineBlueprintsCommand.js +45 -0
  11. package/dist-cjs/commands/ListPipelinesCommand.js +45 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +45 -0
  13. package/dist-cjs/commands/StartPipelineCommand.js +45 -0
  14. package/dist-cjs/commands/StopPipelineCommand.js +45 -0
  15. package/dist-cjs/commands/TagResourceCommand.js +45 -0
  16. package/dist-cjs/commands/UntagResourceCommand.js +45 -0
  17. package/dist-cjs/commands/UpdatePipelineCommand.js +45 -0
  18. package/dist-cjs/commands/ValidatePipelineCommand.js +45 -0
  19. package/dist-cjs/commands/index.js +17 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/OSISServiceException.js +11 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +132 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListPipelinesPaginator.js +29 -0
  29. package/dist-cjs/pagination/index.js +5 -0
  30. package/dist-cjs/protocols/Aws_restJson1.js +1137 -0
  31. package/dist-cjs/runtimeConfig.browser.js +39 -0
  32. package/dist-cjs/runtimeConfig.js +48 -0
  33. package/dist-cjs/runtimeConfig.native.js +15 -0
  34. package/dist-cjs/runtimeConfig.shared.js +21 -0
  35. package/dist-es/OSIS.js +35 -0
  36. package/dist-es/OSISClient.js +36 -0
  37. package/dist-es/commands/CreatePipelineCommand.js +41 -0
  38. package/dist-es/commands/DeletePipelineCommand.js +41 -0
  39. package/dist-es/commands/GetPipelineBlueprintCommand.js +41 -0
  40. package/dist-es/commands/GetPipelineChangeProgressCommand.js +41 -0
  41. package/dist-es/commands/GetPipelineCommand.js +41 -0
  42. package/dist-es/commands/ListPipelineBlueprintsCommand.js +41 -0
  43. package/dist-es/commands/ListPipelinesCommand.js +41 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +41 -0
  45. package/dist-es/commands/StartPipelineCommand.js +41 -0
  46. package/dist-es/commands/StopPipelineCommand.js +41 -0
  47. package/dist-es/commands/TagResourceCommand.js +41 -0
  48. package/dist-es/commands/UntagResourceCommand.js +41 -0
  49. package/dist-es/commands/UpdatePipelineCommand.js +41 -0
  50. package/dist-es/commands/ValidatePipelineCommand.js +41 -0
  51. package/dist-es/commands/index.js +14 -0
  52. package/dist-es/endpoint/EndpointParameters.js +8 -0
  53. package/dist-es/endpoint/endpointResolver.js +8 -0
  54. package/dist-es/endpoint/ruleset.js +4 -0
  55. package/dist-es/index.js +6 -0
  56. package/dist-es/models/OSISServiceException.js +7 -0
  57. package/dist-es/models/index.js +1 -0
  58. package/dist-es/models/models_0.js +121 -0
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/dist-es/pagination/ListPipelinesPaginator.js +25 -0
  61. package/dist-es/pagination/index.js +2 -0
  62. package/dist-es/protocols/Aws_restJson1.js +1106 -0
  63. package/dist-es/runtimeConfig.browser.js +34 -0
  64. package/dist-es/runtimeConfig.js +43 -0
  65. package/dist-es/runtimeConfig.native.js +11 -0
  66. package/dist-es/runtimeConfig.shared.js +17 -0
  67. package/dist-types/OSIS.d.ts +110 -0
  68. package/dist-types/OSISClient.d.ts +177 -0
  69. package/dist-types/commands/CreatePipelineCommand.d.ts +102 -0
  70. package/dist-types/commands/DeletePipelineCommand.d.ts +80 -0
  71. package/dist-types/commands/GetPipelineBlueprintCommand.d.ts +77 -0
  72. package/dist-types/commands/GetPipelineChangeProgressCommand.d.ts +80 -0
  73. package/dist-types/commands/GetPipelineCommand.d.ts +76 -0
  74. package/dist-types/commands/ListPipelineBlueprintsCommand.d.ts +74 -0
  75. package/dist-types/commands/ListPipelinesCommand.d.ts +79 -0
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +78 -0
  77. package/dist-types/commands/StartPipelineCommand.d.ts +80 -0
  78. package/dist-types/commands/StopPipelineCommand.d.ts +80 -0
  79. package/dist-types/commands/TagResourceCommand.d.ts +86 -0
  80. package/dist-types/commands/UntagResourceCommand.d.ts +80 -0
  81. package/dist-types/commands/UpdatePipelineCommand.d.ts +89 -0
  82. package/dist-types/commands/ValidatePipelineCommand.d.ts +75 -0
  83. package/dist-types/commands/index.d.ts +14 -0
  84. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  85. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  86. package/dist-types/endpoint/ruleset.d.ts +2 -0
  87. package/dist-types/index.d.ts +6 -0
  88. package/dist-types/models/OSISServiceException.d.ts +12 -0
  89. package/dist-types/models/index.d.ts +1 -0
  90. package/dist-types/models/models_0.d.ts +718 -0
  91. package/dist-types/pagination/Interfaces.d.ts +8 -0
  92. package/dist-types/pagination/ListPipelinesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/index.d.ts +2 -0
  94. package/dist-types/protocols/Aws_restJson1.d.ts +128 -0
  95. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  96. package/dist-types/runtimeConfig.d.ts +42 -0
  97. package/dist-types/runtimeConfig.native.d.ts +41 -0
  98. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  99. package/dist-types/ts3.4/OSIS.d.ts +243 -0
  100. package/dist-types/ts3.4/OSISClient.d.ts +196 -0
  101. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +37 -0
  102. package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +37 -0
  103. package/dist-types/ts3.4/commands/GetPipelineBlueprintCommand.d.ts +41 -0
  104. package/dist-types/ts3.4/commands/GetPipelineChangeProgressCommand.d.ts +41 -0
  105. package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +34 -0
  106. package/dist-types/ts3.4/commands/ListPipelineBlueprintsCommand.d.ts +41 -0
  107. package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +37 -0
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  109. package/dist-types/ts3.4/commands/StartPipelineCommand.d.ts +37 -0
  110. package/dist-types/ts3.4/commands/StopPipelineCommand.d.ts +34 -0
  111. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  112. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
  113. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +37 -0
  114. package/dist-types/ts3.4/commands/ValidatePipelineCommand.d.ts +37 -0
  115. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  116. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  117. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  118. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  119. package/dist-types/ts3.4/index.d.ts +6 -0
  120. package/dist-types/ts3.4/models/OSISServiceException.d.ts +7 -0
  121. package/dist-types/ts3.4/models/index.d.ts +1 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +247 -0
  123. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  124. package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  126. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +173 -0
  127. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  128. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  129. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  130. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  131. package/package.json +98 -0
@@ -0,0 +1,34 @@
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 { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
12
+ export const getRuntimeConfig = (config) => {
13
+ const defaultsMode = resolveDefaultsModeConfig(config);
14
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
15
+ const clientSharedValues = getSharedRuntimeConfig(config);
16
+ return {
17
+ ...clientSharedValues,
18
+ ...config,
19
+ runtime: "browser",
20
+ defaultsMode,
21
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
22
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
23
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
24
+ defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
+ maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
+ region: config?.region ?? invalidProvider("Region is missing"),
27
+ requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
28
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
+ sha256: config?.sha256 ?? Sha256,
30
+ streamCollector: config?.streamCollector ?? streamCollector,
31
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
32
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
33
+ };
34
+ };
@@ -0,0 +1,43 @@
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 { 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 { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
11
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-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
+ };
43
+ };
@@ -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,17 @@
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 { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
5
+ import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
+ export const getRuntimeConfig = (config) => ({
7
+ apiVersion: "2022-01-01",
8
+ base64Decoder: config?.base64Decoder ?? fromBase64,
9
+ base64Encoder: config?.base64Encoder ?? toBase64,
10
+ disableHostPrefix: config?.disableHostPrefix ?? false,
11
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
12
+ logger: config?.logger ?? new NoOpLogger(),
13
+ serviceId: config?.serviceId ?? "OSIS",
14
+ urlParser: config?.urlParser ?? parseUrl,
15
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
16
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
17
+ });
@@ -0,0 +1,110 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
3
+ import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
4
+ import { GetPipelineBlueprintCommandInput, GetPipelineBlueprintCommandOutput } from "./commands/GetPipelineBlueprintCommand";
5
+ import { GetPipelineChangeProgressCommandInput, GetPipelineChangeProgressCommandOutput } from "./commands/GetPipelineChangeProgressCommand";
6
+ import { GetPipelineCommandInput, GetPipelineCommandOutput } from "./commands/GetPipelineCommand";
7
+ import { ListPipelineBlueprintsCommandInput, ListPipelineBlueprintsCommandOutput } from "./commands/ListPipelineBlueprintsCommand";
8
+ import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
9
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
10
+ import { StartPipelineCommandInput, StartPipelineCommandOutput } from "./commands/StartPipelineCommand";
11
+ import { StopPipelineCommandInput, StopPipelineCommandOutput } from "./commands/StopPipelineCommand";
12
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
+ import { UpdatePipelineCommandInput, UpdatePipelineCommandOutput } from "./commands/UpdatePipelineCommand";
15
+ import { ValidatePipelineCommandInput, ValidatePipelineCommandOutput } from "./commands/ValidatePipelineCommand";
16
+ import { OSISClient } from "./OSISClient";
17
+ export interface OSIS {
18
+ /**
19
+ * @see {@link CreatePipelineCommand}
20
+ */
21
+ createPipeline(args: CreatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<CreatePipelineCommandOutput>;
22
+ createPipeline(args: CreatePipelineCommandInput, cb: (err: any, data?: CreatePipelineCommandOutput) => void): void;
23
+ createPipeline(args: CreatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePipelineCommandOutput) => void): void;
24
+ /**
25
+ * @see {@link DeletePipelineCommand}
26
+ */
27
+ deletePipeline(args: DeletePipelineCommandInput, options?: __HttpHandlerOptions): Promise<DeletePipelineCommandOutput>;
28
+ deletePipeline(args: DeletePipelineCommandInput, cb: (err: any, data?: DeletePipelineCommandOutput) => void): void;
29
+ deletePipeline(args: DeletePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePipelineCommandOutput) => void): void;
30
+ /**
31
+ * @see {@link GetPipelineCommand}
32
+ */
33
+ getPipeline(args: GetPipelineCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineCommandOutput>;
34
+ getPipeline(args: GetPipelineCommandInput, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
35
+ getPipeline(args: GetPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineCommandOutput) => void): void;
36
+ /**
37
+ * @see {@link GetPipelineBlueprintCommand}
38
+ */
39
+ getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineBlueprintCommandOutput>;
40
+ getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void): void;
41
+ getPipelineBlueprint(args: GetPipelineBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineBlueprintCommandOutput) => void): void;
42
+ /**
43
+ * @see {@link GetPipelineChangeProgressCommand}
44
+ */
45
+ getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options?: __HttpHandlerOptions): Promise<GetPipelineChangeProgressCommandOutput>;
46
+ getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void): void;
47
+ getPipelineChangeProgress(args: GetPipelineChangeProgressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPipelineChangeProgressCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link ListPipelineBlueprintsCommand}
50
+ */
51
+ listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelineBlueprintsCommandOutput>;
52
+ listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void): void;
53
+ listPipelineBlueprints(args: ListPipelineBlueprintsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelineBlueprintsCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link ListPipelinesCommand}
56
+ */
57
+ listPipelines(args: ListPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelinesCommandOutput>;
58
+ listPipelines(args: ListPipelinesCommandInput, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
59
+ listPipelines(args: ListPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link ListTagsForResourceCommand}
62
+ */
63
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
64
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
65
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
66
+ /**
67
+ * @see {@link StartPipelineCommand}
68
+ */
69
+ startPipeline(args: StartPipelineCommandInput, options?: __HttpHandlerOptions): Promise<StartPipelineCommandOutput>;
70
+ startPipeline(args: StartPipelineCommandInput, cb: (err: any, data?: StartPipelineCommandOutput) => void): void;
71
+ startPipeline(args: StartPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartPipelineCommandOutput) => void): void;
72
+ /**
73
+ * @see {@link StopPipelineCommand}
74
+ */
75
+ stopPipeline(args: StopPipelineCommandInput, options?: __HttpHandlerOptions): Promise<StopPipelineCommandOutput>;
76
+ stopPipeline(args: StopPipelineCommandInput, cb: (err: any, data?: StopPipelineCommandOutput) => void): void;
77
+ stopPipeline(args: StopPipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPipelineCommandOutput) => void): void;
78
+ /**
79
+ * @see {@link TagResourceCommand}
80
+ */
81
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
82
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
83
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
84
+ /**
85
+ * @see {@link UntagResourceCommand}
86
+ */
87
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
88
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
89
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
90
+ /**
91
+ * @see {@link UpdatePipelineCommand}
92
+ */
93
+ updatePipeline(args: UpdatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipelineCommandOutput>;
94
+ updatePipeline(args: UpdatePipelineCommandInput, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
95
+ updatePipeline(args: UpdatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
96
+ /**
97
+ * @see {@link ValidatePipelineCommand}
98
+ */
99
+ validatePipeline(args: ValidatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<ValidatePipelineCommandOutput>;
100
+ validatePipeline(args: ValidatePipelineCommandInput, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
101
+ validatePipeline(args: ValidatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidatePipelineCommandOutput) => void): void;
102
+ }
103
+ /**
104
+ * @public
105
+ * <p>Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a
106
+ * fully managed data collector that delivers real-time log and trace data to OpenSearch Service domains. For more information, see
107
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ingestion.html">Getting data into your cluster using OpenSearch Ingestion</a>.</p>
108
+ */
109
+ export declare class OSIS extends OSISClient implements OSIS {
110
+ }
@@ -0,0 +1,177 @@
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 as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, 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 { CreatePipelineCommandInput, CreatePipelineCommandOutput } from "./commands/CreatePipelineCommand";
11
+ import { DeletePipelineCommandInput, DeletePipelineCommandOutput } from "./commands/DeletePipelineCommand";
12
+ import { GetPipelineBlueprintCommandInput, GetPipelineBlueprintCommandOutput } from "./commands/GetPipelineBlueprintCommand";
13
+ import { GetPipelineChangeProgressCommandInput, GetPipelineChangeProgressCommandOutput } from "./commands/GetPipelineChangeProgressCommand";
14
+ import { GetPipelineCommandInput, GetPipelineCommandOutput } from "./commands/GetPipelineCommand";
15
+ import { ListPipelineBlueprintsCommandInput, ListPipelineBlueprintsCommandOutput } from "./commands/ListPipelineBlueprintsCommand";
16
+ import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
17
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
18
+ import { StartPipelineCommandInput, StartPipelineCommandOutput } from "./commands/StartPipelineCommand";
19
+ import { StopPipelineCommandInput, StopPipelineCommandOutput } from "./commands/StopPipelineCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { UpdatePipelineCommandInput, UpdatePipelineCommandOutput } from "./commands/UpdatePipelineCommand";
23
+ import { ValidatePipelineCommandInput, ValidatePipelineCommandOutput } from "./commands/ValidatePipelineCommand";
24
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
25
+ /**
26
+ * @public
27
+ */
28
+ export type ServiceInputTypes = CreatePipelineCommandInput | DeletePipelineCommandInput | GetPipelineBlueprintCommandInput | GetPipelineChangeProgressCommandInput | GetPipelineCommandInput | ListPipelineBlueprintsCommandInput | ListPipelinesCommandInput | ListTagsForResourceCommandInput | StartPipelineCommandInput | StopPipelineCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdatePipelineCommandInput | ValidatePipelineCommandInput;
29
+ /**
30
+ * @public
31
+ */
32
+ export type ServiceOutputTypes = CreatePipelineCommandOutput | DeletePipelineCommandOutput | GetPipelineBlueprintCommandOutput | GetPipelineChangeProgressCommandOutput | GetPipelineCommandOutput | ListPipelineBlueprintsCommandOutput | ListPipelinesCommandOutput | ListTagsForResourceCommandOutput | StartPipelineCommandOutput | StopPipelineCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdatePipelineCommandOutput | ValidatePipelineCommandOutput;
33
+ /**
34
+ * @public
35
+ */
36
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
37
+ /**
38
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
39
+ */
40
+ requestHandler?: __HttpHandler;
41
+ /**
42
+ * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
43
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
44
+ * @internal
45
+ */
46
+ sha256?: __ChecksumConstructor | __HashConstructor;
47
+ /**
48
+ * The function that will be used to convert strings into HTTP endpoints.
49
+ * @internal
50
+ */
51
+ urlParser?: __UrlParser;
52
+ /**
53
+ * A function that can calculate the length of a request body.
54
+ * @internal
55
+ */
56
+ bodyLengthChecker?: __BodyLengthCalculator;
57
+ /**
58
+ * A function that converts a stream into an array of bytes.
59
+ * @internal
60
+ */
61
+ streamCollector?: __StreamCollector;
62
+ /**
63
+ * The function that will be used to convert a base64-encoded string to a byte array.
64
+ * @internal
65
+ */
66
+ base64Decoder?: __Decoder;
67
+ /**
68
+ * The function that will be used to convert binary data to a base64-encoded string.
69
+ * @internal
70
+ */
71
+ base64Encoder?: __Encoder;
72
+ /**
73
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
74
+ * @internal
75
+ */
76
+ utf8Decoder?: __Decoder;
77
+ /**
78
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
79
+ * @internal
80
+ */
81
+ utf8Encoder?: __Encoder;
82
+ /**
83
+ * The runtime environment.
84
+ * @internal
85
+ */
86
+ runtime?: string;
87
+ /**
88
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
89
+ * trait of an operation.
90
+ */
91
+ disableHostPrefix?: boolean;
92
+ /**
93
+ * Unique service identifier.
94
+ * @internal
95
+ */
96
+ serviceId?: string;
97
+ /**
98
+ * Enables IPv6/IPv4 dualstack endpoint.
99
+ */
100
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
101
+ /**
102
+ * Enables FIPS compatible endpoints.
103
+ */
104
+ useFipsEndpoint?: boolean | __Provider<boolean>;
105
+ /**
106
+ * The AWS region to which this client will send requests
107
+ */
108
+ region?: string | __Provider<string>;
109
+ /**
110
+ * Default credentials provider; Not available in browser runtime.
111
+ * @internal
112
+ */
113
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
114
+ /**
115
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
116
+ * @internal
117
+ */
118
+ defaultUserAgentProvider?: Provider<__UserAgent>;
119
+ /**
120
+ * Value for how many times a request will be made at most in case of retry.
121
+ */
122
+ maxAttempts?: number | __Provider<number>;
123
+ /**
124
+ * Specifies which retry algorithm to use.
125
+ */
126
+ retryMode?: string | __Provider<string>;
127
+ /**
128
+ * Optional logger for logging debug/info/warn/error.
129
+ */
130
+ logger?: __Logger;
131
+ /**
132
+ * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
133
+ */
134
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
135
+ }
136
+ /**
137
+ * @public
138
+ */
139
+ type OSISClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
140
+ /**
141
+ * @public
142
+ *
143
+ * The configuration interface of OSISClient class constructor that set the region, credentials and other options.
144
+ */
145
+ export interface OSISClientConfig extends OSISClientConfigType {
146
+ }
147
+ /**
148
+ * @public
149
+ */
150
+ type OSISClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
151
+ /**
152
+ * @public
153
+ *
154
+ * The resolved configuration interface of OSISClient class. This is resolved and normalized from the {@link OSISClientConfig | constructor configuration interface}.
155
+ */
156
+ export interface OSISClientResolvedConfig extends OSISClientResolvedConfigType {
157
+ }
158
+ /**
159
+ * @public
160
+ * <p>Use the Amazon OpenSearch Ingestion API to create and manage ingestion pipelines. OpenSearch Ingestion is a
161
+ * fully managed data collector that delivers real-time log and trace data to OpenSearch Service domains. For more information, see
162
+ * <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ingestion.html">Getting data into your cluster using OpenSearch Ingestion</a>.</p>
163
+ */
164
+ export declare class OSISClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OSISClientResolvedConfig> {
165
+ /**
166
+ * The resolved configuration of OSISClient class. This is resolved and normalized from the {@link OSISClientConfig | constructor configuration interface}.
167
+ */
168
+ readonly config: OSISClientResolvedConfig;
169
+ constructor(configuration: OSISClientConfig);
170
+ /**
171
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
172
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
173
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
174
+ */
175
+ destroy(): void;
176
+ }
177
+ export {};
@@ -0,0 +1,102 @@
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 { CreatePipelineRequest, CreatePipelineResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link CreatePipelineCommand}.
10
+ */
11
+ export interface CreatePipelineCommandInput extends CreatePipelineRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link CreatePipelineCommand}.
17
+ */
18
+ export interface CreatePipelineCommandOutput extends CreatePipelineResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Creates an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html">Creating and managing OpenSearch Ingestion pipelines</a>.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { OSISClient, CreatePipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
27
+ * // const { OSISClient, CreatePipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
28
+ * const client = new OSISClient(config);
29
+ * const input = { // CreatePipelineRequest
30
+ * PipelineName: "STRING_VALUE", // required
31
+ * MinUnits: Number("int"), // required
32
+ * MaxUnits: Number("int"), // required
33
+ * PipelineConfigurationBody: "STRING_VALUE", // required
34
+ * LogPublishingOptions: { // LogPublishingOptions
35
+ * IsLoggingEnabled: true || false,
36
+ * CloudWatchLogDestination: { // CloudWatchLogDestination
37
+ * LogGroup: "STRING_VALUE", // required
38
+ * },
39
+ * },
40
+ * VpcOptions: { // VpcOptions
41
+ * SubnetIds: [ // SubnetIds // required
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * SecurityGroupIds: [ // SecurityGroupIds
45
+ * "STRING_VALUE",
46
+ * ],
47
+ * },
48
+ * Tags: [ // TagList
49
+ * { // Tag
50
+ * Key: "STRING_VALUE", // required
51
+ * Value: "STRING_VALUE", // required
52
+ * },
53
+ * ],
54
+ * };
55
+ * const command = new CreatePipelineCommand(input);
56
+ * const response = await client.send(command);
57
+ * ```
58
+ *
59
+ * @param CreatePipelineCommandInput - {@link CreatePipelineCommandInput}
60
+ * @returns {@link CreatePipelineCommandOutput}
61
+ * @see {@link CreatePipelineCommandInput} for command's `input` shape.
62
+ * @see {@link CreatePipelineCommandOutput} for command's `response` shape.
63
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>You don't have permissions to access the resource.</p>
67
+ *
68
+ * @throws {@link InternalException} (server fault)
69
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
70
+ * internal to the service).</p>
71
+ *
72
+ * @throws {@link LimitExceededException} (client fault)
73
+ * <p>You attempted to create more than the allowed number of tags.</p>
74
+ *
75
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
76
+ * <p>You attempted to create a resource that already exists.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>An exception for missing or invalid input fields.</p>
80
+ *
81
+ *
82
+ */
83
+ export declare class CreatePipelineCommand extends $Command<CreatePipelineCommandInput, CreatePipelineCommandOutput, OSISClientResolvedConfig> {
84
+ readonly input: CreatePipelineCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: CreatePipelineCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreatePipelineCommandInput, CreatePipelineCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,80 @@
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 { DeletePipelineRequest, DeletePipelineResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link DeletePipelineCommand}.
10
+ */
11
+ export interface DeletePipelineCommandInput extends DeletePipelineRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link DeletePipelineCommand}.
17
+ */
18
+ export interface DeletePipelineCommandOutput extends DeletePipelineResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Deletes an OpenSearch Ingestion pipeline. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/manage-pipeline.html#delete-pipeline">Deleting
23
+ * pipelines</a>.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { OSISClient, DeletePipelineCommand } from "@aws-sdk/client-osis"; // ES Modules import
28
+ * // const { OSISClient, DeletePipelineCommand } = require("@aws-sdk/client-osis"); // CommonJS import
29
+ * const client = new OSISClient(config);
30
+ * const input = { // DeletePipelineRequest
31
+ * PipelineName: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new DeletePipelineCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param DeletePipelineCommandInput - {@link DeletePipelineCommandInput}
38
+ * @returns {@link DeletePipelineCommandOutput}
39
+ * @see {@link DeletePipelineCommandInput} for command's `input` shape.
40
+ * @see {@link DeletePipelineCommandOutput} for command's `response` shape.
41
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have permissions to access the resource.</p>
45
+ *
46
+ * @throws {@link ConflictException} (client fault)
47
+ * <p>The client attempted to remove a resource that is currently in use.</p>
48
+ *
49
+ * @throws {@link InternalException} (server fault)
50
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
51
+ * internal to the service).</p>
52
+ *
53
+ * @throws {@link ResourceNotFoundException} (client fault)
54
+ * <p>You attempted to access or delete a resource that does not exist.</p>
55
+ *
56
+ * @throws {@link ValidationException} (client fault)
57
+ * <p>An exception for missing or invalid input fields.</p>
58
+ *
59
+ *
60
+ */
61
+ export declare class DeletePipelineCommand extends $Command<DeletePipelineCommandInput, DeletePipelineCommandOutput, OSISClientResolvedConfig> {
62
+ readonly input: DeletePipelineCommandInput;
63
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
64
+ /**
65
+ * @public
66
+ */
67
+ constructor(input: DeletePipelineCommandInput);
68
+ /**
69
+ * @internal
70
+ */
71
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeletePipelineCommandInput, DeletePipelineCommandOutput>;
72
+ /**
73
+ * @internal
74
+ */
75
+ private serialize;
76
+ /**
77
+ * @internal
78
+ */
79
+ private deserialize;
80
+ }
@@ -0,0 +1,77 @@
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 { GetPipelineBlueprintRequest, GetPipelineBlueprintResponse } from "../models/models_0";
5
+ import { OSISClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OSISClient";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link GetPipelineBlueprintCommand}.
10
+ */
11
+ export interface GetPipelineBlueprintCommandInput extends GetPipelineBlueprintRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link GetPipelineBlueprintCommand}.
17
+ */
18
+ export interface GetPipelineBlueprintCommandOutput extends GetPipelineBlueprintResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Retrieves information about a specific blueprint for OpenSearch Ingestion. Blueprints are
23
+ * templates for the configuration needed for a <code>CreatePipeline</code> request.</p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { OSISClient, GetPipelineBlueprintCommand } from "@aws-sdk/client-osis"; // ES Modules import
28
+ * // const { OSISClient, GetPipelineBlueprintCommand } = require("@aws-sdk/client-osis"); // CommonJS import
29
+ * const client = new OSISClient(config);
30
+ * const input = { // GetPipelineBlueprintRequest
31
+ * BlueprintName: "STRING_VALUE", // required
32
+ * };
33
+ * const command = new GetPipelineBlueprintCommand(input);
34
+ * const response = await client.send(command);
35
+ * ```
36
+ *
37
+ * @param GetPipelineBlueprintCommandInput - {@link GetPipelineBlueprintCommandInput}
38
+ * @returns {@link GetPipelineBlueprintCommandOutput}
39
+ * @see {@link GetPipelineBlueprintCommandInput} for command's `input` shape.
40
+ * @see {@link GetPipelineBlueprintCommandOutput} for command's `response` shape.
41
+ * @see {@link OSISClientResolvedConfig | config} for OSISClient's `config` shape.
42
+ *
43
+ * @throws {@link AccessDeniedException} (client fault)
44
+ * <p>You don't have permissions to access the resource.</p>
45
+ *
46
+ * @throws {@link InternalException} (server fault)
47
+ * <p>The request failed because of an unknown error, exception, or failure (the failure is
48
+ * internal to the service).</p>
49
+ *
50
+ * @throws {@link ResourceNotFoundException} (client fault)
51
+ * <p>You attempted to access or delete a resource that does not exist.</p>
52
+ *
53
+ * @throws {@link ValidationException} (client fault)
54
+ * <p>An exception for missing or invalid input fields.</p>
55
+ *
56
+ *
57
+ */
58
+ export declare class GetPipelineBlueprintCommand extends $Command<GetPipelineBlueprintCommandInput, GetPipelineBlueprintCommandOutput, OSISClientResolvedConfig> {
59
+ readonly input: GetPipelineBlueprintCommandInput;
60
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
61
+ /**
62
+ * @public
63
+ */
64
+ constructor(input: GetPipelineBlueprintCommandInput);
65
+ /**
66
+ * @internal
67
+ */
68
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OSISClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPipelineBlueprintCommandInput, GetPipelineBlueprintCommandOutput>;
69
+ /**
70
+ * @internal
71
+ */
72
+ private serialize;
73
+ /**
74
+ * @internal
75
+ */
76
+ private deserialize;
77
+ }