aws-sdk-servicecatalog 1.0.0.rc6 → 1.0.0.rc7

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
  SHA1:
3
- metadata.gz: 1f79186c95d1d369df149b181f05c41de29c1fb1
4
- data.tar.gz: 96b592748f68eaac063bae91e2b9acf3dc22ccb5
3
+ metadata.gz: 6d60292f1a272e698d2581218f086948df806586
4
+ data.tar.gz: d61aa024ca2c857dc800f8ee2b787003b6787c3d
5
5
  SHA512:
6
- metadata.gz: 12b240857b3b45d4011aed5454ddd5bb9699e912e19bcc3b3a67ebbc50d9ade63f02246122456fd46ef61959c9bb5fc932d3d9d97d569bb7ffc666ef3fab1fed
7
- data.tar.gz: f1488b1c85581d5eaff248dabf1704650584cd2771466edb8a14fee3fb5590650fc2d841a0a9de78c31e75a162f57acb79c16d9930d09751f3c2ff897a144bcb
6
+ metadata.gz: a558bd01289baedea2b9caef3fd4d9bcc142ed09b0b8aac37c2358056d57a1a32d71f8199c3b9ab0330352b2ff8707ab8965bae16341da0e58bfc193aaeca1ec
7
+ data.tar.gz: 594da13c3f3dfc3fb0efbbc912d8f725f84506db594a1be6ae7143e645bb9e402d2249dd6042e760ca0df168a910fc315332d30839bc5e6fb09f9753f368c9e6
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
42
  # @service
43
43
  module Aws::ServiceCatalog
44
44
 
45
- GEM_VERSION = '1.0.0.rc6'
45
+ GEM_VERSION = '1.0.0.rc7'
46
46
 
47
47
  end
@@ -276,6 +276,32 @@ module Aws::ServiceCatalog
276
276
  req.send_request(options)
277
277
  end
278
278
 
279
+ # Associate a TagOption identifier with a resource identifier.
280
+ #
281
+ # @option params [required, String] :resource_id
282
+ # The resource identifier.
283
+ #
284
+ # @option params [required, String] :tag_option_id
285
+ # The TagOption identifier.
286
+ #
287
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
288
+ #
289
+ # @example Request syntax with placeholder values
290
+ #
291
+ # resp = client.associate_tag_option_with_resource({
292
+ # resource_id: "ResourceId", # required
293
+ # tag_option_id: "TagOptionId", # required
294
+ # })
295
+ #
296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource AWS API Documentation
297
+ #
298
+ # @overload associate_tag_option_with_resource(params = {})
299
+ # @param [Hash] params ({})
300
+ def associate_tag_option_with_resource(params = {}, options = {})
301
+ req = build_request(:associate_tag_option_with_resource, params)
302
+ req.send_request(options)
303
+ end
304
+
279
305
  # Creates a new constraint. For more information, see [Using
280
306
  # Constraints][1].
281
307
  #
@@ -671,6 +697,41 @@ module Aws::ServiceCatalog
671
697
  req.send_request(options)
672
698
  end
673
699
 
700
+ # Create a new TagOption.
701
+ #
702
+ # @option params [required, String] :key
703
+ # The TagOption key.
704
+ #
705
+ # @option params [required, String] :value
706
+ # The TagOption value.
707
+ #
708
+ # @return [Types::CreateTagOptionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
709
+ #
710
+ # * {Types::CreateTagOptionOutput#tag_option_detail #tag_option_detail} => Types::TagOptionDetail
711
+ #
712
+ # @example Request syntax with placeholder values
713
+ #
714
+ # resp = client.create_tag_option({
715
+ # key: "TagOptionKey", # required
716
+ # value: "TagOptionValue", # required
717
+ # })
718
+ #
719
+ # @example Response structure
720
+ #
721
+ # resp.tag_option_detail.key #=> String
722
+ # resp.tag_option_detail.value #=> String
723
+ # resp.tag_option_detail.active #=> Boolean
724
+ # resp.tag_option_detail.id #=> String
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption AWS API Documentation
727
+ #
728
+ # @overload create_tag_option(params = {})
729
+ # @param [Hash] params ({})
730
+ def create_tag_option(params = {}, options = {})
731
+ req = build_request(:create_tag_option, params)
732
+ req.send_request(options)
733
+ end
734
+
674
735
  # Deletes the specified constraint.
675
736
  #
676
737
  # @option params [String] :accept_language
@@ -933,6 +994,7 @@ module Aws::ServiceCatalog
933
994
  #
934
995
  # * {Types::DescribePortfolioOutput#portfolio_detail #portfolio_detail} => Types::PortfolioDetail
935
996
  # * {Types::DescribePortfolioOutput#tags #tags} => Array<Types::Tag>
997
+ # * {Types::DescribePortfolioOutput#tag_options #tag_options} => Array<Types::TagOptionDetail>
936
998
  #
937
999
  # @example Request syntax with placeholder values
938
1000
  #
@@ -952,6 +1014,11 @@ module Aws::ServiceCatalog
952
1014
  # resp.tags #=> Array
953
1015
  # resp.tags[0].key #=> String
954
1016
  # resp.tags[0].value #=> String
1017
+ # resp.tag_options #=> Array
1018
+ # resp.tag_options[0].key #=> String
1019
+ # resp.tag_options[0].value #=> String
1020
+ # resp.tag_options[0].active #=> Boolean
1021
+ # resp.tag_options[0].id #=> String
955
1022
  #
956
1023
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio AWS API Documentation
957
1024
  #
@@ -1045,6 +1112,7 @@ module Aws::ServiceCatalog
1045
1112
  # * {Types::DescribeProductAsAdminOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
1046
1113
  # * {Types::DescribeProductAsAdminOutput#provisioning_artifact_summaries #provisioning_artifact_summaries} => Array<Types::ProvisioningArtifactSummary>
1047
1114
  # * {Types::DescribeProductAsAdminOutput#tags #tags} => Array<Types::Tag>
1115
+ # * {Types::DescribeProductAsAdminOutput#tag_options #tag_options} => Array<Types::TagOptionDetail>
1048
1116
  #
1049
1117
  # @example Request syntax with placeholder values
1050
1118
  #
