aws-sdk-servicecatalog 1.51.0 → 1.56.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f0f4673fe88034a75c3bbbf559f376784103ff1d1745e4a8ac6696effbd86d1
4
- data.tar.gz: b91b4af015419004463d7898bf58534f34a6213bd720ddaec793b49a0f555050
3
+ metadata.gz: 457caf4fa02cb21297f70e20c3963cfb2ff4a70b39b811d2cd3523414f32972e
4
+ data.tar.gz: 6789332dfda677ec49d6b1c39d340ee6d7db5e5950b0b153e1eadbce81e38e2a
5
5
  SHA512:
6
- metadata.gz: 54ecfde92cad51a654a69859a423e2960229b5a7867782c3f4268b733a8707dbf1926765e2aca617376783bb56eb109fc4e3743ced3525e0d46cc4cb5da0e8a3
7
- data.tar.gz: dcd82b9fe3ecafedd0b2052c5760e8c512cc3e2ce9d4aebb8addcc71d0e965c1921aae567d835a8a00660ec9711ba787cfd0b9414b943fa2e43cc543b42894bd
6
+ metadata.gz: da80c6963f472cb93fe53293a6dc779f196a9d78e6447827465acc8ca6c0b09d598aa33afb451c844dc28d33b7ce117c6335cb0f54845059f99a1a5decaca2c1
7
+ data.tar.gz: 5e872ca4f34d3010b727f1b8f7d1b11fe79f2274f2fb4fb280e2fd41a5a546f508d7fe3001f1eb231b692ec414931508b0a6ad9c6032284d77d76fe5e678921a
@@ -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.0'
51
+ GEM_VERSION = '1.56.0'
52
52
 
53
53
  end
@@ -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. This includes portfolios that
988
- # contain a shared product.
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
  #
@@ -2691,6 +2797,7 @@ module Aws::ServiceCatalog
2691
2797
  # resp.tag_option_detail.value #=> String
2692
2798
  # resp.tag_option_detail.active #=> Boolean
2693
2799
  # resp.tag_option_detail.id #=> String
2800
+ # resp.tag_option_detail.owner #=> String
2694
2801
  #
2695
2802
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption AWS API Documentation
2696
2803
  #
@@ -3149,6 +3256,103 @@ module Aws::ServiceCatalog
3149
3256
  req.send_request(options)
3150
3257
  end
3151
3258
 
3259
+ # Requests the import of a resource as a Service Catalog provisioned
3260
+ # product that is associated to a Service Catalog product and
3261
+ # provisioning artifact. Once imported, all supported Service Catalog
3262
+ # governance actions are supported on the provisioned product.
3263
+ #
3264
+ # Resource import only supports CloudFormation stack ARNs.
3265
+ # CloudFormation StackSets and non-root nested stacks are not supported.
3266
+ #
3267
+ # The CloudFormation stack must have one of the following statuses to be
3268
+ # imported: `CREATE_COMPLETE`, `UPDATE_COMPLETE`,
3269
+ # `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`,
3270
+ # `IMPORT_ROLLBACK_COMPLETE`.
3271
+ #
3272
+ # Import of the resource requires that the CloudFormation stack template
3273
+ # matches the associated Service Catalog product provisioning artifact.
3274
+ #
3275
+ # The user or role that performs this operation must have the
3276
+ # `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
3277
+ # policy permissions.
3278
+ #
3279
+ # @option params [String] :accept_language
3280
+ # The language code.
3281
+ #
3282
+ # * `en` - English (default)
3283
+ #
3284
+ # * `jp` - Japanese
3285
+ #
3286
+ # * `zh` - Chinese
3287
+ #
3288
+ # @option params [required, String] :product_id
3289
+ # The product identifier.
3290
+ #
3291
+ # @option params [required, String] :provisioning_artifact_id
3292
+ # The identifier of the provisioning artifact.
3293
+ #
3294
+ # @option params [required, String] :provisioned_product_name
3295
+ # The user-friendly name of the provisioned product. The value must be
3296
+ # unique for the AWS account. The name cannot be updated after the
3297
+ # product is provisioned.
3298
+ #
3299
+ # @option params [required, String] :physical_id
3300
+ # The unique identifier of the resource to be imported. It only
3301
+ # currently supports CloudFormation stack IDs.
3302
+ #
3303
+ # @option params [required, String] :idempotency_token
3304
+ # A unique identifier that you provide to ensure idempotency. If
3305
+ # multiple requests differ only by the idempotency token, the same
3306
+ # response is returned for each repeated request.
3307
+ #
3308
+ # **A suitable default value is auto-generated.** You should normally
3309
+ # not need to pass this option.**
3310
+ #
3311
+ # @return [Types::ImportAsProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3312
+ #
3313
+ # * {Types::ImportAsProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
3314
+ #
3315
+ # @example Request syntax with placeholder values
3316
+ #
3317
+ # resp = client.import_as_provisioned_product({
3318
+ # accept_language: "AcceptLanguage",
3319
+ # product_id: "Id", # required
3320
+ # provisioning_artifact_id: "Id", # required
3321
+ # provisioned_product_name: "ProvisionedProductName", # required
3322
+ # physical_id: "PhysicalId", # required
3323
+ # idempotency_token: "IdempotencyToken", # required
3324
+ # })
3325
+ #
3326
+ # @example Response structure
3327
+ #
3328
+ # resp.record_detail.record_id #=> String
3329
+ # resp.record_detail.provisioned_product_name #=> String
3330
+ # resp.record_detail.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
3331
+ # resp.record_detail.created_time #=> Time
3332
+ # resp.record_detail.updated_time #=> Time
3333
+ # resp.record_detail.provisioned_product_type #=> String
3334
+ # resp.record_detail.record_type #=> String
3335
+ # resp.record_detail.provisioned_product_id #=> String
3336
+ # resp.record_detail.product_id #=> String
3337
+ # resp.record_detail.provisioning_artifact_id #=> String
3338
+ # resp.record_detail.path_id #=> String
3339
+ # resp.record_detail.record_errors #=> Array
3340
+ # resp.record_detail.record_errors[0].code #=> String
3341
+ # resp.record_detail.record_errors[0].description #=> String
3342
+ # resp.record_detail.record_tags #=> Array
3343
+ # resp.record_detail.record_tags[0].key #=> String
3344
+ # resp.record_detail.record_tags[0].value #=> String
3345
+ # resp.record_detail.launch_role_arn #=> String
3346
+ #
3347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct AWS API Documentation
3348
+ #
3349
+ # @overload import_as_provisioned_product(params = {})
3350
+ # @param [Hash] params ({})
3351
+ def import_as_provisioned_product(params = {}, options = {})
3352
+ req = build_request(:import_as_provisioned_product, params)
3353
+ req.send_request(options)
3354
+ end
3355
+
3152
3356
  # Lists all portfolios for which sharing was accepted by this account.
