@aws-sdk/client-marketplace-catalog 3.35.0 → 3.36.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 (106) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/MarketplaceCatalog.js +0 -1
  3. package/dist-cjs/MarketplaceCatalogClient.js +0 -1
  4. package/dist-cjs/commands/CancelChangeSetCommand.js +0 -1
  5. package/dist-cjs/commands/DescribeChangeSetCommand.js +0 -1
  6. package/dist-cjs/commands/DescribeEntityCommand.js +0 -1
  7. package/dist-cjs/commands/ListChangeSetsCommand.js +0 -1
  8. package/dist-cjs/commands/ListEntitiesCommand.js +0 -1
  9. package/dist-cjs/commands/StartChangeSetCommand.js +0 -1
  10. package/dist-cjs/endpoints.js +0 -1
  11. package/dist-cjs/index.js +0 -1
  12. package/dist-cjs/models/index.js +0 -1
  13. package/dist-cjs/models/models_0.js +0 -1
  14. package/dist-cjs/pagination/Interfaces.js +0 -1
  15. package/dist-cjs/pagination/ListChangeSetsPaginator.js +0 -1
  16. package/dist-cjs/pagination/ListEntitiesPaginator.js +0 -1
  17. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  18. package/dist-cjs/runtimeConfig.browser.js +2 -3
  19. package/dist-cjs/runtimeConfig.js +3 -4
  20. package/dist-cjs/runtimeConfig.native.js +0 -1
  21. package/dist-cjs/runtimeConfig.shared.js +0 -1
  22. package/dist-es/MarketplaceCatalog.js +0 -1
  23. package/dist-es/MarketplaceCatalogClient.js +0 -1
  24. package/dist-es/commands/CancelChangeSetCommand.js +0 -1
  25. package/dist-es/commands/DescribeChangeSetCommand.js +0 -1
  26. package/dist-es/commands/DescribeEntityCommand.js +0 -1
  27. package/dist-es/commands/ListChangeSetsCommand.js +0 -1
  28. package/dist-es/commands/ListEntitiesCommand.js +0 -1
  29. package/dist-es/commands/StartChangeSetCommand.js +0 -1
  30. package/dist-es/endpoints.js +0 -1
  31. package/dist-es/index.js +0 -1
  32. package/dist-es/models/index.js +0 -1
  33. package/dist-es/models/models_0.js +0 -1
  34. package/dist-es/pagination/Interfaces.js +0 -1
  35. package/dist-es/pagination/ListChangeSetsPaginator.js +0 -1
  36. package/dist-es/pagination/ListEntitiesPaginator.js +0 -1
  37. package/dist-es/protocols/Aws_restJson1.js +0 -1
  38. package/dist-es/runtimeConfig.browser.js +1 -2
  39. package/dist-es/runtimeConfig.js +2 -3
  40. package/dist-es/runtimeConfig.native.js +0 -1
  41. package/dist-es/runtimeConfig.shared.js +0 -1
  42. package/package.json +33 -30
  43. package/dist-cjs/MarketplaceCatalog.js.map +0 -1
  44. package/dist-cjs/MarketplaceCatalogClient.js.map +0 -1
  45. package/dist-cjs/commands/CancelChangeSetCommand.js.map +0 -1
  46. package/dist-cjs/commands/DescribeChangeSetCommand.js.map +0 -1
  47. package/dist-cjs/commands/DescribeEntityCommand.js.map +0 -1
  48. package/dist-cjs/commands/ListChangeSetsCommand.js.map +0 -1
  49. package/dist-cjs/commands/ListEntitiesCommand.js.map +0 -1
  50. package/dist-cjs/commands/StartChangeSetCommand.js.map +0 -1
  51. package/dist-cjs/endpoints.js.map +0 -1
  52. package/dist-cjs/index.js.map +0 -1
  53. package/dist-cjs/models/index.js.map +0 -1
  54. package/dist-cjs/models/models_0.js.map +0 -1
  55. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  56. package/dist-cjs/pagination/ListChangeSetsPaginator.js.map +0 -1
  57. package/dist-cjs/pagination/ListEntitiesPaginator.js.map +0 -1
  58. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  59. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  60. package/dist-cjs/runtimeConfig.js.map +0 -1
  61. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  62. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  63. package/dist-es/MarketplaceCatalog.js.map +0 -1
  64. package/dist-es/MarketplaceCatalogClient.js.map +0 -1
  65. package/dist-es/commands/CancelChangeSetCommand.js.map +0 -1
  66. package/dist-es/commands/DescribeChangeSetCommand.js.map +0 -1
  67. package/dist-es/commands/DescribeEntityCommand.js.map +0 -1
  68. package/dist-es/commands/ListChangeSetsCommand.js.map +0 -1
  69. package/dist-es/commands/ListEntitiesCommand.js.map +0 -1
  70. package/dist-es/commands/StartChangeSetCommand.js.map +0 -1
  71. package/dist-es/endpoints.js.map +0 -1
  72. package/dist-es/index.js.map +0 -1
  73. package/dist-es/models/index.js.map +0 -1
  74. package/dist-es/models/models_0.js.map +0 -1
  75. package/dist-es/pagination/Interfaces.js.map +0 -1
  76. package/dist-es/pagination/ListChangeSetsPaginator.js.map +0 -1
  77. package/dist-es/pagination/ListEntitiesPaginator.js.map +0 -1
  78. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  79. package/dist-es/runtimeConfig.browser.js.map +0 -1
  80. package/dist-es/runtimeConfig.js.map +0 -1
  81. package/dist-es/runtimeConfig.native.js.map +0 -1
  82. package/dist-es/runtimeConfig.shared.js.map +0 -1
  83. package/jest.config.js +0 -4
  84. package/src/MarketplaceCatalog.ts +0 -254
  85. package/src/MarketplaceCatalogClient.ts +0 -260
  86. package/src/commands/CancelChangeSetCommand.ts +0 -102
  87. package/src/commands/DescribeChangeSetCommand.ts +0 -99
  88. package/src/commands/DescribeEntityCommand.ts +0 -99
  89. package/src/commands/ListChangeSetsCommand.ts +0 -105
  90. package/src/commands/ListEntitiesCommand.ts +0 -99
  91. package/src/commands/StartChangeSetCommand.ts +0 -111
  92. package/src/endpoints.ts +0 -57
  93. package/src/index.ts +0 -12
  94. package/src/models/index.ts +0 -1
  95. package/src/models/models_0.ts +0 -886
  96. package/src/pagination/Interfaces.ts +0 -8
  97. package/src/pagination/ListChangeSetsPaginator.ts +0 -59
  98. package/src/pagination/ListEntitiesPaginator.ts +0 -59
  99. package/src/protocols/Aws_restJson1.ts +0 -1195
  100. package/src/runtimeConfig.browser.ts +0 -41
  101. package/src/runtimeConfig.native.ts +0 -17
  102. package/src/runtimeConfig.shared.ts +0 -17
  103. package/src/runtimeConfig.ts +0 -46
  104. package/tsconfig.es.json +0 -10
  105. package/tsconfig.json +0 -33
  106. package/tsconfig.types.json +0 -9