@@ -1079,6 +1147,11 @@ module Aws::ServiceCatalog
1079
1147
  # resp.tags #=> Array
1080
1148
  # resp.tags[0].key #=> String
1081
1149
  # resp.tags[0].value #=> String
1150
+ # resp.tag_options #=> Array
1151
+ # resp.tag_options[0].key #=> String
1152
+ # resp.tag_options[0].value #=> String
1153
+ # resp.tag_options[0].active #=> Boolean
1154
+ # resp.tag_options[0].id #=> String
1082
1155
  #
1083
1156
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin AWS API Documentation
1084
1157
  #
@@ -1221,8 +1294,7 @@ module Aws::ServiceCatalog
1221
1294
  # The product identifier.
1222
1295
  #
1223
1296
  # @option params [Boolean] :verbose
1224
- # Selects verbose results. If set to true, the CloudFormation template
1225
- # is returned.
1297
+ # Enable a verbose level of details for the provisioning artifact.
1226
1298
  #
1227
1299
  # @return [Types::DescribeProvisioningArtifactOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1228
1300
  #
@@ -1264,6 +1336,17 @@ module Aws::ServiceCatalog
1264
1336
  # the list of `ProvisioningArtifactParameters` parameters available to
1265
1337
  # call the ProvisionProduct operation for the specified product.
1266
1338
  #
1339
+ # If the output contains a TagOption key with an empty list of values,
1340
+ # there is a TagOption conflict for that key. The end user cannot take
1341
+ # action to fix the conflict, and launch is not blocked. In subsequent
1342
+ # calls to the `ProvisionProduct` operation, do not include conflicted
1343
+ # TagOption keys as tags. Calls to `ProvisionProduct` with empty
1344
+ # TagOption values cause the error "Parameter validation failed:
1345
+ # Missing required parameter in Tags\[*N*\]:*Value* ". Calls to
1346
+ # `ProvisionProduct` with conflicted TagOption keys automatically tag
1347
+ # the provisioned product with the conflicted keys with the value
1348
+ # "`sc-tagoption-conflict-portfolioId-productId`".
1349
+ #
1267
1350
  # @option params [String] :accept_language
1268
1351
  # The language code to use for this operation. Supported language codes
1269
1352
  # are as follows:
@@ -1293,6 +1376,7 @@ module Aws::ServiceCatalog
1293
1376
  # * {Types::DescribeProvisioningParametersOutput#provisioning_artifact_parameters #provisioning_artifact_parameters} => Array<Types::ProvisioningArtifactParameter>
1294
1377
  # * {Types::DescribeProvisioningParametersOutput#constraint_summaries #constraint_summaries} => Array<Types::ConstraintSummary>
1295
1378
  # * {Types::DescribeProvisioningParametersOutput#usage_instructions #usage_instructions} => Array<Types::UsageInstruction>
1379
+ # * {Types::DescribeProvisioningParametersOutput#tag_options #tag_options} => Array<Types::TagOptionSummary>
1296
1380
  #
1297
1381
  # @example Request syntax with placeholder values
1298
1382
  #
@@ -1319,6 +1403,10 @@ module Aws::ServiceCatalog
1319
1403
  # resp.usage_instructions #=> Array
1320
1404
  # resp.usage_instructions[0].type #=> String
1321
1405
  # resp.usage_instructions[0].value #=> String
1406
+ # resp.tag_options #=> Array
1407
+ # resp.tag_options[0].key #=> String
1408
+ # resp.tag_options[0].values #=> Array
1409
+ # resp.tag_options[0].values[0] #=> String
1322
1410
  #
1323
1411
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters AWS API Documentation
1324
1412
  #
@@ -1409,6 +1497,37 @@ module Aws::ServiceCatalog
1409
1497
  req.send_request(options)
1410
1498
  end
1411
1499
 
1500
+ # Describes a TagOption.
1501
+ #
1502
+ # @option params [required, String] :id
1503
+ # The identifier of the TagOption.
1504
+ #
1505
+ # @return [Types::DescribeTagOptionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1506
+ #
1507
+ # * {Types::DescribeTagOptionOutput#tag_option_detail #tag_option_detail} => Types::TagOptionDetail
1508
+ #
1509
+ # @example Request syntax with placeholder values
1510
+ #
1511
+ # resp = client.describe_tag_option({
1512
+ # id: "TagOptionId", # required
1513
+ # })
1514
+ #
1515
+ # @example Response structure
1516
+ #
1517
+ # resp.tag_option_detail.key #=> String
1518
+ # resp.tag_option_detail.value #=> String
1519
+ # resp.tag_option_detail.active #=> Boolean
1520
+ # resp.tag_option_detail.id #=> String
1521
+ #
1522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption AWS API Documentation
1523
+ #
1524
+ # @overload describe_tag_option(params = {})
1525
+ # @param [Hash] params ({})
1526
+ def describe_tag_option(params = {}, options = {})
1527
+ req = build_request(:describe_tag_option, params)
1528
+ req.send_request(options)
1529
+ end
1530
+
1412
1531
  # Disassociates a previously associated principal ARN from a specified
1413
1532
  # portfolio.
1414
1533
  #
@@ -1488,6 +1607,32 @@ module Aws::ServiceCatalog
1488
1607
  req.send_request(options)
1489
1608
  end
1490
1609
 
1610
+ # Disassociates a TagOption from a resource.
1611
+ #
1612
+ # @option params [required, String] :resource_id
1613
+ # Identifier of the resource from which to disassociate the TagOption.
1614
+ #
1615
+ # @option params [required, String] :tag_option_id
1616
+ # Identifier of the TagOption to disassociate from the resource.
1617
+ #
1618
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1619
+ #
1620
+ # @example Request syntax with placeholder values
1621
+ #
1622
+ # resp = client.disassociate_tag_option_from_resource({
1623
+ # resource_id: "ResourceId", # required
1624
+ # tag_option_id: "TagOptionId", # required
1625
+ # })
1626
+ #
1627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource AWS API Documentation
1628
+ #
1629
+ # @overload disassociate_tag_option_from_resource(params = {})
1630
+ # @param [Hash] params ({})
1631
+ def disassociate_tag_option_from_resource(params = {}, options = {})
1632
+ req = build_request(:disassociate_tag_option_from_resource, params)
1633
+ req.send_request(options)
1634
+ end
1635
+
1491
1636
  # Lists details of all portfolios for which sharing was accepted by this
1492
1637
  # account.
1493
1638
  #
@@ -1626,7 +1771,7 @@ module Aws::ServiceCatalog
1626
1771
  # If no code is specified, "en" is used as the default.
1627
1772
  #
1628
1773
  # @option params [required, String] :product_id
1629
- # The product identifier.. Identifies the product for which to retrieve
1774
+ # The product identifier. Identifies the product for which to retrieve
1630
1775
  # `LaunchPathSummaries` information.
1631
1776
  #
1632
1777
  # @option params [Integer] :page_size
@@ -2023,6 +2168,106 @@ module Aws::ServiceCatalog
2023
2168
  req.send_request(options)
2024
2169
  end
2025
2170
 
2171
+ # Lists resources associated with a TagOption.
2172
+ #
2173
+ # @option params [required, String] :tag_option_id
2174
+ # Identifier of the TagOption.
2175
+ #
2176
+ # @option params [String] :resource_type
2177
+ # Resource type.
2178
+ #
2179
+ # @option params [Integer] :page_size
2180
+ # The maximum number of items to return in the results. If more results
2181
+ # exist than fit in the specified `PageSize`, the value of
2182
+ # `NextPageToken` in the response is non-null.
2183
+ #
2184
+ # @option params [String] :page_token
2185
+ # The page token of the first page retrieved. If null, this retrieves
2186
+ # the first page of size `PageSize`.
2187
+ #
2188
+ # @return [Types::ListResourcesForTagOptionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2189
+ #
2190
+ # * {Types::ListResourcesForTagOptionOutput#resource_details #resource_details} => Array<Types::ResourceDetail>
2191
+ # * {Types::ListResourcesForTagOptionOutput#page_token #page_token} => String
2192
+ #
2193
+ # @example Request syntax with placeholder values
2194
+ #
2195
+ # resp = client.list_resources_for_tag_option({
2196
+ # tag_option_id: "TagOptionId", # required
2197
+ # resource_type: "ResourceType",
2198
+ # page_size: 1,
2199
+ # page_token: "PageToken",
2200
+ # })
2201
+ #
2202
+ # @example Response structure
2203
+ #
2204
+ # resp.resource_details #=> Array
2205
+ # resp.resource_details[0].id #=> String
2206
+ # resp.resource_details[0].arn #=> String
2207
+ # resp.resource_details[0].name #=> String
2208
+ # resp.resource_details[0].description #=> String
2209
+ # resp.resource_details[0].created_time #=> Time
2210
+ # resp.page_token #=> String
2211
+ #
2212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption AWS API Documentation
2213
+ #
2214
+ # @overload list_resources_for_tag_option(params = {})
2215
+ # @param [Hash] params ({})
2216
+ def list_resources_for_tag_option(params = {}, options = {})
2217
+ req = build_request(:list_resources_for_tag_option, params)
2218
+ req.send_request(options)
2219
+ end
2220
+
2221
+ # Lists detailed TagOptions information.
2222
+ #
2223
+ # @option params [Types::ListTagOptionsFilters] :filters
2224
+ # The list of filters with which to limit search results. If no search
2225
+ # filters are specified, the output is all TagOptions.
2226
+ #
2227
+ # @option params [Integer] :page_size
2228
+ # The maximum number of items to return in the results. If more results
2229
+ # exist than fit in the specified `PageSize`, the value of
2230
+ # `NextPageToken` in the response is non-null.
2231
+ #
2232
+ # @option params [String] :page_token
2233
+ # The page token of the first page retrieved. If null, this retrieves
2234
+ # the first page of size `PageSize`.
2235
+ #
2236
+ # @return [Types::ListTagOptionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2237
+ #
2238
+ # * {Types::ListTagOptionsOutput#tag_option_details #tag_option_details} => Array<Types::TagOptionDetail>
2239
+ # * {Types::ListTagOptionsOutput#page_token #page_token} => String
2240
+ #
2241
+ # @example Request syntax with placeholder values
2242
+ #
2243
+ # resp = client.list_tag_options({
2244
+ # filters: {
2245
+ # key: "TagOptionKey",
2246
+ # value: "TagOptionValue",
2247
+ # active: false,
2248
+ # },
2249
+ # page_size: 1,
2250
+ # page_token: "PageToken",
2251
+ # })
2252
+ #
2253
+ # @example Response structure
2254
+ #
2255
+ # resp.tag_option_details #=> Array
2256
+ # resp.tag_option_details[0].key #=> String
2257
+ # resp.tag_option_details[0].value #=> String
2258
+ # resp.tag_option_details[0].active #=> Boolean
2259
+ # resp.tag_option_details[0].id #=> String
2260
+ # resp.page_token #=> String
2261
+ #
2262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions AWS API Documentation
2263
+ #
2264
+ # @overload list_tag_options(params = {})
2265
+ # @param [Hash] params ({})
2266
+ def list_tag_options(params = {}, options = {})
2267
+ req = build_request(:list_tag_options, params)
2268
+ req.send_request(options)
2269
+ end
2270
+
2026
2271
  # Requests a *provision* of a specified product. A *provisioned product*
2027
2272
  # is a resourced instance for a product. For example, provisioning a
2028
2273
  # CloudFormation-template-backed product results in launching a
@@ -2030,7 +2275,13 @@ module Aws::ServiceCatalog
2030
2275
  # it.
2031
2276
  #
2032
2277
  # You can check the status of this request using the DescribeRecord
2033
- # operation.
2278
+ # operation. The error "Parameter validation failed: Missing required
2279
+ # parameter in Tags\[*N*\]:*Value*" indicates that your request
2280
+ # contains a tag which has a tag key but no corresponding tag value
2281
+ # (value is empty or null). Your call may have included values returned
2282
+ # from a `DescribeProvisioningParameters` call that resulted in a
2283
+ # TagOption key with an empty list. This happens when TagOption keys are
2284
+ # in conflict. For more information, see DescribeProvisioningParameters.
2034
2285
  #
2035
2286
  # @option params [String] :accept_language
2036
2287
  # The language code to use for this operation. Supported language codes
