@aws-sdk/client-service-catalog 3.386.0 → 3.388.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.
@@ -15,8 +15,8 @@ Object.defineProperty(exports, "__Client", { enumerable: true, get: function ()
15
15
  const EndpointParameters_1 = require("./endpoint/EndpointParameters");
16
16
  const runtimeConfig_1 = require("./runtimeConfig");
17
17
  class ServiceCatalogClient extends smithy_client_1.Client {
18
- constructor(configuration) {
19
- const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
18
+ constructor(...[configuration]) {
19
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
20
20
  const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
21
21
  const _config_2 = (0, config_resolver_1.resolveRegionConfig)(_config_1);
22
22
  const _config_3 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_2);
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const q = "required", r = "fn", s = "argv", t = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -146,12 +146,14 @@ exports.OperationNotSupportedException = OperationNotSupportedException;
146
146
  exports.ProductType = {
147
147
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
148
148
  MARKETPLACE: "MARKETPLACE",
149
+ TERRAFORM_CLOUD: "TERRAFORM_CLOUD",
149
150
  TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
150
151
  };
151
152
  exports.ProvisioningArtifactType = {
152
153
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
153
154
  MARKETPLACE_AMI: "MARKETPLACE_AMI",
154
155
  MARKETPLACE_CAR: "MARKETPLACE_CAR",
156
+ TERRAFORM_CLOUD: "TERRAFORM_CLOUD",
155
157
  TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
156
158
  };
157
159
  exports.SourceType = {
@@ -12,8 +12,8 @@ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"
12
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
13
  export { __Client };
14
14
  export class ServiceCatalogClient extends __Client {
15
- constructor(configuration) {
16
- const _config_0 = __getRuntimeConfig(configuration);
15
+ constructor(...[configuration]) {
16
+ const _config_0 = __getRuntimeConfig(configuration || {});
17
17
  const _config_1 = resolveClientEndpointParameters(_config_0);
18
18
  const _config_2 = resolveRegionConfig(_config_1);
19
19
  const _config_3 = resolveEndpointConfig(_config_2);
@@ -1,4 +1,4 @@
1
1
  const q = "required", r = "fn", s = "argv", t = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://servicecatalog-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://servicecatalog.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -136,12 +136,14 @@ export class OperationNotSupportedException extends __BaseException {
136
136
  export const ProductType = {
137
137
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
138
138
  MARKETPLACE: "MARKETPLACE",
139
+ TERRAFORM_CLOUD: "TERRAFORM_CLOUD",
139
140
  TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
140
141
  };
141
142
  export const ProvisioningArtifactType = {
142
143
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
143
144
  MARKETPLACE_AMI: "MARKETPLACE_AMI",
144
145
  MARKETPLACE_CAR: "MARKETPLACE_CAR",
146
+ TERRAFORM_CLOUD: "TERRAFORM_CLOUD",
145
147
  TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
146
148
  };
147
149
  export const SourceType = {
@@ -7,7 +7,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
7
7
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
8
8
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
9
9
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
10
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, 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 "@smithy/types";
10
+ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, 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 "@smithy/types";
11
11
  import { AcceptPortfolioShareCommandInput, AcceptPortfolioShareCommandOutput } from "./commands/AcceptPortfolioShareCommand";
12
12
  import { AssociateBudgetWithResourceCommandInput, AssociateBudgetWithResourceCommandOutput } from "./commands/AssociateBudgetWithResourceCommand";
13
13
  import { AssociatePrincipalWithPortfolioCommandInput, AssociatePrincipalWithPortfolioCommandOutput } from "./commands/AssociatePrincipalWithPortfolioCommand";
@@ -248,7 +248,7 @@ export declare class ServiceCatalogClient extends __Client<__HttpHandlerOptions,
248
248
  * The resolved configuration of ServiceCatalogClient class. This is resolved and normalized from the {@link ServiceCatalogClientConfig | constructor configuration interface}.
249
249
  */
250
250
  readonly config: ServiceCatalogClientResolvedConfig;
251
- constructor(configuration: ServiceCatalogClientConfig);
251
+ constructor(...[configuration]: __CheckOptionalClientConfig<ServiceCatalogClientConfig>);
252
252
  /**
253
253
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
254
254
  * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
@@ -44,7 +44,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
44
44
  * SupportDescription: "STRING_VALUE",
45
45
  * SupportEmail: "STRING_VALUE",
46
46
  * SupportUrl: "STRING_VALUE",
47
- * ProductType: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE", // required
47
+ * ProductType: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD", // required
48
48
  * Tags: [ // AddTags
49
49
  * { // Tag
50
50
  * Key: "STRING_VALUE", // required
@@ -57,7 +57,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
57
57
  * Info: { // ProvisioningArtifactInfo
58
58
  * "<keys>": "STRING_VALUE",
59
59
  * },
60
- * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
60
+ * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
61
61
  * DisableTemplateValidation: true || false,
62
62
  * },
63
63
  * IdempotencyToken: "STRING_VALUE", // required
@@ -83,7 +83,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
83
83
  * // Name: "STRING_VALUE",
84
84
  * // Owner: "STRING_VALUE",
85
85
  * // ShortDescription: "STRING_VALUE",
86
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
86
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
87
87
  * // Distributor: "STRING_VALUE",
88
88
  * // HasDefaultPath: true || false,
89
89
  * // SupportEmail: "STRING_VALUE",
@@ -116,7 +116,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
116
116
  * // Id: "STRING_VALUE",
117
117
  * // Name: "STRING_VALUE",
118
118
  * // Description: "STRING_VALUE",
119
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
119
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
120
120
  * // CreatedTime: new Date("TIMESTAMP"),
121
121
  * // Active: true || false,
122
122
  * // Guidance: "DEFAULT" || "DEPRECATED",
@@ -43,7 +43,7 @@ export interface CreateProvisioningArtifactCommandOutput extends CreateProvision
43
43
  * Info: { // ProvisioningArtifactInfo
44
44
  * "<keys>": "STRING_VALUE",
45
45
  * },
46
- * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
46
+ * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
47
47
  * DisableTemplateValidation: true || false,
48
48
  * },
49
49
  * IdempotencyToken: "STRING_VALUE", // required
@@ -55,7 +55,7 @@ export interface CreateProvisioningArtifactCommandOutput extends CreateProvision
55
55
  * // Id: "STRING_VALUE",
56
56
  * // Name: "STRING_VALUE",
57
57
  * // Description: "STRING_VALUE",
58
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
58
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
59
59
  * // CreatedTime: new Date("TIMESTAMP"),
60
60
  * // Active: true || false,
61
61
  * // Guidance: "DEFAULT" || "DEPRECATED",
@@ -46,7 +46,7 @@ export interface DescribeProductAsAdminCommandOutput extends DescribeProductAsAd
46
46
  * // Name: "STRING_VALUE",
47
47
  * // Owner: "STRING_VALUE",
48
48
  * // ShortDescription: "STRING_VALUE",
49
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
49
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
50
50
  * // Distributor: "STRING_VALUE",
51
51
  * // HasDefaultPath: true || false,
52
52
  * // SupportEmail: "STRING_VALUE",
@@ -53,7 +53,7 @@ export interface DescribeProductCommandOutput extends DescribeProductOutput, __M
53
53
  * // Name: "STRING_VALUE",
54
54
  * // Owner: "STRING_VALUE",
55
55
  * // ShortDescription: "STRING_VALUE",
56
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
56
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
57
57
  * // Distributor: "STRING_VALUE",
58
58
  * // HasDefaultPath: true || false,
59
59
  * // SupportEmail: "STRING_VALUE",
@@ -43,7 +43,7 @@ export interface DescribeProductViewCommandOutput extends DescribeProductViewOut
43
43
  * // Name: "STRING_VALUE",
44
44
  * // Owner: "STRING_VALUE",
45
45
  * // ShortDescription: "STRING_VALUE",
46
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
46
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
47
47
  * // Distributor: "STRING_VALUE",
48
48
  * // HasDefaultPath: true || false,
49
49
  * // SupportEmail: "STRING_VALUE",
@@ -46,7 +46,7 @@ export interface DescribeProvisioningArtifactCommandOutput extends DescribeProvi
46
46
  * // Id: "STRING_VALUE",
47
47
  * // Name: "STRING_VALUE",
48
48
  * // Description: "STRING_VALUE",
49
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
49
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
50
50
  * // CreatedTime: new Date("TIMESTAMP"),
51
51
  * // Active: true || false,
52
52
  * // Guidance: "DEFAULT" || "DEPRECATED",
@@ -24,47 +24,39 @@ export interface ImportAsProvisionedProductCommandOutput extends ImportAsProvisi
24
24
  /**
25
25
  * @public
26
26
  * <p>
27
- * Requests the import
28
- * of a resource
29
- * as an Service Catalog provisioned product
30
- * that is associated
31
- * to an Service Catalog product and provisioning artifact.
32
- * Once imported,
33
- * all supported governance actions are supported
34
- * on the provisioned product.
27
+ * Requests the import of a resource as an Service Catalog provisioned product
28
+ * that is associated to an Service Catalog product and provisioning artifact.
29
+ * Once imported, all supported governance actions are supported on the provisioned product.
35
30
  * </p>
36
31
  * <p>
37
- * Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets, and non-root nested stacks are not supported.
32
+ * Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets,
33
+ * and non-root nested stacks, are not supported.
38
34
  * </p>
39
35
  * <p>
40
36
  * The CloudFormation stack must have one
41
37
  * of the following statuses
42
- * to be imported: <code>CREATE_COMPLETE</code>, <code>UPDATE_COMPLETE</code>, <code>UPDATE_ROLLBACK_COMPLETE</code>, <code>IMPORT_COMPLETE</code>, and <code>IMPORT_ROLLBACK_COMPLETE</code>.
38
+ * to be imported: <code>CREATE_COMPLETE</code>, <code>UPDATE_COMPLETE</code>,
39
+ * <code>UPDATE_ROLLBACK_COMPLETE</code>, <code>IMPORT_COMPLETE</code>, and
40
+ * <code>IMPORT_ROLLBACK_COMPLETE</code>.
43
41
  * </p>
44
42
  * <p>
45
- * Import
46
- * of the resource requires
47
- * that the CloudFormation stack template matches the associated Service Catalog product provisioning artifact.
43
+ * Import of the resource requires that the CloudFormation stack template matches
44
+ * the associated Service Catalog product provisioning artifact.
48
45
  * </p>
49
46
  * <note>
50
47
  * <p>
51
48
  * When you import an existing CloudFormation stack
52
- * into a portfolio,
53
- * constraints
54
- * that are associated
55
- * with the product
56
- * aren't applied
57
- * during the import process.
58
- * The constraints are applied
59
- * after you call <code>UpdateProvisionedProduct</code>
60
- * for the provisioned product.
49
+ * into a portfolio, Service Catalog does not apply the product's associated constraints
50
+ * during the import process. Service Catalog applies the constraints
51
+ * after you call <code>UpdateProvisionedProduct</code> for the provisioned product.
61
52
  * </p>
62
53
  * </note>
63
54
  * <p>
64
- * The user or role
65
- * that performs this operation
66
- * must have the <code>cloudformation:GetTemplate</code> and <code>cloudformation:DescribeStacks</code> IAM policy permissions.
55
+ * The user or role that performs this operation must have the <code>cloudformation:GetTemplate</code>
56
+ * and <code>cloudformation:DescribeStacks</code> IAM policy permissions.
67
57
  * </p>
58
+ * <p>You can only import one provisioned product at a time. The product's CloudFormation stack must have the
59
+ * <code>IMPORT_COMPLETE</code> status before you import another. </p>
68
60
  * @example
69
61
  * Use a bare-bones client and the command you need to make an API call.
70
62
  * ```javascript
@@ -42,7 +42,7 @@ export interface ListProvisioningArtifactsCommandOutput extends ListProvisioning
42
42
  * // Id: "STRING_VALUE",
43
43
  * // Name: "STRING_VALUE",
44
44
  * // Description: "STRING_VALUE",
45
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
45
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
46
46
  * // CreatedTime: new Date("TIMESTAMP"),
47
47
  * // Active: true || false,
48
48
  * // Guidance: "DEFAULT" || "DEPRECATED",
@@ -47,7 +47,7 @@ export interface ListProvisioningArtifactsForServiceActionCommandOutput extends
47
47
  * // Name: "STRING_VALUE",
48
48
  * // Owner: "STRING_VALUE",
49
49
  * // ShortDescription: "STRING_VALUE",
50
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
50
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
51
51
  * // Distributor: "STRING_VALUE",
52
52
  * // HasDefaultPath: true || false,
53
53
  * // SupportEmail: "STRING_VALUE",
@@ -55,7 +55,7 @@ export interface SearchProductsAsAdminCommandOutput extends SearchProductsAsAdmi
55
55
  * // Name: "STRING_VALUE",
56
56
  * // Owner: "STRING_VALUE",
57
57
  * // ShortDescription: "STRING_VALUE",
58
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
58
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
59
59
  * // Distributor: "STRING_VALUE",
60
60
  * // HasDefaultPath: true || false,
61
61
  * // SupportEmail: "STRING_VALUE",
@@ -52,7 +52,7 @@ export interface SearchProductsCommandOutput extends SearchProductsOutput, __Met
52
52
  * // Name: "STRING_VALUE",
53
53
  * // Owner: "STRING_VALUE",
54
54
  * // ShortDescription: "STRING_VALUE",
55
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
55
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
56
56
  * // Distributor: "STRING_VALUE",
57
57
  * // HasDefaultPath: true || false,
58
58
  * // SupportEmail: "STRING_VALUE",
@@ -25,7 +25,8 @@ export interface UpdatePortfolioShareCommandOutput extends UpdatePortfolioShareO
25
25
  * @public
26
26
  * <p>Updates the specified portfolio share. You can use this API to enable or disable <code>TagOptions</code> sharing
27
27
  * or Principal sharing for an existing portfolio share. </p>
28
- * <p>The portfolio share cannot be updated if the <code>CreatePortfolioShare</code> operation is <code>IN_PROGRESS</code>, as the share is not available to recipient entities. In this case, you must wait for the portfolio share to be COMPLETED.</p>
28
+ * <p>The portfolio share cannot be updated if the <code>CreatePortfolioShare</code> operation is <code>IN_PROGRESS</code>, as the share is not available to recipient entities.
29
+ * In this case, you must wait for the portfolio share to be completed.</p>
29
30
  * <p>You must provide the <code>accountId</code> or organization node in the input, but not both.</p>
30
31
  * <p>If the portfolio is shared to both an external account and an organization node, and both shares need to be updated, you must invoke <code>UpdatePortfolioShare</code> separately for each share type. </p>
31
32
  * <p>This API cannot be used for removing the portfolio share. You must use <code>DeletePortfolioShare</code> API for that action. </p>
@@ -71,7 +71,7 @@ export interface UpdateProductCommandOutput extends UpdateProductOutput, __Metad
71
71
  * // Name: "STRING_VALUE",
72
72
  * // Owner: "STRING_VALUE",
73
73
  * // ShortDescription: "STRING_VALUE",
74
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE",
74
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
75
75
  * // Distributor: "STRING_VALUE",
76
76
  * // HasDefaultPath: true || false,
77
77
  * // SupportEmail: "STRING_VALUE",
@@ -47,7 +47,7 @@ export interface UpdateProvisioningArtifactCommandOutput extends UpdateProvision
47
47
  * // Id: "STRING_VALUE",
48
48
  * // Name: "STRING_VALUE",
49
49
  * // Description: "STRING_VALUE",
50
- * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE",
50
+ * // Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "TERRAFORM_OPEN_SOURCE" || "TERRAFORM_CLOUD",
51
51
  * // CreatedTime: new Date("TIMESTAMP"),
52
52
  * // Active: true || false,
53
53
  * // Guidance: "DEFAULT" || "DEPRECATED",
@@ -144,7 +144,7 @@ export interface AccessLevelFilter {
144
144
  Key?: AccessLevelFilterKey | string;
145
145
  /**
146
146
  * @public
147
- * <p>The user to which the access level applies. The only supported value is <code>Self</code>.</p>
147
+ * <p>The user to which the access level applies. The only supported value is <code>self</code>.</p>
148
148
  */
149
149
  Value?: string;
150
150
  }
@@ -1098,6 +1098,7 @@ export declare class OperationNotSupportedException extends __BaseException {
1098
1098
  export declare const ProductType: {
1099
1099
  readonly CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE";
1100
1100
  readonly MARKETPLACE: "MARKETPLACE";
1101
+ readonly TERRAFORM_CLOUD: "TERRAFORM_CLOUD";
1101
1102
  readonly TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE";
1102
1103
  };
1103
1104
  /**
@@ -1112,6 +1113,7 @@ export declare const ProvisioningArtifactType: {
1112
1113
  readonly CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE";
1113
1114
  readonly MARKETPLACE_AMI: "MARKETPLACE_AMI";
1114
1115
  readonly MARKETPLACE_CAR: "MARKETPLACE_CAR";
1116
+ readonly TERRAFORM_CLOUD: "TERRAFORM_CLOUD";
1115
1117
  readonly TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE";
1116
1118
  };
1117
1119
  /**
@@ -1159,14 +1161,6 @@ export interface ProvisioningArtifactProperties {
1159
1161
  * </li>
1160
1162
  * <li>
1161
1163
  * <p>
1162
- * <code>MARKETPLACE_AMI</code> - Amazon Web Services Marketplace AMI</p>
1163
- * </li>
1164
- * <li>
1165
- * <p>
1166
- * <code>MARKETPLACE_CAR</code> - Amazon Web Services Marketplace Clusters and Amazon Web Services Resources</p>
1167
- * </li>
1168
- * <li>
1169
- * <p>
1170
1164
  * <code>TERRAFORM_OPEN_SOURCE</code> - Terraform open source configuration file</p>
1171
1165
  * </li>
1172
1166
  * </ul>
@@ -1174,7 +1168,8 @@ export interface ProvisioningArtifactProperties {
1174
1168
  Type?: ProvisioningArtifactType | string;
1175
1169
  /**
1176
1170
  * @public
1177
- * <p>If set to true, Service Catalog stops validating the specified provisioning artifact even if it is invalid.</p>
1171
+ * <p>If set to true, Service Catalog stops validating the specified provisioning artifact even if it is invalid. </p>
1172
+ * <p>Service Catalog does not support template validation for the <code>TERRAFORM_OS</code> product type. </p>
1178
1173
  */
1179
1174
  DisableTemplateValidation?: boolean;
1180
1175
  }
@@ -1615,20 +1610,8 @@ export interface ProvisioningArtifactDetail {
1615
1610
  /**
1616
1611
  * @public
1617
1612
  * <p>The type of provisioning artifact.</p>
1618
- * <ul>
1619
- * <li>
1620
- * <p>
1621
- * <code>CLOUD_FORMATION_TEMPLATE</code> - CloudFormation template</p>
1622
- * </li>
1623
- * <li>
1624
- * <p>
1625
- * <code>MARKETPLACE_AMI</code> - Amazon Web Services Marketplace AMI</p>
1626
- * </li>
1627
- * <li>
1628
- * <p>
1629
- * <code>MARKETPLACE_CAR</code> - Amazon Web Services Marketplace Clusters and Amazon Web Services Resources</p>
1630
- * </li>
1631
- * </ul>
1613
+ * <p>
1614
+ * <code>CLOUD_FORMATION_TEMPLATE</code> - CloudFormation template</p>
1632
1615
  */
1633
1616
  Type?: ProvisioningArtifactType | string;
1634
1617
  /**
@@ -3094,7 +3077,7 @@ export interface ProvisionedProductDetail {
3094
3077
  * <ul>
3095
3078
  * <li>
3096
3079
  * <p>
3097
- * ProvisionedProduct
3080
+ * ProvisionProduct
3098
3081
  * </p>
3099
3082
  * </li>
3100
3083
  * <li>
@@ -3121,7 +3104,7 @@ export interface ProvisionedProductDetail {
3121
3104
  * <ul>
3122
3105
  * <li>
3123
3106
  * <p>
3124
- * ProvisionedProduct
3107
+ * ProvisionProduct
3125
3108
  * </p>
3126
3109
  * </li>
3127
3110
  * <li>
@@ -3980,7 +3963,8 @@ export interface RecordDetail {
3980
3963
  UpdatedTime?: Date;
3981
3964
  /**
3982
3965
  * @public
3983
- * <p>The type of provisioned product. The supported values are <code>CFN_STACK</code> and <code>CFN_STACKSET</code>.</p>
3966
+ * <p>The type of provisioned product. The supported values are <code>CFN_STACK</code>, <code>CFN_STACKSET</code>,
3967
+ * <code>TERRAFORM_OPEN_SOURCE</code>, and <code>TERRAFORM_CLOUD</code>.</p>
3984
3968
  */
3985
3969
  ProvisionedProductType?: string;
3986
3970
  /**
@@ -4577,7 +4561,8 @@ export interface ImportAsProvisionedProductInput {
4577
4561
  ProvisioningArtifactId: string | undefined;
4578
4562
  /**
4579
4563
  * @public
4580
- * <p>The user-friendly name of the provisioned product. The value must be unique for the Amazon Web Services account. The name cannot be updated after the product is provisioned. </p>
4564
+ * <p>The user-friendly name of the provisioned product. The value must be unique for the Amazon Web Services account.
4565
+ * The name cannot be updated after the product is provisioned. </p>
4581
4566
  */
4582
4567
  ProvisionedProductName: string | undefined;
4583
4568
  /**
@@ -6519,7 +6504,7 @@ export interface SearchProvisionedProductsInput {
6519
6504
  * <p>When the key is <code>SearchQuery</code>, the searchable fields are <code>arn</code>,
6520
6505
  * <code>createdTime</code>, <code>id</code>, <code>lastRecordId</code>,
6521
6506
  * <code>idempotencyToken</code>, <code>name</code>, <code>physicalId</code>, <code>productId</code>,
6522
- * <code>provisioningArtifact</code>, <code>type</code>, <code>status</code>,
6507
+ * <code>provisioningArtifactId</code>, <code>type</code>, <code>status</code>,
6523
6508
  * <code>tags</code>, <code>userArn</code>, <code>userArnSession</code>, <code>lastProvisioningRecordId</code>, <code>lastSuccessfulProvisioningRecordId</code>,
6524
6509
  * <code>productName</code>, and <code>provisioningArtifactName</code>.</p>
6525
6510
  * <p>Example: <code>"SearchQuery":["status:AVAILABLE"]</code>
@@ -6633,7 +6618,7 @@ export interface ProvisionedProductAttribute {
6633
6618
  * <ul>
6634
6619
  * <li>
6635
6620
  * <p>
6636
- * ProvisionedProduct
6621
+ * ProvisionProduct
6637
6622
  * </p>
6638
6623
  * </li>
6639
6624
  * <li>
@@ -6660,7 +6645,7 @@ export interface ProvisionedProductAttribute {
6660
6645
  * <ul>
6661
6646
  * <li>
6662
6647
  * <p>
6663
- * ProvisionedProduct
6648
+ * ProvisionProduct
6664
6649
  * </p>
6665
6650
  * </li>
6666
6651
  * <li>
@@ -32,6 +32,7 @@ import {
32
32
  } from "@smithy/smithy-client";
33
33
  import {
34
34
  BodyLengthCalculator as __BodyLengthCalculator,
35
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
35
36
  ChecksumConstructor as __ChecksumConstructor,
36
37
  Decoder as __Decoder,
37
38
  Encoder as __Encoder,
@@ -648,6 +649,8 @@ export declare class ServiceCatalogClient extends __Client<
648
649
  ServiceCatalogClientResolvedConfig
649
650
  > {
650
651
  readonly config: ServiceCatalogClientResolvedConfig;
651
- constructor(configuration: ServiceCatalogClientConfig);
652
+ constructor(
653
+ ...[configuration]: __CheckOptionalClientConfig<ServiceCatalogClientConfig>
654
+ );
652
655
  destroy(): void;
653
656
  }
@@ -256,6 +256,7 @@ export declare class OperationNotSupportedException extends __BaseException {
256
256
  export declare const ProductType: {
257
257
  readonly CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE";
258
258
  readonly MARKETPLACE: "MARKETPLACE";
259
+ readonly TERRAFORM_CLOUD: "TERRAFORM_CLOUD";
259
260
  readonly TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE";
260
261
  };
261
262
  export type ProductType = (typeof ProductType)[keyof typeof ProductType];
@@ -263,6 +264,7 @@ export declare const ProvisioningArtifactType: {
263
264
  readonly CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE";
264
265
  readonly MARKETPLACE_AMI: "MARKETPLACE_AMI";
265
266
  readonly MARKETPLACE_CAR: "MARKETPLACE_CAR";
267
+ readonly TERRAFORM_CLOUD: "TERRAFORM_CLOUD";
266
268
  readonly TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE";
267
269
  };
268
270
  export type ProvisioningArtifactType =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Client for Node.js, Browser and React Native",
4
- "version": "3.386.0",
4
+ "version": "3.388.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.386.0",
25
- "@aws-sdk/credential-provider-node": "3.386.0",
26
- "@aws-sdk/middleware-host-header": "3.379.1",
27
- "@aws-sdk/middleware-logger": "3.378.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
- "@aws-sdk/middleware-signing": "3.379.1",
30
- "@aws-sdk/middleware-user-agent": "3.386.0",
31
- "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.386.0",
33
- "@aws-sdk/util-user-agent-browser": "3.378.0",
34
- "@aws-sdk/util-user-agent-node": "3.378.0",
35
- "@smithy/config-resolver": "^2.0.1",
36
- "@smithy/fetch-http-handler": "^2.0.1",
37
- "@smithy/hash-node": "^2.0.1",
38
- "@smithy/invalid-dependency": "^2.0.1",
39
- "@smithy/middleware-content-length": "^2.0.1",
40
- "@smithy/middleware-endpoint": "^2.0.1",
41
- "@smithy/middleware-retry": "^2.0.1",
42
- "@smithy/middleware-serde": "^2.0.1",
24
+ "@aws-sdk/client-sts": "3.388.0",
25
+ "@aws-sdk/credential-provider-node": "3.388.0",
26
+ "@aws-sdk/middleware-host-header": "3.387.0",
27
+ "@aws-sdk/middleware-logger": "3.387.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.387.0",
29
+ "@aws-sdk/middleware-signing": "3.387.0",
30
+ "@aws-sdk/middleware-user-agent": "3.387.0",
31
+ "@aws-sdk/types": "3.387.0",
32
+ "@aws-sdk/util-endpoints": "3.387.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.387.0",
34
+ "@aws-sdk/util-user-agent-node": "3.387.0",
35
+ "@smithy/config-resolver": "^2.0.2",
36
+ "@smithy/fetch-http-handler": "^2.0.2",
37
+ "@smithy/hash-node": "^2.0.2",
38
+ "@smithy/invalid-dependency": "^2.0.2",
39
+ "@smithy/middleware-content-length": "^2.0.2",
40
+ "@smithy/middleware-endpoint": "^2.0.2",
41
+ "@smithy/middleware-retry": "^2.0.2",
42
+ "@smithy/middleware-serde": "^2.0.2",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.1",
45
- "@smithy/node-http-handler": "^2.0.1",
46
- "@smithy/protocol-http": "^2.0.1",
47
- "@smithy/smithy-client": "^2.0.1",
48
- "@smithy/types": "^2.0.2",
49
- "@smithy/url-parser": "^2.0.1",
44
+ "@smithy/node-config-provider": "^2.0.2",
45
+ "@smithy/node-http-handler": "^2.0.2",
46
+ "@smithy/protocol-http": "^2.0.2",
47
+ "@smithy/smithy-client": "^2.0.2",
48
+ "@smithy/types": "^2.1.0",
49
+ "@smithy/url-parser": "^2.0.2",
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.0.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.1",
54
- "@smithy/util-defaults-mode-node": "^2.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.2",
54
+ "@smithy/util-defaults-mode-node": "^2.0.2",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0",