@aws-sdk/client-service-catalog 3.348.0 → 3.349.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/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/DescribeProvisioningArtifactCommand.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +105 -110
- package/dist-types/ts3.4/models/models_0.d.ts +19 -17
- package/package.json +1 -1
|
@@ -4302,6 +4302,7 @@ const de_DescribeProvisioningArtifactOutput = (output, context) => {
|
|
|
4302
4302
|
return (0, smithy_client_1.take)(output, {
|
|
4303
4303
|
Info: smithy_client_1._json,
|
|
4304
4304
|
ProvisioningArtifactDetail: (_) => de_ProvisioningArtifactDetail(_, context),
|
|
4305
|
+
ProvisioningArtifactParameters: smithy_client_1._json,
|
|
4305
4306
|
Status: smithy_client_1.expectString,
|
|
4306
4307
|
});
|
|
4307
4308
|
};
|
|
@@ -4116,6 +4116,7 @@ const de_DescribeProvisioningArtifactOutput = (output, context) => {
|
|
|
4116
4116
|
return take(output, {
|
|
4117
4117
|
Info: _json,
|
|
4118
4118
|
ProvisioningArtifactDetail: (_) => de_ProvisioningArtifactDetail(_, context),
|
|
4119
|
+
ProvisioningArtifactParameters: _json,
|
|
4119
4120
|
Status: __expectString,
|
|
4120
4121
|
});
|
|
4121
4122
|
};
|
|
@@ -37,6 +37,7 @@ export interface DescribeProvisioningArtifactCommandOutput extends DescribeProvi
|
|
|
37
37
|
* ProvisioningArtifactName: "STRING_VALUE",
|
|
38
38
|
* ProductName: "STRING_VALUE",
|
|
39
39
|
* Verbose: true || false,
|
|
40
|
+
* IncludeProvisioningArtifactParameters: true || false,
|
|
40
41
|
* };
|
|
41
42
|
* const command = new DescribeProvisioningArtifactCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -55,6 +56,26 @@ export interface DescribeProvisioningArtifactCommandOutput extends DescribeProvi
|
|
|
55
56
|
* // "<keys>": "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // Status: "AVAILABLE" || "CREATING" || "FAILED",
|
|
59
|
+
* // ProvisioningArtifactParameters: [ // ProvisioningArtifactParameters
|
|
60
|
+
* // { // ProvisioningArtifactParameter
|
|
61
|
+
* // ParameterKey: "STRING_VALUE",
|
|
62
|
+
* // DefaultValue: "STRING_VALUE",
|
|
63
|
+
* // ParameterType: "STRING_VALUE",
|
|
64
|
+
* // IsNoEcho: true || false,
|
|
65
|
+
* // Description: "STRING_VALUE",
|
|
66
|
+
* // ParameterConstraints: { // ParameterConstraints
|
|
67
|
+
* // AllowedValues: [ // AllowedValues
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // AllowedPattern: "STRING_VALUE",
|
|
71
|
+
* // ConstraintDescription: "STRING_VALUE",
|
|
72
|
+
* // MaxLength: "STRING_VALUE",
|
|
73
|
+
* // MinLength: "STRING_VALUE",
|
|
74
|
+
* // MaxValue: "STRING_VALUE",
|
|
75
|
+
* // MinValue: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
58
79
|
* // };
|
|
59
80
|
*
|
|
60
81
|
* ```
|
|
@@ -237,27 +237,28 @@ export interface AssociatePrincipalWithPortfolioInput {
|
|
|
237
237
|
*/
|
|
238
238
|
PortfolioId: string | undefined;
|
|
239
239
|
/**
|
|
240
|
-
* <p>The ARN of the principal (user, role, or group).
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
* the supported value is an <code>IAM</code> ARN without an AccountID in the following format:</p>
|
|
240
|
+
* <p>The ARN of the principal (user, role, or group). If the <code>PrincipalType</code> is <code>IAM</code>, the supported value is a
|
|
241
|
+
* fully defined
|
|
242
|
+
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM Amazon Resource Name (ARN)</a>.
|
|
243
|
+
* If the <code>PrincipalType</code> is <code>IAM_PATTERN</code>,
|
|
244
|
+
* the supported value is an <code>IAM</code> ARN <i>without an AccountID</i> in the following format:</p>
|
|
245
245
|
* <p>
|
|
246
246
|
* <i>arn:partition:iam:::resource-type/resource-id</i>
|
|
247
247
|
* </p>
|
|
248
|
-
* <p>The resource-id can be either
|
|
248
|
+
* <p>The ARN resource-id can be either:</p>
|
|
249
249
|
* <ul>
|
|
250
250
|
* <li>
|
|
251
|
-
* <p>
|
|
251
|
+
* <p>A fully formed resource-id. For example, <i>arn:aws:iam:::role/resource-name</i> or
|
|
252
252
|
* <i>arn:aws:iam:::role/resource-path/resource-name</i>
|
|
253
253
|
* </p>
|
|
254
254
|
* </li>
|
|
255
255
|
* <li>
|
|
256
256
|
* <p>A wildcard ARN. The wildcard ARN accepts <code>IAM_PATTERN</code> values with a
|
|
257
|
-
* "*" or "?" in the resource-id segment of the ARN
|
|
257
|
+
* "*" or "?" in the resource-id segment of the ARN. For example <i>arn:partition:service:::resource-type/resource-path/resource-name</i>.
|
|
258
258
|
* The new symbols are exclusive to the <b>resource-path</b> and <b>resource-name</b>
|
|
259
|
-
* and cannot
|
|
259
|
+
* and cannot replace the <b>resource-type</b> or other
|
|
260
260
|
* ARN values. </p>
|
|
261
|
+
* <p>The ARN path and principal name allow unlimited wildcard characters.</p>
|
|
261
262
|
* </li>
|
|
262
263
|
* </ul>
|
|
263
264
|
* <p>Examples of an <b>acceptable</b> wildcard ARN:</p>
|
|
@@ -277,39 +278,25 @@ export interface AssociatePrincipalWithPortfolioInput {
|
|
|
277
278
|
* </ul>
|
|
278
279
|
* <p>You can associate multiple <code>IAM_PATTERN</code>s even if the account has no principal
|
|
279
280
|
* with that name. </p>
|
|
280
|
-
* <
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
284
|
-
*
|
|
285
|
-
*
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
* regex context.</p>
|
|
292
|
-
* </li>
|
|
293
|
-
* <li>
|
|
294
|
-
* <p>In the IAM Principal ARNs format (arn:partition:iam:::resource-type/resource-path/resource-name),
|
|
295
|
-
* valid <b>resource-type</b> values include user/, group/, or role/. The "?" and "*"
|
|
296
|
-
* are allowed only after the <b>resource-type</b>, in the resource-id segment.
|
|
297
|
-
* You can use special characters anywhere within the <b>resource-id</b>.</p>
|
|
298
|
-
* </li>
|
|
299
|
-
* <li>
|
|
300
|
-
* <p>The "*" also matches the "/" character, allowing paths to be formed within the
|
|
301
|
-
* <b>resource-id</b>.
|
|
302
|
-
* For example, arn:aws:iam:::role/*\/ResourceName_? matches both arn:aws:iam:::role/pathA/pathB/ResourceName_1
|
|
281
|
+
* <p>The "?" wildcard character matches zero or one of any character. This is similar to ".?" in regular
|
|
282
|
+
* regex context. The "*" wildcard character matches any number of any characters.
|
|
283
|
+
* This is similar to ".*" in regular regex context.</p>
|
|
284
|
+
* <p>In the IAM Principal ARN format (<i>arn:partition:iam:::resource-type/resource-path/resource-name</i>),
|
|
285
|
+
* valid resource-type values include <b>user/</b>, <b>group/</b>,
|
|
286
|
+
* or <b>role/</b>. The "?" and "*" characters
|
|
287
|
+
* are allowed only after the resource-type in the resource-id segment.
|
|
288
|
+
* You can use special characters anywhere within the resource-id. </p>
|
|
289
|
+
* <p>The "*" character also matches the "/" character, allowing paths to be formed <i>within</i> the
|
|
290
|
+
* resource-id. For example, <i>arn:aws:iam:::role/<b>*</b>/ResourceName_?</i>
|
|
291
|
+
* matches both <i>arn:aws:iam:::role/pathA/pathB/ResourceName_1</i>
|
|
303
292
|
* and
|
|
304
|
-
* arn:aws:iam:::role/pathA/ResourceName_1
|
|
305
|
-
* </li>
|
|
306
|
-
* </ul>
|
|
307
|
-
* </note>
|
|
293
|
+
* <i>arn:aws:iam:::role/pathA/ResourceName_1</i>. </p>
|
|
308
294
|
*/
|
|
309
295
|
PrincipalARN: string | undefined;
|
|
310
296
|
/**
|
|
311
|
-
* <p>The principal type. The supported value is <code>IAM</code> if you use a fully defined
|
|
312
|
-
* or <code>IAM_PATTERN</code> if you use an ARN with no <code>accountID</code>,
|
|
297
|
+
* <p>The principal type. The supported value is <code>IAM</code> if you use a fully defined Amazon Resource Name
|
|
298
|
+
* (ARN), or <code>IAM_PATTERN</code> if you use an ARN with no <code>accountID</code>,
|
|
299
|
+
* with or without wildcard characters. </p>
|
|
313
300
|
*/
|
|
314
301
|
PrincipalType: PrincipalType | string | undefined;
|
|
315
302
|
}
|
|
@@ -3197,6 +3184,82 @@ export interface DescribeProvisioningArtifactInput {
|
|
|
3197
3184
|
* <p>Indicates whether a verbose level of detail is enabled.</p>
|
|
3198
3185
|
*/
|
|
3199
3186
|
Verbose?: boolean;
|
|
3187
|
+
/**
|
|
3188
|
+
* <p>Indicates if the API call response does or does not include additional details about the provisioning parameters. </p>
|
|
3189
|
+
*/
|
|
3190
|
+
IncludeProvisioningArtifactParameters?: boolean;
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
* @public
|
|
3194
|
+
* <p>The constraints that the administrator has put on the parameter.</p>
|
|
3195
|
+
*/
|
|
3196
|
+
export interface ParameterConstraints {
|
|
3197
|
+
/**
|
|
3198
|
+
* <p>The values that the administrator has allowed for the parameter.</p>
|
|
3199
|
+
*/
|
|
3200
|
+
AllowedValues?: string[];
|
|
3201
|
+
/**
|
|
3202
|
+
* <p>A regular expression that represents the patterns that allow for <code>String</code> types. The pattern must match the entire parameter value provided.</p>
|
|
3203
|
+
*/
|
|
3204
|
+
AllowedPattern?: string;
|
|
3205
|
+
/**
|
|
3206
|
+
* <p>A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of <code>[A-Za-z0-9]+</code> displays the following error message when the user specifies an invalid value:</p>
|
|
3207
|
+
* <p>
|
|
3208
|
+
* <code>Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+</code>
|
|
3209
|
+
* </p>
|
|
3210
|
+
* <p>By adding a constraint description, such as must only contain letters (uppercase and lowercase) and numbers, you can display the following customized error message:</p>
|
|
3211
|
+
* <p>
|
|
3212
|
+
* <code>Malformed input-Parameter MyParameter must only contain uppercase and lowercase letters and numbers.</code>
|
|
3213
|
+
* </p>
|
|
3214
|
+
*/
|
|
3215
|
+
ConstraintDescription?: string;
|
|
3216
|
+
/**
|
|
3217
|
+
* <p>An integer value that determines the largest number of characters you want to allow for <code>String</code> types. </p>
|
|
3218
|
+
*/
|
|
3219
|
+
MaxLength?: string;
|
|
3220
|
+
/**
|
|
3221
|
+
* <p>An integer value that determines the smallest number of characters you want to allow for <code>String</code> types.</p>
|
|
3222
|
+
*/
|
|
3223
|
+
MinLength?: string;
|
|
3224
|
+
/**
|
|
3225
|
+
* <p>A numeric value that determines the largest numeric value you want to allow for <code>Number</code> types.</p>
|
|
3226
|
+
*/
|
|
3227
|
+
MaxValue?: string;
|
|
3228
|
+
/**
|
|
3229
|
+
* <p>A numeric value that determines the smallest numeric value you want to allow for <code>Number</code> types. </p>
|
|
3230
|
+
*/
|
|
3231
|
+
MinValue?: string;
|
|
3232
|
+
}
|
|
3233
|
+
/**
|
|
3234
|
+
* @public
|
|
3235
|
+
* <p>Information about a parameter used to provision a product.</p>
|
|
3236
|
+
*/
|
|
3237
|
+
export interface ProvisioningArtifactParameter {
|
|
3238
|
+
/**
|
|
3239
|
+
* <p>The parameter key.</p>
|
|
3240
|
+
*/
|
|
3241
|
+
ParameterKey?: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* <p>The default value.</p>
|
|
3244
|
+
*/
|
|
3245
|
+
DefaultValue?: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* <p>The parameter type.</p>
|
|
3248
|
+
*/
|
|
3249
|
+
ParameterType?: string;
|
|
3250
|
+
/**
|
|
3251
|
+
* <p>If this value is true, the value for this parameter is obfuscated from view when the
|
|
3252
|
+
* parameter is retrieved. This parameter is used to hide sensitive information.</p>
|
|
3253
|
+
*/
|
|
3254
|
+
IsNoEcho?: boolean;
|
|
3255
|
+
/**
|
|
3256
|
+
* <p>The description of the parameter.</p>
|
|
3257
|
+
*/
|
|
3258
|
+
Description?: string;
|
|
3259
|
+
/**
|
|
3260
|
+
* <p>Constraints that the administrator has put on a parameter.</p>
|
|
3261
|
+
*/
|
|
3262
|
+
ParameterConstraints?: ParameterConstraints;
|
|
3200
3263
|
}
|
|
3201
3264
|
/**
|
|
3202
3265
|
* @public
|
|
@@ -3214,6 +3277,10 @@ export interface DescribeProvisioningArtifactOutput {
|
|
|
3214
3277
|
* <p>The status of the current request.</p>
|
|
3215
3278
|
*/
|
|
3216
3279
|
Status?: Status | string;
|
|
3280
|
+
/**
|
|
3281
|
+
* <p>Information about the parameters used to provision the product. </p>
|
|
3282
|
+
*/
|
|
3283
|
+
ProvisioningArtifactParameters?: ProvisioningArtifactParameter[];
|
|
3217
3284
|
}
|
|
3218
3285
|
/**
|
|
3219
3286
|
* @public
|
|
@@ -3308,78 +3375,6 @@ export interface ProvisioningArtifactOutput {
|
|
|
3308
3375
|
*/
|
|
3309
3376
|
Description?: string;
|
|
3310
3377
|
}
|
|
3311
|
-
/**
|
|
3312
|
-
* @public
|
|
3313
|
-
* <p>The constraints that the administrator has put on the parameter.</p>
|
|
3314
|
-
*/
|
|
3315
|
-
export interface ParameterConstraints {
|
|
3316
|
-
/**
|
|
3317
|
-
* <p>The values that the administrator has allowed for the parameter.</p>
|
|
3318
|
-
*/
|
|
3319
|
-
AllowedValues?: string[];
|
|
3320
|
-
/**
|
|
3321
|
-
* <p>A regular expression that represents the patterns that allow for <code>String</code> types. The pattern must match the entire parameter value provided.</p>
|
|
3322
|
-
*/
|
|
3323
|
-
AllowedPattern?: string;
|
|
3324
|
-
/**
|
|
3325
|
-
* <p>A string that explains a constraint when the constraint is violated. For example, without a constraint description, a parameter that has an allowed pattern of <code>[A-Za-z0-9]+</code> displays the following error message when the user specifies an invalid value:</p>
|
|
3326
|
-
* <p>
|
|
3327
|
-
* <code>Malformed input-Parameter MyParameter must match pattern [A-Za-z0-9]+</code>
|
|
3328
|
-
* </p>
|
|
3329
|
-
* <p>By adding a constraint description, such as must only contain letters (uppercase and lowercase) and numbers, you can display the following customized error message:</p>
|
|
3330
|
-
* <p>
|
|
3331
|
-
* <code>Malformed input-Parameter MyParameter must only contain uppercase and lowercase letters and numbers.</code>
|
|
3332
|
-
* </p>
|
|
3333
|
-
*/
|
|
3334
|
-
ConstraintDescription?: string;
|
|
3335
|
-
/**
|
|
3336
|
-
* <p>An integer value that determines the largest number of characters you want to allow for <code>String</code> types. </p>
|
|
3337
|
-
*/
|
|
3338
|
-
MaxLength?: string;
|
|
3339
|
-
/**
|
|
3340
|
-
* <p>An integer value that determines the smallest number of characters you want to allow for <code>String</code> types.</p>
|
|
3341
|
-
*/
|
|
3342
|
-
MinLength?: string;
|
|
3343
|
-
/**
|
|
3344
|
-
* <p>A numeric value that determines the largest numeric value you want to allow for <code>Number</code> types.</p>
|
|
3345
|
-
*/
|
|
3346
|
-
MaxValue?: string;
|
|
3347
|
-
/**
|
|
3348
|
-
* <p>A numeric value that determines the smallest numeric value you want to allow for <code>Number</code> types. </p>
|
|
3349
|
-
*/
|
|
3350
|
-
MinValue?: string;
|
|
3351
|
-
}
|
|
3352
|
-
/**
|
|
3353
|
-
* @public
|
|
3354
|
-
* <p>Information about a parameter used to provision a product.</p>
|
|
3355
|
-
*/
|
|
3356
|
-
export interface ProvisioningArtifactParameter {
|
|
3357
|
-
/**
|
|
3358
|
-
* <p>The parameter key.</p>
|
|
3359
|
-
*/
|
|
3360
|
-
ParameterKey?: string;
|
|
3361
|
-
/**
|
|
3362
|
-
* <p>The default value.</p>
|
|
3363
|
-
*/
|
|
3364
|
-
DefaultValue?: string;
|
|
3365
|
-
/**
|
|
3366
|
-
* <p>The parameter type.</p>
|
|
3367
|
-
*/
|
|
3368
|
-
ParameterType?: string;
|
|
3369
|
-
/**
|
|
3370
|
-
* <p>If this value is true, the value for this parameter is obfuscated from view when the
|
|
3371
|
-
* parameter is retrieved. This parameter is used to hide sensitive information.</p>
|
|
3372
|
-
*/
|
|
3373
|
-
IsNoEcho?: boolean;
|
|
3374
|
-
/**
|
|
3375
|
-
* <p>The description of the parameter.</p>
|
|
3376
|
-
*/
|
|
3377
|
-
Description?: string;
|
|
3378
|
-
/**
|
|
3379
|
-
* <p>Constraints that the administrator has put on a parameter.</p>
|
|
3380
|
-
*/
|
|
3381
|
-
ParameterConstraints?: ParameterConstraints;
|
|
3382
|
-
}
|
|
3383
3378
|
/**
|
|
3384
3379
|
* @public
|
|
3385
3380
|
* <p>The user-defined preferences that will be applied during product provisioning, unless overridden by <code>ProvisioningPreferences</code> or <code>UpdateProvisioningPreferences</code>.</p>
|
|
@@ -783,11 +783,30 @@ export interface DescribeProvisioningArtifactInput {
|
|
|
783
783
|
ProvisioningArtifactName?: string;
|
|
784
784
|
ProductName?: string;
|
|
785
785
|
Verbose?: boolean;
|
|
786
|
+
IncludeProvisioningArtifactParameters?: boolean;
|
|
787
|
+
}
|
|
788
|
+
export interface ParameterConstraints {
|
|
789
|
+
AllowedValues?: string[];
|
|
790
|
+
AllowedPattern?: string;
|
|
791
|
+
ConstraintDescription?: string;
|
|
792
|
+
MaxLength?: string;
|
|
793
|
+
MinLength?: string;
|
|
794
|
+
MaxValue?: string;
|
|
795
|
+
MinValue?: string;
|
|
796
|
+
}
|
|
797
|
+
export interface ProvisioningArtifactParameter {
|
|
798
|
+
ParameterKey?: string;
|
|
799
|
+
DefaultValue?: string;
|
|
800
|
+
ParameterType?: string;
|
|
801
|
+
IsNoEcho?: boolean;
|
|
802
|
+
Description?: string;
|
|
803
|
+
ParameterConstraints?: ParameterConstraints;
|
|
786
804
|
}
|
|
787
805
|
export interface DescribeProvisioningArtifactOutput {
|
|
788
806
|
ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
|
|
789
807
|
Info?: Record<string, string>;
|
|
790
808
|
Status?: Status | string;
|
|
809
|
+
ProvisioningArtifactParameters?: ProvisioningArtifactParameter[];
|
|
791
810
|
}
|
|
792
811
|
export interface DescribeProvisioningParametersInput {
|
|
793
812
|
AcceptLanguage?: string;
|
|
@@ -806,23 +825,6 @@ export interface ProvisioningArtifactOutput {
|
|
|
806
825
|
Key?: string;
|
|
807
826
|
Description?: string;
|
|
808
827
|
}
|
|
809
|
-
export interface ParameterConstraints {
|
|
810
|
-
AllowedValues?: string[];
|
|
811
|
-
AllowedPattern?: string;
|
|
812
|
-
ConstraintDescription?: string;
|
|
813
|
-
MaxLength?: string;
|
|
814
|
-
MinLength?: string;
|
|
815
|
-
MaxValue?: string;
|
|
816
|
-
MinValue?: string;
|
|
817
|
-
}
|
|
818
|
-
export interface ProvisioningArtifactParameter {
|
|
819
|
-
ParameterKey?: string;
|
|
820
|
-
DefaultValue?: string;
|
|
821
|
-
ParameterType?: string;
|
|
822
|
-
IsNoEcho?: boolean;
|
|
823
|
-
Description?: string;
|
|
824
|
-
ParameterConstraints?: ParameterConstraints;
|
|
825
|
-
}
|
|
826
828
|
export interface ProvisioningArtifactPreferences {
|
|
827
829
|
StackSetAccounts?: string[];
|
|
828
830
|
StackSetRegions?: string[];
|
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.
|
|
4
|
+
"version": "3.349.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",
|