@@ -2910,6 +3161,45 @@ module Aws::ServiceCatalog
2910
3161
  req.send_request(options)
2911
3162
  end
2912
3163
 
3164
+ # Updates an existing TagOption.
3165
+ #
3166
+ # @option params [required, String] :id
3167
+ # The identifier of the constraint to update.
3168
+ #
3169
+ # @option params [String] :value
3170
+ # The updated value.
3171
+ #
3172
+ # @option params [Boolean] :active
3173
+ # The updated active state.
3174
+ #
3175
+ # @return [Types::UpdateTagOptionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3176
+ #
3177
+ # * {Types::UpdateTagOptionOutput#tag_option_detail #tag_option_detail} => Types::TagOptionDetail
3178
+ #
3179
+ # @example Request syntax with placeholder values
3180
+ #
3181
+ # resp = client.update_tag_option({
3182
+ # id: "TagOptionId", # required
3183
+ # value: "TagOptionValue",
3184
+ # active: false,
3185
+ # })
3186
+ #
3187
+ # @example Response structure
3188
+ #
3189
+ # resp.tag_option_detail.key #=> String
3190
+ # resp.tag_option_detail.value #=> String
3191
+ # resp.tag_option_detail.active #=> Boolean
3192
+ # resp.tag_option_detail.id #=> String
3193
+ #
3194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption AWS API Documentation
3195
+ #
3196
+ # @overload update_tag_option(params = {})
3197
+ # @param [Hash] params ({})
3198
+ def update_tag_option(params = {}, options = {})
3199
+ req = build_request(:update_tag_option, params)
3200
+ req.send_request(options)
3201
+ end
3202
+
2913
3203
  # @!endgroup
2914
3204
 
2915
3205
  # @param params ({})
@@ -2923,7 +3213,7 @@ module Aws::ServiceCatalog
2923
3213
  params: params,
2924
3214
  config: config)
2925
3215
  context[:gem_name] = 'aws-sdk-servicecatalog'
2926
- context[:gem_version] = '1.0.0.rc6'
3216
+ context[:gem_version] = '1.0.0.rc7'
2927
3217
  Seahorse::Client::Request.new(handlers, context)
2928
3218
  end
2929
3219
 
@@ -27,6 +27,8 @@ module Aws::ServiceCatalog
27
27
  AssociatePrincipalWithPortfolioOutput = Shapes::StructureShape.new(name: 'AssociatePrincipalWithPortfolioOutput')
28
28
  AssociateProductWithPortfolioInput = Shapes::StructureShape.new(name: 'AssociateProductWithPortfolioInput')
29
29
  AssociateProductWithPortfolioOutput = Shapes::StructureShape.new(name: 'AssociateProductWithPortfolioOutput')
30
+ AssociateTagOptionWithResourceInput = Shapes::StructureShape.new(name: 'AssociateTagOptionWithResourceInput')
31
+ AssociateTagOptionWithResourceOutput = Shapes::StructureShape.new(name: 'AssociateTagOptionWithResourceOutput')
30
32
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
31
33
  ConstraintDescription = Shapes::StringShape.new(name: 'ConstraintDescription')
32
34
  ConstraintDetail = Shapes::StructureShape.new(name: 'ConstraintDetail')
@@ -45,6 +47,8 @@ module Aws::ServiceCatalog
45
47
  CreateProductOutput = Shapes::StructureShape.new(name: 'CreateProductOutput')
46
48
  CreateProvisioningArtifactInput = Shapes::StructureShape.new(name: 'CreateProvisioningArtifactInput')
47
49
  CreateProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'CreateProvisioningArtifactOutput')
50
+ CreateTagOptionInput = Shapes::StructureShape.new(name: 'CreateTagOptionInput')
51
+ CreateTagOptionOutput = Shapes::StructureShape.new(name: 'CreateTagOptionOutput')
48
52
  CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime')
49
53
  CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
50
54
  DefaultValue = Shapes::StringShape.new(name: 'DefaultValue')
@@ -76,11 +80,15 @@ module Aws::ServiceCatalog
76
80
  DescribeProvisioningParametersOutput = Shapes::StructureShape.new(name: 'DescribeProvisioningParametersOutput')
77
81
  DescribeRecordInput = Shapes::StructureShape.new(name: 'DescribeRecordInput')
78
82
  DescribeRecordOutput = Shapes::StructureShape.new(name: 'DescribeRecordOutput')
83
+ DescribeTagOptionInput = Shapes::StructureShape.new(name: 'DescribeTagOptionInput')
84
+ DescribeTagOptionOutput = Shapes::StructureShape.new(name: 'DescribeTagOptionOutput')
79
85
  Description = Shapes::StringShape.new(name: 'Description')
80
86
  DisassociatePrincipalFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioInput')
81
87
  DisassociatePrincipalFromPortfolioOutput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioOutput')
82
88
  DisassociateProductFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociateProductFromPortfolioInput')
83
89
  DisassociateProductFromPortfolioOutput = Shapes::StructureShape.new(name: 'DisassociateProductFromPortfolioOutput')
90
+ DisassociateTagOptionFromResourceInput = Shapes::StructureShape.new(name: 'DisassociateTagOptionFromResourceInput')
91
+ DisassociateTagOptionFromResourceOutput = Shapes::StructureShape.new(name: 'DisassociateTagOptionFromResourceOutput')
84
92
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
85
93
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
86
94
  ErrorDescription = Shapes::StringShape.new(name: 'ErrorDescription')
@@ -91,6 +99,7 @@ module Aws::ServiceCatalog
91
99
  InstructionType = Shapes::StringShape.new(name: 'InstructionType')
92
100
  InstructionValue = Shapes::StringShape.new(name: 'InstructionValue')
93
101
  InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
102
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
94
103
  LastRequestId = Shapes::StringShape.new(name: 'LastRequestId')
95
104
  LaunchPathSummaries = Shapes::ListShape.new(name: 'LaunchPathSummaries')
96
105
  LaunchPathSummary = Shapes::StructureShape.new(name: 'LaunchPathSummary')
@@ -114,6 +123,11 @@ module Aws::ServiceCatalog
114
123
  ListRecordHistoryInput = Shapes::StructureShape.new(name: 'ListRecordHistoryInput')
115
124
  ListRecordHistoryOutput = Shapes::StructureShape.new(name: 'ListRecordHistoryOutput')
116
125
  ListRecordHistorySearchFilter = Shapes::StructureShape.new(name: 'ListRecordHistorySearchFilter')
126
+ ListResourcesForTagOptionInput = Shapes::StructureShape.new(name: 'ListResourcesForTagOptionInput')
127
+ ListResourcesForTagOptionOutput = Shapes::StructureShape.new(name: 'ListResourcesForTagOptionOutput')
128
+ ListTagOptionsFilters = Shapes::StructureShape.new(name: 'ListTagOptionsFilters')
129
+ ListTagOptionsInput = Shapes::StructureShape.new(name: 'ListTagOptionsInput')
130
+ ListTagOptionsOutput = Shapes::StructureShape.new(name: 'ListTagOptionsOutput')
117
131
  NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
118
132
  NotificationArn = Shapes::StringShape.new(name: 'NotificationArn')
119
133
  NotificationArns = Shapes::ListShape.new(name: 'NotificationArns')
@@ -197,8 +211,17 @@ module Aws::ServiceCatalog
197
211
  RejectPortfolioShareInput = Shapes::StructureShape.new(name: 'RejectPortfolioShareInput')
198
212
  RejectPortfolioShareOutput = Shapes::StructureShape.new(name: 'RejectPortfolioShareOutput')
199
213
  ResourceARN = Shapes::StringShape.new(name: 'ResourceARN')
214
+ ResourceDetail = Shapes::StructureShape.new(name: 'ResourceDetail')
215
+ ResourceDetailARN = Shapes::StringShape.new(name: 'ResourceDetailARN')
216
+ ResourceDetailCreatedTime = Shapes::TimestampShape.new(name: 'ResourceDetailCreatedTime')
217
+ ResourceDetailDescription = Shapes::StringShape.new(name: 'ResourceDetailDescription')
218
+ ResourceDetailId = Shapes::StringShape.new(name: 'ResourceDetailId')
219
+ ResourceDetailName = Shapes::StringShape.new(name: 'ResourceDetailName')
220
+ ResourceDetails = Shapes::ListShape.new(name: 'ResourceDetails')
221
+ ResourceId = Shapes::StringShape.new(name: 'ResourceId')
200
222
  ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
201
223
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
224
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
202
225
  ScanProvisionedProductsInput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsInput')
203
226
  ScanProvisionedProductsOutput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsOutput')
204
227
  SearchFilterKey = Shapes::StringShape.new(name: 'SearchFilterKey')
@@ -215,6 +238,16 @@ module Aws::ServiceCatalog
215
238
  Tag = Shapes::StructureShape.new(name: 'Tag')
216
239
  TagKey = Shapes::StringShape.new(name: 'TagKey')
217
240
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
241
+ TagOptionActive = Shapes::BooleanShape.new(name: 'TagOptionActive')
242
+ TagOptionDetail = Shapes::StructureShape.new(name: 'TagOptionDetail')
243
+ TagOptionDetails = Shapes::ListShape.new(name: 'TagOptionDetails')
244
+ TagOptionId = Shapes::StringShape.new(name: 'TagOptionId')
245
+ TagOptionKey = Shapes::StringShape.new(name: 'TagOptionKey')
246
+ TagOptionNotMigratedException = Shapes::StructureShape.new(name: 'TagOptionNotMigratedException')
247
+ TagOptionSummaries = Shapes::ListShape.new(name: 'TagOptionSummaries')
248
+ TagOptionSummary = Shapes::StructureShape.new(name: 'TagOptionSummary')
249
+ TagOptionValue = Shapes::StringShape.new(name: 'TagOptionValue')
250
+ TagOptionValues = Shapes::ListShape.new(name: 'TagOptionValues')
218
251
  TagValue = Shapes::StringShape.new(name: 'TagValue')
219
252
  Tags = Shapes::ListShape.new(name: 'Tags')
220
253
  TerminateProvisionedProductInput = Shapes::StructureShape.new(name: 'TerminateProvisionedProductInput')
@@ -231,6 +264,8 @@ module Aws::ServiceCatalog
231
264
  UpdateProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'UpdateProvisioningArtifactOutput')
232
265
  UpdateProvisioningParameter = Shapes::StructureShape.new(name: 'UpdateProvisioningParameter')
233
266
  UpdateProvisioningParameters = Shapes::ListShape.new(name: 'UpdateProvisioningParameters')
267
+ UpdateTagOptionInput = Shapes::StructureShape.new(name: 'UpdateTagOptionInput')
268
+ UpdateTagOptionOutput = Shapes::StructureShape.new(name: 'UpdateTagOptionOutput')
234
269
  UpdatedTime = Shapes::TimestampShape.new(name: 'UpdatedTime')
235
270
  UsageInstruction = Shapes::StructureShape.new(name: 'UsageInstruction')
236
271
  UsageInstructions = Shapes::ListShape.new(name: 'UsageInstructions')
@@ -269,6 +304,12 @@ module Aws::ServiceCatalog
269
304
 
270
305
  AssociateProductWithPortfolioOutput.struct_class = Types::AssociateProductWithPortfolioOutput
271
306
 
307
+ AssociateTagOptionWithResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
308
+ AssociateTagOptionWithResourceInput.add_member(:tag_option_id, Shapes::ShapeRef.new(shape: TagOptionId, required: true, location_name: "TagOptionId"))
309
+ AssociateTagOptionWithResourceInput.struct_class = Types::AssociateTagOptionWithResourceInput
310
+
311
+ AssociateTagOptionWithResourceOutput.struct_class = Types::AssociateTagOptionWithResourceOutput
312
+
272
313
  ConstraintDetail.add_member(:constraint_id, Shapes::ShapeRef.new(shape: Id, location_name: "ConstraintId"))
273
314
  ConstraintDetail.add_member(:type, Shapes::ShapeRef.new(shape: ConstraintType, location_name: "Type"))
274
315
  ConstraintDetail.add_member(:description, Shapes::ShapeRef.new(shape: ConstraintDescription, location_name: "Description"))
@@ -346,6 +387,13 @@ module Aws::ServiceCatalog
346
387
  CreateProvisioningArtifactOutput.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
347
388
  CreateProvisioningArtifactOutput.struct_class = Types::CreateProvisioningArtifactOutput
348
389
 
390
+ CreateTagOptionInput.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, required: true, location_name: "Key"))
391
+ CreateTagOptionInput.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, required: true, location_name: "Value"))
392
+ CreateTagOptionInput.struct_class = Types::CreateTagOptionInput
393
+
394
+ CreateTagOptionOutput.add_member(:tag_option_detail, Shapes::ShapeRef.new(shape: TagOptionDetail, location_name: "TagOptionDetail"))
395
+ CreateTagOptionOutput.struct_class = Types::CreateTagOptionOutput
396
+
349
397
  DeleteConstraintInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
350
398
  DeleteConstraintInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
351
399
  DeleteConstraintInput.struct_class = Types::DeleteConstraintInput
@@ -393,6 +441,7 @@ module Aws::ServiceCatalog
393
441
 
394
442
  DescribePortfolioOutput.add_member(:portfolio_detail, Shapes::ShapeRef.new(shape: PortfolioDetail, location_name: "PortfolioDetail"))
395
443
  DescribePortfolioOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
444
+ DescribePortfolioOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptions"))
396
445
  DescribePortfolioOutput.struct_class = Types::DescribePortfolioOutput
397
446
 
398
447
  DescribeProductAsAdminInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -402,6 +451,7 @@ module Aws::ServiceCatalog
402
451
  DescribeProductAsAdminOutput.add_member(:product_view_detail, Shapes::ShapeRef.new(shape: ProductViewDetail, location_name: "ProductViewDetail"))
403
452
  DescribeProductAsAdminOutput.add_member(:provisioning_artifact_summaries, Shapes::ShapeRef.new(shape: ProvisioningArtifactSummaries, location_name: "ProvisioningArtifactSummaries"))
404
453
  DescribeProductAsAdminOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
454
+ DescribeProductAsAdminOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptions"))
405
455
  DescribeProductAsAdminOutput.struct_class = Types::DescribeProductAsAdminOutput
406
456
 
407
457
  DescribeProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -447,6 +497,7 @@ module Aws::ServiceCatalog
447
497
  DescribeProvisioningParametersOutput.add_member(:provisioning_artifact_parameters, Shapes::ShapeRef.new(shape: ProvisioningArtifactParameters, location_name: "ProvisioningArtifactParameters"))
448
498
  DescribeProvisioningParametersOutput.add_member(:constraint_summaries, Shapes::ShapeRef.new(shape: ConstraintSummaries, location_name: "ConstraintSummaries"))
449
499
  DescribeProvisioningParametersOutput.add_member(:usage_instructions, Shapes::ShapeRef.new(shape: UsageInstructions, location_name: "UsageInstructions"))
500
+ DescribeProvisioningParametersOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionSummaries, location_name: "TagOptions"))
450
501
  DescribeProvisioningParametersOutput.struct_class = Types::DescribeProvisioningParametersOutput
451
502
 
452
503
  DescribeRecordInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -460,6 +511,12 @@ module Aws::ServiceCatalog
460
511
  DescribeRecordOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
461
512
  DescribeRecordOutput.struct_class = Types::DescribeRecordOutput
462
513
 
514
+ DescribeTagOptionInput.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, required: true, location_name: "Id"))
515
+ DescribeTagOptionInput.struct_class = Types::DescribeTagOptionInput
516
+
517
+ DescribeTagOptionOutput.add_member(:tag_option_detail, Shapes::ShapeRef.new(shape: TagOptionDetail, location_name: "TagOptionDetail"))
518
+ DescribeTagOptionOutput.struct_class = Types::DescribeTagOptionOutput
519
+
463
520
  DisassociatePrincipalFromPortfolioInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
464
521
  DisassociatePrincipalFromPortfolioInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
465
522
  DisassociatePrincipalFromPortfolioInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, required: true, location_name: "PrincipalARN"))
@@ -474,6 +531,12 @@ module Aws::ServiceCatalog
474
531
 
475
532
  DisassociateProductFromPortfolioOutput.struct_class = Types::DisassociateProductFromPortfolioOutput
476
533
 
534
+ DisassociateTagOptionFromResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
535
+ DisassociateTagOptionFromResourceInput.add_member(:tag_option_id, Shapes::ShapeRef.new(shape: TagOptionId, required: true, location_name: "TagOptionId"))
536
+ DisassociateTagOptionFromResourceInput.struct_class = Types::DisassociateTagOptionFromResourceInput
537
+
538
+ DisassociateTagOptionFromResourceOutput.struct_class = Types::DisassociateTagOptionFromResourceOutput
539
+
477
540
  LaunchPathSummaries.member = Shapes::ShapeRef.new(shape: LaunchPathSummary)
478
541
 
479
542
  LaunchPathSummary.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
@@ -572,6 +635,30 @@ module Aws::ServiceCatalog
572
635
  ListRecordHistorySearchFilter.add_member(:value, Shapes::ShapeRef.new(shape: SearchFilterValue, location_name: "Value"))
573
636
  ListRecordHistorySearchFilter.struct_class = Types::ListRecordHistorySearchFilter
574
637
 
638
+ ListResourcesForTagOptionInput.add_member(:tag_option_id, Shapes::ShapeRef.new(shape: TagOptionId, required: true, location_name: "TagOptionId"))
639
+ ListResourcesForTagOptionInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
640
+ ListResourcesForTagOptionInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
641
+ ListResourcesForTagOptionInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
642
+ ListResourcesForTagOptionInput.struct_class = Types::ListResourcesForTagOptionInput
643
+
644
+ ListResourcesForTagOptionOutput.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
645
+ ListResourcesForTagOptionOutput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
646
+ ListResourcesForTagOptionOutput.struct_class = Types::ListResourcesForTagOptionOutput
647
+
648
+ ListTagOptionsFilters.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, location_name: "Key"))
649
+ ListTagOptionsFilters.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
650
+ ListTagOptionsFilters.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
651
+ ListTagOptionsFilters.struct_class = Types::ListTagOptionsFilters
652
+
653
+ ListTagOptionsInput.add_member(:filters, Shapes::ShapeRef.new(shape: ListTagOptionsFilters, location_name: "Filters"))
654
+ ListTagOptionsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
655
+ ListTagOptionsInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
656
+ ListTagOptionsInput.struct_class = Types::ListTagOptionsInput
657
+
658
+ ListTagOptionsOutput.add_member(:tag_option_details, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptionDetails"))
659
+ ListTagOptionsOutput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
660
+ ListTagOptionsOutput.struct_class = Types::ListTagOptionsOutput
661
+
575
662
  NotificationArns.member = Shapes::ShapeRef.new(shape: NotificationArn)
576
663
 
577
664
  ParameterConstraints.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "AllowedValues"))