3153
3357
  #
3154
3358
  # @option params [String] :accept_language
@@ -4199,6 +4403,7 @@ module Aws::ServiceCatalog
4199
4403
  # resp.tag_option_details[0].value #=> String
4200
4404
  # resp.tag_option_details[0].active #=> Boolean
4201
4405
  # resp.tag_option_details[0].id #=> String
4406
+ # resp.tag_option_details[0].owner #=> String
4202
4407
  # resp.page_token #=> String
4203
4408
  #
4204
4409
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions AWS API Documentation
@@ -4769,6 +4974,13 @@ module Aws::ServiceCatalog
4769
4974
  #
4770
4975
  # * `zh` - Chinese
4771
4976
  #
4977
+ # @option params [Boolean] :retain_physical_resources
4978
+ # When this boolean parameter is set to true, the
4979
+ # `TerminateProvisionedProduct` API deletes the Service Catalog
4980
+ # provisioned product. However, it does not remove the CloudFormation
4981
+ # stack, stack set, or the underlying resources of the deleted
4982
+ # provisioned product. The default value is false.
4983
+ #
4772
4984
  # @return [Types::TerminateProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4773
4985
  #
4774
4986
  # * {Types::TerminateProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
@@ -4781,6 +4993,7 @@ module Aws::ServiceCatalog
4781
4993
  # terminate_token: "IdempotencyToken", # required
4782
4994
  # ignore_errors: false,
4783
4995
  # accept_language: "AcceptLanguage",
4996
+ # retain_physical_resources: false,
4784
4997
  # })
4785
4998
  #
4786
4999
  # @example Response structure
@@ -5014,6 +5227,81 @@ module Aws::ServiceCatalog
5014
5227
  req.send_request(options)
5015
5228
  end
5016
5229
 
5230
+ # Updates the specified portfolio share. You can use this API to enable
5231
+ # or disable TagOptions sharing for an existing portfolio share.
5232
+ #
5233
+ # The portfolio share cannot be updated if the ` CreatePortfolioShare`
5234
+ # operation is `IN_PROGRESS`, as the share is not available to recipient
5235
+ # entities. In this case, you must wait for the portfolio share to be
5236
+ # COMPLETED.
5237
+ #
5238
+ # You must provide the `accountId` or organization node in the input,
5239
+ # but not both.
5240
+ #
5241
+ # If the portfolio is shared to both an external account and an
5242
+ # organization node, and both shares need to be updated, you must invoke
5243
+ # `UpdatePortfolioShare` separately for each share type.
5244
+ #
5245
+ # This API cannot be used for removing the portfolio share. You must use
5246
+ # `DeletePortfolioShare` API for that action.
5247
+ #
5248
+ # @option params [String] :accept_language
5249
+ # The language code.
5250
+ #
5251
+ # * `en` - English (default)
5252
+ #
5253
+ # * `jp` - Japanese
5254
+ #
5255
+ # * `zh` - Chinese
5256
+ #
5257
+ # @option params [required, String] :portfolio_id
5258
+ # The unique identifier of the portfolio for which the share will be
5259
+ # updated.
5260
+ #
5261
+ # @option params [String] :account_id
5262
+ # The AWS Account Id of the recipient account. This field is required
5263
+ # when updating an external account to account type share.
5264
+ #
5265
+ # @option params [Types::OrganizationNode] :organization_node
5266
+ # Information about the organization node.
5267
+ #
5268
+ # @option params [Boolean] :share_tag_options
5269
+ # A flag to enable or disable TagOptions sharing for the portfolio
5270
+ # share. If this field is not provided, the current state of TagOptions
5271
+ # sharing on the portfolio share will not be modified.
5272
+ #
5273
+ # @return [Types::UpdatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5274
+ #
5275
+ # * {Types::UpdatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
5276
+ # * {Types::UpdatePortfolioShareOutput#status #status} => String
5277
+ #
5278
+ # @example Request syntax with placeholder values
5279
+ #
5280
+ # resp = client.update_portfolio_share({
5281
+ # accept_language: "AcceptLanguage",
5282
+ # portfolio_id: "Id", # required
5283
+ # account_id: "AccountId",
5284
+ # organization_node: {
5285
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
5286
+ # value: "OrganizationNodeValue",
5287
+ # },
5288
+ # share_tag_options: false,
5289
+ # })
5290
+ #
5291
+ # @example Response structure
5292
+ #
5293
+ # resp.portfolio_share_token #=> String
5294
+ # resp.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "ERROR"
5295
+ #
5296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShare AWS API Documentation
5297
+ #
5298
+ # @overload update_portfolio_share(params = {})
5299
+ # @param [Hash] params ({})
5300
+ def update_portfolio_share(params = {}, options = {})
5301
+ req = build_request(:update_portfolio_share, params)
5302
+ req.send_request(options)
5303
+ end
5304
+
5017
5305
  # Updates the specified product.
5018
5306
  #
5019
5307
  # @option params [String] :accept_language
@@ -5268,16 +5556,13 @@ module Aws::ServiceCatalog
5268
5556
  # @option params [required, Hash<String,String>] :provisioned_product_properties
5269
5557
  # A map that contains the provisioned product properties to be updated.
5270
5558
  #
5271
- # The `LAUNCH_ROLE` key accepts user ARNs and role ARNs. This key allows
5272
- # an administrator to call `UpdateProvisionedProductProperties` to
5273
- # update the launch role that is associated with a provisioned product.
5274
- # This role is used when an end-user calls a provisioning operation such
5275
- # as `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
5276
- # `ExecuteProvisionedProductServiceAction`. Only an ARN role or `null`
5277
- # is valid. A user ARN is invalid. For example, if an admin user passes
5278
- # `null` as the value for the key `LAUNCH_ROLE`, the admin removes the
5279
- # launch role that is associated with the provisioned product. As a
5280
- # result, the end user operations use the credentials of the end user.
5559
+ # The `LAUNCH_ROLE` key accepts role ARNs. This key allows an
5560
+ # administrator to call `UpdateProvisionedProductProperties` to update
5561
+ # the launch role that is associated with a provisioned product. This
5562
+ # role is used when an end user calls a provisioning operation such as
5563
+ # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
5564
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid. A
5565
+ # user ARN is invalid.
5281
5566
  #
5282
5567
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the user
5283
5568
  # that has permission to see, update, terminate, and execute service
@@ -5513,6 +5798,7 @@ module Aws::ServiceCatalog
5513
5798
  # resp.tag_option_detail.value #=> String
5514
5799
  # resp.tag_option_detail.active #=> Boolean
5515
5800
  # resp.tag_option_detail.id #=> String
5801
+ # resp.tag_option_detail.owner #=> String
5516
5802
  #
5517
5803
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption AWS API Documentation
5518
5804
  #
@@ -5536,7 +5822,7 @@ module Aws::ServiceCatalog
5536
5822
  params: params,
5537
5823
  config: config)
5538
5824
  context[:gem_name] = 'aws-sdk-servicecatalog'
5539
- context[:gem_version] = '1.51.0'
5825
+ context[:gem_version] = '1.56.0'
5540
5826
  Seahorse::Client::Request.new(handlers, context)
5541
5827
  end
5542
5828
 
@@ -41,6 +41,7 @@ module Aws::ServiceCatalog
41
41
  BatchAssociateServiceActionWithProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchAssociateServiceActionWithProvisioningArtifactOutput')
42
42
  BatchDisassociateServiceActionFromProvisioningArtifactInput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactInput')
43
43
  BatchDisassociateServiceActionFromProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactOutput')
44
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
44
45
  BudgetDetail = Shapes::StructureShape.new(name: 'BudgetDetail')
45
46
  BudgetName = Shapes::StringShape.new(name: 'BudgetName')
46
47
  Budgets = Shapes::ListShape.new(name: 'Budgets')
@@ -104,6 +105,9 @@ module Aws::ServiceCatalog
104
105
  DescribePortfolioOutput = Shapes::StructureShape.new(name: 'DescribePortfolioOutput')
105
106
  DescribePortfolioShareStatusInput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusInput')
106
107
  DescribePortfolioShareStatusOutput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusOutput')
108
+ DescribePortfolioShareType = Shapes::StringShape.new(name: 'DescribePortfolioShareType')
109
+ DescribePortfolioSharesInput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesInput')
110
+ DescribePortfolioSharesOutput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesOutput')
107
111
  DescribeProductAsAdminInput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminInput')
108
112
  DescribeProductAsAdminOutput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminOutput')
109
113
  DescribeProductInput = Shapes::StructureShape.new(name: 'DescribeProductInput')
@@ -168,6 +172,8 @@ module Aws::ServiceCatalog
168
172
  Id = Shapes::StringShape.new(name: 'Id')
169
173
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
170
174
  IgnoreErrors = Shapes::BooleanShape.new(name: 'IgnoreErrors')
175
+ ImportAsProvisionedProductInput = Shapes::StructureShape.new(name: 'ImportAsProvisionedProductInput')
176
+ ImportAsProvisionedProductOutput = Shapes::StructureShape.new(name: 'ImportAsProvisionedProductOutput')
171
177
  InstructionType = Shapes::StringShape.new(name: 'InstructionType')
172
178
  InstructionValue = Shapes::StringShape.new(name: 'InstructionValue')
173
179
  InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
@@ -222,6 +228,7 @@ module Aws::ServiceCatalog
222
228
  NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
223
229
  NotificationArn = Shapes::StringShape.new(name: 'NotificationArn')
224
230
  NotificationArns = Shapes::ListShape.new(name: 'NotificationArns')
231
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
225
232
  OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
226
233
  OrganizationNode = Shapes::StructureShape.new(name: 'OrganizationNode')
227
234
  OrganizationNodeType = Shapes::StringShape.new(name: 'OrganizationNodeType')
@@ -231,7 +238,9 @@ module Aws::ServiceCatalog
231
238
  OutputKey = Shapes::StringShape.new(name: 'OutputKey')
232
239
  OutputKeys = Shapes::ListShape.new(name: 'OutputKeys')
233
240
  OutputValue = Shapes::StringShape.new(name: 'OutputValue')
241
+ Owner = Shapes::StringShape.new(name: 'Owner')
234
242
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
243
+ PageSizeMax100 = Shapes::IntegerShape.new(name: 'PageSizeMax100')
235
244
  PageToken = Shapes::StringShape.new(name: 'PageToken')
236
245
  ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints')
237
246
  ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
@@ -245,6 +254,8 @@ module Aws::ServiceCatalog
245
254
  PortfolioDetails = Shapes::ListShape.new(name: 'PortfolioDetails')
246
255
  PortfolioDisplayName = Shapes::StringShape.new(name: 'PortfolioDisplayName')
247
256
  PortfolioName = Shapes::StringShape.new(name: 'PortfolioName')
257
+ PortfolioShareDetail = Shapes::StructureShape.new(name: 'PortfolioShareDetail')
258
+ PortfolioShareDetails = Shapes::ListShape.new(name: 'PortfolioShareDetails')
248
259
  PortfolioShareType = Shapes::StringShape.new(name: 'PortfolioShareType')
249
260
  Principal = Shapes::StructureShape.new(name: 'Principal')
250
261
  PrincipalARN = Shapes::StringShape.new(name: 'PrincipalARN')
@@ -361,6 +372,7 @@ module Aws::ServiceCatalog
361
372
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
362
373
  ResourceTargetDefinition = Shapes::StructureShape.new(name: 'ResourceTargetDefinition')
363
374
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
375
+ RetainPhysicalResources = Shapes::BooleanShape.new(name: 'RetainPhysicalResources')
364
376
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
365
377
  ScanProvisionedProductsInput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsInput')
366
378
  ScanProvisionedProductsOutput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsOutput')
@@ -434,6 +446,8 @@ module Aws::ServiceCatalog
434
446
  UpdateConstraintOutput = Shapes::StructureShape.new(name: 'UpdateConstraintOutput')
435
447
  UpdatePortfolioInput = Shapes::StructureShape.new(name: 'UpdatePortfolioInput')
436
448
  UpdatePortfolioOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioOutput')
449
+ UpdatePortfolioShareInput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareInput')
450
+ UpdatePortfolioShareOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareOutput')
437
451
  UpdateProductInput = Shapes::StructureShape.new(name: 'UpdateProductInput')
438
452
  UpdateProductOutput = Shapes::StructureShape.new(name: 'UpdateProductOutput')
439
453
  UpdateProvisionedProductInput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductInput')
@@ -594,6 +608,7 @@ module Aws::ServiceCatalog
594
608
  CreatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
595
609
  CreatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
596
610
  CreatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
611
+ CreatePortfolioShareInput.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShareTagOptions"))
597
612
  CreatePortfolioShareInput.struct_class = Types::CreatePortfolioShareInput
598
613
 
599
614
  CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
@@ -757,9 +772,20 @@ module Aws::ServiceCatalog
757
772
  DescribePortfolioShareStatusOutput.add_member(:share_details, Shapes::ShapeRef.new(shape: ShareDetails, location_name: "ShareDetails"))
758
773
  DescribePortfolioShareStatusOutput.struct_class = Types::DescribePortfolioShareStatusOutput
759
774
 
775
+ DescribePortfolioSharesInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
776
+ DescribePortfolioSharesInput.add_member(:type, Shapes::ShapeRef.new(shape: DescribePortfolioShareType, required: true, location_name: "Type"))
777
+ DescribePortfolioSharesInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
778
+ DescribePortfolioSharesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
779
+ DescribePortfolioSharesInput.struct_class = Types::DescribePortfolioSharesInput
780
+
781
+ DescribePortfolioSharesOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
782
+ DescribePortfolioSharesOutput.add_member(:portfolio_share_details, Shapes::ShapeRef.new(shape: PortfolioShareDetails, location_name: "PortfolioShareDetails"))
783
+ DescribePortfolioSharesOutput.struct_class = Types::DescribePortfolioSharesOutput
784
+
760
785
  DescribeProductAsAdminInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
761
786
  DescribeProductAsAdminInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
762
787
  DescribeProductAsAdminInput.add_member(:name, Shapes::ShapeRef.new(shape: ProductViewName, location_name: "Name"))
788
+ DescribeProductAsAdminInput.add_member(:source_portfolio_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourcePortfolioId"))
763
789
  DescribeProductAsAdminInput.struct_class = Types::DescribeProductAsAdminInput
764
790
 
765
791
  DescribeProductAsAdminOutput.add_member(:product_view_detail, Shapes::ShapeRef.new(shape: ProductViewDetail, location_name: "ProductViewDetail"))
@@ -970,6 +996,17 @@ module Aws::ServiceCatalog
970
996
  GetProvisionedProductOutputsOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
971
997
  GetProvisionedProductOutputsOutput.struct_class = Types::GetProvisionedProductOutputsOutput
972
998
 
999
+ ImportAsProvisionedProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1000
+ ImportAsProvisionedProductInput.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProductId"))
1001
+ ImportAsProvisionedProductInput.add_member(:provisioning_artifact_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProvisioningArtifactId"))
1002
+ ImportAsProvisionedProductInput.add_member(:provisioned_product_name, Shapes::ShapeRef.new(shape: ProvisionedProductName, required: true, location_name: "ProvisionedProductName"))
1003
+ ImportAsProvisionedProductInput.add_member(:physical_id, Shapes::ShapeRef.new(shape: PhysicalId, required: true, location_name: "PhysicalId"))
1004
+ ImportAsProvisionedProductInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
1005
+ ImportAsProvisionedProductInput.struct_class = Types::ImportAsProvisionedProductInput
1006
+
1007
+ ImportAsProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
1008
+ ImportAsProvisionedProductOutput.struct_class = Types::ImportAsProvisionedProductOutput
1009
+
973
1010
  InvalidParametersException.struct_class = Types::InvalidParametersException
974
1011
 
975
1012
  InvalidStateException.struct_class = Types::InvalidStateException
@@ -1046,7 +1083,7 @@ module Aws::ServiceCatalog
1046
1083
  ListPortfolioAccessInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
1047
1084
  ListPortfolioAccessInput.add_member(:organization_parent_id, Shapes::ShapeRef.new(shape: Id, location_name: "OrganizationParentId"))
1048
1085
  ListPortfolioAccessInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1049
- ListPortfolioAccessInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1086
+ ListPortfolioAccessInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1050
1087
  ListPortfolioAccessInput.struct_class = Types::ListPortfolioAccessInput
1051
1088
 
1052
1089
  ListPortfolioAccessOutput.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "AccountIds"))
@@ -1207,6 +1244,14 @@ module Aws::ServiceCatalog
1207
1244
 
1208
1245
  PortfolioDetails.member = Shapes::ShapeRef.new(shape: PortfolioDetail)
1209
1246
 
1247
+ PortfolioShareDetail.add_member(:principal_id, Shapes::ShapeRef.new(shape: Id, location_name: "PrincipalId"))
1248
+ PortfolioShareDetail.add_member(:type, Shapes::ShapeRef.new(shape: DescribePortfolioShareType, location_name: "Type"))
1249
+ PortfolioShareDetail.add_member(:accepted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accepted"))
1250
+ PortfolioShareDetail.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShareTagOptions"))
1251
+ PortfolioShareDetail.struct_class = Types::PortfolioShareDetail
1252
+
1253
+ PortfolioShareDetails.member = Shapes::ShapeRef.new(shape: PortfolioShareDetail)
1254
+
1210
1255
  Principal.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, location_name: "PrincipalARN"))
1211
1256
  Principal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "PrincipalType"))
1212
1257
  Principal.struct_class = Types::Principal
@@ -1617,6 +1662,7 @@ module Aws::ServiceCatalog
1617
1662
  TagOptionDetail.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
1618
1663
  TagOptionDetail.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
1619
1664
  TagOptionDetail.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, location_name: "Id"))
1665
+ TagOptionDetail.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
1620
1666
  TagOptionDetail.struct_class = Types::TagOptionDetail
1621
1667
 
1622
1668
  TagOptionDetails.member = Shapes::ShapeRef.new(shape: TagOptionDetail)
@@ -1638,6 +1684,7 @@ module Aws::ServiceCatalog
1638
1684
  TerminateProvisionedProductInput.add_member(:terminate_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "TerminateToken", metadata: {"idempotencyToken"=>true}))
1639
1685
  TerminateProvisionedProductInput.add_member(:ignore_errors, Shapes::ShapeRef.new(shape: IgnoreErrors, location_name: "IgnoreErrors"))
1640
1686
  TerminateProvisionedProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1687
+ TerminateProvisionedProductInput.add_member(:retain_physical_resources, Shapes::ShapeRef.new(shape: RetainPhysicalResources, location_name: "RetainPhysicalResources"))
1641
1688
  TerminateProvisionedProductInput.struct_class = Types::TerminateProvisionedProductInput
1642
1689
 
1643
1690
  TerminateProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
@@ -1667,6 +1714,17 @@ module Aws::ServiceCatalog
1667
1714
  UpdatePortfolioOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1668
1715
  UpdatePortfolioOutput.struct_class = Types::UpdatePortfolioOutput
1669
1716
 
1717
+ UpdatePortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1718
+ UpdatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
1719
+ UpdatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
1720
+ UpdatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
1721
+ UpdatePortfolioShareInput.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ShareTagOptions"))
1722
+ UpdatePortfolioShareInput.struct_class = Types::UpdatePortfolioShareInput
1723
+
1724
+ UpdatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
1725
+ UpdatePortfolioShareOutput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
1726
+ UpdatePortfolioShareOutput.struct_class = Types::UpdatePortfolioShareOutput
1727
+
1670
1728
  UpdateProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1671
1729
  UpdateProductInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
1672
1730
  UpdateProductInput.add_member(:name, Shapes::ShapeRef.new(shape: ProductViewName, location_name: "Name"))
@@ -2100,6 +2158,22 @@ module Aws::ServiceCatalog
2100
2158
  o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2101
2159
  end)
2102
2160
 
2161
+ api.add_operation(:describe_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
2162
+ o.name = "DescribePortfolioShares"
2163
+ o.http_method = "POST"
2164
+ o.http_request_uri = "/"
2165
+ o.input = Shapes::ShapeRef.new(shape: DescribePortfolioSharesInput)
2166
+ o.output = Shapes::ShapeRef.new(shape: DescribePortfolioSharesOutput)
2167
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2169
+ o[:pager] = Aws::Pager.new(
2170
+ limit_key: "page_size",
2171
+ tokens: {
2172
+ "next_page_token" => "page_token"
2173
+ }
2174
+ )
2175
+ end)
2176
+
2103
2177
  api.add_operation(:describe_product, Seahorse::Model::Operation.new.tap do |o|
2104
2178
  o.name = "DescribeProduct"
2105
2179
  o.http_method = "POST"
@@ -2327,6 +2401,18 @@ module Aws::ServiceCatalog
2327
2401
  )
2328
2402
  end)
2329
2403
 
2404
+ api.add_operation(:import_as_provisioned_product, Seahorse::Model::Operation.new.tap do |o|
2405
+ o.name = "ImportAsProvisionedProduct"
2406
+ o.http_method = "POST"
2407
+ o.http_request_uri = "/"
2408
+ o.input = Shapes::ShapeRef.new(shape: ImportAsProvisionedProductInput)
2409
+ o.output = Shapes::ShapeRef.new(shape: ImportAsProvisionedProductOutput)
2410
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2411
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2412
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2413
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2414
+ end)
2415
+
2330
2416
  api.add_operation(:list_accepted_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
2331
2417
  o.name = "ListAcceptedPortfolioShares"
2332
2418
  o.http_method = "POST"
@@ -2696,6 +2782,18 @@ module Aws::ServiceCatalog
2696
2782
  o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
2697
2783
  end)
2698
2784
 
2785
+ api.add_operation(:update_portfolio_share, Seahorse::Model::Operation.new.tap do |o|
2786
+ o.name = "UpdatePortfolioShare"
2787
+ o.http_method = "POST"
2788
+ o.http_request_uri = "/"
2789
+ o.input = Shapes::ShapeRef.new(shape: UpdatePortfolioShareInput)
2790
+ o.output = Shapes::ShapeRef.new(shape: UpdatePortfolioShareOutput)
2791
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2792
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2793
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2794
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2795
+ end)
2796
+
2699
2797
  api.add_operation(:update_product, Seahorse::Model::Operation.new.tap do |o|
2700
2798
  o.name = "UpdateProduct"
2701
2799
  o.http_method = "POST"
@@ -858,6 +858,7 @@ module Aws::ServiceCatalog
858
858
  # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
859
859
  # value: "OrganizationNodeValue",
860
860
  # },
861
+ # share_tag_options: false,
861
862
  # }
862
863
  #
863
864
  # @!attribute [rw] accept_language
@@ -887,13 +888,20 @@ module Aws::ServiceCatalog
887
888
  # `PortfolioShare` creation process.
888
889
  # @return [Types::OrganizationNode]
889
890
  #
891
+ # @!attribute [rw] share_tag_options
892
+ # Enables or disables `TagOptions ` sharing when creating the
893
+ # portfolio share. If this flag is not provided, TagOptions sharing is
894
+ # disabled.
895
+ # @return [Boolean]
896
+ #
890
897
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput AWS API Documentation
891
898
  #
892
899
  class CreatePortfolioShareInput < Struct.new(
893
900
  :accept_language,
894
901
  :portfolio_id,
895
902
  :account_id,
896
- :organization_node)
903
+ :organization_node,
904
+ :share_tag_options)
897
905
  SENSITIVE = []
898
906
  include Aws::Structure
899
907
  end
@@ -978,6 +986,8 @@ module Aws::ServiceCatalog
978
986
  #
979
987
  # @!attribute [rw] support_url
980
988
  # The contact URL for product support.
989
+ #
990
+ # `^https?:\/\// `/ is the pattern used to validate SupportUrl.
981
991
  # @return [String]
982
992
  #
983
993
  # @!attribute [rw] product_type
@@ -1247,7 +1257,21 @@ module Aws::ServiceCatalog
1247
1257
  # @return [Types::ProvisioningArtifactDetail]
1248
1258
  #
1249
1259
  # @!attribute [rw] info
1260
+ # Specify the template source with one of the following options, but
1261
+ # not both. Keys accepted: \[ `LoadTemplateFromURL`,
1262
+ # `ImportFromPhysicalId` \].
1263
+ #
1250
1264
  # The URL of the CloudFormation template in Amazon S3, in JSON format.
1265
+ #
1266
+ # `LoadTemplateFromURL`
1267
+ #
1268
+ # Use the URL of the CloudFormation template in Amazon S3 in JSON
1269
+ # format.
1270
+ #
1271
+ # `ImportFromPhysicalId`
1272
+ #
1273
+ # Use the physical id of the resource that contains the template;
1274
+ # currently supports CloudFormation stack ARN.
1251
1275
  # @return [Hash<String,String>]
1252
1276
  #
1253
1277
  # @!attribute [rw] status
@@ -1930,6 +1954,76 @@ module Aws::ServiceCatalog
1930
1954
  include Aws::Structure
1931
1955
  end
1932
1956
 
