aws-sdk-servicecatalog 1.54.0 → 1.59.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 +373 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-servicecatalog.rb +2 -2
- data/lib/aws-sdk-servicecatalog/client.rb +301 -10
- data/lib/aws-sdk-servicecatalog/client_api.rb +106 -3
- data/lib/aws-sdk-servicecatalog/errors.rb +1 -1
- data/lib/aws-sdk-servicecatalog/resource.rb +1 -1
- data/lib/aws-sdk-servicecatalog/types.rb +400 -17
- metadata +8 -5
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.59.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::ServiceCatalog
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.59.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -984,8 +984,13 @@ module Aws::ServiceCatalog
|
|
984
984
|
# `AWSOrganizationsAccess` must be enabled in order to create a
|
985
985
|
# portfolio share to an organization node.
|
986
986
|
#
|
987
|
-
# You can't share a shared resource
|
988
|
-
#
|
987
|
+
# You can't share a shared resource, including portfolios that contain
|
988
|
+
# a shared product.
|
989
|
+
#
|
990
|
+
# If the portfolio share with the specified account or organization node
|
991
|
+
# already exists, this action will have no effect and will not return an
|
992
|
+
# error. To update an existing share, you must use the `
|
993
|
+
# UpdatePortfolioShare` API instead.
|
989
994
|
#
|
990
995
|
# @option params [String] :accept_language
|
991
996
|
# The language code.
|
@@ -1010,6 +1015,10 @@ module Aws::ServiceCatalog
|
|
1010
1015
|
# in order for the administrator to monitor the status of the
|
1011
1016
|
# `PortfolioShare` creation process.
|
1012
1017
|
#
|
1018
|
+
# @option params [Boolean] :share_tag_options
|
1019
|
+
# Enables or disables `TagOptions ` sharing when creating the portfolio
|
1020
|
+
# share. If this flag is not provided, TagOptions sharing is disabled.
|
1021
|
+
#
|
1013
1022
|
# @return [Types::CreatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1014
1023
|
#
|
1015
1024
|
# * {Types::CreatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
|
@@ -1024,6 +1033,7 @@ module Aws::ServiceCatalog
|
|
1024
1033
|
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
1025
1034
|
# value: "OrganizationNodeValue",
|
1026
1035
|
# },
|
1036
|
+
# share_tag_options: false,
|
1027
1037
|
# })
|
1028
1038
|
#
|
1029
1039
|
# @example Response structure
|
@@ -1043,6 +1053,11 @@ module Aws::ServiceCatalog
|
|
1043
1053
|
#
|
1044
1054
|
# A delegated admin is authorized to invoke this command.
|
1045
1055
|
#
|
1056
|
+
# The user or role that performs this operation must have the
|
1057
|
+
# `cloudformation:GetTemplate` IAM policy permission. This policy
|
1058
|
+
# permission is required when using the `ImportFromPhysicalId` template
|
1059
|
+
# source in the information data section.
|
1060
|
+
#
|
1046
1061
|
# @option params [String] :accept_language
|
1047
1062
|
# The language code.
|
1048
1063
|
#
|
@@ -1073,6 +1088,8 @@ module Aws::ServiceCatalog
|
|
1073
1088
|
# @option params [String] :support_url
|
1074
1089
|
# The contact URL for product support.
|
1075
1090
|
#
|
1091
|
+
# `^https?:\/\// `/ is the pattern used to validate SupportUrl.
|
1092
|
+
#
|
1076
1093
|
# @option params [required, String] :product_type
|
1077
1094
|
# The type of product.
|
1078
1095
|
#
|
@@ -1287,6 +1304,11 @@ module Aws::ServiceCatalog
|
|
1287
1304
|
# You cannot create a provisioning artifact for a product that was
|
1288
1305
|
# shared with you.
|
1289
1306
|
#
|
1307
|
+
# The user or role that performs this operation must have the
|
1308
|
+
# `cloudformation:GetTemplate` IAM policy permission. This policy
|
1309
|
+
# permission is required when using the `ImportFromPhysicalId` template
|
1310
|
+
# source in the information data section.
|
1311
|
+
#
|
1290
1312
|
# @option params [String] :accept_language
|
1291
1313
|
# The language code.
|
1292
1314
|
#
|
@@ -1475,6 +1497,7 @@ module Aws::ServiceCatalog
|
|
1475
1497
|
# resp.tag_option_detail.value #=> String
|
1476
1498
|
# resp.tag_option_detail.active #=> Boolean
|
1477
1499
|
# resp.tag_option_detail.id #=> String
|
1500
|
+
# resp.tag_option_detail.owner #=> String
|
1478
1501
|
#
|
1479
1502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption AWS API Documentation
|
1480
1503
|
#
|
@@ -1920,6 +1943,7 @@ module Aws::ServiceCatalog
|
|
1920
1943
|
# resp.tag_options[0].value #=> String
|
1921
1944
|
# resp.tag_options[0].active #=> Boolean
|
1922
1945
|
# resp.tag_options[0].id #=> String
|
1946
|
+
# resp.tag_options[0].owner #=> String
|
1923
1947
|
# resp.budgets #=> Array
|
1924
1948
|
# resp.budgets[0].budget_name #=> String
|
1925
1949
|
#
|
@@ -1977,6 +2001,76 @@ module Aws::ServiceCatalog
|
|
1977
2001
|
req.send_request(options)
|
1978
2002
|
end
|
1979
2003
|
|
2004
|
+
# Returns a summary of each of the portfolio shares that were created
|
2005
|
+
# for the specified portfolio.
|
2006
|
+
#
|
2007
|
+
# You can use this API to determine which accounts or organizational
|
2008
|
+
# nodes this portfolio have been shared, whether the recipient entity
|
2009
|
+
# has imported the share, and whether TagOptions are included with the
|
2010
|
+
# share.
|
2011
|
+
#
|
2012
|
+
# The `PortfolioId` and `Type` parameters are both required.
|
2013
|
+
#
|
2014
|
+
# @option params [required, String] :portfolio_id
|
2015
|
+
# The unique identifier of the portfolio for which shares will be
|
2016
|
+
# retrieved.
|
2017
|
+
#
|
2018
|
+
# @option params [required, String] :type
|
2019
|
+
# The type of portfolio share to summarize. This field acts as a filter
|
2020
|
+
# on the type of portfolio share, which can be one of the following:
|
2021
|
+
#
|
2022
|
+
# 1\. `ACCOUNT` - Represents an external account to account share.
|
2023
|
+
#
|
2024
|
+
# 2\. `ORGANIZATION` - Represents a share to an organization. This share
|
2025
|
+
# is available to every account in the organization.
|
2026
|
+
#
|
2027
|
+
# 3\. `ORGANIZATIONAL_UNIT` - Represents a share to an organizational
|
2028
|
+
# unit.
|
2029
|
+
#
|
2030
|
+
# 4\. `ORGANIZATION_MEMBER_ACCOUNT` - Represents a share to an account in
|
2031
|
+
# the organization.
|
2032
|
+
#
|
2033
|
+
# @option params [String] :page_token
|
2034
|
+
# The page token for the next set of results. To retrieve the first set
|
2035
|
+
# of results, use null.
|
2036
|
+
#
|
2037
|
+
# @option params [Integer] :page_size
|
2038
|
+
# The maximum number of items to return with this call.
|
2039
|
+
#
|
2040
|
+
# @return [Types::DescribePortfolioSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2041
|
+
#
|
2042
|
+
# * {Types::DescribePortfolioSharesOutput#next_page_token #next_page_token} => String
|
2043
|
+
# * {Types::DescribePortfolioSharesOutput#portfolio_share_details #portfolio_share_details} => Array<Types::PortfolioShareDetail>
|
2044
|
+
#
|
2045
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2046
|
+
#
|
2047
|
+
# @example Request syntax with placeholder values
|
2048
|
+
#
|
2049
|
+
# resp = client.describe_portfolio_shares({
|
2050
|
+
# portfolio_id: "Id", # required
|
2051
|
+
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, ORGANIZATIONAL_UNIT, ORGANIZATION_MEMBER_ACCOUNT
|
2052
|
+
# page_token: "PageToken",
|
2053
|
+
# page_size: 1,
|
2054
|
+
# })
|
2055
|
+
#
|
2056
|
+
# @example Response structure
|
2057
|
+
#
|
2058
|
+
# resp.next_page_token #=> String
|
2059
|
+
# resp.portfolio_share_details #=> Array
|
2060
|
+
# resp.portfolio_share_details[0].principal_id #=> String
|
2061
|
+
# resp.portfolio_share_details[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATIONAL_UNIT", "ORGANIZATION_MEMBER_ACCOUNT"
|
2062
|
+
# resp.portfolio_share_details[0].accepted #=> Boolean
|
2063
|
+
# resp.portfolio_share_details[0].share_tag_options #=> Boolean
|
2064
|
+
#
|
2065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShares AWS API Documentation
|
2066
|
+
#
|
2067
|
+
# @overload describe_portfolio_shares(params = {})
|
2068
|
+
# @param [Hash] params ({})
|
2069
|
+
def describe_portfolio_shares(params = {}, options = {})
|
2070
|
+
req = build_request(:describe_portfolio_shares, params)
|
2071
|
+
req.send_request(options)
|
2072
|
+
end
|
2073
|
+
|
1980
2074
|
# Gets information about the specified product.
|
1981
2075
|
#
|
1982
2076
|
# @option params [String] :accept_language
|
@@ -2061,6 +2155,16 @@ module Aws::ServiceCatalog
|
|
2061
2155
|
# @option params [String] :name
|
2062
2156
|
# The product name.
|
2063
2157
|
#
|
2158
|
+
# @option params [String] :source_portfolio_id
|
2159
|
+
# The unique identifier of the shared portfolio that the specified
|
2160
|
+
# product is associated with.
|
2161
|
+
#
|
2162
|
+
# You can provide this parameter to retrieve the shared TagOptions
|
2163
|
+
# associated with the product. If this parameter is provided and if
|
2164
|
+
# TagOptions sharing is enabled in the portfolio share, the API returns
|
2165
|
+
# both local and shared TagOptions associated with the product.
|
2166
|
+
# Otherwise only local TagOptions will be returned.
|
2167
|
+
#
|
2064
2168
|
# @return [Types::DescribeProductAsAdminOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2065
2169
|
#
|
2066
2170
|
# * {Types::DescribeProductAsAdminOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
|
@@ -2075,6 +2179,7 @@ module Aws::ServiceCatalog
|
|
2075
2179
|
# accept_language: "AcceptLanguage",
|
2076
2180
|
# id: "Id",
|
2077
2181
|
# name: "ProductViewName",
|
2182
|
+
# source_portfolio_id: "Id",
|
2078
2183
|
# })
|
2079
2184
|
#
|
2080
2185
|
# @example Response structure
|
@@ -2108,6 +2213,7 @@ module Aws::ServiceCatalog
|
|
2108
2213
|
# resp.tag_options[0].value #=> String
|
2109
2214
|
# resp.tag_options[0].active #=> Boolean
|
2110
2215
|
# resp.tag_options[0].id #=> String
|
2216
|
+
# resp.tag_options[0].owner #=> String
|
2111
2217
|
# resp.budgets #=> Array
|
2112
2218
|
# resp.budgets[0].budget_name #=> String
|
2113
2219
|
#
|
@@ -2467,6 +2573,12 @@ module Aws::ServiceCatalog
|
|
2467
2573
|
# resp.provisioning_artifact_parameters[0].description #=> String
|
2468
2574
|
# resp.provisioning_artifact_parameters[0].parameter_constraints.allowed_values #=> Array
|
2469
2575
|
# resp.provisioning_artifact_parameters[0].parameter_constraints.allowed_values[0] #=> String
|
2576
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.allowed_pattern #=> String
|
2577
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.constraint_description #=> String
|
2578
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.max_length #=> String
|
2579
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.min_length #=> String
|
2580
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.max_value #=> String
|
2581
|
+
# resp.provisioning_artifact_parameters[0].parameter_constraints.min_value #=> String
|
2470
2582
|
# resp.constraint_summaries #=> Array
|
2471
2583
|
# resp.constraint_summaries[0].type #=> String
|
2472
2584
|
# resp.constraint_summaries[0].description #=> String
|
@@ -2691,6 +2803,7 @@ module Aws::ServiceCatalog
|
|
2691
2803
|
# resp.tag_option_detail.value #=> String
|
2692
2804
|
# resp.tag_option_detail.active #=> Boolean
|
2693
2805
|
# resp.tag_option_detail.id #=> String
|
2806
|
+
# resp.tag_option_detail.owner #=> String
|
2694
2807
|
#
|
2695
2808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption AWS API Documentation
|
2696
2809
|
#
|
@@ -3149,6 +3262,103 @@ module Aws::ServiceCatalog
|
|
3149
3262
|
req.send_request(options)
|
3150
3263
|
end
|
3151
3264
|
|
3265
|
+
# Requests the import of a resource as a Service Catalog provisioned
|
3266
|
+
# product that is associated to a Service Catalog product and
|
3267
|
+
# provisioning artifact. Once imported, all supported Service Catalog
|
3268
|
+
# governance actions are supported on the provisioned product.
|
3269
|
+
#
|
3270
|
+
# Resource import only supports CloudFormation stack ARNs.
|
3271
|
+
# CloudFormation StackSets and non-root nested stacks are not supported.
|
3272
|
+
#
|
3273
|
+
# The CloudFormation stack must have one of the following statuses to be
|
3274
|
+
# imported: `CREATE_COMPLETE`, `UPDATE_COMPLETE`,
|
3275
|
+
# `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`,
|
3276
|
+
# `IMPORT_ROLLBACK_COMPLETE`.
|
3277
|
+
#
|
3278
|
+
# Import of the resource requires that the CloudFormation stack template
|
3279
|
+
# matches the associated Service Catalog product provisioning artifact.
|
3280
|
+
#
|
3281
|
+
# The user or role that performs this operation must have the
|
3282
|
+
# `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
|
3283
|
+
# policy permissions.
|
3284
|
+
#
|
3285
|
+
# @option params [String] :accept_language
|
3286
|
+
# The language code.
|
3287
|
+
#
|
3288
|
+
# * `en` - English (default)
|
3289
|
+
#
|
3290
|
+
# * `jp` - Japanese
|
3291
|
+
#
|
3292
|
+
# * `zh` - Chinese
|
3293
|
+
#
|
3294
|
+
# @option params [required, String] :product_id
|
3295
|
+
# The product identifier.
|
3296
|
+
#
|
3297
|
+
# @option params [required, String] :provisioning_artifact_id
|
3298
|
+
# The identifier of the provisioning artifact.
|
3299
|
+
#
|
3300
|
+
# @option params [required, String] :provisioned_product_name
|
3301
|
+
# The user-friendly name of the provisioned product. The value must be
|
3302
|
+
# unique for the AWS account. The name cannot be updated after the
|
3303
|
+
# product is provisioned.
|
3304
|
+
#
|
3305
|
+
# @option params [required, String] :physical_id
|
3306
|
+
# The unique identifier of the resource to be imported. It only
|
3307
|
+
# currently supports CloudFormation stack IDs.
|
3308
|
+
#
|
3309
|
+
# @option params [required, String] :idempotency_token
|
3310
|
+
# A unique identifier that you provide to ensure idempotency. If
|
3311
|
+
# multiple requests differ only by the idempotency token, the same
|
3312
|
+
# response is returned for each repeated request.
|
3313
|
+
#
|
3314
|
+
# **A suitable default value is auto-generated.** You should normally
|
3315
|
+
# not need to pass this option.**
|
3316
|
+
#
|
3317
|
+
# @return [Types::ImportAsProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3318
|
+
#
|
3319
|
+
# * {Types::ImportAsProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
|
3320
|
+
#
|
3321
|
+
# @example Request syntax with placeholder values
|
3322
|
+
#
|
3323
|
+
# resp = client.import_as_provisioned_product({
|
3324
|
+
# accept_language: "AcceptLanguage",
|
3325
|
+
# product_id: "Id", # required
|
3326
|
+
# provisioning_artifact_id: "Id", # required
|
3327
|
+
# provisioned_product_name: "ProvisionedProductName", # required
|
3328
|
+
# physical_id: "PhysicalId", # required
|
3329
|
+
# idempotency_token: "IdempotencyToken", # required
|
3330
|
+
# })
|
3331
|
+
#
|
3332
|
+
# @example Response structure
|
3333
|
+
#
|
3334
|
+
# resp.record_detail.record_id #=> String
|
3335
|
+
# resp.record_detail.provisioned_product_name #=> String
|
3336
|
+
# resp.record_detail.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
|
3337
|
+
# resp.record_detail.created_time #=> Time
|
3338
|
+
# resp.record_detail.updated_time #=> Time
|
3339
|
+
# resp.record_detail.provisioned_product_type #=> String
|
3340
|
+
# resp.record_detail.record_type #=> String
|
3341
|
+
# resp.record_detail.provisioned_product_id #=> String
|
3342
|
+
# resp.record_detail.product_id #=> String
|
3343
|
+
# resp.record_detail.provisioning_artifact_id #=> String
|
3344
|
+
# resp.record_detail.path_id #=> String
|
3345
|
+
# resp.record_detail.record_errors #=> Array
|
3346
|
+
# resp.record_detail.record_errors[0].code #=> String
|
3347
|
+
# resp.record_detail.record_errors[0].description #=> String
|
3348
|
+
# resp.record_detail.record_tags #=> Array
|
3349
|
+
# resp.record_detail.record_tags[0].key #=> String
|
3350
|
+
# resp.record_detail.record_tags[0].value #=> String
|
3351
|
+
# resp.record_detail.launch_role_arn #=> String
|
3352
|
+
#
|
3353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct AWS API Documentation
|
3354
|
+
#
|
3355
|
+
# @overload import_as_provisioned_product(params = {})
|
3356
|
+
# @param [Hash] params ({})
|
3357
|
+
def import_as_provisioned_product(params = {}, options = {})
|
3358
|
+
req = build_request(:import_as_provisioned_product, params)
|
3359
|
+
req.send_request(options)
|
3360
|
+
end
|
3361
|
+
|
3152
3362
|
# Lists all portfolios for which sharing was accepted by this account.
|
3153
3363
|
#
|
3154
3364
|
# @option params [String] :accept_language
|
@@ -4199,6 +4409,7 @@ module Aws::ServiceCatalog
|
|
4199
4409
|
# resp.tag_option_details[0].value #=> String
|
4200
4410
|
# resp.tag_option_details[0].active #=> Boolean
|
4201
4411
|
# resp.tag_option_details[0].id #=> String
|
4412
|
+
# resp.tag_option_details[0].owner #=> String
|
4202
4413
|
# resp.page_token #=> String
|
4203
4414
|
#
|
4204
4415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions AWS API Documentation
|
@@ -4769,6 +4980,13 @@ module Aws::ServiceCatalog
|
|
4769
4980
|
#
|
4770
4981
|
# * `zh` - Chinese
|
4771
4982
|
#
|
4983
|
+
# @option params [Boolean] :retain_physical_resources
|
4984
|
+
# When this boolean parameter is set to true, the
|
4985
|
+
# `TerminateProvisionedProduct` API deletes the Service Catalog
|
4986
|
+
# provisioned product. However, it does not remove the CloudFormation
|
4987
|
+
# stack, stack set, or the underlying resources of the deleted
|
4988
|
+
# provisioned product. The default value is false.
|
4989
|
+
#
|
4772
4990
|
# @return [Types::TerminateProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4773
4991
|
#
|
4774
4992
|
# * {Types::TerminateProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
|
@@ -4781,6 +4999,7 @@ module Aws::ServiceCatalog
|
|
4781
4999
|
# terminate_token: "IdempotencyToken", # required
|
4782
5000
|
# ignore_errors: false,
|
4783
5001
|
# accept_language: "AcceptLanguage",
|
5002
|
+
# retain_physical_resources: false,
|
4784
5003
|
# })
|
4785
5004
|
#
|
4786
5005
|
# @example Response structure
|
@@ -5014,6 +5233,81 @@ module Aws::ServiceCatalog
|
|
5014
5233
|
req.send_request(options)
|
5015
5234
|
end
|
5016
5235
|
|
5236
|
+
# Updates the specified portfolio share. You can use this API to enable
|
5237
|
+
# or disable TagOptions sharing for an existing portfolio share.
|
5238
|
+
#
|
5239
|
+
# The portfolio share cannot be updated if the ` CreatePortfolioShare`
|
5240
|
+
# operation is `IN_PROGRESS`, as the share is not available to recipient
|
5241
|
+
# entities. In this case, you must wait for the portfolio share to be
|
5242
|
+
# COMPLETED.
|
5243
|
+
#
|
5244
|
+
# You must provide the `accountId` or organization node in the input,
|
5245
|
+
# but not both.
|
5246
|
+
#
|
5247
|
+
# If the portfolio is shared to both an external account and an
|
5248
|
+
# organization node, and both shares need to be updated, you must invoke
|
5249
|
+
# `UpdatePortfolioShare` separately for each share type.
|
5250
|
+
#
|
5251
|
+
# This API cannot be used for removing the portfolio share. You must use
|
5252
|
+
# `DeletePortfolioShare` API for that action.
|
5253
|
+
#
|
5254
|
+
# @option params [String] :accept_language
|
5255
|
+
# The language code.
|
5256
|
+
#
|
5257
|
+
# * `en` - English (default)
|
5258
|
+
#
|
5259
|
+
# * `jp` - Japanese
|
5260
|
+
#
|
5261
|
+
# * `zh` - Chinese
|
5262
|
+
#
|
5263
|
+
# @option params [required, String] :portfolio_id
|
5264
|
+
# The unique identifier of the portfolio for which the share will be
|
5265
|
+
# updated.
|
5266
|
+
#
|
5267
|
+
# @option params [String] :account_id
|
5268
|
+
# The AWS Account Id of the recipient account. This field is required
|
5269
|
+
# when updating an external account to account type share.
|
5270
|
+
#
|
5271
|
+
# @option params [Types::OrganizationNode] :organization_node
|
5272
|
+
# Information about the organization node.
|
5273
|
+
#
|
5274
|
+
# @option params [Boolean] :share_tag_options
|
5275
|
+
# A flag to enable or disable TagOptions sharing for the portfolio
|
5276
|
+
# share. If this field is not provided, the current state of TagOptions
|
5277
|
+
# sharing on the portfolio share will not be modified.
|
5278
|
+
#
|
5279
|
+
# @return [Types::UpdatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5280
|
+
#
|
5281
|
+
# * {Types::UpdatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
|
5282
|
+
# * {Types::UpdatePortfolioShareOutput#status #status} => String
|
5283
|
+
#
|
5284
|
+
# @example Request syntax with placeholder values
|
5285
|
+
#
|
5286
|
+
# resp = client.update_portfolio_share({
|
5287
|
+
# accept_language: "AcceptLanguage",
|
5288
|
+
# portfolio_id: "Id", # required
|
5289
|
+
# account_id: "AccountId",
|
5290
|
+
# organization_node: {
|
5291
|
+
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
5292
|
+
# value: "OrganizationNodeValue",
|
5293
|
+
# },
|
5294
|
+
# share_tag_options: false,
|
5295
|
+
# })
|
5296
|
+
#
|
5297
|
+
# @example Response structure
|
5298
|
+
#
|
5299
|
+
# resp.portfolio_share_token #=> String
|
5300
|
+
# resp.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "ERROR"
|
5301
|
+
#
|
5302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShare AWS API Documentation
|
5303
|
+
#
|
5304
|
+
# @overload update_portfolio_share(params = {})
|
5305
|
+
# @param [Hash] params ({})
|
5306
|
+
def update_portfolio_share(params = {}, options = {})
|
5307
|
+
req = build_request(:update_portfolio_share, params)
|
5308
|
+
req.send_request(options)
|
5309
|
+
end
|
5310
|
+
|
5017
5311
|
# Updates the specified product.
|
5018
5312
|
#
|
5019
5313
|
# @option params [String] :accept_language
|
@@ -5273,12 +5567,8 @@ module Aws::ServiceCatalog
|
|
5273
5567
|
# the launch role that is associated with a provisioned product. This
|
5274
5568
|
# role is used when an end user calls a provisioning operation such as
|
5275
5569
|
# `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
|
5276
|
-
# `ExecuteProvisionedProductServiceAction`. Only a role ARN
|
5277
|
-
#
|
5278
|
-
# an empty string `""` as the value for the key `LAUNCH_ROLE`, the admin
|
5279
|
-
# removes the launch role that is associated with the provisioned
|
5280
|
-
# product. As a result, the end user operations use the credentials of
|
5281
|
-
# the end user.
|
5570
|
+
# `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid. A
|
5571
|
+
# user ARN is invalid.
|
5282
5572
|
#
|
5283
5573
|
# The `OWNER` key accepts user ARNs and role ARNs. The owner is the user
|
5284
5574
|
# that has permission to see, update, terminate, and execute service
|
@@ -5514,6 +5804,7 @@ module Aws::ServiceCatalog
|
|
5514
5804
|
# resp.tag_option_detail.value #=> String
|
5515
5805
|
# resp.tag_option_detail.active #=> Boolean
|
5516
5806
|
# resp.tag_option_detail.id #=> String
|
5807
|
+
# resp.tag_option_detail.owner #=> String
|
5517
5808
|
#
|
5518
5809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption AWS API Documentation
|
5519
5810
|
#
|
@@ -5537,7 +5828,7 @@ module Aws::ServiceCatalog
|
|
5537
5828
|
params: params,
|
5538
5829
|
config: config)
|
5539
5830
|
context[:gem_name] = 'aws-sdk-servicecatalog'
|
5540
|
-
context[:gem_version] = '1.
|
5831
|
+
context[:gem_version] = '1.59.0'
|
5541
5832
|
Seahorse::Client::Request.new(handlers, context)
|
5542
5833
|
end
|
5543
5834
|
|