@@ -750,6 +837,15 @@ module Aws::ServiceCatalog
750
837
 
751
838
  RejectPortfolioShareOutput.struct_class = Types::RejectPortfolioShareOutput
752
839
 
840
+ ResourceDetail.add_member(:id, Shapes::ShapeRef.new(shape: ResourceDetailId, location_name: "Id"))
841
+ ResourceDetail.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceDetailARN, location_name: "ARN"))
842
+ ResourceDetail.add_member(:name, Shapes::ShapeRef.new(shape: ResourceDetailName, location_name: "Name"))
843
+ ResourceDetail.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDetailDescription, location_name: "Description"))
844
+ ResourceDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: ResourceDetailCreatedTime, location_name: "CreatedTime"))
845
+ ResourceDetail.struct_class = Types::ResourceDetail
846
+
847
+ ResourceDetails.member = Shapes::ShapeRef.new(shape: ResourceDetail)
848
+
753
849
  ScanProvisionedProductsInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
754
850
  ScanProvisionedProductsInput.add_member(:access_level_filter, Shapes::ShapeRef.new(shape: AccessLevelFilter, location_name: "AccessLevelFilter"))
755
851
  ScanProvisionedProductsInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
@@ -793,6 +889,22 @@ module Aws::ServiceCatalog
793
889
 
794
890
  TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
795
891
 
892
+ TagOptionDetail.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, location_name: "Key"))
893
+ TagOptionDetail.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
894
+ TagOptionDetail.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
895
+ TagOptionDetail.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, location_name: "Id"))
896
+ TagOptionDetail.struct_class = Types::TagOptionDetail
897
+
898
+ TagOptionDetails.member = Shapes::ShapeRef.new(shape: TagOptionDetail)
899
+
900
+ TagOptionSummaries.member = Shapes::ShapeRef.new(shape: TagOptionSummary)
901
+
902
+ TagOptionSummary.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, location_name: "Key"))
903
+ TagOptionSummary.add_member(:values, Shapes::ShapeRef.new(shape: TagOptionValues, location_name: "Values"))
904
+ TagOptionSummary.struct_class = Types::TagOptionSummary
905
+
906
+ TagOptionValues.member = Shapes::ShapeRef.new(shape: TagOptionValue)
907
+
796
908
  Tags.member = Shapes::ShapeRef.new(shape: Tag)
797
909
 
798
910
  TerminateProvisionedProductInput.add_member(:provisioned_product_name, Shapes::ShapeRef.new(shape: ProvisionedProductNameOrArn, location_name: "ProvisionedProductName"))
@@ -877,6 +989,14 @@ module Aws::ServiceCatalog
877
989
 
878
990
  UpdateProvisioningParameters.member = Shapes::ShapeRef.new(shape: UpdateProvisioningParameter)
879
991
 
992
+ UpdateTagOptionInput.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, required: true, location_name: "Id"))
993
+ UpdateTagOptionInput.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
994
+ UpdateTagOptionInput.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
995
+ UpdateTagOptionInput.struct_class = Types::UpdateTagOptionInput
996
+
997
+ UpdateTagOptionOutput.add_member(:tag_option_detail, Shapes::ShapeRef.new(shape: TagOptionDetail, location_name: "TagOptionDetail"))
998
+ UpdateTagOptionOutput.struct_class = Types::UpdateTagOptionOutput
999
+
880
1000
  UsageInstruction.add_member(:type, Shapes::ShapeRef.new(shape: InstructionType, location_name: "Type"))
881
1001
  UsageInstruction.add_member(:value, Shapes::ShapeRef.new(shape: InstructionValue, location_name: "Value"))
882
1002
  UsageInstruction.struct_class = Types::UsageInstruction
@@ -931,6 +1051,20 @@ module Aws::ServiceCatalog
931
1051
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
932
1052
  end)
933
1053
 
1054
+ api.add_operation(:associate_tag_option_with_resource, Seahorse::Model::Operation.new.tap do |o|
1055
+ o.name = "AssociateTagOptionWithResource"
1056
+ o.http_method = "POST"
1057
+ o.http_request_uri = "/"
1058
+ o.input = Shapes::ShapeRef.new(shape: AssociateTagOptionWithResourceInput)
1059
+ o.output = Shapes::ShapeRef.new(shape: AssociateTagOptionWithResourceOutput)
1060
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
1066
+ end)
1067
+
934
1068
  api.add_operation(:create_constraint, Seahorse::Model::Operation.new.tap do |o|
935
1069
  o.name = "CreateConstraint"
936
1070
  o.http_method = "POST"
@@ -951,6 +1085,7 @@ module Aws::ServiceCatalog
951
1085
  o.output = Shapes::ShapeRef.new(shape: CreatePortfolioOutput)
952
1086
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
953
1087
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
954
1089
  end)
955
1090
 
956
1091
  api.add_operation(:create_portfolio_share, Seahorse::Model::Operation.new.tap do |o|
@@ -972,6 +1107,7 @@ module Aws::ServiceCatalog
972
1107
  o.output = Shapes::ShapeRef.new(shape: CreateProductOutput)
973
1108
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
974
1109
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
975
1111
  end)
976
1112
 
977
1113
  api.add_operation(:create_provisioning_artifact, Seahorse::Model::Operation.new.tap do |o|
@@ -985,6 +1121,17 @@ module Aws::ServiceCatalog
985
1121
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
986
1122
  end)
987
1123
 