1957
+ # @note When making an API call, you may pass DescribePortfolioSharesInput
1958
+ # data as a hash:
1959
+ #
1960
+ # {
1961
+ # portfolio_id: "Id", # required
1962
+ # type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, ORGANIZATIONAL_UNIT, ORGANIZATION_MEMBER_ACCOUNT
1963
+ # page_token: "PageToken",
1964
+ # page_size: 1,
1965
+ # }
1966
+ #
1967
+ # @!attribute [rw] portfolio_id
1968
+ # The unique identifier of the portfolio for which shares will be
1969
+ # retrieved.
1970
+ # @return [String]
1971
+ #
1972
+ # @!attribute [rw] type
1973
+ # The type of portfolio share to summarize. This field acts as a
1974
+ # filter on the type of portfolio share, which can be one of the
1975
+ # following:
1976
+ #
1977
+ # 1\. `ACCOUNT` - Represents an external account to account share.
1978
+ #
1979
+ # 2\. `ORGANIZATION` - Represents a share to an organization. This
1980
+ # share is available to every account in the organization.
1981
+ #
1982
+ # 3\. `ORGANIZATIONAL_UNIT` - Represents a share to an organizational
1983
+ # unit.
1984
+ #
1985
+ # 4\. `ORGANIZATION_MEMBER_ACCOUNT` - Represents a share to an account
1986
+ # in the organization.
1987
+ # @return [String]
1988
+ #
1989
+ # @!attribute [rw] page_token
1990
+ # The page token for the next set of results. To retrieve the first
1991
+ # set of results, use null.
1992
+ # @return [String]
1993
+ #
1994
+ # @!attribute [rw] page_size
1995
+ # The maximum number of items to return with this call.
1996
+ # @return [Integer]
1997
+ #
1998
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioSharesInput AWS API Documentation
1999
+ #
2000
+ class DescribePortfolioSharesInput < Struct.new(
2001
+ :portfolio_id,
2002
+ :type,
2003
+ :page_token,
2004
+ :page_size)
2005
+ SENSITIVE = []
2006
+ include Aws::Structure
2007
+ end
2008
+
2009
+ # @!attribute [rw] next_page_token
2010
+ # The page token to use to retrieve the next set of results. If there
2011
+ # are no additional results, this value is null.
2012
+ # @return [String]
2013
+ #
2014
+ # @!attribute [rw] portfolio_share_details
2015
+ # Summaries about each of the portfolio shares.
2016
+ # @return [Array<Types::PortfolioShareDetail>]
2017
+ #
2018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioSharesOutput AWS API Documentation
2019
+ #
2020
+ class DescribePortfolioSharesOutput < Struct.new(
2021
+ :next_page_token,
2022
+ :portfolio_share_details)
2023
+ SENSITIVE = []
2024
+ include Aws::Structure
2025
+ end
2026
+
1933
2027
  # @note When making an API call, you may pass DescribeProductAsAdminInput
1934
2028
  # data as a hash:
1935
2029
  #
@@ -1937,6 +2031,7 @@ module Aws::ServiceCatalog
1937
2031
  # accept_language: "AcceptLanguage",
1938
2032
  # id: "Id",
1939
2033
  # name: "ProductViewName",
2034
+ # source_portfolio_id: "Id",
1940
2035
  # }
1941
2036
  #
1942
2037
  # @!attribute [rw] accept_language
@@ -1957,12 +2052,24 @@ module Aws::ServiceCatalog
1957
2052
  # The product name.
1958
2053
  # @return [String]
1959
2054
  #
2055
+ # @!attribute [rw] source_portfolio_id
2056
+ # The unique identifier of the shared portfolio that the specified
2057
+ # product is associated with.
2058
+ #
2059
+ # You can provide this parameter to retrieve the shared TagOptions
2060
+ # associated with the product. If this parameter is provided and if
2061
+ # TagOptions sharing is enabled in the portfolio share, the API
2062
+ # returns both local and shared TagOptions associated with the
2063
+ # product. Otherwise only local TagOptions will be returned.
2064
+ # @return [String]
2065
+ #
1960
2066
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput AWS API Documentation
1961
2067
  #
1962
2068
  class DescribeProductAsAdminInput < Struct.new(
1963
2069
  :accept_language,
1964
2070
  :id,
1965
- :name)
2071
+ :name,
2072
+ :source_portfolio_id)
1966
2073
  SENSITIVE = []
1967
2074
  include Aws::Structure
1968
2075
  end
@@ -3131,6 +3238,81 @@ module Aws::ServiceCatalog
3131
3238
  include Aws::Structure
3132
3239
  end
3133
3240
 
3241
+ # @note When making an API call, you may pass ImportAsProvisionedProductInput
3242
+ # data as a hash:
3243
+ #
3244
+ # {
3245
+ # accept_language: "AcceptLanguage",
3246
+ # product_id: "Id", # required
3247
+ # provisioning_artifact_id: "Id", # required
3248
+ # provisioned_product_name: "ProvisionedProductName", # required
3249
+ # physical_id: "PhysicalId", # required
3250
+ # idempotency_token: "IdempotencyToken", # required
3251
+ # }
3252
+ #
3253
+ # @!attribute [rw] accept_language
3254
+ # The language code.
3255
+ #
3256
+ # * `en` - English (default)
3257
+ #
3258
+ # * `jp` - Japanese
3259
+ #
3260
+ # * `zh` - Chinese
3261
+ # @return [String]
3262
+ #
3263
+ # @!attribute [rw] product_id
3264
+ # The product identifier.
3265
+ # @return [String]
3266
+ #
3267
+ # @!attribute [rw] provisioning_artifact_id
3268
+ # The identifier of the provisioning artifact.
3269
+ # @return [String]
3270
+ #
3271
+ # @!attribute [rw] provisioned_product_name
3272
+ # The user-friendly name of the provisioned product. The value must be
3273
+ # unique for the AWS account. The name cannot be updated after the
3274
+ # product is provisioned.
3275
+ # @return [String]
3276
+ #
3277
+ # @!attribute [rw] physical_id
3278
+ # The unique identifier of the resource to be imported. It only
3279
+ # currently supports CloudFormation stack IDs.
3280
+ # @return [String]
3281
+ #
3282
+ # @!attribute [rw] idempotency_token
3283
+ # A unique identifier that you provide to ensure idempotency. If
3284
+ # multiple requests differ only by the idempotency token, the same
3285
+ # response is returned for each repeated request.
3286
+ #
3287
+ # **A suitable default value is auto-generated.** You should normally
3288
+ # not need to pass this option.
3289
+ # @return [String]
3290
+ #
3291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProductInput AWS API Documentation
3292
+ #
3293
+ class ImportAsProvisionedProductInput < Struct.new(
3294
+ :accept_language,
3295
+ :product_id,
3296
+ :provisioning_artifact_id,
3297
+ :provisioned_product_name,
3298
+ :physical_id,
3299
+ :idempotency_token)
3300
+ SENSITIVE = []
3301
+ include Aws::Structure
3302
+ end
3303
+
3304
+ # @!attribute [rw] record_detail
3305
+ # Information about a request operation.
3306
+ # @return [Types::RecordDetail]
3307
+ #
3308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProductOutput AWS API Documentation
3309
+ #
3310
+ class ImportAsProvisionedProductOutput < Struct.new(
3311
+ :record_detail)
3312
+ SENSITIVE = []
3313
+ include Aws::Structure
3314
+ end
3315
+
3134
3316
  # One or more parameters provided to the operation are not valid.
