aws-sdk-servicecatalog 1.72.0 → 1.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicecatalog/client.rb +223 -24
- data/lib/aws-sdk-servicecatalog/client_api.rb +50 -2
- data/lib/aws-sdk-servicecatalog/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-servicecatalog/endpoint_provider.rb +112 -0
- data/lib/aws-sdk-servicecatalog/endpoints.rb +1233 -0
- data/lib/aws-sdk-servicecatalog/plugins/endpoints.rb +242 -0
- data/lib/aws-sdk-servicecatalog/types.rb +347 -37
- data/lib/aws-sdk-servicecatalog.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f63e728d7e85836b83c7e519b66dd4ee25211d1c22398f08d19fde4160d5bb7
|
4
|
+
data.tar.gz: f4949541f07d4befe8e0d9ec64fe26a4ed580347f0e6fd3a254ecf60894d05a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d17983c29dca98d171737d218b87cae1cf210d2bc0c103df0a26b4159d748f3c3181b6b1e958f9fac1481f049c76c881c62ff4441d57e0c5f60a4085bbb6558
|
7
|
+
data.tar.gz: 8c5b847eab24ff654fb7dcf15b1bb7a270a4972454c385370914f3b729f01df9946103e4687fb8dfb0de6ba92cf8de5dbfd77d4fe17d03e9565dc185b5db9b6d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2022-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release 1. adds support for Principal Name Sharing with Service Catalog portfolio sharing. 2. Introduces repo sourced products which are created and managed with existing SC APIs. These products are synced to external repos and auto create new product versions based on changes in the repo.
|
8
|
+
|
9
|
+
1.73.0 (2022-10-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.72.0 (2022-08-16)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:servicecatalog)
|
@@ -79,8 +79,9 @@ module Aws::ServiceCatalog
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
84
|
+
add_plugin(Aws::ServiceCatalog::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -297,6 +298,19 @@ module Aws::ServiceCatalog
|
|
297
298
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
298
299
|
# requests are made, and retries are disabled.
|
299
300
|
#
|
301
|
+
# @option options [Aws::TokenProvider] :token_provider
|
302
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
303
|
+
# following classes:
|
304
|
+
#
|
305
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
306
|
+
# tokens.
|
307
|
+
#
|
308
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
309
|
+
# access token generated from `aws login`.
|
310
|
+
#
|
311
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
312
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
313
|
+
#
|
300
314
|
# @option options [Boolean] :use_dualstack_endpoint
|
301
315
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
302
316
|
# will be used if available.
|
@@ -310,6 +324,9 @@ module Aws::ServiceCatalog
|
|
310
324
|
# When `true`, request parameters are validated before
|
311
325
|
# sending the request.
|
312
326
|
#
|
327
|
+
# @option options [Aws::ServiceCatalog::EndpointProvider] :endpoint_provider
|
328
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::ServiceCatalog::EndpointParameters`
|
329
|
+
#
|
313
330
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
314
331
|
# requests through. Formatted like 'http://proxy.com:123'.
|
315
332
|
#
|
@@ -437,6 +454,29 @@ module Aws::ServiceCatalog
|
|
437
454
|
|
438
455
|
# Associates the specified principal ARN with the specified portfolio.
|
439
456
|
#
|
457
|
+
# If you share the portfolio with principal name sharing enabled, the
|
458
|
+
# `PrincipalARN` association is included in the share.
|
459
|
+
#
|
460
|
+
# The `PortfolioID`, `PrincipalARN`, and `PrincipalType` parameters are
|
461
|
+
# required.
|
462
|
+
#
|
463
|
+
# You can associate a maximum of 10 Principals with a portfolio using
|
464
|
+
# `PrincipalType` as `IAM_PATTERN`
|
465
|
+
#
|
466
|
+
# <note markdown="1"> When you associate a principal with portfolio, a potential privilege
|
467
|
+
# escalation path may occur when that portfolio is then shared with
|
468
|
+
# other accounts. For a user in a recipient account who is *not* an
|
469
|
+
# Service Catalog Admin, but still has the ability to create Principals
|
470
|
+
# (Users/Groups/Roles), that user could create a role that matches a
|
471
|
+
# principal name association for the portfolio. Although this user may
|
472
|
+
# not know which principal names are associated through Service Catalog,
|
473
|
+
# they may be able to guess the user. If this potential escalation path
|
474
|
+
# is a concern, then Service Catalog recommends using `PrincipalType` as
|
475
|
+
# `IAM`. With this configuration, the `PrincipalARN` must already exist
|
476
|
+
# in the recipient account before it can be associated.
|
477
|
+
#
|
478
|
+
# </note>
|
479
|
+
#
|
440
480
|
# @option params [String] :accept_language
|
441
481
|
# The language code.
|
442
482
|
#
|
@@ -450,10 +490,17 @@ module Aws::ServiceCatalog
|
|
450
490
|
# The portfolio identifier.
|
451
491
|
#
|
452
492
|
# @option params [required, String] :principal_arn
|
453
|
-
# The ARN of the principal (IAM user, role, or group).
|
493
|
+
# The ARN of the principal (IAM user, role, or group). This field allows
|
494
|
+
# an ARN with no `accountID` if `PrincipalType` is `IAM_PATTERN`.
|
495
|
+
#
|
496
|
+
# You can associate multiple `IAM` patterns even if the account has no
|
497
|
+
# principal with that name. This is useful in Principal Name Sharing if
|
498
|
+
# you want to share a principal without creating it in the account that
|
499
|
+
# owns the portfolio.
|
454
500
|
#
|
455
501
|
# @option params [required, String] :principal_type
|
456
|
-
# The principal type. The supported value is `IAM
|
502
|
+
# The principal type. The supported value is `IAM` if you use a fully
|
503
|
+
# defined ARN, or `IAM_PATTERN` if you use an ARN with no `accountID`.
|
457
504
|
#
|
458
505
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
459
506
|
#
|
@@ -463,7 +510,7 @@ module Aws::ServiceCatalog
|
|
463
510
|
# accept_language: "AcceptLanguage",
|
464
511
|
# portfolio_id: "Id", # required
|
465
512
|
# principal_arn: "PrincipalARN", # required
|
466
|
-
# principal_type: "IAM", # required, accepts IAM
|
513
|
+
# principal_type: "IAM", # required, accepts IAM, IAM_PATTERN
|
467
514
|
# })
|
468
515
|
#
|
469
516
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio AWS API Documentation
|
@@ -1018,6 +1065,20 @@ module Aws::ServiceCatalog
|
|
1018
1065
|
# error. To update an existing share, you must use the `
|
1019
1066
|
# UpdatePortfolioShare` API instead.
|
1020
1067
|
#
|
1068
|
+
# <note markdown="1"> When you associate a principal with portfolio, a potential privilege
|
1069
|
+
# escalation path may occur when that portfolio is then shared with
|
1070
|
+
# other accounts. For a user in a recipient account who is *not* an
|
1071
|
+
# Service Catalog Admin, but still has the ability to create Principals
|
1072
|
+
# (Users/Groups/Roles), that user could create a role that matches a
|
1073
|
+
# principal name association for the portfolio. Although this user may
|
1074
|
+
# not know which principal names are associated through Service Catalog,
|
1075
|
+
# they may be able to guess the user. If this potential escalation path
|
1076
|
+
# is a concern, then Service Catalog recommends using `PrincipalType` as
|
1077
|
+
# `IAM`. With this configuration, the `PrincipalARN` must already exist
|
1078
|
+
# in the recipient account before it can be associated.
|
1079
|
+
#
|
1080
|
+
# </note>
|
1081
|
+
#
|
1021
1082
|
# @option params [String] :accept_language
|
1022
1083
|
# The language code.
|
1023
1084
|
#
|
@@ -1045,6 +1106,18 @@ module Aws::ServiceCatalog
|
|
1045
1106
|
# Enables or disables `TagOptions ` sharing when creating the portfolio
|
1046
1107
|
# share. If this flag is not provided, TagOptions sharing is disabled.
|
1047
1108
|
#
|
1109
|
+
# @option params [Boolean] :share_principals
|
1110
|
+
# Enables or disables `Principal` sharing when creating the portfolio
|
1111
|
+
# share. If this flag is not provided, principal sharing is disabled.
|
1112
|
+
#
|
1113
|
+
# When you enable Principal Name Sharing for a portfolio share, the
|
1114
|
+
# share recipient account end users with a principal that matches any of
|
1115
|
+
# the associated IAM patterns can provision products from the portfolio.
|
1116
|
+
# Once shared, the share recipient can view associations of
|
1117
|
+
# `PrincipalType`\: `IAM_PATTERN` on their portfolio. You can create the
|
1118
|
+
# principals in the recipient account before or after creating the
|
1119
|
+
# share.
|
1120
|
+
#
|
1048
1121
|
# @return [Types::CreatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1049
1122
|
#
|
1050
1123
|
# * {Types::CreatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
|
@@ -1060,6 +1133,7 @@ module Aws::ServiceCatalog
|
|
1060
1133
|
# value: "OrganizationNodeValue",
|
1061
1134
|
# },
|
1062
1135
|
# share_tag_options: false,
|
1136
|
+
# share_principals: false,
|
1063
1137
|
# })
|
1064
1138
|
#
|
1065
1139
|
# @example Response structure
|
@@ -1122,7 +1196,7 @@ module Aws::ServiceCatalog
|
|
1122
1196
|
# @option params [Array<Types::Tag>] :tags
|
1123
1197
|
# One or more tags.
|
1124
1198
|
#
|
1125
|
-
# @option params [
|
1199
|
+
# @option params [Types::ProvisioningArtifactProperties] :provisioning_artifact_parameters
|
1126
1200
|
# The configuration of the provisioning artifact.
|
1127
1201
|
#
|
1128
1202
|
# @option params [required, String] :idempotency_token
|
@@ -1133,6 +1207,16 @@ module Aws::ServiceCatalog
|
|
1133
1207
|
# **A suitable default value is auto-generated.** You should normally
|
1134
1208
|
# not need to pass this option.**
|
1135
1209
|
#
|
1210
|
+
# @option params [Types::SourceConnection] :source_connection
|
1211
|
+
# Specifies connection details for the created product and syncs the
|
1212
|
+
# product to the connection source artifact. This automatically manages
|
1213
|
+
# the product's artifacts based on changes to the source. The
|
1214
|
+
# `SourceConnection` parameter consists of the following sub-fields.
|
1215
|
+
#
|
1216
|
+
# * `Type`
|
1217
|
+
#
|
1218
|
+
# * `ConnectionParamters`
|
1219
|
+
#
|
1136
1220
|
# @return [Types::CreateProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1137
1221
|
#
|
1138
1222
|
# * {Types::CreateProductOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
|
@@ -1157,16 +1241,27 @@ module Aws::ServiceCatalog
|
|
1157
1241
|
# value: "TagValue", # required
|
1158
1242
|
# },
|
1159
1243
|
# ],
|
1160
|
-
# provisioning_artifact_parameters: {
|
1244
|
+
# provisioning_artifact_parameters: {
|
1161
1245
|
# name: "ProvisioningArtifactName",
|
1162
1246
|
# description: "ProvisioningArtifactDescription",
|
1163
|
-
# info: {
|
1247
|
+
# info: {
|
1164
1248
|
# "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
|
1165
1249
|
# },
|
1166
1250
|
# type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
|
1167
1251
|
# disable_template_validation: false,
|
1168
1252
|
# },
|
1169
1253
|
# idempotency_token: "IdempotencyToken", # required
|
1254
|
+
# source_connection: {
|
1255
|
+
# type: "CODESTAR", # accepts CODESTAR
|
1256
|
+
# connection_parameters: { # required
|
1257
|
+
# code_star: {
|
1258
|
+
# connection_arn: "CodeStarConnectionArn", # required
|
1259
|
+
# repository: "Repository", # required
|
1260
|
+
# branch: "RepositoryBranch", # required
|
1261
|
+
# artifact_path: "RepositoryArtifactPath", # required
|
1262
|
+
# },
|
1263
|
+
# },
|
1264
|
+
# },
|
1170
1265
|
# })
|
1171
1266
|
#
|
1172
1267
|
# @example Response structure
|
@@ -1185,6 +1280,16 @@ module Aws::ServiceCatalog
|
|
1185
1280
|
# resp.product_view_detail.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
1186
1281
|
# resp.product_view_detail.product_arn #=> String
|
1187
1282
|
# resp.product_view_detail.created_time #=> Time
|
1283
|
+
# resp.product_view_detail.source_connection.type #=> String, one of "CODESTAR"
|
1284
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.connection_arn #=> String
|
1285
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.repository #=> String
|
1286
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.branch #=> String
|
1287
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.artifact_path #=> String
|
1288
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_time #=> Time
|
1289
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status #=> String, one of "SUCCEEDED", "FAILED"
|
1290
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status_message #=> String
|
1291
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_time #=> Time
|
1292
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_provisioning_artifact_id #=> String
|
1188
1293
|
# resp.provisioning_artifact_detail.id #=> String
|
1189
1294
|
# resp.provisioning_artifact_detail.name #=> String
|
1190
1295
|
# resp.provisioning_artifact_detail.description #=> String
|
@@ -1192,6 +1297,7 @@ module Aws::ServiceCatalog
|
|
1192
1297
|
# resp.provisioning_artifact_detail.created_time #=> Time
|
1193
1298
|
# resp.provisioning_artifact_detail.active #=> Boolean
|
1194
1299
|
# resp.provisioning_artifact_detail.guidance #=> String, one of "DEFAULT", "DEPRECATED"
|
1300
|
+
# resp.provisioning_artifact_detail.source_revision #=> String
|
1195
1301
|
# resp.tags #=> Array
|
1196
1302
|
# resp.tags[0].key #=> String
|
1197
1303
|
# resp.tags[0].value #=> String
|
@@ -1374,7 +1480,7 @@ module Aws::ServiceCatalog
|
|
1374
1480
|
# parameters: { # required
|
1375
1481
|
# name: "ProvisioningArtifactName",
|
1376
1482
|
# description: "ProvisioningArtifactDescription",
|
1377
|
-
# info: {
|
1483
|
+
# info: {
|
1378
1484
|
# "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
|
1379
1485
|
# },
|
1380
1486
|
# type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
|
@@ -1392,6 +1498,7 @@ module Aws::ServiceCatalog
|
|
1392
1498
|
# resp.provisioning_artifact_detail.created_time #=> Time
|
1393
1499
|
# resp.provisioning_artifact_detail.active #=> Boolean
|
1394
1500
|
# resp.provisioning_artifact_detail.guidance #=> String, one of "DEFAULT", "DEPRECATED"
|
1501
|
+
# resp.provisioning_artifact_detail.source_revision #=> String
|
1395
1502
|
# resp.info #=> Hash
|
1396
1503
|
# resp.info["ProvisioningArtifactInfoKey"] #=> String
|
1397
1504
|
# resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
@@ -2089,6 +2196,7 @@ module Aws::ServiceCatalog
|
|
2089
2196
|
# resp.portfolio_share_details[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATIONAL_UNIT", "ORGANIZATION_MEMBER_ACCOUNT"
|
2090
2197
|
# resp.portfolio_share_details[0].accepted #=> Boolean
|
2091
2198
|
# resp.portfolio_share_details[0].share_tag_options #=> Boolean
|
2199
|
+
# resp.portfolio_share_details[0].share_principals #=> Boolean
|
2092
2200
|
#
|
2093
2201
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShares AWS API Documentation
|
2094
2202
|
#
|
@@ -2226,6 +2334,16 @@ module Aws::ServiceCatalog
|
|
2226
2334
|
# resp.product_view_detail.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
2227
2335
|
# resp.product_view_detail.product_arn #=> String
|
2228
2336
|
# resp.product_view_detail.created_time #=> Time
|
2337
|
+
# resp.product_view_detail.source_connection.type #=> String, one of "CODESTAR"
|
2338
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.connection_arn #=> String
|
2339
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.repository #=> String
|
2340
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.branch #=> String
|
2341
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.artifact_path #=> String
|
2342
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_time #=> Time
|
2343
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status #=> String, one of "SUCCEEDED", "FAILED"
|
2344
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status_message #=> String
|
2345
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_time #=> Time
|
2346
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_provisioning_artifact_id #=> String
|
2229
2347
|
# resp.provisioning_artifact_summaries #=> Array
|
2230
2348
|
# resp.provisioning_artifact_summaries[0].id #=> String
|
2231
2349
|
# resp.provisioning_artifact_summaries[0].name #=> String
|
@@ -2512,6 +2630,7 @@ module Aws::ServiceCatalog
|
|
2512
2630
|
# resp.provisioning_artifact_detail.created_time #=> Time
|
2513
2631
|
# resp.provisioning_artifact_detail.active #=> Boolean
|
2514
2632
|
# resp.provisioning_artifact_detail.guidance #=> String, one of "DEFAULT", "DEPRECATED"
|
2633
|
+
# resp.provisioning_artifact_detail.source_revision #=> String
|
2515
2634
|
# resp.info #=> Hash
|
2516
2635
|
# resp.info["ProvisioningArtifactInfoKey"] #=> String
|
2517
2636
|
# resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
@@ -2907,6 +3026,17 @@ module Aws::ServiceCatalog
|
|
2907
3026
|
# Disassociates a previously associated principal ARN from a specified
|
2908
3027
|
# portfolio.
|
2909
3028
|
#
|
3029
|
+
# The `PrincipalType` and `PrincipalARN` must match the
|
3030
|
+
# `AssociatePrincipalWithPortfolio` call request details. For example,
|
3031
|
+
# to disassociate an association created with a `PrincipalARN` of
|
3032
|
+
# `PrincipalType` IAM you must use the `PrincipalType` IAM when calling
|
3033
|
+
# `DisassociatePrincipalFromPortfolio`.
|
3034
|
+
#
|
3035
|
+
# For portfolios that have been shared with principal name sharing
|
3036
|
+
# enabled: after disassociating a principal, share recipient accounts
|
3037
|
+
# will no longer be able to provision products in this portfolio using a
|
3038
|
+
# role matching the name of the associated principal.
|
3039
|
+
#
|
2910
3040
|
# @option params [String] :accept_language
|
2911
3041
|
# The language code.
|
2912
3042
|
#
|
@@ -2920,7 +3050,12 @@ module Aws::ServiceCatalog
|
|
2920
3050
|
# The portfolio identifier.
|
2921
3051
|
#
|
2922
3052
|
# @option params [required, String] :principal_arn
|
2923
|
-
# The ARN of the principal (IAM user, role, or group).
|
3053
|
+
# The ARN of the principal (IAM user, role, or group). This field allows
|
3054
|
+
# an ARN with no `accountID` if `PrincipalType` is `IAM_PATTERN`.
|
3055
|
+
#
|
3056
|
+
# @option params [String] :principal_type
|
3057
|
+
# The supported value is `IAM` if you use a fully defined ARN, or
|
3058
|
+
# `IAM_PATTERN` if you use no `accountID`.
|
2924
3059
|
#
|
2925
3060
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2926
3061
|
#
|
@@ -2930,6 +3065,7 @@ module Aws::ServiceCatalog
|
|
2930
3065
|
# accept_language: "AcceptLanguage",
|
2931
3066
|
# portfolio_id: "Id", # required
|
2932
3067
|
# principal_arn: "PrincipalARN", # required
|
3068
|
+
# principal_type: "IAM", # accepts IAM, IAM_PATTERN
|
2933
3069
|
# })
|
2934
3070
|
#
|
2935
3071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio AWS API Documentation
|
@@ -3311,11 +3447,10 @@ module Aws::ServiceCatalog
|
|
3311
3447
|
req.send_request(options)
|
3312
3448
|
end
|
3313
3449
|
|
3314
|
-
# Requests the import of a resource as
|
3315
|
-
#
|
3316
|
-
#
|
3317
|
-
#
|
3318
|
-
# actions are supported on the provisioned product.
|
3450
|
+
# Requests the import of a resource as an Service Catalog provisioned
|
3451
|
+
# product that is associated to an Service Catalog product and
|
3452
|
+
# provisioning artifact. Once imported, all supported Service Catalog
|
3453
|
+
# governance actions are supported on the provisioned product.
|
3319
3454
|
#
|
3320
3455
|
# Resource import only supports CloudFormation stack ARNs.
|
3321
3456
|
# CloudFormation StackSets and non-root nested stacks are not supported.
|
@@ -3326,8 +3461,7 @@ module Aws::ServiceCatalog
|
|
3326
3461
|
# `IMPORT_ROLLBACK_COMPLETE`.
|
3327
3462
|
#
|
3328
3463
|
# Import of the resource requires that the CloudFormation stack template
|
3329
|
-
# matches the associated
|
3330
|
-
# provisioning artifact.
|
3464
|
+
# matches the associated Service Catalog product provisioning artifact.
|
3331
3465
|
#
|
3332
3466
|
# The user or role that performs this operation must have the
|
3333
3467
|
# `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
|
@@ -3896,7 +4030,8 @@ module Aws::ServiceCatalog
|
|
3896
4030
|
req.send_request(options)
|
3897
4031
|
end
|
3898
4032
|
|
3899
|
-
# Lists all
|
4033
|
+
# Lists all `PrincipalARN`s and corresponding `PrincipalType`s
|
4034
|
+
# associated with the specified portfolio.
|
3900
4035
|
#
|
3901
4036
|
# @option params [String] :accept_language
|
3902
4037
|
# The language code.
|
@@ -3937,7 +4072,7 @@ module Aws::ServiceCatalog
|
|
3937
4072
|
#
|
3938
4073
|
# resp.principals #=> Array
|
3939
4074
|
# resp.principals[0].principal_arn #=> String
|
3940
|
-
# resp.principals[0].principal_type #=> String, one of "IAM"
|
4075
|
+
# resp.principals[0].principal_type #=> String, one of "IAM", "IAM_PATTERN"
|
3941
4076
|
# resp.next_page_token #=> String
|
3942
4077
|
#
|
3943
4078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio AWS API Documentation
|
@@ -4049,6 +4184,7 @@ module Aws::ServiceCatalog
|
|
4049
4184
|
# resp.provisioning_artifact_details[0].created_time #=> Time
|
4050
4185
|
# resp.provisioning_artifact_details[0].active #=> Boolean
|
4051
4186
|
# resp.provisioning_artifact_details[0].guidance #=> String, one of "DEFAULT", "DEPRECATED"
|
4187
|
+
# resp.provisioning_artifact_details[0].source_revision #=> String
|
4052
4188
|
# resp.next_page_token #=> String
|
4053
4189
|
#
|
4054
4190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts AWS API Documentation
|
@@ -4886,6 +5022,16 @@ module Aws::ServiceCatalog
|
|
4886
5022
|
# resp.product_view_details[0].status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
4887
5023
|
# resp.product_view_details[0].product_arn #=> String
|
4888
5024
|
# resp.product_view_details[0].created_time #=> Time
|
5025
|
+
# resp.product_view_details[0].source_connection.type #=> String, one of "CODESTAR"
|
5026
|
+
# resp.product_view_details[0].source_connection.connection_parameters.code_star.connection_arn #=> String
|
5027
|
+
# resp.product_view_details[0].source_connection.connection_parameters.code_star.repository #=> String
|
5028
|
+
# resp.product_view_details[0].source_connection.connection_parameters.code_star.branch #=> String
|
5029
|
+
# resp.product_view_details[0].source_connection.connection_parameters.code_star.artifact_path #=> String
|
5030
|
+
# resp.product_view_details[0].source_connection.last_sync.last_sync_time #=> Time
|
5031
|
+
# resp.product_view_details[0].source_connection.last_sync.last_sync_status #=> String, one of "SUCCEEDED", "FAILED"
|
5032
|
+
# resp.product_view_details[0].source_connection.last_sync.last_sync_status_message #=> String
|
5033
|
+
# resp.product_view_details[0].source_connection.last_sync.last_successful_sync_time #=> Time
|
5034
|
+
# resp.product_view_details[0].source_connection.last_sync.last_successful_sync_provisioning_artifact_id #=> String
|
4889
5035
|
# resp.next_page_token #=> String
|
4890
5036
|
#
|
4891
5037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin AWS API Documentation
|
@@ -5300,9 +5446,10 @@ module Aws::ServiceCatalog
|
|
5300
5446
|
end
|
5301
5447
|
|
5302
5448
|
# Updates the specified portfolio share. You can use this API to enable
|
5303
|
-
# or disable TagOptions sharing for an existing
|
5449
|
+
# or disable `TagOptions` sharing or Principal sharing for an existing
|
5450
|
+
# portfolio share.
|
5304
5451
|
#
|
5305
|
-
# The portfolio share cannot be updated if the `
|
5452
|
+
# The portfolio share cannot be updated if the `CreatePortfolioShare`
|
5306
5453
|
# operation is `IN_PROGRESS`, as the share is not available to recipient
|
5307
5454
|
# entities. In this case, you must wait for the portfolio share to be
|
5308
5455
|
# COMPLETED.
|
@@ -5317,6 +5464,20 @@ module Aws::ServiceCatalog
|
|
5317
5464
|
# This API cannot be used for removing the portfolio share. You must use
|
5318
5465
|
# `DeletePortfolioShare` API for that action.
|
5319
5466
|
#
|
5467
|
+
# <note markdown="1"> When you associate a principal with portfolio, a potential privilege
|
5468
|
+
# escalation path may occur when that portfolio is then shared with
|
5469
|
+
# other accounts. For a user in a recipient account who is *not* an
|
5470
|
+
# Service Catalog Admin, but still has the ability to create Principals
|
5471
|
+
# (Users/Groups/Roles), that user could create a role that matches a
|
5472
|
+
# principal name association for the portfolio. Although this user may
|
5473
|
+
# not know which principal names are associated through Service Catalog,
|
5474
|
+
# they may be able to guess the user. If this potential escalation path
|
5475
|
+
# is a concern, then Service Catalog recommends using `PrincipalType` as
|
5476
|
+
# `IAM`. With this configuration, the `PrincipalARN` must already exist
|
5477
|
+
# in the recipient account before it can be associated.
|
5478
|
+
#
|
5479
|
+
# </note>
|
5480
|
+
#
|
5320
5481
|
# @option params [String] :accept_language
|
5321
5482
|
# The language code.
|
5322
5483
|
#
|
@@ -5339,8 +5500,13 @@ module Aws::ServiceCatalog
|
|
5339
5500
|
# Information about the organization node.
|
5340
5501
|
#
|
5341
5502
|
# @option params [Boolean] :share_tag_options
|
5342
|
-
#
|
5343
|
-
#
|
5503
|
+
# Enables or disables `TagOptions` sharing for the portfolio share. If
|
5504
|
+
# this field is not provided, the current state of TagOptions sharing on
|
5505
|
+
# the portfolio share will not be modified.
|
5506
|
+
#
|
5507
|
+
# @option params [Boolean] :share_principals
|
5508
|
+
# A flag to enables or disables `Principals` sharing in the portfolio.
|
5509
|
+
# If this field is not provided, the current state of the `Principals`
|
5344
5510
|
# sharing on the portfolio share will not be modified.
|
5345
5511
|
#
|
5346
5512
|
# @return [Types::UpdatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -5359,6 +5525,7 @@ module Aws::ServiceCatalog
|
|
5359
5525
|
# value: "OrganizationNodeValue",
|
5360
5526
|
# },
|
5361
5527
|
# share_tag_options: false,
|
5528
|
+
# share_principals: false,
|
5362
5529
|
# })
|
5363
5530
|
#
|
5364
5531
|
# @example Response structure
|
@@ -5416,6 +5583,16 @@ module Aws::ServiceCatalog
|
|
5416
5583
|
# @option params [Array<String>] :remove_tags
|
5417
5584
|
# The tags to remove from the product.
|
5418
5585
|
#
|
5586
|
+
# @option params [Types::SourceConnection] :source_connection
|
5587
|
+
# Specifies connection details for the updated product and syncs the
|
5588
|
+
# product to the connection source artifact. This automatically manages
|
5589
|
+
# the product's artifacts based on changes to the source. The
|
5590
|
+
# `SourceConnection` parameter consists of the following sub-fields.
|
5591
|
+
#
|
5592
|
+
# * `Type`
|
5593
|
+
#
|
5594
|
+
# * `ConnectionParamters`
|
5595
|
+
#
|
5419
5596
|
# @return [Types::UpdateProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5420
5597
|
#
|
5421
5598
|
# * {Types::UpdateProductOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
|
@@ -5440,6 +5617,17 @@ module Aws::ServiceCatalog
|
|
5440
5617
|
# },
|
5441
5618
|
# ],
|
5442
5619
|
# remove_tags: ["TagKey"],
|
5620
|
+
# source_connection: {
|
5621
|
+
# type: "CODESTAR", # accepts CODESTAR
|
5622
|
+
# connection_parameters: { # required
|
5623
|
+
# code_star: {
|
5624
|
+
# connection_arn: "CodeStarConnectionArn", # required
|
5625
|
+
# repository: "Repository", # required
|
5626
|
+
# branch: "RepositoryBranch", # required
|
5627
|
+
# artifact_path: "RepositoryArtifactPath", # required
|
5628
|
+
# },
|
5629
|
+
# },
|
5630
|
+
# },
|
5443
5631
|
# })
|
5444
5632
|
#
|
5445
5633
|
# @example Response structure
|
@@ -5458,6 +5646,16 @@ module Aws::ServiceCatalog
|
|
5458
5646
|
# resp.product_view_detail.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
5459
5647
|
# resp.product_view_detail.product_arn #=> String
|
5460
5648
|
# resp.product_view_detail.created_time #=> Time
|
5649
|
+
# resp.product_view_detail.source_connection.type #=> String, one of "CODESTAR"
|
5650
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.connection_arn #=> String
|
5651
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.repository #=> String
|
5652
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.branch #=> String
|
5653
|
+
# resp.product_view_detail.source_connection.connection_parameters.code_star.artifact_path #=> String
|
5654
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_time #=> Time
|
5655
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status #=> String, one of "SUCCEEDED", "FAILED"
|
5656
|
+
# resp.product_view_detail.source_connection.last_sync.last_sync_status_message #=> String
|
5657
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_time #=> Time
|
5658
|
+
# resp.product_view_detail.source_connection.last_sync.last_successful_sync_provisioning_artifact_id #=> String
|
5461
5659
|
# resp.tags #=> Array
|
5462
5660
|
# resp.tags[0].key #=> String
|
5463
5661
|
# resp.tags[0].value #=> String
|
@@ -5773,6 +5971,7 @@ module Aws::ServiceCatalog
|
|
5773
5971
|
# resp.provisioning_artifact_detail.created_time #=> Time
|
5774
5972
|
# resp.provisioning_artifact_detail.active #=> Boolean
|
5775
5973
|
# resp.provisioning_artifact_detail.guidance #=> String, one of "DEFAULT", "DEPRECATED"
|
5974
|
+
# resp.provisioning_artifact_detail.source_revision #=> String
|
5776
5975
|
# resp.info #=> Hash
|
5777
5976
|
# resp.info["ProvisioningArtifactInfoKey"] #=> String
|
5778
5977
|
# resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
|
@@ -5896,7 +6095,7 @@ module Aws::ServiceCatalog
|
|
5896
6095
|
params: params,
|
5897
6096
|
config: config)
|
5898
6097
|
context[:gem_name] = 'aws-sdk-servicecatalog'
|
5899
|
-
context[:gem_version] = '1.
|
6098
|
+
context[:gem_version] = '1.74.0'
|
5900
6099
|
Seahorse::Client::Request.new(handlers, context)
|
5901
6100
|
end
|
5902
6101
|
|