@@ -1,260 +0,0 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- resolveEndpointsConfig,
7
- resolveRegionConfig,
8
- } from "@aws-sdk/config-resolver";
9
- import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
10
- import {
11
- getHostHeaderPlugin,
12
- HostHeaderInputConfig,
13
- HostHeaderResolvedConfig,
14
- resolveHostHeaderConfig,
15
- } from "@aws-sdk/middleware-host-header";
16
- import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
17
- import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
18
- import {
19
- AwsAuthInputConfig,
20
- AwsAuthResolvedConfig,
21
- getAwsAuthPlugin,
22
- resolveAwsAuthConfig,
23
- } from "@aws-sdk/middleware-signing";
24
- import {
25
- getUserAgentPlugin,
26
- resolveUserAgentConfig,
27
- UserAgentInputConfig,
28
- UserAgentResolvedConfig,
29
- } from "@aws-sdk/middleware-user-agent";
30
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
31
- import {
32
- Client as __Client,
33
- SmithyConfiguration as __SmithyConfiguration,
34
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
35
- } from "@aws-sdk/smithy-client";
36
- import {
37
- Credentials as __Credentials,
38
- Decoder as __Decoder,
39
- Encoder as __Encoder,
40
- Hash as __Hash,
41
- HashConstructor as __HashConstructor,
42
- HttpHandlerOptions as __HttpHandlerOptions,
43
- Logger as __Logger,
44
- Provider as __Provider,
45
- Provider,
46
- RegionInfoProvider,
47
- StreamCollector as __StreamCollector,
48
- UrlParser as __UrlParser,
49
- UserAgent as __UserAgent,
50
- } from "@aws-sdk/types";
51
-
52
- import { CancelChangeSetCommandInput, CancelChangeSetCommandOutput } from "./commands/CancelChangeSetCommand";
53
- import { DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput } from "./commands/DescribeChangeSetCommand";
54
- import { DescribeEntityCommandInput, DescribeEntityCommandOutput } from "./commands/DescribeEntityCommand";
55
- import { ListChangeSetsCommandInput, ListChangeSetsCommandOutput } from "./commands/ListChangeSetsCommand";
56
- import { ListEntitiesCommandInput, ListEntitiesCommandOutput } from "./commands/ListEntitiesCommand";
57
- import { StartChangeSetCommandInput, StartChangeSetCommandOutput } from "./commands/StartChangeSetCommand";
58
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
59
-
60
- export type ServiceInputTypes =
61
- | CancelChangeSetCommandInput
62
- | DescribeChangeSetCommandInput
63
- | DescribeEntityCommandInput
64
- | ListChangeSetsCommandInput
65
- | ListEntitiesCommandInput
66
- | StartChangeSetCommandInput;
67
-
68
- export type ServiceOutputTypes =
69
- | CancelChangeSetCommandOutput
70
- | DescribeChangeSetCommandOutput
71
- | DescribeEntityCommandOutput
72
- | ListChangeSetsCommandOutput
73
- | ListEntitiesCommandOutput
74
- | StartChangeSetCommandOutput;
75
-
76
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
77
- /**
78
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
79
- */
80
- requestHandler?: __HttpHandler;
81
-
82
- /**
83
- * A constructor for a class implementing the {@link __Hash} interface
84
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
85
- * @internal
86
- */
87
- sha256?: __HashConstructor;
88
-
89
- /**
90
- * The function that will be used to convert strings into HTTP endpoints.
91
- * @internal
92
- */
93
- urlParser?: __UrlParser;
94
-
95
- /**
96
- * A function that can calculate the length of a request body.
97
- * @internal
98
- */
99
- bodyLengthChecker?: (body: any) => number | undefined;
100
-
101
- /**
102
- * A function that converts a stream into an array of bytes.
103
- * @internal
104
- */
105
- streamCollector?: __StreamCollector;
106
-
107
- /**
108
- * The function that will be used to convert a base64-encoded string to a byte array.
109
- * @internal
110
- */
111
- base64Decoder?: __Decoder;
112
-
113
- /**
114
- * The function that will be used to convert binary data to a base64-encoded string.
115
- * @internal
116
- */
117
- base64Encoder?: __Encoder;
118
-
119
- /**
120
- * The function that will be used to convert a UTF8-encoded string to a byte array.
121
- * @internal
122
- */
123
- utf8Decoder?: __Decoder;
124
-
125
- /**
126
- * The function that will be used to convert binary data to a UTF-8 encoded string.
127
- * @internal
128
- */
129
- utf8Encoder?: __Encoder;
130
-
131
- /**
132
- * The runtime environment.
133
- * @internal
134
- */
135
- runtime?: string;
136
-
137
- /**
138
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
139
- * trait of an operation.
140
- */
141
- disableHostPrefix?: boolean;
142
-
143
- /**
144
- * Value for how many times a request will be made at most in case of retry.
145
- */
146
- maxAttempts?: number | __Provider<number>;
147
-
148
- /**
149
- * Specifies which retry algorithm to use.
150
- */
151
- retryMode?: string | __Provider<string>;
152
-
153
- /**
154
- * Optional logger for logging debug/info/warn/error.
155
- */
156
- logger?: __Logger;
157
-
158
- /**
159
- * Unique service identifier.
160
- * @internal
161
- */
162
- serviceId?: string;
163
-
164
- /**
165
- * The AWS region to which this client will send requests
166
- */
167
- region?: string | __Provider<string>;
168
-
169
- /**
170
- * Default credentials provider; Not available in browser runtime.
171
- * @internal
172
- */
173
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
174
-
175
- /**
176
- * Fetch related hostname, signing name or signing region with given region.
177
- * @internal
178
- */
179
- regionInfoProvider?: RegionInfoProvider;
180
-
181
- /**
182
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
183
- * @internal
184
- */
185
- defaultUserAgentProvider?: Provider<__UserAgent>;
186
- }
187
-
188
- type MarketplaceCatalogClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
189
- ClientDefaults &
190
- RegionInputConfig &
191
- EndpointsInputConfig &
192
- RetryInputConfig &
193
- HostHeaderInputConfig &
194
- AwsAuthInputConfig &
195
- UserAgentInputConfig;
196
- /**
197
- * The configuration interface of MarketplaceCatalogClient class constructor that set the region, credentials and other options.
198
- */
199
- export interface MarketplaceCatalogClientConfig extends MarketplaceCatalogClientConfigType {}
200
-
201
- type MarketplaceCatalogClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
202
- Required<ClientDefaults> &
203
- RegionResolvedConfig &
204
- EndpointsResolvedConfig &
205
- RetryResolvedConfig &
206
- HostHeaderResolvedConfig &
207
- AwsAuthResolvedConfig &
208
- UserAgentResolvedConfig;
209
- /**
210
- * The resolved configuration interface of MarketplaceCatalogClient class. This is resolved and normalized from the {@link MarketplaceCatalogClientConfig | constructor configuration interface}.
211
- */
212
- export interface MarketplaceCatalogClientResolvedConfig extends MarketplaceCatalogClientResolvedConfigType {}
213
-
214
- /**
215
- * <p>Catalog API actions allow you to manage your entities through list, describe, and update
216
- * capabilities. An entity can be a product or an offer on AWS Marketplace. </p>
217
- *
218
- * <p>You can automate your entity update process by integrating the AWS Marketplace Catalog
219
- * API with your AWS Marketplace product build or deployment pipelines. You can also create
220
- * your own applications on top of the Catalog API to manage your products on AWS
221
- * Marketplace.</p>
222
- */
223
- export class MarketplaceCatalogClient extends __Client<
224
- __HttpHandlerOptions,
225
- ServiceInputTypes,
226
- ServiceOutputTypes,
227
- MarketplaceCatalogClientResolvedConfig
228
- > {
229
- /**
230
- * The resolved configuration of MarketplaceCatalogClient class. This is resolved and normalized from the {@link MarketplaceCatalogClientConfig | constructor configuration interface}.
231
- */
232
- readonly config: MarketplaceCatalogClientResolvedConfig;
233
-
234
- constructor(configuration: MarketplaceCatalogClientConfig) {
235
- const _config_0 = __getRuntimeConfig(configuration);
236
- const _config_1 = resolveRegionConfig(_config_0);
237
- const _config_2 = resolveEndpointsConfig(_config_1);
238
- const _config_3 = resolveRetryConfig(_config_2);
239
- const _config_4 = resolveHostHeaderConfig(_config_3);
240
- const _config_5 = resolveAwsAuthConfig(_config_4);
241
- const _config_6 = resolveUserAgentConfig(_config_5);
242
- super(_config_6);
243
- this.config = _config_6;
244
- this.middlewareStack.use(getRetryPlugin(this.config));
245
- this.middlewareStack.use(getContentLengthPlugin(this.config));
246
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
247
- this.middlewareStack.use(getLoggerPlugin(this.config));
248
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
249
- this.middlewareStack.use(getUserAgentPlugin(this.config));
250
- }
251
-
252
- /**
253
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
254
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
255
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
256
- */
257
- destroy(): void {
258
- super.destroy();
259
- }
260
- }
@@ -1,102 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- MarketplaceCatalogClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../MarketplaceCatalogClient";
19
- import { CancelChangeSetRequest, CancelChangeSetResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_restJson1CancelChangeSetCommand,
22
- serializeAws_restJson1CancelChangeSetCommand,
23
- } from "../protocols/Aws_restJson1";
24
-
25
- export interface CancelChangeSetCommandInput extends CancelChangeSetRequest {}
26
- export interface CancelChangeSetCommandOutput extends CancelChangeSetResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Used to cancel an open change request. Must be sent before the status of the request
30
- * changes to <code>APPLYING</code>, the final stage of completing your change request. You
31
- * can describe a change during the 60-day request history retention period for API
32
- * calls.</p>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { MarketplaceCatalogClient, CancelChangeSetCommand } from "@aws-sdk/client-marketplace-catalog"; // ES Modules import
37
- * // const { MarketplaceCatalogClient, CancelChangeSetCommand } = require("@aws-sdk/client-marketplace-catalog"); // CommonJS import
38
- * const client = new MarketplaceCatalogClient(config);
39
- * const command = new CancelChangeSetCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link CancelChangeSetCommandInput} for command's `input` shape.
44
- * @see {@link CancelChangeSetCommandOutput} for command's `response` shape.
45
- * @see {@link MarketplaceCatalogClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
- export class CancelChangeSetCommand extends $Command<
49
- CancelChangeSetCommandInput,
50
- CancelChangeSetCommandOutput,
51
- MarketplaceCatalogClientResolvedConfig
52
- > {
53
- // Start section: command_properties
54
- // End section: command_properties
55
-
56
- constructor(readonly input: CancelChangeSetCommandInput) {
57
- // Start section: command_constructor
58
- super();
59
- // End section: command_constructor
60
- }
61
-
62
- /**
63
- * @internal
64
- */
65
- resolveMiddleware(
66
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
67
- configuration: MarketplaceCatalogClientResolvedConfig,
68
- options?: __HttpHandlerOptions
69
- ): Handler<CancelChangeSetCommandInput, CancelChangeSetCommandOutput> {
70
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
71
-
72
- const stack = clientStack.concat(this.middlewareStack);
73
-
74
- const { logger } = configuration;
75
- const clientName = "MarketplaceCatalogClient";
76
- const commandName = "CancelChangeSetCommand";
77
- const handlerExecutionContext: HandlerExecutionContext = {
78
- logger,
79
- clientName,
80
- commandName,
81
- inputFilterSensitiveLog: CancelChangeSetRequest.filterSensitiveLog,
82
- outputFilterSensitiveLog: CancelChangeSetResponse.filterSensitiveLog,
83
- };
84
- const { requestHandler } = configuration;
85
- return stack.resolve(
86
- (request: FinalizeHandlerArguments<any>) =>
87
- requestHandler.handle(request.request as __HttpRequest, options || {}),
88
- handlerExecutionContext
89
- );
90
- }
91
-
92
- private serialize(input: CancelChangeSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
93
- return serializeAws_restJson1CancelChangeSetCommand(input, context);
94
- }
95
-
96
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelChangeSetCommandOutput> {
97
- return deserializeAws_restJson1CancelChangeSetCommand(output, context);
98
- }
99
-
100
- // Start section: command_body_extra
101
- // End section: command_body_extra
102
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- MarketplaceCatalogClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../MarketplaceCatalogClient";
19
- import { DescribeChangeSetRequest, DescribeChangeSetResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_restJson1DescribeChangeSetCommand,
22
- serializeAws_restJson1DescribeChangeSetCommand,
23
- } from "../protocols/Aws_restJson1";
24
-
25
- export interface DescribeChangeSetCommandInput extends DescribeChangeSetRequest {}
26
- export interface DescribeChangeSetCommandOutput extends DescribeChangeSetResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Provides information about a given change set.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { MarketplaceCatalogClient, DescribeChangeSetCommand } from "@aws-sdk/client-marketplace-catalog"; // ES Modules import
34
- * // const { MarketplaceCatalogClient, DescribeChangeSetCommand } = require("@aws-sdk/client-marketplace-catalog"); // CommonJS import
35
- * const client = new MarketplaceCatalogClient(config);
36
- * const command = new DescribeChangeSetCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeChangeSetCommandInput} for command's `input` shape.
41
- * @see {@link DescribeChangeSetCommandOutput} for command's `response` shape.
42
- * @see {@link MarketplaceCatalogClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeChangeSetCommand extends $Command<
46
- DescribeChangeSetCommandInput,
47
- DescribeChangeSetCommandOutput,
48
- MarketplaceCatalogClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeChangeSetCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: MarketplaceCatalogClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeChangeSetCommandInput, DescribeChangeSetCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "MarketplaceCatalogClient";
73
- const commandName = "DescribeChangeSetCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeChangeSetRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeChangeSetResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeChangeSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1DescribeChangeSetCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeChangeSetCommandOutput> {
94
- return deserializeAws_restJson1DescribeChangeSetCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,99 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- MarketplaceCatalogClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../MarketplaceCatalogClient";
19
- import { DescribeEntityRequest, DescribeEntityResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_restJson1DescribeEntityCommand,
22
- serializeAws_restJson1DescribeEntityCommand,
23
- } from "../protocols/Aws_restJson1";
24
-
25
- export interface DescribeEntityCommandInput extends DescribeEntityRequest {}
26
- export interface DescribeEntityCommandOutput extends DescribeEntityResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns the metadata and content of the entity.</p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { MarketplaceCatalogClient, DescribeEntityCommand } from "@aws-sdk/client-marketplace-catalog"; // ES Modules import
34
- * // const { MarketplaceCatalogClient, DescribeEntityCommand } = require("@aws-sdk/client-marketplace-catalog"); // CommonJS import
35
- * const client = new MarketplaceCatalogClient(config);
36
- * const command = new DescribeEntityCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link DescribeEntityCommandInput} for command's `input` shape.
41
- * @see {@link DescribeEntityCommandOutput} for command's `response` shape.
42
- * @see {@link MarketplaceCatalogClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class DescribeEntityCommand extends $Command<
46
- DescribeEntityCommandInput,
47
- DescribeEntityCommandOutput,
48
- MarketplaceCatalogClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: DescribeEntityCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: MarketplaceCatalogClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<DescribeEntityCommandInput, DescribeEntityCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "MarketplaceCatalogClient";
73
- const commandName = "DescribeEntityCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: DescribeEntityRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: DescribeEntityResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: DescribeEntityCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_restJson1DescribeEntityCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEntityCommandOutput> {
94
- return deserializeAws_restJson1DescribeEntityCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,105 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import {
15
- MarketplaceCatalogClientResolvedConfig,
16
- ServiceInputTypes,
17
- ServiceOutputTypes,
18
- } from "../MarketplaceCatalogClient";
19
- import { ListChangeSetsRequest, ListChangeSetsResponse } from "../models/models_0";
20
- import {
21
- deserializeAws_restJson1ListChangeSetsCommand,
22
- serializeAws_restJson1ListChangeSetsCommand,
23
- } from "../protocols/Aws_restJson1";
24
-
25
- export interface ListChangeSetsCommandInput extends ListChangeSetsRequest {}
26
- export interface ListChangeSetsCommandOutput extends ListChangeSetsResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns the list of change sets owned by the account being used to make the call. You
30
- * can filter this list by providing any combination of <code>entityId</code>,
31
- * <code>ChangeSetName</code>, and status. If you provide more than one filter, the API
32
- * operation applies a logical AND between the filters.</p>
33
- *
34
- * <p>You can describe a change during the 60-day request history retention period for API
35
- * calls.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { MarketplaceCatalogClient, ListChangeSetsCommand } from "@aws-sdk/client-marketplace-catalog"; // ES Modules import
40
- * // const { MarketplaceCatalogClient, ListChangeSetsCommand } = require("@aws-sdk/client-marketplace-catalog"); // CommonJS import
41
- * const client = new MarketplaceCatalogClient(config);
42
- * const command = new ListChangeSetsCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link ListChangeSetsCommandInput} for command's `input` shape.
47
- * @see {@link ListChangeSetsCommandOutput} for command's `response` shape.
48
- * @see {@link MarketplaceCatalogClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class ListChangeSetsCommand extends $Command<
52
- ListChangeSetsCommandInput,
53
- ListChangeSetsCommandOutput,
54
- MarketplaceCatalogClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: ListChangeSetsCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: MarketplaceCatalogClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<ListChangeSetsCommandInput, ListChangeSetsCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "MarketplaceCatalogClient";
79
- const commandName = "ListChangeSetsCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: ListChangeSetsRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: ListChangeSetsResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: ListChangeSetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_restJson1ListChangeSetsCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListChangeSetsCommandOutput> {
100
- return deserializeAws_restJson1ListChangeSetsCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }