aws-sdk-servicecatalog 1.55.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.60.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/master/CONTRIBUTING.md
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.55.0'
51
+ GEM_VERSION = '1.60.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/master/CONTRIBUTING.md
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. 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
  #
@@ -1080,8 +1097,7 @@ module Aws::ServiceCatalog
1080
1097
  # One or more tags.
1081
1098
  #
1082
1099
  # @option params [required, Types::ProvisioningArtifactProperties] :provisioning_artifact_parameters
1083
- # The configuration of the provisioning artifact. The `info` field
1084
- # accepts `ImportFromPhysicalID`.
1100
+ # The configuration of the provisioning artifact.
1085
1101
  #
1086
1102
  # @option params [required, String] :idempotency_token
1087
1103
  # A unique identifier that you provide to ensure idempotency. If
@@ -1288,6 +1304,11 @@ module Aws::ServiceCatalog
1288
1304
  # You cannot create a provisioning artifact for a product that was
1289
1305
  # shared with you.
1290
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
+ #
1291
1312
  # @option params [String] :accept_language
1292
1313
  # The language code.
1293
1314
  #
@@ -1301,8 +1322,7 @@ module Aws::ServiceCatalog
1301
1322
  # The product identifier.
1302
1323
  #
1303
1324
  # @option params [required, Types::ProvisioningArtifactProperties] :parameters
1304
- # The configuration for the provisioning artifact. The `info` field
1305
- # accepts `ImportFromPhysicalID`.
1325
+ # The configuration for the provisioning artifact.
1306
1326
  #
1307
1327
  # @option params [required, String] :idempotency_token
1308
1328
  # A unique identifier that you provide to ensure idempotency. If
@@ -1477,6 +1497,7 @@ module Aws::ServiceCatalog
1477
1497
  # resp.tag_option_detail.value #=> String
1478
1498
  # resp.tag_option_detail.active #=> Boolean
1479
1499
  # resp.tag_option_detail.id #=> String
1500
+ # resp.tag_option_detail.owner #=> String
1480
1501
  #
1481
1502
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption AWS API Documentation
1482
1503
  #
@@ -1922,6 +1943,7 @@ module Aws::ServiceCatalog
1922
1943
  # resp.tag_options[0].value #=> String
1923
1944
  # resp.tag_options[0].active #=> Boolean
1924
1945
  # resp.tag_options[0].id #=> String
1946
+ # resp.tag_options[0].owner #=> String
1925
1947
  # resp.budgets #=> Array
1926
1948
  # resp.budgets[0].budget_name #=> String
1927
1949
  #
@@ -1979,6 +2001,76 @@ module Aws::ServiceCatalog
1979
2001
  req.send_request(options)
1980
2002
  end
1981
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
+
1982
2074
  # Gets information about the specified product.
1983
2075
  #
1984
2076
  # @option params [String] :accept_language
@@ -2063,6 +2155,16 @@ module Aws::ServiceCatalog
2063
2155
  # @option params [String] :name
2064
2156
  # The product name.
2065
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
+ #
2066
2168
  # @return [Types::DescribeProductAsAdminOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2067
2169
  #
2068
2170
  # * {Types::DescribeProductAsAdminOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
@@ -2077,6 +2179,7 @@ module Aws::ServiceCatalog
2077
2179
  # accept_language: "AcceptLanguage",
2078
2180
  # id: "Id",
2079
2181
  # name: "ProductViewName",
2182
+ # source_portfolio_id: "Id",
2080
2183
  # })
2081
2184
  #
2082
2185
  # @example Response structure
@@ -2110,6 +2213,7 @@ module Aws::ServiceCatalog
2110
2213
  # resp.tag_options[0].value #=> String
2111
2214
  # resp.tag_options[0].active #=> Boolean
2112
2215
  # resp.tag_options[0].id #=> String
2216
+ # resp.tag_options[0].owner #=> String
2113
2217
  # resp.budgets #=> Array
2114
2218
  # resp.budgets[0].budget_name #=> String
2115
2219
  #
@@ -2469,6 +2573,12 @@ module Aws::ServiceCatalog
2469
2573
  # resp.provisioning_artifact_parameters[0].description #=> String
2470
2574
  # resp.provisioning_artifact_parameters[0].parameter_constraints.allowed_values #=> Array
2471
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
2472
2582
  # resp.constraint_summaries #=> Array
2473
2583
  # resp.constraint_summaries[0].type #=> String
2474
2584
  # resp.constraint_summaries[0].description #=> String
@@ -2693,6 +2803,7 @@ module Aws::ServiceCatalog
2693
2803
  # resp.tag_option_detail.value #=> String
2694
2804
  # resp.tag_option_detail.active #=> Boolean
2695
2805
  # resp.tag_option_detail.id #=> String
2806
+ # resp.tag_option_detail.owner #=> String
2696
2807
  #
2697
2808
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption AWS API Documentation
2698
2809
  #
@@ -3153,20 +3264,24 @@ module Aws::ServiceCatalog
3153
3264
 
3154
3265
  # Requests the import of a resource as a Service Catalog provisioned
3155
3266
  # product that is associated to a Service Catalog product and
3156
- # provisioning artifact. Once imported all supported Service Catalog
3267
+ # provisioning artifact. Once imported, all supported Service Catalog
3157
3268
  # governance actions are supported on the provisioned product.
3158
3269
  #
3159
3270
  # Resource import only supports CloudFormation stack ARNs.
3160
3271
  # CloudFormation StackSets and non-root nested stacks are not supported.
3161
3272
  #
3162
3273
  # The CloudFormation stack must have one of the following statuses to be
3163
- # imported: CREATE\_COMPLETE, UPDATE\_COMPLETE,
3164
- # UPDATE\_ROLLBACK\_COMPLETE, IMPORT\_COMPLETE,
3165
- # IMPORT\_ROLLBACK\_COMPLETE.
3274
+ # imported: `CREATE_COMPLETE`, `UPDATE_COMPLETE`,
3275
+ # `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`,
3276
+ # `IMPORT_ROLLBACK_COMPLETE`.
3166
3277
  #
3167
3278
  # Import of the resource requires that the CloudFormation stack template
3168
3279
  # matches the associated Service Catalog product provisioning artifact.
3169
3280
  #
3281
+ # The user or role that performs this operation must have the
3282
+ # `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
3283
+ # policy permissions.
3284
+ #
3170
3285
  # @option params [String] :accept_language
3171
3286
  # The language code.
3172
3287
  #
@@ -4294,6 +4409,7 @@ module Aws::ServiceCatalog
4294
4409
  # resp.tag_option_details[0].value #=> String
4295
4410
  # resp.tag_option_details[0].active #=> Boolean
4296
4411
  # resp.tag_option_details[0].id #=> String
4412
+ # resp.tag_option_details[0].owner #=> String
4297
4413
  # resp.page_token #=> String
4298
4414
  #
4299
4415
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions AWS API Documentation
@@ -4866,7 +4982,7 @@ module Aws::ServiceCatalog
4866
4982
  #
4867
4983
  # @option params [Boolean] :retain_physical_resources
4868
4984
  # When this boolean parameter is set to true, the
4869
- # TerminateProvisionedProduct API deletes the Service Catalog
4985
+ # `TerminateProvisionedProduct` API deletes the Service Catalog
4870
4986
  # provisioned product. However, it does not remove the CloudFormation
4871
4987
  # stack, stack set, or the underlying resources of the deleted
4872
4988
  # provisioned product. The default value is false.
@@ -5117,6 +5233,81 @@ module Aws::ServiceCatalog
5117
5233
  req.send_request(options)
5118
5234
  end
5119
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
+
5120
5311
  # Updates the specified product.
5121
5312
  #
5122
5313
  # @option params [String] :accept_language
@@ -5613,6 +5804,7 @@ module Aws::ServiceCatalog
5613
5804
  # resp.tag_option_detail.value #=> String
5614
5805
  # resp.tag_option_detail.active #=> Boolean
5615
5806
  # resp.tag_option_detail.id #=> String
5807
+ # resp.tag_option_detail.owner #=> String
5616
5808
  #
5617
5809
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption AWS API Documentation
5618
5810
  #
@@ -5636,7 +5828,7 @@ module Aws::ServiceCatalog
5636
5828
  params: params,
5637
5829
  config: config)
5638
5830
  context[:gem_name] = 'aws-sdk-servicecatalog'
5639
- context[:gem_version] = '1.55.0'
5831
+ context[:gem_version] = '1.60.0'
5640
5832
  Seahorse::Client::Request.new(handlers, context)
5641
5833
  end
5642
5834
 
@@ -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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -23,7 +23,6 @@ module Aws::ServiceCatalog
23
23
  AccountId = Shapes::StringShape.new(name: 'AccountId')
24
24
  AccountIds = Shapes::ListShape.new(name: 'AccountIds')
25
25
  AddTags = Shapes::ListShape.new(name: 'AddTags')
26
- AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
27
26
  AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
28
27
  ApproximateCount = Shapes::IntegerShape.new(name: 'ApproximateCount')
29
28
  AssociateBudgetWithResourceInput = Shapes::StructureShape.new(name: 'AssociateBudgetWithResourceInput')
@@ -41,6 +40,7 @@ module Aws::ServiceCatalog
41
40
  BatchAssociateServiceActionWithProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchAssociateServiceActionWithProvisioningArtifactOutput')
42
41
  BatchDisassociateServiceActionFromProvisioningArtifactInput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactInput')
43
42
  BatchDisassociateServiceActionFromProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactOutput')
43
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
44
44
  BudgetDetail = Shapes::StructureShape.new(name: 'BudgetDetail')
45
45
  BudgetName = Shapes::StringShape.new(name: 'BudgetName')
46
46
  Budgets = Shapes::ListShape.new(name: 'Budgets')
@@ -104,6 +104,9 @@ module Aws::ServiceCatalog
104
104
  DescribePortfolioOutput = Shapes::StructureShape.new(name: 'DescribePortfolioOutput')
105
105
  DescribePortfolioShareStatusInput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusInput')
106
106
  DescribePortfolioShareStatusOutput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusOutput')
107
+ DescribePortfolioShareType = Shapes::StringShape.new(name: 'DescribePortfolioShareType')
108
+ DescribePortfolioSharesInput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesInput')
109
+ DescribePortfolioSharesOutput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesOutput')
107
110
  DescribeProductAsAdminInput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminInput')
108
111
  DescribeProductAsAdminOutput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminOutput')
109
112
  DescribeProductInput = Shapes::StructureShape.new(name: 'DescribeProductInput')
@@ -224,6 +227,7 @@ module Aws::ServiceCatalog
224
227
  NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
225
228
  NotificationArn = Shapes::StringShape.new(name: 'NotificationArn')
226
229
  NotificationArns = Shapes::ListShape.new(name: 'NotificationArns')
230
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
227
231
  OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
228
232
  OrganizationNode = Shapes::StructureShape.new(name: 'OrganizationNode')
229
233
  OrganizationNodeType = Shapes::StringShape.new(name: 'OrganizationNodeType')
@@ -233,6 +237,7 @@ module Aws::ServiceCatalog
233
237
  OutputKey = Shapes::StringShape.new(name: 'OutputKey')
234
238
  OutputKeys = Shapes::ListShape.new(name: 'OutputKeys')
235
239
  OutputValue = Shapes::StringShape.new(name: 'OutputValue')
240
+ Owner = Shapes::StringShape.new(name: 'Owner')
236
241
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
237
242
  PageSizeMax100 = Shapes::IntegerShape.new(name: 'PageSizeMax100')
238
243
  PageToken = Shapes::StringShape.new(name: 'PageToken')
