@aws-sdk/client-service-catalog 3.212.0 → 3.214.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 +2 -2
- package/dist-cjs/models/models_0.js +42 -6
- package/dist-cjs/protocols/Aws_json1_1.js +70 -0
- package/dist-es/models/models_0.js +31 -0
- package/dist-es/protocols/Aws_json1_1.js +70 -0
- package/dist-types/ServiceCatalog.d.ts +55 -10
- package/dist-types/ServiceCatalogClient.d.ts +2 -2
- package/dist-types/commands/AssociatePrincipalWithPortfolioCommand.d.ts +16 -0
- package/dist-types/commands/CreatePortfolioShareCommand.d.ts +12 -1
- package/dist-types/commands/DisassociatePrincipalFromPortfolioCommand.d.ts +7 -0
- package/dist-types/commands/ImportAsProvisionedProductCommand.d.ts +4 -4
- package/dist-types/commands/ListPrincipalsForPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePortfolioShareCommand.d.ts +13 -2
- package/dist-types/models/models_0.d.ts +286 -21
- package/dist-types/ts3.4/models/models_0.d.ts +61 -3
- package/package.json +2 -2
|
@@ -165,7 +165,8 @@ export declare class DuplicateResourceException extends __BaseException {
|
|
|
165
165
|
constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
|
|
166
166
|
}
|
|
167
167
|
export declare enum PrincipalType {
|
|
168
|
-
IAM = "IAM"
|
|
168
|
+
IAM = "IAM",
|
|
169
|
+
IAM_PATTERN = "IAM_PATTERN"
|
|
169
170
|
}
|
|
170
171
|
export interface AssociatePrincipalWithPortfolioInput {
|
|
171
172
|
/**
|
|
@@ -191,11 +192,16 @@ export interface AssociatePrincipalWithPortfolioInput {
|
|
|
191
192
|
*/
|
|
192
193
|
PortfolioId: string | undefined;
|
|
193
194
|
/**
|
|
194
|
-
* <p>The ARN of the principal (IAM user, role, or group)
|
|
195
|
+
* <p>The ARN of the principal (IAM user, role, or group). This field allows an ARN with no <code>accountID</code> if
|
|
196
|
+
* <code>PrincipalType</code> is <code>IAM_PATTERN</code>. </p>
|
|
197
|
+
* <p>You can associate multiple <code>IAM</code> patterns even if the account has no principal with that name.
|
|
198
|
+
* This is useful in Principal Name Sharing if you want to share a principal without creating it in the
|
|
199
|
+
* account that owns the portfolio. </p>
|
|
195
200
|
*/
|
|
196
201
|
PrincipalARN: string | undefined;
|
|
197
202
|
/**
|
|
198
|
-
* <p>The principal type. The supported value is <code>IAM</code
|
|
203
|
+
* <p>The principal type. The supported value is <code>IAM</code> if you use a fully defined ARN,
|
|
204
|
+
* or <code>IAM_PATTERN</code> if you use an ARN with no <code>accountID</code>. </p>
|
|
199
205
|
*/
|
|
200
206
|
PrincipalType: PrincipalType | string | undefined;
|
|
201
207
|
}
|
|
@@ -798,9 +804,21 @@ export interface CreatePortfolioShareInput {
|
|
|
798
804
|
*/
|
|
799
805
|
OrganizationNode?: OrganizationNode;
|
|
800
806
|
/**
|
|
801
|
-
* <p>Enables or disables <code>TagOptions </code> sharing when creating the portfolio share. If this flag is not
|
|
807
|
+
* <p>Enables or disables <code>TagOptions </code> sharing when creating the portfolio share. If this flag is not
|
|
808
|
+
* provided, TagOptions sharing is disabled.</p>
|
|
802
809
|
*/
|
|
803
810
|
ShareTagOptions?: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* <p>Enables or disables <code>Principal</code> sharing when creating the portfolio share. If this flag is not provided,
|
|
813
|
+
* principal sharing is disabled. </p>
|
|
814
|
+
* <p>When you enable Principal Name Sharing for a portfolio share, the share recipient
|
|
815
|
+
* account end users with a principal that matches any of the associated IAM
|
|
816
|
+
* patterns can provision products from the portfolio. Once
|
|
817
|
+
* shared, the share recipient can view associations of <code>PrincipalType</code>:
|
|
818
|
+
* <code>IAM_PATTERN</code> on their portfolio. You can create the principals in the recipient account before or
|
|
819
|
+
* after creating the share. </p>
|
|
820
|
+
*/
|
|
821
|
+
SharePrincipals?: boolean;
|
|
804
822
|
}
|
|
805
823
|
export interface CreatePortfolioShareOutput {
|
|
806
824
|
/**
|
|
@@ -844,7 +862,7 @@ export interface ProvisioningArtifactProperties {
|
|
|
844
862
|
/**
|
|
845
863
|
* <p>Specify the template source with one of the following options, but not both.
|
|
846
864
|
* Keys accepted: [ <code>LoadTemplateFromURL</code>, <code>ImportFromPhysicalId</code> ]</p>
|
|
847
|
-
* <p>The URL of the CloudFormation template in Amazon S3
|
|
865
|
+
* <p>The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format.
|
|
848
866
|
* Specify the URL in JSON format as follows:</p>
|
|
849
867
|
* <p>
|
|
850
868
|
* <code>"LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."</code>
|
|
@@ -855,7 +873,7 @@ export interface ProvisioningArtifactProperties {
|
|
|
855
873
|
* format as follows: <code>ImportFromPhysicalId: “arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]</code>
|
|
856
874
|
* </p>
|
|
857
875
|
*/
|
|
858
|
-
Info
|
|
876
|
+
Info?: Record<string, string>;
|
|
859
877
|
/**
|
|
860
878
|
* <p>The type of provisioning artifact.</p>
|
|
861
879
|
* <ul>
|
|
@@ -875,10 +893,62 @@ export interface ProvisioningArtifactProperties {
|
|
|
875
893
|
*/
|
|
876
894
|
Type?: ProvisioningArtifactType | string;
|
|
877
895
|
/**
|
|
878
|
-
* <p>If set to true,
|
|
896
|
+
* <p>If set to true, Service Catalog stops validating the specified provisioning artifact even if it is invalid.</p>
|
|
879
897
|
*/
|
|
880
898
|
DisableTemplateValidation?: boolean;
|
|
881
899
|
}
|
|
900
|
+
/**
|
|
901
|
+
* <p>The subtype containing details about the Codestar connection <code>Type</code>. </p>
|
|
902
|
+
*/
|
|
903
|
+
export interface CodeStarParameters {
|
|
904
|
+
/**
|
|
905
|
+
* <p>The CodeStar ARN, which is the connection between Service Catalog and the external repository.</p>
|
|
906
|
+
*/
|
|
907
|
+
ConnectionArn: string | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* <p>The specific repository where the product’s artifact-to-be-synced resides, formatted as
|
|
910
|
+
* "Account/Repo." </p>
|
|
911
|
+
*/
|
|
912
|
+
Repository: string | undefined;
|
|
913
|
+
/**
|
|
914
|
+
* <p>The specific branch where the artifact resides. </p>
|
|
915
|
+
*/
|
|
916
|
+
Branch: string | undefined;
|
|
917
|
+
/**
|
|
918
|
+
* <p>The absolute path wehre the artifact resides within the repo and branch, formatted as
|
|
919
|
+
* "folder/file.json." </p>
|
|
920
|
+
*/
|
|
921
|
+
ArtifactPath: string | undefined;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* <p>Provides connection details.</p>
|
|
925
|
+
*/
|
|
926
|
+
export interface SourceConnectionParameters {
|
|
927
|
+
/**
|
|
928
|
+
* <p>Provides <code>ConnectionType</code> details.</p>
|
|
929
|
+
*/
|
|
930
|
+
CodeStar?: CodeStarParameters;
|
|
931
|
+
}
|
|
932
|
+
export declare enum SourceType {
|
|
933
|
+
CODESTAR = "CODESTAR"
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* <p>A top level <code>ProductViewDetail</code> response containing details about the product’s connection.
|
|
937
|
+
* Service Catalog returns this field for the <code>CreateProduct</code>, <code>UpdateProduct</code>,
|
|
938
|
+
* <code>DescribeProductAsAdmin</code>, and <code>SearchProductAsAdmin</code> APIs.
|
|
939
|
+
* This response contains the same fields as the <code>ConnectionParameters</code> request, with the
|
|
940
|
+
* addition of the <code>LastSync</code> response.</p>
|
|
941
|
+
*/
|
|
942
|
+
export interface SourceConnection {
|
|
943
|
+
/**
|
|
944
|
+
* <p>The only supported <code>SourceConnection</code> type is Codestar. </p>
|
|
945
|
+
*/
|
|
946
|
+
Type?: SourceType | string;
|
|
947
|
+
/**
|
|
948
|
+
* <p>The connection details based on the connection <code>Type</code>. </p>
|
|
949
|
+
*/
|
|
950
|
+
ConnectionParameters: SourceConnectionParameters | undefined;
|
|
951
|
+
}
|
|
882
952
|
export interface CreateProductInput {
|
|
883
953
|
/**
|
|
884
954
|
* <p>The language code.</p>
|
|
@@ -939,12 +1009,30 @@ export interface CreateProductInput {
|
|
|
939
1009
|
/**
|
|
940
1010
|
* <p>The configuration of the provisioning artifact. </p>
|
|
941
1011
|
*/
|
|
942
|
-
ProvisioningArtifactParameters
|
|
1012
|
+
ProvisioningArtifactParameters?: ProvisioningArtifactProperties;
|
|
943
1013
|
/**
|
|
944
1014
|
* <p>A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token,
|
|
945
1015
|
* the same response is returned for each repeated request.</p>
|
|
946
1016
|
*/
|
|
947
1017
|
IdempotencyToken?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* <p>Specifies connection details for the created product and syncs the product to the connection source
|
|
1020
|
+
* artifact. This automatically manages the product's artifacts based on changes to the source.
|
|
1021
|
+
* The <code>SourceConnection</code> parameter consists of the following sub-fields.</p>
|
|
1022
|
+
* <ul>
|
|
1023
|
+
* <li>
|
|
1024
|
+
* <p>
|
|
1025
|
+
* <code>Type</code>
|
|
1026
|
+
* </p>
|
|
1027
|
+
* </li>
|
|
1028
|
+
* <li>
|
|
1029
|
+
* <p>
|
|
1030
|
+
* <code>ConnectionParamters</code>
|
|
1031
|
+
* </p>
|
|
1032
|
+
* </li>
|
|
1033
|
+
* </ul>
|
|
1034
|
+
*/
|
|
1035
|
+
SourceConnection?: SourceConnection;
|
|
948
1036
|
}
|
|
949
1037
|
/**
|
|
950
1038
|
* <p>Summary information about a product view.</p>
|
|
@@ -1002,6 +1090,106 @@ export interface ProductViewSummary {
|
|
|
1002
1090
|
*/
|
|
1003
1091
|
SupportUrl?: string;
|
|
1004
1092
|
}
|
|
1093
|
+
export declare enum LastSyncStatus {
|
|
1094
|
+
FAILED = "FAILED",
|
|
1095
|
+
SUCCEEDED = "SUCCEEDED"
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>Provides details about the product's connection sync and contains the following sub-fields. </p>
|
|
1099
|
+
* <ul>
|
|
1100
|
+
* <li>
|
|
1101
|
+
* <p>
|
|
1102
|
+
* <code>LastSyncTime</code>
|
|
1103
|
+
* </p>
|
|
1104
|
+
* </li>
|
|
1105
|
+
* <li>
|
|
1106
|
+
* <p>
|
|
1107
|
+
* <code>LastSyncStatus</code>
|
|
1108
|
+
* </p>
|
|
1109
|
+
* </li>
|
|
1110
|
+
* <li>
|
|
1111
|
+
* <p>
|
|
1112
|
+
* <code>LastSyncStatusMessage</code>
|
|
1113
|
+
* </p>
|
|
1114
|
+
* </li>
|
|
1115
|
+
* <li>
|
|
1116
|
+
* <p>
|
|
1117
|
+
* <code>LastSuccessfulSyncTime</code>
|
|
1118
|
+
* </p>
|
|
1119
|
+
* </li>
|
|
1120
|
+
* <li>
|
|
1121
|
+
* <p>
|
|
1122
|
+
* <code>LastSuccessfulSyncProvisioningArtifactID</code>
|
|
1123
|
+
* </p>
|
|
1124
|
+
* </li>
|
|
1125
|
+
* </ul>
|
|
1126
|
+
*/
|
|
1127
|
+
export interface LastSync {
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>The time of the last attempted sync from the repository to the Service Catalog product. </p>
|
|
1130
|
+
*/
|
|
1131
|
+
LastSyncTime?: Date;
|
|
1132
|
+
/**
|
|
1133
|
+
* <p>The current status of the sync. Responses include <code>SUCCEEDED</code> or <code>FAILED</code>. </p>
|
|
1134
|
+
*/
|
|
1135
|
+
LastSyncStatus?: LastSyncStatus | string;
|
|
1136
|
+
/**
|
|
1137
|
+
* <p>The sync's status message. </p>
|
|
1138
|
+
*/
|
|
1139
|
+
LastSyncStatusMessage?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* <p>The time of the latest successful sync from the source repo artifact to the Service Catalog product.</p>
|
|
1142
|
+
*/
|
|
1143
|
+
LastSuccessfulSyncTime?: Date;
|
|
1144
|
+
/**
|
|
1145
|
+
* <p>The ProvisioningArtifactID of the ProvisioningArtifact created from the latest successful sync. </p>
|
|
1146
|
+
*/
|
|
1147
|
+
LastSuccessfulSyncProvisioningArtifactId?: string;
|
|
1148
|
+
}
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>Provides details about the configured <code>SourceConnection</code>. </p>
|
|
1151
|
+
*/
|
|
1152
|
+
export interface SourceConnectionDetail {
|
|
1153
|
+
/**
|
|
1154
|
+
* <p>The only supported <code>SourceConnection</code> type is Codestar.</p>
|
|
1155
|
+
*/
|
|
1156
|
+
Type?: SourceType | string;
|
|
1157
|
+
/**
|
|
1158
|
+
* <p>The connection details based on the connection <code>Type</code>.</p>
|
|
1159
|
+
*/
|
|
1160
|
+
ConnectionParameters?: SourceConnectionParameters;
|
|
1161
|
+
/**
|
|
1162
|
+
* <p>Provides details about the product's connection sync and contains the following sub-fields. </p>
|
|
1163
|
+
* <ul>
|
|
1164
|
+
* <li>
|
|
1165
|
+
* <p>
|
|
1166
|
+
* <code>LastSyncTime</code>
|
|
1167
|
+
* </p>
|
|
1168
|
+
* </li>
|
|
1169
|
+
* <li>
|
|
1170
|
+
* <p>
|
|
1171
|
+
* <code>LastSyncStatus</code>
|
|
1172
|
+
* </p>
|
|
1173
|
+
* </li>
|
|
1174
|
+
* <li>
|
|
1175
|
+
* <p>
|
|
1176
|
+
* <code>LastSyncStatusMessage</code>
|
|
1177
|
+
* </p>
|
|
1178
|
+
* </li>
|
|
1179
|
+
* <li>
|
|
1180
|
+
* <p>
|
|
1181
|
+
* <code>LastSuccessfulSyncTime</code>
|
|
1182
|
+
* </p>
|
|
1183
|
+
* </li>
|
|
1184
|
+
* <li>
|
|
1185
|
+
* <p>
|
|
1186
|
+
* <code>LastSuccessfulSyncProvisioningArtifactID</code>
|
|
1187
|
+
* </p>
|
|
1188
|
+
* </li>
|
|
1189
|
+
* </ul>
|
|
1190
|
+
*/
|
|
1191
|
+
LastSync?: LastSync;
|
|
1192
|
+
}
|
|
1005
1193
|
/**
|
|
1006
1194
|
* <p>Information about a product view.</p>
|
|
1007
1195
|
*/
|
|
@@ -1036,6 +1224,14 @@ export interface ProductViewDetail {
|
|
|
1036
1224
|
* <p>The UTC time stamp of the creation time.</p>
|
|
1037
1225
|
*/
|
|
1038
1226
|
CreatedTime?: Date;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>A top level <code>ProductViewDetail</code> response containing details about the product’s connection.
|
|
1229
|
+
* Service Catalog returns this field for the <code>CreateProduct</code>, <code>UpdateProduct</code>,
|
|
1230
|
+
* <code>DescribeProductAsAdmin</code>, and <code>SearchProductAsAdmin</code> APIs.
|
|
1231
|
+
* This response contains the same fields as the <code>ConnectionParameters</code> request, with the
|
|
1232
|
+
* addition of the <code>LastSync</code> response.</p>
|
|
1233
|
+
*/
|
|
1234
|
+
SourceConnection?: SourceConnectionDetail;
|
|
1039
1235
|
}
|
|
1040
1236
|
export declare enum ProvisioningArtifactGuidance {
|
|
1041
1237
|
DEFAULT = "DEFAULT",
|
|
@@ -1087,6 +1283,16 @@ export interface ProvisioningArtifactDetail {
|
|
|
1087
1283
|
* <p>Information set by the administrator to provide guidance to end users about which provisioning artifacts to use.</p>
|
|
1088
1284
|
*/
|
|
1089
1285
|
Guidance?: ProvisioningArtifactGuidance | string;
|
|
1286
|
+
/**
|
|
1287
|
+
* <p>Specifies the revision of the external artifact that was used to automatically sync the Service Catalog product
|
|
1288
|
+
* and create the provisioning artifact. Service Catalog includes this response parameter as a high level
|
|
1289
|
+
* field to the existing <code>ProvisioningArtifactDetail</code> type, which is returned as part of the
|
|
1290
|
+
* response for <code>CreateProduct</code>, <code>UpdateProduct</code>, <code>DescribeProductAsAdmin</code>,
|
|
1291
|
+
* <code>DescribeProvisioningArtifact</code>, <code>ListProvisioningArtifact</code>,
|
|
1292
|
+
* and <code>UpdateProvisioningArticat</code> APIs. </p>
|
|
1293
|
+
* <p>This field only exists for Repo-Synced products. </p>
|
|
1294
|
+
*/
|
|
1295
|
+
SourceRevision?: string;
|
|
1090
1296
|
}
|
|
1091
1297
|
export interface CreateProductOutput {
|
|
1092
1298
|
/**
|
|
@@ -1252,11 +1458,11 @@ export interface CreateProvisioningArtifactOutput {
|
|
|
1252
1458
|
/**
|
|
1253
1459
|
* <p>Specify the template source with one of the following options, but not both. Keys
|
|
1254
1460
|
* accepted: [ <code>LoadTemplateFromURL</code>, <code>ImportFromPhysicalId</code> ].</p>
|
|
1255
|
-
* <p>
|
|
1461
|
+
* <p>Use the URL of the CloudFormation template in Amazon S3 or GitHub in JSON format. </p>
|
|
1256
1462
|
* <p>
|
|
1257
1463
|
* <code>LoadTemplateFromURL</code>
|
|
1258
1464
|
* </p>
|
|
1259
|
-
* <p>Use the URL of the CloudFormation template in Amazon S3
|
|
1465
|
+
* <p>Use the URL of the CloudFormation template in Amazon S3 or GitHub in JSON format.</p>
|
|
1260
1466
|
* <p>
|
|
1261
1467
|
* <code>ImportFromPhysicalId</code>
|
|
1262
1468
|
* </p>
|
|
@@ -1810,8 +2016,7 @@ export interface DescribePortfolioSharesInput {
|
|
|
1810
2016
|
export interface PortfolioShareDetail {
|
|
1811
2017
|
/**
|
|
1812
2018
|
* <p>The identifier of the recipient entity that received the portfolio share.
|
|
1813
|
-
* The recipient
|
|
1814
|
-
* </p>
|
|
2019
|
+
* The recipient entity can be one of the following:</p>
|
|
1815
2020
|
* <p>1. An external account.</p>
|
|
1816
2021
|
* <p>2. An organziation member account.</p>
|
|
1817
2022
|
* <p>3. An organzational unit (OU).</p>
|
|
@@ -1830,6 +2035,10 @@ export interface PortfolioShareDetail {
|
|
|
1830
2035
|
* <p>Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.</p>
|
|
1831
2036
|
*/
|
|
1832
2037
|
ShareTagOptions?: boolean;
|
|
2038
|
+
/**
|
|
2039
|
+
* <p>Indicates if <code>Principal</code> sharing is enabled or disabled for the portfolio share. </p>
|
|
2040
|
+
*/
|
|
2041
|
+
SharePrincipals?: boolean;
|
|
1833
2042
|
}
|
|
1834
2043
|
export interface DescribePortfolioSharesOutput {
|
|
1835
2044
|
/**
|
|
@@ -2397,7 +2606,7 @@ export interface ProvisionedProductPlanDetails {
|
|
|
2397
2606
|
*/
|
|
2398
2607
|
Status?: ProvisionedProductPlanStatus | string;
|
|
2399
2608
|
/**
|
|
2400
|
-
* <p>The time when the plan was last updated.</p>
|
|
2609
|
+
* <p>The UTC time stamp when the plan was last updated.</p>
|
|
2401
2610
|
*/
|
|
2402
2611
|
UpdatedTime?: Date;
|
|
2403
2612
|
/**
|
|
@@ -2577,7 +2786,7 @@ export interface DescribeProvisioningArtifactOutput {
|
|
|
2577
2786
|
*/
|
|
2578
2787
|
ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
|
|
2579
2788
|
/**
|
|
2580
|
-
* <p>The URL of the CloudFormation template in Amazon S3
|
|
2789
|
+
* <p>The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format.</p>
|
|
2581
2790
|
*/
|
|
2582
2791
|
Info?: Record<string, string>;
|
|
2583
2792
|
/**
|
|
@@ -3159,9 +3368,15 @@ export interface DisassociatePrincipalFromPortfolioInput {
|
|
|
3159
3368
|
*/
|
|
3160
3369
|
PortfolioId: string | undefined;
|
|
3161
3370
|
/**
|
|
3162
|
-
* <p>The ARN of the principal (IAM user, role, or group)
|
|
3371
|
+
* <p>The ARN of the principal (IAM user, role, or group). This field allows an ARN with no <code>accountID</code> if
|
|
3372
|
+
* <code>PrincipalType</code> is <code>IAM_PATTERN</code>.</p>
|
|
3163
3373
|
*/
|
|
3164
3374
|
PrincipalARN: string | undefined;
|
|
3375
|
+
/**
|
|
3376
|
+
* <p>The supported value is <code>IAM</code> if you use a fully defined ARN, or <code>IAM_PATTERN</code>
|
|
3377
|
+
* if you use no <code>accountID</code>. </p>
|
|
3378
|
+
*/
|
|
3379
|
+
PrincipalType?: PrincipalType | string;
|
|
3165
3380
|
}
|
|
3166
3381
|
export interface DisassociatePrincipalFromPortfolioOutput {
|
|
3167
3382
|
}
|
|
@@ -3862,17 +4077,19 @@ export interface ListPrincipalsForPortfolioInput {
|
|
|
3862
4077
|
*/
|
|
3863
4078
|
export interface Principal {
|
|
3864
4079
|
/**
|
|
3865
|
-
* <p>The ARN of the principal (IAM user, role, or group)
|
|
4080
|
+
* <p>The ARN of the principal (IAM user, role, or group). This field allows for an ARN with no <code>accountID</code> if the
|
|
4081
|
+
* <code>PrincipalType</code> is an <code>IAM_PATTERN</code>. </p>
|
|
3866
4082
|
*/
|
|
3867
4083
|
PrincipalARN?: string;
|
|
3868
4084
|
/**
|
|
3869
|
-
* <p>The principal type. The supported value is <code>IAM</code
|
|
4085
|
+
* <p>The principal type. The supported value is <code>IAM</code> if you use a fully defined ARN, or
|
|
4086
|
+
* <code>IAM_PATTERN</code> if you use an ARN with no <code>accountID</code>. </p>
|
|
3870
4087
|
*/
|
|
3871
4088
|
PrincipalType?: PrincipalType | string;
|
|
3872
4089
|
}
|
|
3873
4090
|
export interface ListPrincipalsForPortfolioOutput {
|
|
3874
4091
|
/**
|
|
3875
|
-
* <p>The
|
|
4092
|
+
* <p>The <code>PrincipalARN</code>s and corresponding <code>PrincipalType</code>s associated with the portfolio.</p>
|
|
3876
4093
|
*/
|
|
3877
4094
|
Principals?: Principal[];
|
|
3878
4095
|
/**
|
|
@@ -5229,9 +5446,15 @@ export interface UpdatePortfolioShareInput {
|
|
|
5229
5446
|
*/
|
|
5230
5447
|
OrganizationNode?: OrganizationNode;
|
|
5231
5448
|
/**
|
|
5232
|
-
* <p>
|
|
5449
|
+
* <p>Enables or disables <code>TagOptions</code> sharing for the portfolio share. If this field is not provided, the current state of
|
|
5450
|
+
* TagOptions sharing on the portfolio share will not be modified.</p>
|
|
5233
5451
|
*/
|
|
5234
5452
|
ShareTagOptions?: boolean;
|
|
5453
|
+
/**
|
|
5454
|
+
* <p>A flag to enables or disables <code>Principals</code> sharing in the portfolio. If this field is not provided,
|
|
5455
|
+
* the current state of the <code>Principals</code> sharing on the portfolio share will not be modified. </p>
|
|
5456
|
+
*/
|
|
5457
|
+
SharePrincipals?: boolean;
|
|
5235
5458
|
}
|
|
5236
5459
|
export interface UpdatePortfolioShareOutput {
|
|
5237
5460
|
/**
|
|
@@ -5304,6 +5527,24 @@ export interface UpdateProductInput {
|
|
|
5304
5527
|
* <p>The tags to remove from the product.</p>
|
|
5305
5528
|
*/
|
|
5306
5529
|
RemoveTags?: string[];
|
|
5530
|
+
/**
|
|
5531
|
+
* <p>Specifies connection details for the updated product and syncs the product to the connection source
|
|
5532
|
+
* artifact. This automatically manages the product's artifacts based on changes to the source.
|
|
5533
|
+
* The <code>SourceConnection</code> parameter consists of the following sub-fields.</p>
|
|
5534
|
+
* <ul>
|
|
5535
|
+
* <li>
|
|
5536
|
+
* <p>
|
|
5537
|
+
* <code>Type</code>
|
|
5538
|
+
* </p>
|
|
5539
|
+
* </li>
|
|
5540
|
+
* <li>
|
|
5541
|
+
* <p>
|
|
5542
|
+
* <code>ConnectionParamters</code>
|
|
5543
|
+
* </p>
|
|
5544
|
+
* </li>
|
|
5545
|
+
* </ul>
|
|
5546
|
+
*/
|
|
5547
|
+
SourceConnection?: SourceConnection;
|
|
5307
5548
|
}
|
|
5308
5549
|
export interface UpdateProductOutput {
|
|
5309
5550
|
/**
|
|
@@ -5315,7 +5556,11 @@ export interface UpdateProductOutput {
|
|
|
5315
5556
|
*/
|
|
5316
5557
|
Tags?: Tag[];
|
|
5317
5558
|
}
|
|
5318
|
-
export declare
|
|
5559
|
+
export declare enum StackSetOperationType {
|
|
5560
|
+
CREATE = "CREATE",
|
|
5561
|
+
DELETE = "DELETE",
|
|
5562
|
+
UPDATE = "UPDATE"
|
|
5563
|
+
}
|
|
5319
5564
|
/**
|
|
5320
5565
|
* <p>The user-defined preferences that will be applied when updating a provisioned product. Not all preferences are applicable to all provisioned product types.</p>
|
|
5321
5566
|
*/
|
|
@@ -5588,7 +5833,7 @@ export interface UpdateProvisioningArtifactOutput {
|
|
|
5588
5833
|
*/
|
|
5589
5834
|
ProvisioningArtifactDetail?: ProvisioningArtifactDetail;
|
|
5590
5835
|
/**
|
|
5591
|
-
* <p>The URL of the CloudFormation template in Amazon S3
|
|
5836
|
+
* <p>The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format.</p>
|
|
5592
5837
|
*/
|
|
5593
5838
|
Info?: Record<string, string>;
|
|
5594
5839
|
/**
|
|
@@ -5786,6 +6031,18 @@ export declare const CreatePortfolioShareOutputFilterSensitiveLog: (obj: CreateP
|
|
|
5786
6031
|
* @internal
|
|
5787
6032
|
*/
|
|
5788
6033
|
export declare const ProvisioningArtifactPropertiesFilterSensitiveLog: (obj: ProvisioningArtifactProperties) => any;
|
|
6034
|
+
/**
|
|
6035
|
+
* @internal
|
|
6036
|
+
*/
|
|
6037
|
+
export declare const CodeStarParametersFilterSensitiveLog: (obj: CodeStarParameters) => any;
|
|
6038
|
+
/**
|
|
6039
|
+
* @internal
|
|
6040
|
+
*/
|
|
6041
|
+
export declare const SourceConnectionParametersFilterSensitiveLog: (obj: SourceConnectionParameters) => any;
|
|
6042
|
+
/**
|
|
6043
|
+
* @internal
|
|
6044
|
+
*/
|
|
6045
|
+
export declare const SourceConnectionFilterSensitiveLog: (obj: SourceConnection) => any;
|
|
5789
6046
|
/**
|
|
5790
6047
|
* @internal
|
|
5791
6048
|
*/
|
|
@@ -5794,6 +6051,14 @@ export declare const CreateProductInputFilterSensitiveLog: (obj: CreateProductIn
|
|
|
5794
6051
|
* @internal
|
|
5795
6052
|
*/
|
|
5796
6053
|
export declare const ProductViewSummaryFilterSensitiveLog: (obj: ProductViewSummary) => any;
|
|
6054
|
+
/**
|
|
6055
|
+
* @internal
|
|
6056
|
+
*/
|
|
6057
|
+
export declare const LastSyncFilterSensitiveLog: (obj: LastSync) => any;
|
|
6058
|
+
/**
|
|
6059
|
+
* @internal
|
|
6060
|
+
*/
|
|
6061
|
+
export declare const SourceConnectionDetailFilterSensitiveLog: (obj: SourceConnectionDetail) => any;
|
|
5797
6062
|
/**
|
|
5798
6063
|
* @internal
|
|
5799
6064
|
*/
|
|
@@ -68,6 +68,7 @@ export declare class DuplicateResourceException extends __BaseException {
|
|
|
68
68
|
}
|
|
69
69
|
export declare enum PrincipalType {
|
|
70
70
|
IAM = "IAM",
|
|
71
|
+
IAM_PATTERN = "IAM_PATTERN",
|
|
71
72
|
}
|
|
72
73
|
export interface AssociatePrincipalWithPortfolioInput {
|
|
73
74
|
AcceptLanguage?: string;
|
|
@@ -224,6 +225,7 @@ export interface CreatePortfolioShareInput {
|
|
|
224
225
|
AccountId?: string;
|
|
225
226
|
OrganizationNode?: OrganizationNode;
|
|
226
227
|
ShareTagOptions?: boolean;
|
|
228
|
+
SharePrincipals?: boolean;
|
|
227
229
|
}
|
|
228
230
|
export interface CreatePortfolioShareOutput {
|
|
229
231
|
PortfolioShareToken?: string;
|
|
@@ -248,10 +250,26 @@ export declare enum ProvisioningArtifactType {
|
|
|
248
250
|
export interface ProvisioningArtifactProperties {
|
|
249
251
|
Name?: string;
|
|
250
252
|
Description?: string;
|
|
251
|
-
Info
|
|
253
|
+
Info?: Record<string, string>;
|
|
252
254
|
Type?: ProvisioningArtifactType | string;
|
|
253
255
|
DisableTemplateValidation?: boolean;
|
|
254
256
|
}
|
|
257
|
+
export interface CodeStarParameters {
|
|
258
|
+
ConnectionArn: string | undefined;
|
|
259
|
+
Repository: string | undefined;
|
|
260
|
+
Branch: string | undefined;
|
|
261
|
+
ArtifactPath: string | undefined;
|
|
262
|
+
}
|
|
263
|
+
export interface SourceConnectionParameters {
|
|
264
|
+
CodeStar?: CodeStarParameters;
|
|
265
|
+
}
|
|
266
|
+
export declare enum SourceType {
|
|
267
|
+
CODESTAR = "CODESTAR",
|
|
268
|
+
}
|
|
269
|
+
export interface SourceConnection {
|
|
270
|
+
Type?: SourceType | string;
|
|
271
|
+
ConnectionParameters: SourceConnectionParameters | undefined;
|
|
272
|
+
}
|
|
255
273
|
export interface CreateProductInput {
|
|
256
274
|
AcceptLanguage?: string;
|
|
257
275
|
Name: string | undefined;
|
|
@@ -263,8 +281,9 @@ export interface CreateProductInput {
|
|
|
263
281
|
SupportUrl?: string;
|
|
264
282
|
ProductType: ProductType | string | undefined;
|
|
265
283
|
Tags?: Tag[];
|
|
266
|
-
ProvisioningArtifactParameters
|
|
284
|
+
ProvisioningArtifactParameters?: ProvisioningArtifactProperties;
|
|
267
285
|
IdempotencyToken?: string;
|
|
286
|
+
SourceConnection?: SourceConnection;
|
|
268
287
|
}
|
|
269
288
|
export interface ProductViewSummary {
|
|
270
289
|
Id?: string;
|
|
@@ -279,11 +298,28 @@ export interface ProductViewSummary {
|
|
|
279
298
|
SupportDescription?: string;
|
|
280
299
|
SupportUrl?: string;
|
|
281
300
|
}
|
|
301
|
+
export declare enum LastSyncStatus {
|
|
302
|
+
FAILED = "FAILED",
|
|
303
|
+
SUCCEEDED = "SUCCEEDED",
|
|
304
|
+
}
|
|
305
|
+
export interface LastSync {
|
|
306
|
+
LastSyncTime?: Date;
|
|
307
|
+
LastSyncStatus?: LastSyncStatus | string;
|
|
308
|
+
LastSyncStatusMessage?: string;
|
|
309
|
+
LastSuccessfulSyncTime?: Date;
|
|
310
|
+
LastSuccessfulSyncProvisioningArtifactId?: string;
|
|
311
|
+
}
|
|
312
|
+
export interface SourceConnectionDetail {
|
|
313
|
+
Type?: SourceType | string;
|
|
314
|
+
ConnectionParameters?: SourceConnectionParameters;
|
|
315
|
+
LastSync?: LastSync;
|
|
316
|
+
}
|
|
282
317
|
export interface ProductViewDetail {
|
|
283
318
|
ProductViewSummary?: ProductViewSummary;
|
|
284
319
|
Status?: Status | string;
|
|
285
320
|
ProductARN?: string;
|
|
286
321
|
CreatedTime?: Date;
|
|
322
|
+
SourceConnection?: SourceConnectionDetail;
|
|
287
323
|
}
|
|
288
324
|
export declare enum ProvisioningArtifactGuidance {
|
|
289
325
|
DEFAULT = "DEFAULT",
|
|
@@ -297,6 +333,7 @@ export interface ProvisioningArtifactDetail {
|
|
|
297
333
|
CreatedTime?: Date;
|
|
298
334
|
Active?: boolean;
|
|
299
335
|
Guidance?: ProvisioningArtifactGuidance | string;
|
|
336
|
+
SourceRevision?: string;
|
|
300
337
|
}
|
|
301
338
|
export interface CreateProductOutput {
|
|
302
339
|
ProductViewDetail?: ProductViewDetail;
|
|
@@ -492,6 +529,7 @@ export interface PortfolioShareDetail {
|
|
|
492
529
|
Type?: DescribePortfolioShareType | string;
|
|
493
530
|
Accepted?: boolean;
|
|
494
531
|
ShareTagOptions?: boolean;
|
|
532
|
+
SharePrincipals?: boolean;
|
|
495
533
|
}
|
|
496
534
|
export interface DescribePortfolioSharesOutput {
|
|
497
535
|
NextPageToken?: string;
|
|
@@ -842,6 +880,7 @@ export interface DisassociatePrincipalFromPortfolioInput {
|
|
|
842
880
|
AcceptLanguage?: string;
|
|
843
881
|
PortfolioId: string | undefined;
|
|
844
882
|
PrincipalARN: string | undefined;
|
|
883
|
+
PrincipalType?: PrincipalType | string;
|
|
845
884
|
}
|
|
846
885
|
export interface DisassociatePrincipalFromPortfolioOutput {}
|
|
847
886
|
export interface DisassociateProductFromPortfolioInput {
|
|
@@ -1312,6 +1351,7 @@ export interface UpdatePortfolioShareInput {
|
|
|
1312
1351
|
AccountId?: string;
|
|
1313
1352
|
OrganizationNode?: OrganizationNode;
|
|
1314
1353
|
ShareTagOptions?: boolean;
|
|
1354
|
+
SharePrincipals?: boolean;
|
|
1315
1355
|
}
|
|
1316
1356
|
export interface UpdatePortfolioShareOutput {
|
|
1317
1357
|
PortfolioShareToken?: string;
|
|
@@ -1329,12 +1369,17 @@ export interface UpdateProductInput {
|
|
|
1329
1369
|
SupportUrl?: string;
|
|
1330
1370
|
AddTags?: Tag[];
|
|
1331
1371
|
RemoveTags?: string[];
|
|
1372
|
+
SourceConnection?: SourceConnection;
|
|
1332
1373
|
}
|
|
1333
1374
|
export interface UpdateProductOutput {
|
|
1334
1375
|
ProductViewDetail?: ProductViewDetail;
|
|
1335
1376
|
Tags?: Tag[];
|
|
1336
1377
|
}
|
|
1337
|
-
export declare
|
|
1378
|
+
export declare enum StackSetOperationType {
|
|
1379
|
+
CREATE = "CREATE",
|
|
1380
|
+
DELETE = "DELETE",
|
|
1381
|
+
UPDATE = "UPDATE",
|
|
1382
|
+
}
|
|
1338
1383
|
export interface UpdateProvisioningPreferences {
|
|
1339
1384
|
StackSetAccounts?: string[];
|
|
1340
1385
|
StackSetRegions?: string[];
|
|
@@ -1504,12 +1549,25 @@ export declare const CreatePortfolioShareOutputFilterSensitiveLog: (
|
|
|
1504
1549
|
export declare const ProvisioningArtifactPropertiesFilterSensitiveLog: (
|
|
1505
1550
|
obj: ProvisioningArtifactProperties
|
|
1506
1551
|
) => any;
|
|
1552
|
+
export declare const CodeStarParametersFilterSensitiveLog: (
|
|
1553
|
+
obj: CodeStarParameters
|
|
1554
|
+
) => any;
|
|
1555
|
+
export declare const SourceConnectionParametersFilterSensitiveLog: (
|
|
1556
|
+
obj: SourceConnectionParameters
|
|
1557
|
+
) => any;
|
|
1558
|
+
export declare const SourceConnectionFilterSensitiveLog: (
|
|
1559
|
+
obj: SourceConnection
|
|
1560
|
+
) => any;
|
|
1507
1561
|
export declare const CreateProductInputFilterSensitiveLog: (
|
|
1508
1562
|
obj: CreateProductInput
|
|
1509
1563
|
) => any;
|
|
1510
1564
|
export declare const ProductViewSummaryFilterSensitiveLog: (
|
|
1511
1565
|
obj: ProductViewSummary
|
|
1512
1566
|
) => any;
|
|
1567
|
+
export declare const LastSyncFilterSensitiveLog: (obj: LastSync) => any;
|
|
1568
|
+
export declare const SourceConnectionDetailFilterSensitiveLog: (
|
|
1569
|
+
obj: SourceConnectionDetail
|
|
1570
|
+
) => any;
|
|
1513
1571
|
export declare const ProductViewDetailFilterSensitiveLog: (
|
|
1514
1572
|
obj: ProductViewDetail
|
|
1515
1573
|
) => any;
|
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.214.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",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.213.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.212.0",
|
|
24
24
|
"@aws-sdk/credential-provider-node": "3.212.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.212.0",
|