1124
+ api.add_operation(:create_tag_option, Seahorse::Model::Operation.new.tap do |o|
1125
+ o.name = "CreateTagOption"
1126
+ o.http_method = "POST"
1127
+ o.http_request_uri = "/"
1128
+ o.input = Shapes::ShapeRef.new(shape: CreateTagOptionInput)
1129
+ o.output = Shapes::ShapeRef.new(shape: CreateTagOptionOutput)
1130
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1133
+ end)
1134
+
988
1135
  api.add_operation(:delete_constraint, Seahorse::Model::Operation.new.tap do |o|
989
1136
  o.name = "DeleteConstraint"
990
1137
  o.http_method = "POST"
@@ -1004,6 +1151,7 @@ module Aws::ServiceCatalog
1004
1151
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1005
1152
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1006
1153
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1007
1155
  end)
1008
1156
 
1009
1157
  api.add_operation(:delete_portfolio_share, Seahorse::Model::Operation.new.tap do |o|
@@ -1024,6 +1172,7 @@ module Aws::ServiceCatalog
1024
1172
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1025
1173
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1026
1174
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1027
1176
  end)
1028
1177
 
1029
1178
  api.add_operation(:delete_provisioning_artifact, Seahorse::Model::Operation.new.tap do |o|
@@ -1121,6 +1270,16 @@ module Aws::ServiceCatalog
1121
1270
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1122
1271
  end)
1123
1272
 
1273
+ api.add_operation(:describe_tag_option, Seahorse::Model::Operation.new.tap do |o|
1274
+ o.name = "DescribeTagOption"
1275
+ o.http_method = "POST"
1276
+ o.http_request_uri = "/"
1277
+ o.input = Shapes::ShapeRef.new(shape: DescribeTagOptionInput)
1278
+ o.output = Shapes::ShapeRef.new(shape: DescribeTagOptionOutput)
1279
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1281
+ end)
1282
+
1124
1283
  api.add_operation(:disassociate_principal_from_portfolio, Seahorse::Model::Operation.new.tap do |o|
1125
1284
  o.name = "DisassociatePrincipalFromPortfolio"
1126
1285
  o.http_method = "POST"
@@ -1138,9 +1297,20 @@ module Aws::ServiceCatalog
1138
1297
  o.input = Shapes::ShapeRef.new(shape: DisassociateProductFromPortfolioInput)
1139
1298
  o.output = Shapes::ShapeRef.new(shape: DisassociateProductFromPortfolioOutput)
1140
1299
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1141
1301
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1142
1302
  end)
1143
1303
 
1304
+ api.add_operation(:disassociate_tag_option_from_resource, Seahorse::Model::Operation.new.tap do |o|
1305
+ o.name = "DisassociateTagOptionFromResource"
1306
+ o.http_method = "POST"
1307
+ o.http_request_uri = "/"
1308
+ o.input = Shapes::ShapeRef.new(shape: DisassociateTagOptionFromResourceInput)
1309
+ o.output = Shapes::ShapeRef.new(shape: DisassociateTagOptionFromResourceOutput)
1310
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1312
+ end)
1313
+
1144
1314
  api.add_operation(:list_accepted_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
1145
1315
  o.name = "ListAcceptedPortfolioShares"
1146
1316
  o.http_method = "POST"
@@ -1227,6 +1397,39 @@ module Aws::ServiceCatalog
1227
1397
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1228
1398
  end)
1229
1399
 
1400
+ api.add_operation(:list_resources_for_tag_option, Seahorse::Model::Operation.new.tap do |o|
1401
+ o.name = "ListResourcesForTagOption"
1402
+ o.http_method = "POST"
1403
+ o.http_request_uri = "/"
1404
+ o.input = Shapes::ShapeRef.new(shape: ListResourcesForTagOptionInput)
1405
+ o.output = Shapes::ShapeRef.new(shape: ListResourcesForTagOptionOutput)
1406
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1407
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1408
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1409
+ o[:pager] = Aws::Pager.new(
1410
+ limit_key: "page_size",
1411
+ tokens: {
1412
+ "page_token" => "page_token"
1413
+ }
1414
+ )
1415
+ end)
1416
+
1417
+ api.add_operation(:list_tag_options, Seahorse::Model::Operation.new.tap do |o|
1418
+ o.name = "ListTagOptions"
1419
+ o.http_method = "POST"
1420
+ o.http_request_uri = "/"
1421
+ o.input = Shapes::ShapeRef.new(shape: ListTagOptionsInput)
1422
+ o.output = Shapes::ShapeRef.new(shape: ListTagOptionsOutput)
1423
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1425
+ o[:pager] = Aws::Pager.new(
1426
+ limit_key: "page_size",
1427
+ tokens: {
1428
+ "page_token" => "page_token"
1429
+ }
1430
+ )
1431
+ end)
1432
+
1230
1433
  api.add_operation(:provision_product, Seahorse::Model::Operation.new.tap do |o|
1231
1434
  o.name = "ProvisionProduct"
1232
1435
  o.http_method = "POST"
@@ -1303,6 +1506,7 @@ module Aws::ServiceCatalog
1303
1506
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1304
1507
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1305
1508
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1509
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1306
1510
  end)
1307
1511
 
1308
1512
  api.add_operation(:update_product, Seahorse::Model::Operation.new.tap do |o|
@@ -1313,6 +1517,7 @@ module Aws::ServiceCatalog
1313
1517
  o.output = Shapes::ShapeRef.new(shape: UpdateProductOutput)
1314
1518
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1315
1519
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1520
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1316
1521
  end)
1317
1522
 
1318
1523
  api.add_operation(:update_provisioned_product, Seahorse::Model::Operation.new.tap do |o|
@@ -1334,6 +1539,18 @@ module Aws::ServiceCatalog
1334
1539
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1335
1540
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1336
1541
  end)
1542
+
1543
+ api.add_operation(:update_tag_option, Seahorse::Model::Operation.new.tap do |o|
1544
+ o.name = "UpdateTagOption"
1545
+ o.http_method = "POST"
1546
+ o.http_request_uri = "/"
1547
+ o.input = Shapes::ShapeRef.new(shape: UpdateTagOptionInput)
1548
+ o.output = Shapes::ShapeRef.new(shape: UpdateTagOptionOutput)
1549
+ o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1553
+ end)
1337
1554
  end
1338
1555
 
1339
1556
  end