3135
3317
  #
3136
3318
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/InvalidParametersException AWS API Documentation
@@ -4503,6 +4685,48 @@ module Aws::ServiceCatalog
4503
4685
  include Aws::Structure
4504
4686
  end
4505
4687
 
4688
+ # Information about the portfolio share.
4689
+ #
4690
+ # @!attribute [rw] principal_id
4691
+ # The identifier of the recipient entity that received the portfolio
4692
+ # share. The recipient entities can be one of the following:
4693
+ #
4694
+ # 1\. An external account.
4695
+ #
4696
+ # 2\. An organziation member account.
4697
+ #
4698
+ # 3\. An organzational unit (OU).
4699
+ #
4700
+ # 4\. The organization itself. (This shares with every account in the
4701
+ # organization).
4702
+ # @return [String]
4703
+ #
4704
+ # @!attribute [rw] type
4705
+ # The type of the portfolio share.
4706
+ # @return [String]
4707
+ #
4708
+ # @!attribute [rw] accepted
4709
+ # Indicates whether the shared portfolio is imported by the recipient
4710
+ # account. If the recipient is in an organization node, the share is
4711
+ # automatically imported, and the field is always set to true.
4712
+ # @return [Boolean]
4713
+ #
4714
+ # @!attribute [rw] share_tag_options
4715
+ # Indicates whether TagOptions sharing is enabled or disabled for the
4716
+ # portfolio share.
4717
+ # @return [Boolean]
4718
+ #
4719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioShareDetail AWS API Documentation
4720
+ #
4721
+ class PortfolioShareDetail < Struct.new(
4722
+ :principal_id,
4723
+ :type,
4724
+ :accepted,
4725
+ :share_tag_options)
4726
+ SENSITIVE = []
4727
+ include Aws::Structure
4728
+ end
4729
+
4506
4730
  # Information about a principal.
4507
4731
  #
4508
4732
  # @!attribute [rw] principal_arn
@@ -5409,11 +5633,21 @@ module Aws::ServiceCatalog
5409
5633
  # @return [String]
5410
5634
  #
5411
5635
  # @!attribute [rw] info
5636
+ # Specify the template source with one of the following options, but
5637
+ # not both. Keys accepted: \[ `LoadTemplateFromURL`,
5638
+ # `ImportFromPhysicalId` \]
5639
+ #
5412
5640
  # The URL of the CloudFormation template in Amazon S3. Specify the URL
5413
5641
  # in JSON format as follows:
5414
5642
  #
5415
5643
  # `"LoadTemplateFromURL":
5416
5644
  # "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."`
5645
+ #
5646
+ # `ImportFromPhysicalId`\: The physical id of the resource that
5647
+ # contains the template. Currently only supports CloudFormation stack
5648
+ # arn. Specify the physical id in JSON format as follows:
5649
+ # `ImportFromPhysicalId:
5650
+ # “arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]`
5417
5651
  # @return [Hash<String,String>]
5418
5652
  #
5419
5653
  # @!attribute [rw] type
@@ -5529,7 +5763,20 @@ module Aws::ServiceCatalog
5529
5763
 
5530
5764
  # The user-defined preferences that will be applied when updating a
5531
5765
  # provisioned product. Not all preferences are applicable to all
5532
- # provisioned product types.
5766
+ # provisioned product type
5767
+ #
5768
+ # One or more AWS accounts that will have access to the provisioned
5769
+ # product.
5770
+ #
5771
+ # Applicable only to a `CFN_STACKSET` provisioned product type.
5772
+ #
5773
+ # The AWS accounts specified should be within the list of accounts in
5774
+ # the `STACKSET` constraint. To get the list of accounts in the
5775
+ # `STACKSET` constraint, use the `DescribeProvisioningParameters`
5776
+ # operation.
5777
+ #
5778
+ # If no values are specified, the default value is all accounts from the
5779
+ # `STACKSET` constraint.
5533
5780
  #
5534
5781
  # @note When making an API call, you may pass ProvisioningPreferences
5535
5782
  # data as a hash:
@@ -5544,17 +5791,17 @@ module Aws::ServiceCatalog
5544
5791
  # }
5545
5792
  #
5546
5793
  # @!attribute [rw] stack_set_accounts
5547
- # One or more AWS accounts that will have access to the provisioned
5548
- # product.
5794
+ # One or more AWS accounts where the provisioned product will be
5795
+ # available.
5549
5796
  #
5550
5797
  # Applicable only to a `CFN_STACKSET` provisioned product type.
5551
5798
  #
5552
- # The AWS accounts specified should be within the list of accounts in
5799
+ # The specified accounts should be within the list of accounts from
5553
5800
  # the `STACKSET` constraint. To get the list of accounts in the
5554
5801
  # `STACKSET` constraint, use the `DescribeProvisioningParameters`
5555
5802
  # operation.
5556
5803
  #
5557
- # If no values are specified, the default value is all accounts from
5804
+ # If no values are specified, the default value is all acounts from
5558
5805
  # the `STACKSET` constraint.
5559
5806
  # @return [Array<String>]
5560
5807
  #
@@ -6583,13 +6830,18 @@ module Aws::ServiceCatalog
6583
6830
  # The TagOption identifier.
6584
6831
  # @return [String]
6585
6832
  #
6833
+ # @!attribute [rw] owner
6834
+ # The AWS account Id of the owner account that created the TagOption.
6835
+ # @return [String]
6836
+ #
6586
6837
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionDetail AWS API Documentation
6587
6838
  #
