@aws-sdk/client-service-catalog 3.303.0 → 3.306.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.
- package/README.md +24 -0
- package/dist-cjs/ServiceCatalog.js +45 -0
- package/dist-cjs/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_json1_1.js +215 -3
- package/dist-es/ServiceCatalog.js +45 -0
- package/dist-es/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +206 -0
- package/dist-types/ServiceCatalog.d.ts +33 -0
- package/dist-types/ServiceCatalogClient.d.ts +5 -2
- package/dist-types/commands/AssociateServiceActionWithProvisioningArtifactCommand.d.ts +3 -0
- package/dist-types/commands/CreateProductCommand.d.ts +2 -2
- package/dist-types/commands/CreateProvisioningArtifactCommand.d.ts +1 -1
- package/dist-types/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +89 -0
- package/dist-types/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +76 -0
- package/dist-types/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +232 -294
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/ServiceCatalog.d.ts +69 -0
- package/dist-types/ts3.4/ServiceCatalogClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +29 -29
|
@@ -0,0 +1,89 @@
|
|
|
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 { NotifyProvisionProductEngineWorkflowResultInput, NotifyProvisionProductEngineWorkflowResultOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link NotifyProvisionProductEngineWorkflowResultCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface NotifyProvisionProductEngineWorkflowResultCommandInput extends NotifyProvisionProductEngineWorkflowResultInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link NotifyProvisionProductEngineWorkflowResultCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface NotifyProvisionProductEngineWorkflowResultCommandOutput extends NotifyProvisionProductEngineWorkflowResultOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>
|
|
23
|
+
* Notifies the result
|
|
24
|
+
* of the provisioning engine execution.
|
|
25
|
+
* </p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ServiceCatalogClient, NotifyProvisionProductEngineWorkflowResultCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
|
|
30
|
+
* // const { ServiceCatalogClient, NotifyProvisionProductEngineWorkflowResultCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
|
|
31
|
+
* const client = new ServiceCatalogClient(config);
|
|
32
|
+
* const input = { // NotifyProvisionProductEngineWorkflowResultInput
|
|
33
|
+
* WorkflowToken: "STRING_VALUE", // required
|
|
34
|
+
* RecordId: "STRING_VALUE", // required
|
|
35
|
+
* Status: "SUCCEEDED" || "FAILED", // required
|
|
36
|
+
* FailureReason: "STRING_VALUE",
|
|
37
|
+
* ResourceIdentifier: { // EngineWorkflowResourceIdentifier
|
|
38
|
+
* UniqueTag: { // UniqueTagResourceIdentifier
|
|
39
|
+
* Key: "STRING_VALUE",
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* Outputs: [ // RecordOutputs
|
|
44
|
+
* { // RecordOutput
|
|
45
|
+
* OutputKey: "STRING_VALUE",
|
|
46
|
+
* OutputValue: "STRING_VALUE",
|
|
47
|
+
* Description: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* IdempotencyToken: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
52
|
+
* const command = new NotifyProvisionProductEngineWorkflowResultCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param NotifyProvisionProductEngineWorkflowResultCommandInput - {@link NotifyProvisionProductEngineWorkflowResultCommandInput}
|
|
57
|
+
* @returns {@link NotifyProvisionProductEngineWorkflowResultCommandOutput}
|
|
58
|
+
* @see {@link NotifyProvisionProductEngineWorkflowResultCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link NotifyProvisionProductEngineWorkflowResultCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
63
|
+
* <p>One or more parameters provided to the operation are not valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource was not found.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export declare class NotifyProvisionProductEngineWorkflowResultCommand extends $Command<NotifyProvisionProductEngineWorkflowResultCommandInput, NotifyProvisionProductEngineWorkflowResultCommandOutput, ServiceCatalogClientResolvedConfig> {
|
|
71
|
+
readonly input: NotifyProvisionProductEngineWorkflowResultCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
constructor(input: NotifyProvisionProductEngineWorkflowResultCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyProvisionProductEngineWorkflowResultCommandInput, NotifyProvisionProductEngineWorkflowResultCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
private deserialize;
|
|
89
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { NotifyTerminateProvisionedProductEngineWorkflowResultInput, NotifyTerminateProvisionedProductEngineWorkflowResultOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput extends NotifyTerminateProvisionedProductEngineWorkflowResultInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput extends NotifyTerminateProvisionedProductEngineWorkflowResultOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>
|
|
23
|
+
* Notifies the result
|
|
24
|
+
* of the terminate engine execution.
|
|
25
|
+
* </p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ServiceCatalogClient, NotifyTerminateProvisionedProductEngineWorkflowResultCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
|
|
30
|
+
* // const { ServiceCatalogClient, NotifyTerminateProvisionedProductEngineWorkflowResultCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
|
|
31
|
+
* const client = new ServiceCatalogClient(config);
|
|
32
|
+
* const input = { // NotifyTerminateProvisionedProductEngineWorkflowResultInput
|
|
33
|
+
* WorkflowToken: "STRING_VALUE", // required
|
|
34
|
+
* RecordId: "STRING_VALUE", // required
|
|
35
|
+
* Status: "SUCCEEDED" || "FAILED", // required
|
|
36
|
+
* FailureReason: "STRING_VALUE",
|
|
37
|
+
* IdempotencyToken: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new NotifyTerminateProvisionedProductEngineWorkflowResultCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput - {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput}
|
|
44
|
+
* @returns {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput}
|
|
45
|
+
* @see {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
50
|
+
* <p>One or more parameters provided to the operation are not valid.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
53
|
+
* <p>The specified resource was not found.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
export declare class NotifyTerminateProvisionedProductEngineWorkflowResultCommand extends $Command<NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput, ServiceCatalogClientResolvedConfig> {
|
|
58
|
+
readonly input: NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput;
|
|
59
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
constructor(input: NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private serialize;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private deserialize;
|
|
76
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { NotifyUpdateProvisionedProductEngineWorkflowResultInput, NotifyUpdateProvisionedProductEngineWorkflowResultOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceCatalogClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ServiceCatalogClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput extends NotifyUpdateProvisionedProductEngineWorkflowResultInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput extends NotifyUpdateProvisionedProductEngineWorkflowResultOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>
|
|
23
|
+
* Notifies the result
|
|
24
|
+
* of the update engine execution.
|
|
25
|
+
* </p>
|
|
26
|
+
* @example
|
|
27
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
+
* ```javascript
|
|
29
|
+
* import { ServiceCatalogClient, NotifyUpdateProvisionedProductEngineWorkflowResultCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
|
|
30
|
+
* // const { ServiceCatalogClient, NotifyUpdateProvisionedProductEngineWorkflowResultCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
|
|
31
|
+
* const client = new ServiceCatalogClient(config);
|
|
32
|
+
* const input = { // NotifyUpdateProvisionedProductEngineWorkflowResultInput
|
|
33
|
+
* WorkflowToken: "STRING_VALUE", // required
|
|
34
|
+
* RecordId: "STRING_VALUE", // required
|
|
35
|
+
* Status: "SUCCEEDED" || "FAILED", // required
|
|
36
|
+
* FailureReason: "STRING_VALUE",
|
|
37
|
+
* Outputs: [ // RecordOutputs
|
|
38
|
+
* { // RecordOutput
|
|
39
|
+
* OutputKey: "STRING_VALUE",
|
|
40
|
+
* OutputValue: "STRING_VALUE",
|
|
41
|
+
* Description: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* IdempotencyToken: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new NotifyUpdateProvisionedProductEngineWorkflowResultCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput - {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput}
|
|
51
|
+
* @returns {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput}
|
|
52
|
+
* @see {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link ServiceCatalogClientResolvedConfig | config} for ServiceCatalogClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InvalidParametersException} (client fault)
|
|
57
|
+
* <p>One or more parameters provided to the operation are not valid.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified resource was not found.</p>
|
|
61
|
+
*
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class NotifyUpdateProvisionedProductEngineWorkflowResultCommand extends $Command<NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput, ServiceCatalogClientResolvedConfig> {
|
|
65
|
+
readonly input: NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput;
|
|
66
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ServiceCatalogClientResolvedConfig, options?: __HttpHandlerOptions): Handler<NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -69,6 +69,9 @@ export * from "./ListServiceActionsCommand";
|
|
|
69
69
|
export * from "./ListServiceActionsForProvisioningArtifactCommand";
|
|
70
70
|
export * from "./ListStackInstancesForProvisionedProductCommand";
|
|
71
71
|
export * from "./ListTagOptionsCommand";
|
|
72
|
+
export * from "./NotifyProvisionProductEngineWorkflowResultCommand";
|
|
73
|
+
export * from "./NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
|
|
74
|
+
export * from "./NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
|
|
72
75
|
export * from "./ProvisionProductCommand";
|
|
73
76
|
export * from "./RejectPortfolioShareCommand";
|
|
74
77
|
export * from "./ScanProvisionedProductsCommand";
|