@@ -248,6 +253,8 @@ module Aws::ServiceCatalog
248
253
  PortfolioDetails = Shapes::ListShape.new(name: 'PortfolioDetails')
249
254
  PortfolioDisplayName = Shapes::StringShape.new(name: 'PortfolioDisplayName')
250
255
  PortfolioName = Shapes::StringShape.new(name: 'PortfolioName')
256
+ PortfolioShareDetail = Shapes::StructureShape.new(name: 'PortfolioShareDetail')
257
+ PortfolioShareDetails = Shapes::ListShape.new(name: 'PortfolioShareDetails')
251
258
  PortfolioShareType = Shapes::StringShape.new(name: 'PortfolioShareType')
252
259
  Principal = Shapes::StructureShape.new(name: 'Principal')
253
260
  PrincipalARN = Shapes::StringShape.new(name: 'PrincipalARN')
@@ -412,6 +419,7 @@ module Aws::ServiceCatalog
412
419
  Status = Shapes::StringShape.new(name: 'Status')
413
420
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
414
421
  StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
422
+ String = Shapes::StringShape.new(name: 'String')
415
423
  SuccessfulShares = Shapes::ListShape.new(name: 'SuccessfulShares')
416
424
  SupportDescription = Shapes::StringShape.new(name: 'SupportDescription')
417
425
  SupportEmail = Shapes::StringShape.new(name: 'SupportEmail')
@@ -438,6 +446,8 @@ module Aws::ServiceCatalog
438
446
  UpdateConstraintOutput = Shapes::StructureShape.new(name: 'UpdateConstraintOutput')
439
447
  UpdatePortfolioInput = Shapes::StructureShape.new(name: 'UpdatePortfolioInput')
440
448
  UpdatePortfolioOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioOutput')
449
+ UpdatePortfolioShareInput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareInput')
450
+ UpdatePortfolioShareOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareOutput')
441
451
  UpdateProductInput = Shapes::StructureShape.new(name: 'UpdateProductInput')
442
452
  UpdateProductOutput = Shapes::StructureShape.new(name: 'UpdateProductOutput')
443
453
  UpdateProvisionedProductInput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductInput')
@@ -476,7 +486,7 @@ module Aws::ServiceCatalog
476
486
 
477
487
  AddTags.member = Shapes::ShapeRef.new(shape: Tag)
478
488
 
479
- AllowedValues.member = Shapes::ShapeRef.new(shape: AllowedValue)
489
+ AllowedValues.member = Shapes::ShapeRef.new(shape: String)
480
490
 
481
491
  AssociateBudgetWithResourceInput.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
482
492
  AssociateBudgetWithResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ResourceId"))
@@ -598,6 +608,7 @@ module Aws::ServiceCatalog
598
608
  CreatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
599
609
  CreatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
600
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"))
601
612
  CreatePortfolioShareInput.struct_class = Types::CreatePortfolioShareInput
602
613
 
603
614
  CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
@@ -761,9 +772,20 @@ module Aws::ServiceCatalog
761
772
  DescribePortfolioShareStatusOutput.add_member(:share_details, Shapes::ShapeRef.new(shape: ShareDetails, location_name: "ShareDetails"))
762
773
  DescribePortfolioShareStatusOutput.struct_class = Types::DescribePortfolioShareStatusOutput
763
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
+
764
785
  DescribeProductAsAdminInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
765
786
  DescribeProductAsAdminInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
766
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"))
767
789
  DescribeProductAsAdminInput.struct_class = Types::DescribeProductAsAdminInput
768
790
 
769
791
  DescribeProductAsAdminOutput.add_member(:product_view_detail, Shapes::ShapeRef.new(shape: ProductViewDetail, location_name: "ProductViewDetail"))
@@ -1007,7 +1029,7 @@ module Aws::ServiceCatalog
1007
1029
 
1008
1030
  ListAcceptedPortfolioSharesInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1009
1031
  ListAcceptedPortfolioSharesInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1010
- ListAcceptedPortfolioSharesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1032
+ ListAcceptedPortfolioSharesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1011
1033
  ListAcceptedPortfolioSharesInput.add_member(:portfolio_share_type, Shapes::ShapeRef.new(shape: PortfolioShareType, location_name: "PortfolioShareType"))
1012
1034
  ListAcceptedPortfolioSharesInput.struct_class = Types::ListAcceptedPortfolioSharesInput
1013
1035
 
@@ -1071,7 +1093,7 @@ module Aws::ServiceCatalog
1071
1093
  ListPortfoliosForProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1072
1094
  ListPortfoliosForProductInput.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProductId"))
1073
1095
  ListPortfoliosForProductInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1074
- ListPortfoliosForProductInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1096
+ ListPortfoliosForProductInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1075
1097
  ListPortfoliosForProductInput.struct_class = Types::ListPortfoliosForProductInput
1076
1098
 
1077
1099
  ListPortfoliosForProductOutput.add_member(:portfolio_details, Shapes::ShapeRef.new(shape: PortfolioDetails, location_name: "PortfolioDetails"))
@@ -1080,7 +1102,7 @@ module Aws::ServiceCatalog
1080
1102
 
1081
1103
  ListPortfoliosInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1082
1104
  ListPortfoliosInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1083
- ListPortfoliosInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1105
+ ListPortfoliosInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1084
1106
  ListPortfoliosInput.struct_class = Types::ListPortfoliosInput
1085
1107
 
1086
1108
  ListPortfoliosOutput.add_member(:portfolio_details, Shapes::ShapeRef.new(shape: PortfolioDetails, location_name: "PortfolioDetails"))
@@ -1210,6 +1232,12 @@ module Aws::ServiceCatalog
1210
1232
  OutputKeys.member = Shapes::ShapeRef.new(shape: OutputKey)
1211
1233
 
1212
1234
  ParameterConstraints.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "AllowedValues"))
1235
+ ParameterConstraints.add_member(:allowed_pattern, Shapes::ShapeRef.new(shape: String, location_name: "AllowedPattern"))
1236
+ ParameterConstraints.add_member(:constraint_description, Shapes::ShapeRef.new(shape: String, location_name: "ConstraintDescription"))
1237
+ ParameterConstraints.add_member(:max_length, Shapes::ShapeRef.new(shape: String, location_name: "MaxLength"))
1238
+ ParameterConstraints.add_member(:min_length, Shapes::ShapeRef.new(shape: String, location_name: "MinLength"))
1239
+ ParameterConstraints.add_member(:max_value, Shapes::ShapeRef.new(shape: String, location_name: "MaxValue"))
1240
+ ParameterConstraints.add_member(:min_value, Shapes::ShapeRef.new(shape: String, location_name: "MinValue"))
1213
1241
  ParameterConstraints.struct_class = Types::ParameterConstraints
1214
1242
 
1215
1243
  PortfolioDetail.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
@@ -1222,6 +1250,14 @@ module Aws::ServiceCatalog
1222
1250
 
1223
1251
  PortfolioDetails.member = Shapes::ShapeRef.new(shape: PortfolioDetail)
1224
1252
 
1253
+ PortfolioShareDetail.add_member(:principal_id, Shapes::ShapeRef.new(shape: Id, location_name: "PrincipalId"))
1254
+ PortfolioShareDetail.add_member(:type, Shapes::ShapeRef.new(shape: DescribePortfolioShareType, location_name: "Type"))
1255
+ PortfolioShareDetail.add_member(:accepted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accepted"))
1256
+ PortfolioShareDetail.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShareTagOptions"))
1257
+ PortfolioShareDetail.struct_class = Types::PortfolioShareDetail
1258
+
1259
+ PortfolioShareDetails.member = Shapes::ShapeRef.new(shape: PortfolioShareDetail)
1260
+
1225
1261
  Principal.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, location_name: "PrincipalARN"))
1226
1262
  Principal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "PrincipalType"))