6588
6839
  class TagOptionDetail < Struct.new(
6589
6840
  :key,
6590
6841
  :value,
6591
6842
  :active,
6592
- :id)
6843
+ :id,
6844
+ :owner)
6593
6845
  SENSITIVE = []
6594
6846
  include Aws::Structure
6595
6847
  end
@@ -6631,6 +6883,7 @@ module Aws::ServiceCatalog
6631
6883
  # terminate_token: "IdempotencyToken", # required
6632
6884
  # ignore_errors: false,
6633
6885
  # accept_language: "AcceptLanguage",
6886
+ # retain_physical_resources: false,
6634
6887
  # }
6635
6888
  #
6636
6889
  # @!attribute [rw] provisioned_product_name
@@ -6670,6 +6923,14 @@ module Aws::ServiceCatalog
6670
6923
  # * `zh` - Chinese
6671
6924
  # @return [String]
6672
6925
  #
6926
+ # @!attribute [rw] retain_physical_resources
6927
+ # When this boolean parameter is set to true, the
6928
+ # `TerminateProvisionedProduct` API deletes the Service Catalog
6929
+ # provisioned product. However, it does not remove the CloudFormation
6930
+ # stack, stack set, or the underlying resources of the deleted
6931
+ # provisioned product. The default value is false.
6932
+ # @return [Boolean]
6933
+ #
6673
6934
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput AWS API Documentation
6674
6935
  #
6675
6936
  class TerminateProvisionedProductInput < Struct.new(
@@ -6677,7 +6938,8 @@ module Aws::ServiceCatalog
6677
6938
  :provisioned_product_id,
6678
6939
  :terminate_token,
6679
6940
  :ignore_errors,
6680
- :accept_language)
6941
+ :accept_language,
6942
+ :retain_physical_resources)
6681
6943
  SENSITIVE = []
6682
6944
  include Aws::Structure
6683
6945
  end
@@ -6914,6 +7176,82 @@ module Aws::ServiceCatalog
6914
7176
  include Aws::Structure
6915
7177
  end
6916
7178
 
7179
+ # @note When making an API call, you may pass UpdatePortfolioShareInput
7180
+ # data as a hash:
7181
+ #
7182
+ # {
7183
+ # accept_language: "AcceptLanguage",
7184
+ # portfolio_id: "Id", # required
7185
+ # account_id: "AccountId",
7186
+ # organization_node: {
7187
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
7188
+ # value: "OrganizationNodeValue",
7189
+ # },
7190
+ # share_tag_options: false,
7191
+ # }
7192
+ #
7193
+ # @!attribute [rw] accept_language
7194
+ # The language code.
7195
+ #
7196
+ # * `en` - English (default)
7197
+ #
7198
+ # * `jp` - Japanese
7199
+ #
7200
+ # * `zh` - Chinese
7201
+ # @return [String]
7202
+ #
7203
+ # @!attribute [rw] portfolio_id
7204
+ # The unique identifier of the portfolio for which the share will be
7205
+ # updated.
7206
+ # @return [String]
7207
+ #
7208
+ # @!attribute [rw] account_id
7209
+ # The AWS Account Id of the recipient account. This field is required
7210
+ # when updating an external account to account type share.
7211
+ # @return [String]
7212
+ #
7213
+ # @!attribute [rw] organization_node
7214
+ # Information about the organization node.
7215
+ # @return [Types::OrganizationNode]
7216
+ #
7217
+ # @!attribute [rw] share_tag_options
7218
+ # A flag to enable or disable TagOptions sharing for the portfolio
7219
+ # share. If this field is not provided, the current state of
7220
+ # TagOptions sharing on the portfolio share will not be modified.
7221
+ # @return [Boolean]
7222
+ #
7223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShareInput AWS API Documentation
7224
+ #
7225
+ class UpdatePortfolioShareInput < Struct.new(
7226
+ :accept_language,
7227
+ :portfolio_id,
7228
+ :account_id,
7229
+ :organization_node,
7230
+ :share_tag_options)
7231
+ SENSITIVE = []
7232
+ include Aws::Structure
7233
+ end
7234
+
7235
+ # @!attribute [rw] portfolio_share_token
7236
+ # The token that tracks the status of the `UpdatePortfolioShare`
7237
+ # operation for external account to account or organizational type
7238
+ # sharing.
7239
+ # @return [String]
7240
+ #
7241
+ # @!attribute [rw] status
7242
+ # The status of `UpdatePortfolioShare` operation. You can also obtain
7243
+ # the operation status using `DescribePortfolioShareStatus` API.
7244
+ # @return [String]
7245
+ #
7246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShareOutput AWS API Documentation
7247
+ #
7248
+ class UpdatePortfolioShareOutput < Struct.new(
7249
+ :portfolio_share_token,
7250
+ :status)
7251
+ SENSITIVE = []
7252
+ include Aws::Structure
7253
+ end
7254
+
6917
7255
  # @note When making an API call, you may pass UpdateProductInput
6918
7256
  # data as a hash:
6919
7257
  #
@@ -7193,18 +7531,13 @@ module Aws::ServiceCatalog
7193
7531
  # A map that contains the provisioned product properties to be
7194
7532
  # updated.
7195
7533
  #
7196
- # The `LAUNCH_ROLE` key accepts user ARNs and role ARNs. This key
7197
- # allows an administrator to call `UpdateProvisionedProductProperties`
7198
- # to update the launch role that is associated with a provisioned
7199
- # product. This role is used when an end-user calls a provisioning
7200
- # operation such as `UpdateProvisionedProduct`,
7201
- # `TerminateProvisionedProduct`, or
7202
- # `ExecuteProvisionedProductServiceAction`. Only an ARN role or `null`
7203
- # is valid. A user ARN is invalid. For example, if an admin user
7204
- # passes `null` as the value for the key `LAUNCH_ROLE`, the admin
7205
- # removes the launch role that is associated with the provisioned
7206
- # product. As a result, the end user operations use the credentials of
7207
- # the end user.
7534
+ # The `LAUNCH_ROLE` key accepts role ARNs. This key allows an
7535
+ # administrator to call `UpdateProvisionedProductProperties` to update
7536
+ # the launch role that is associated with a provisioned product. This
7537
+ # role is used when an end user calls a provisioning operation such as
7538
+ # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
7539
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid.
7540
+ # A user ARN is invalid.
7208
7541
  #
7209
7542
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the
7210
7543
  # user that has permission to see, update, terminate, and execute
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-servicecatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.51.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-19 00:00:00.000000000 Z
11
+ date: 2020-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core