1227
1263
  Principal.struct_class = Types::Principal
@@ -1546,7 +1582,7 @@ module Aws::ServiceCatalog
1546
1582
 
1547
1583
  SearchProductsInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1548
1584
  SearchProductsInput.add_member(:filters, Shapes::ShapeRef.new(shape: ProductViewFilters, location_name: "Filters"))
1549
- SearchProductsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1585
+ SearchProductsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1550
1586
  SearchProductsInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: ProductViewSortBy, location_name: "SortBy"))
1551
1587
  SearchProductsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "SortOrder"))
1552
1588
  SearchProductsInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
@@ -1632,6 +1668,7 @@ module Aws::ServiceCatalog
1632
1668
  TagOptionDetail.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
1633
1669
  TagOptionDetail.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
1634
1670
  TagOptionDetail.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, location_name: "Id"))
1671
+ TagOptionDetail.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
1635
1672
  TagOptionDetail.struct_class = Types::TagOptionDetail
1636
1673
 
1637
1674
  TagOptionDetails.member = Shapes::ShapeRef.new(shape: TagOptionDetail)
@@ -1683,6 +1720,17 @@ module Aws::ServiceCatalog
1683
1720
  UpdatePortfolioOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
1684
1721
  UpdatePortfolioOutput.struct_class = Types::UpdatePortfolioOutput
1685
1722
 
1723
+ UpdatePortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1724
+ UpdatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
1725
+ UpdatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
1726
+ UpdatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
1727
+ UpdatePortfolioShareInput.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ShareTagOptions"))
1728
+ UpdatePortfolioShareInput.struct_class = Types::UpdatePortfolioShareInput
1729
+
1730
+ UpdatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
1731
+ UpdatePortfolioShareOutput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
1732
+ UpdatePortfolioShareOutput.struct_class = Types::UpdatePortfolioShareOutput
1733
+
1686
1734
  UpdateProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1687
1735
  UpdateProductInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
1688
1736
  UpdateProductInput.add_member(:name, Shapes::ShapeRef.new(shape: ProductViewName, location_name: "Name"))
@@ -2116,6 +2164,22 @@ module Aws::ServiceCatalog
2116
2164
  o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2117
2165
  end)
2118
2166
 
2167
+ api.add_operation(:describe_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
2168
+ o.name = "DescribePortfolioShares"
2169
+ o.http_method = "POST"
2170
+ o.http_request_uri = "/"
2171
+ o.input = Shapes::ShapeRef.new(shape: DescribePortfolioSharesInput)
2172
+ o.output = Shapes::ShapeRef.new(shape: DescribePortfolioSharesOutput)
2173
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2174
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2175
+ o[:pager] = Aws::Pager.new(
2176
+ limit_key: "page_size",
2177
+ tokens: {
2178
+ "next_page_token" => "page_token"
2179
+ }
2180
+ )
2181
+ end)
2182
+
2119
2183
  api.add_operation(:describe_product, Seahorse::Model::Operation.new.tap do |o|
2120
2184
  o.name = "DescribeProduct"
2121
2185
  o.http_method = "POST"
@@ -2724,6 +2788,18 @@ module Aws::ServiceCatalog
2724
2788
  o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
2725
2789
  end)
2726
2790
 
2791
+ api.add_operation(:update_portfolio_share, Seahorse::Model::Operation.new.tap do |o|
2792
+ o.name = "UpdatePortfolioShare"
2793
+ o.http_method = "POST"
2794
+ o.http_request_uri = "/"
2795
+ o.input = Shapes::ShapeRef.new(shape: UpdatePortfolioShareInput)
2796
+ o.output = Shapes::ShapeRef.new(shape: UpdatePortfolioShareOutput)
2797
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2798
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2799
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2800
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2801
+ end)
2802
+
2727
2803
  api.add_operation(:update_product, Seahorse::Model::Operation.new.tap do |o|
2728
2804
  o.name = "UpdateProduct"
2729
2805
  o.http_method = "POST"