aws-sdk-servicecatalog 1.50.0 → 1.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f789325a33be8f521fdf12bc60e848a9524be45ea47ca6b3d895cc44b175651
4
- data.tar.gz: 9a21e0b10e94c42f8e58bdb8b7206456f2d00529ce8dc8eec42a75ab3ac564f3
3
+ metadata.gz: e834742f078e1fef1bed9ab2e88df02f9b87f742e64d5abb59aca256fd30537e
4
+ data.tar.gz: 21635bdb5bb2b6d058658b3fd1bc906ce1700fb2abaa6898bbe8c254a74e39ab
5
5
  SHA512:
6
- metadata.gz: cde3457a5e2f10a22e405cac55f2dc19fe700bef22f2738fd83d0bdf36b5a7a0cefaa1595005e34e3119122fd81fab2beddac9261d95fe92a42d8686d6cb8ad5
7
- data.tar.gz: 57da4589f1e898cc38bf0854645a9a608c6eac90aa95487e04a5f45ca7b165a9211b34f2855dcf26268548e70607f6e4e6ac4d91bd218ae09c09d6325d3c6aa1
6
+ metadata.gz: 413ae79d7afabe1460b812091a7d8e1e91f7e19d2e2b1c3fd358cfcf6955aa8f94c1b6cbe20a4af82a220a1ba6b50c58945946955c0811906b708eafe8fa1d95
7
+ data.tar.gz: 31de0e2e6a320f0ea66c6b55d377acec59b759c938f17dd635dcd32a4186eda529028b065b3b276f32f693afc84a5bd656def80f8cbfd6494d87033d985cfb4a
@@ -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.50.0'
51
+ GEM_VERSION = '1.55.0'
52
52
 
53
53
  end
@@ -1080,7 +1080,8 @@ module Aws::ServiceCatalog
1080
1080
  # One or more tags.
1081
1081
  #
1082
1082
  # @option params [required, Types::ProvisioningArtifactProperties] :provisioning_artifact_parameters
1083
- # The configuration of the provisioning artifact.
1083
+ # The configuration of the provisioning artifact. The `info` field
1084
+ # accepts `ImportFromPhysicalID`.
1084
1085
  #
1085
1086
  # @option params [required, String] :idempotency_token
1086
1087
  # A unique identifier that you provide to ensure idempotency. If
@@ -1300,7 +1301,8 @@ module Aws::ServiceCatalog
1300
1301
  # The product identifier.
1301
1302
  #
1302
1303
  # @option params [required, Types::ProvisioningArtifactProperties] :parameters
1303
- # The configuration for the provisioning artifact.
1304
+ # The configuration for the provisioning artifact. The `info` field
1305
+ # accepts `ImportFromPhysicalID`.
1304
1306
  #
1305
1307
  # @option params [required, String] :idempotency_token
1306
1308
  # A unique identifier that you provide to ensure idempotency. If
@@ -2187,10 +2189,18 @@ module Aws::ServiceCatalog
2187
2189
  # * `zh` - Chinese
2188
2190
  #
2189
2191
  # @option params [String] :id
2190
- # The provisioned product identifier.
2192
+ # The provisioned product identifier. You must provide the name or ID,
2193
+ # but not both.
2194
+ #
2195
+ # If you do not provide a name or ID, or you provide both name and ID,
2196
+ # an `InvalidParametersException` will occur.
2191
2197
  #
2192
2198
  # @option params [String] :name
2193
- # The name of the provisioned product.
2199
+ # The name of the provisioned product. You must provide the name or ID,
2200
+ # but not both.
2201
+ #
2202
+ # If you do not provide a name or ID, or you provide both name and ID,
2203
+ # an `InvalidParametersException` will occur.
2194
2204
  #
2195
2205
  # @return [Types::DescribeProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2196
2206
  #
@@ -2220,6 +2230,7 @@ module Aws::ServiceCatalog
2220
2230
  # resp.provisioned_product_detail.last_successful_provisioning_record_id #=> String
2221
2231
  # resp.provisioned_product_detail.product_id #=> String
2222
2232
  # resp.provisioned_product_detail.provisioning_artifact_id #=> String
2233
+ # resp.provisioned_product_detail.launch_role_arn #=> String
2223
2234
  # resp.cloud_watch_dashboards #=> Array
2224
2235
  # resp.cloud_watch_dashboards[0].name #=> String
2225
2236
  #
@@ -2554,6 +2565,7 @@ module Aws::ServiceCatalog
2554
2565
  # resp.record_detail.record_tags #=> Array
2555
2566
  # resp.record_detail.record_tags[0].key #=> String
2556
2567
  # resp.record_detail.record_tags[0].value #=> String
2568
+ # resp.record_detail.launch_role_arn #=> String
2557
2569
  # resp.record_outputs #=> Array
2558
2570
  # resp.record_outputs[0].output_key #=> String
2559
2571
  # resp.record_outputs[0].output_value #=> String
@@ -2963,6 +2975,7 @@ module Aws::ServiceCatalog
2963
2975
  # resp.record_detail.record_tags #=> Array
2964
2976
  # resp.record_detail.record_tags[0].key #=> String
2965
2977
  # resp.record_detail.record_tags[0].value #=> String
2978
+ # resp.record_detail.launch_role_arn #=> String
2966
2979
  #
2967
2980
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductPlan AWS API Documentation
2968
2981
  #
@@ -3039,6 +3052,7 @@ module Aws::ServiceCatalog
3039
3052
  # resp.record_detail.record_tags #=> Array
3040
3053
  # resp.record_detail.record_tags[0].key #=> String
3041
3054
  # resp.record_detail.record_tags[0].value #=> String
3055
+ # resp.record_detail.launch_role_arn #=> String
3042
3056
  #
3043
3057
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductServiceAction AWS API Documentation
3044
3058
  #
@@ -3137,6 +3151,99 @@ module Aws::ServiceCatalog
3137
3151
  req.send_request(options)
3138
3152
  end
3139
3153
 
3154
+ # Requests the import of a resource as a Service Catalog provisioned
3155
+ # product that is associated to a Service Catalog product and
3156
+ # provisioning artifact. Once imported all supported Service Catalog
3157
+ # governance actions are supported on the provisioned product.
3158
+ #
3159
+ # Resource import only supports CloudFormation stack ARNs.
3160
+ # CloudFormation StackSets and non-root nested stacks are not supported.
3161
+ #
3162
+ # 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.
3166
+ #
3167
+ # Import of the resource requires that the CloudFormation stack template
3168
+ # matches the associated Service Catalog product provisioning artifact.
3169
+ #
3170
+ # @option params [String] :accept_language
3171
+ # The language code.
3172
+ #
3173
+ # * `en` - English (default)
3174
+ #
3175
+ # * `jp` - Japanese
3176
+ #
3177
+ # * `zh` - Chinese
3178
+ #
3179
+ # @option params [required, String] :product_id
3180
+ # The product identifier.
3181
+ #
3182
+ # @option params [required, String] :provisioning_artifact_id
3183
+ # The identifier of the provisioning artifact.
3184
+ #
3185
+ # @option params [required, String] :provisioned_product_name
3186
+ # The user-friendly name of the provisioned product. The value must be
3187
+ # unique for the AWS account. The name cannot be updated after the
3188
+ # product is provisioned.
3189
+ #
3190
+ # @option params [required, String] :physical_id
3191
+ # The unique identifier of the resource to be imported. It only
3192
+ # currently supports CloudFormation stack IDs.
3193
+ #
3194
+ # @option params [required, String] :idempotency_token
3195
+ # A unique identifier that you provide to ensure idempotency. If
3196
+ # multiple requests differ only by the idempotency token, the same
3197
+ # response is returned for each repeated request.
3198
+ #
3199
+ # **A suitable default value is auto-generated.** You should normally
3200
+ # not need to pass this option.**
3201
+ #
3202
+ # @return [Types::ImportAsProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3203
+ #
3204
+ # * {Types::ImportAsProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
3205
+ #
3206
+ # @example Request syntax with placeholder values
3207
+ #
3208
+ # resp = client.import_as_provisioned_product({
3209
+ # accept_language: "AcceptLanguage",
3210
+ # product_id: "Id", # required
3211
+ # provisioning_artifact_id: "Id", # required
3212
+ # provisioned_product_name: "ProvisionedProductName", # required
3213
+ # physical_id: "PhysicalId", # required
3214
+ # idempotency_token: "IdempotencyToken", # required
3215
+ # })
3216
+ #
3217
+ # @example Response structure
3218
+ #
3219
+ # resp.record_detail.record_id #=> String
3220
+ # resp.record_detail.provisioned_product_name #=> String
3221
+ # resp.record_detail.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
3222
+ # resp.record_detail.created_time #=> Time
3223
+ # resp.record_detail.updated_time #=> Time
3224
+ # resp.record_detail.provisioned_product_type #=> String
3225
+ # resp.record_detail.record_type #=> String
3226
+ # resp.record_detail.provisioned_product_id #=> String
3227
+ # resp.record_detail.product_id #=> String
3228
+ # resp.record_detail.provisioning_artifact_id #=> String
3229
+ # resp.record_detail.path_id #=> String
3230
+ # resp.record_detail.record_errors #=> Array
3231
+ # resp.record_detail.record_errors[0].code #=> String
3232
+ # resp.record_detail.record_errors[0].description #=> String
3233
+ # resp.record_detail.record_tags #=> Array
3234
+ # resp.record_detail.record_tags[0].key #=> String
3235
+ # resp.record_detail.record_tags[0].value #=> String
3236
+ # resp.record_detail.launch_role_arn #=> String
3237
+ #
3238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct AWS API Documentation
3239
+ #
3240
+ # @overload import_as_provisioned_product(params = {})
3241
+ # @param [Hash] params ({})
3242
+ def import_as_provisioned_product(params = {}, options = {})
3243
+ req = build_request(:import_as_provisioned_product, params)
3244
+ req.send_request(options)
3245
+ end
3246
+
3140
3247
  # Lists all portfolios for which sharing was accepted by this account.
3141
3248
  #
3142
3249
  # @option params [String] :accept_language
@@ -3915,6 +4022,7 @@ module Aws::ServiceCatalog
3915
4022
  # resp.record_details[0].record_tags #=> Array
3916
4023
  # resp.record_details[0].record_tags[0].key #=> String
3917
4024
  # resp.record_details[0].record_tags[0].value #=> String
4025
+ # resp.record_details[0].launch_role_arn #=> String
3918
4026
  # resp.next_page_token #=> String
3919
4027
  #
3920
4028
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory AWS API Documentation
@@ -4327,6 +4435,7 @@ module Aws::ServiceCatalog
4327
4435
  # resp.record_detail.record_tags #=> Array
4328
4436
  # resp.record_detail.record_tags[0].key #=> String
4329
4437
  # resp.record_detail.record_tags[0].value #=> String
4438
+ # resp.record_detail.launch_role_arn #=> String
4330
4439
  #
4331
4440
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct AWS API Documentation
4332
4441
  #
@@ -4441,6 +4550,7 @@ module Aws::ServiceCatalog
4441
4550
  # resp.provisioned_products[0].last_successful_provisioning_record_id #=> String
4442
4551
  # resp.provisioned_products[0].product_id #=> String
4443
4552
  # resp.provisioned_products[0].provisioning_artifact_id #=> String
4553
+ # resp.provisioned_products[0].launch_role_arn #=> String
4444
4554
  # resp.next_page_token #=> String
4445
4555
  #
4446
4556
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts AWS API Documentation
@@ -4754,6 +4864,13 @@ module Aws::ServiceCatalog
4754
4864
  #
4755
4865
  # * `zh` - Chinese
4756
4866
  #
4867
+ # @option params [Boolean] :retain_physical_resources
4868
+ # When this boolean parameter is set to true, the
4869
+ # TerminateProvisionedProduct API deletes the Service Catalog
4870
+ # provisioned product. However, it does not remove the CloudFormation
4871
+ # stack, stack set, or the underlying resources of the deleted
4872
+ # provisioned product. The default value is false.
4873
+ #
4757
4874
  # @return [Types::TerminateProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4758
4875
  #
4759
4876
  # * {Types::TerminateProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
@@ -4766,6 +4883,7 @@ module Aws::ServiceCatalog
4766
4883
  # terminate_token: "IdempotencyToken", # required
4767
4884
  # ignore_errors: false,
4768
4885
  # accept_language: "AcceptLanguage",
4886
+ # retain_physical_resources: false,
4769
4887
  # })
4770
4888
  #
4771
4889
  # @example Response structure
@@ -4787,6 +4905,7 @@ module Aws::ServiceCatalog
4787
4905
  # resp.record_detail.record_tags #=> Array
4788
4906
  # resp.record_detail.record_tags[0].key #=> String
4789
4907
  # resp.record_detail.record_tags[0].value #=> String
4908
+ # resp.record_detail.launch_role_arn #=> String
4790
4909
  #
4791
4910
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct AWS API Documentation
4792
4911
  #
@@ -5223,6 +5342,7 @@ module Aws::ServiceCatalog
5223
5342
  # resp.record_detail.record_tags #=> Array
5224
5343
  # resp.record_detail.record_tags[0].key #=> String
5225
5344
  # resp.record_detail.record_tags[0].value #=> String
5345
+ # resp.record_detail.launch_role_arn #=> String
5226
5346
  #
5227
5347
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct AWS API Documentation
5228
5348
  #
@@ -5251,9 +5371,17 @@ module Aws::ServiceCatalog
5251
5371
  # @option params [required, Hash<String,String>] :provisioned_product_properties
5252
5372
  # A map that contains the provisioned product properties to be updated.
5253
5373
  #
5374
+ # The `LAUNCH_ROLE` key accepts role ARNs. This key allows an
5375
+ # administrator to call `UpdateProvisionedProductProperties` to update
5376
+ # the launch role that is associated with a provisioned product. This
5377
+ # role is used when an end user calls a provisioning operation such as
5378
+ # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
5379
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid. A
5380
+ # user ARN is invalid.
5381
+ #
5254
5382
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the user
5255
- # that is allowed to see, update, terminate, and execute service actions
5256
- # in the provisioned product.
5383
+ # that has permission to see, update, terminate, and execute service
5384
+ # actions in the provisioned product.
5257
5385
  #
5258
5386
  # The administrator can change the owner of a provisioned product to
5259
5387
  # another IAM user within the same account. Both end user owners and
@@ -5508,7 +5636,7 @@ module Aws::ServiceCatalog
5508
5636
  params: params,
5509
5637
  config: config)
5510
5638
  context[:gem_name] = 'aws-sdk-servicecatalog'
5511
- context[:gem_version] = '1.50.0'
5639
+ context[:gem_version] = '1.55.0'
5512
5640
  Seahorse::Client::Request.new(handlers, context)
5513
5641
  end
5514
5642
 
@@ -168,6 +168,8 @@ module Aws::ServiceCatalog
168
168
  Id = Shapes::StringShape.new(name: 'Id')
169
169
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
170
170
  IgnoreErrors = Shapes::BooleanShape.new(name: 'IgnoreErrors')
171
+ ImportAsProvisionedProductInput = Shapes::StructureShape.new(name: 'ImportAsProvisionedProductInput')
172
+ ImportAsProvisionedProductOutput = Shapes::StructureShape.new(name: 'ImportAsProvisionedProductOutput')
171
173
  InstructionType = Shapes::StringShape.new(name: 'InstructionType')
172
174
  InstructionValue = Shapes::StringShape.new(name: 'InstructionValue')
173
175
  InvalidParametersException = Shapes::StructureShape.new(name: 'InvalidParametersException')
@@ -232,6 +234,7 @@ module Aws::ServiceCatalog
232
234
  OutputKeys = Shapes::ListShape.new(name: 'OutputKeys')
233
235
  OutputValue = Shapes::StringShape.new(name: 'OutputValue')
234
236
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
237
+ PageSizeMax100 = Shapes::IntegerShape.new(name: 'PageSizeMax100')
235
238
  PageToken = Shapes::StringShape.new(name: 'PageToken')
236
239
  ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints')
237
240
  ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
@@ -361,6 +364,8 @@ module Aws::ServiceCatalog
361
364
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
362
365
  ResourceTargetDefinition = Shapes::StructureShape.new(name: 'ResourceTargetDefinition')
363
366
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
367
+ RetainPhysicalResources = Shapes::BooleanShape.new(name: 'RetainPhysicalResources')
368
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
364
369
  ScanProvisionedProductsInput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsInput')
365
370
  ScanProvisionedProductsOutput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsOutput')
366
371
  Scope = Shapes::ListShape.new(name: 'Scope')
@@ -969,6 +974,17 @@ module Aws::ServiceCatalog
969
974
  GetProvisionedProductOutputsOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
970
975
  GetProvisionedProductOutputsOutput.struct_class = Types::GetProvisionedProductOutputsOutput
971
976
 
977
+ ImportAsProvisionedProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
978
+ ImportAsProvisionedProductInput.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProductId"))
979
+ ImportAsProvisionedProductInput.add_member(:provisioning_artifact_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProvisioningArtifactId"))
980
+ ImportAsProvisionedProductInput.add_member(:provisioned_product_name, Shapes::ShapeRef.new(shape: ProvisionedProductName, required: true, location_name: "ProvisionedProductName"))
981
+ ImportAsProvisionedProductInput.add_member(:physical_id, Shapes::ShapeRef.new(shape: PhysicalId, required: true, location_name: "PhysicalId"))
982
+ ImportAsProvisionedProductInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
983
+ ImportAsProvisionedProductInput.struct_class = Types::ImportAsProvisionedProductInput
984
+
985
+ ImportAsProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
986
+ ImportAsProvisionedProductOutput.struct_class = Types::ImportAsProvisionedProductOutput
987
+
972
988
  InvalidParametersException.struct_class = Types::InvalidParametersException
973
989
 
974
990
  InvalidStateException.struct_class = Types::InvalidStateException
@@ -1045,7 +1061,7 @@ module Aws::ServiceCatalog
1045
1061
  ListPortfolioAccessInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
1046
1062
  ListPortfolioAccessInput.add_member(:organization_parent_id, Shapes::ShapeRef.new(shape: Id, location_name: "OrganizationParentId"))
1047
1063
  ListPortfolioAccessInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1048
- ListPortfolioAccessInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1064
+ ListPortfolioAccessInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
1049
1065
  ListPortfolioAccessInput.struct_class = Types::ListPortfolioAccessInput
1050
1066
 
1051
1067
  ListPortfolioAccessOutput.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "AccountIds"))
@@ -1303,6 +1319,7 @@ module Aws::ServiceCatalog
1303
1319
  ProvisionedProductDetail.add_member(:last_successful_provisioning_record_id, Shapes::ShapeRef.new(shape: Id, location_name: "LastSuccessfulProvisioningRecordId"))
1304
1320
  ProvisionedProductDetail.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, location_name: "ProductId"))
1305
1321
  ProvisionedProductDetail.add_member(:provisioning_artifact_id, Shapes::ShapeRef.new(shape: Id, location_name: "ProvisioningArtifactId"))
1322
+ ProvisionedProductDetail.add_member(:launch_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "LaunchRoleArn"))
1306
1323
  ProvisionedProductDetail.struct_class = Types::ProvisionedProductDetail
1307
1324
 
1308
1325
  ProvisionedProductDetails.member = Shapes::ShapeRef.new(shape: ProvisionedProductDetail)
@@ -1434,6 +1451,7 @@ module Aws::ServiceCatalog
1434
1451
  RecordDetail.add_member(:path_id, Shapes::ShapeRef.new(shape: Id, location_name: "PathId"))
1435
1452
  RecordDetail.add_member(:record_errors, Shapes::ShapeRef.new(shape: RecordErrors, location_name: "RecordErrors"))
1436
1453
  RecordDetail.add_member(:record_tags, Shapes::ShapeRef.new(shape: RecordTags, location_name: "RecordTags"))
1454
+ RecordDetail.add_member(:launch_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "LaunchRoleArn"))
1437
1455
  RecordDetail.struct_class = Types::RecordDetail
1438
1456
 
1439
1457
  RecordDetails.member = Shapes::ShapeRef.new(shape: RecordDetail)
@@ -1635,6 +1653,7 @@ module Aws::ServiceCatalog
1635
1653
  TerminateProvisionedProductInput.add_member(:terminate_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "TerminateToken", metadata: {"idempotencyToken"=>true}))
1636
1654
  TerminateProvisionedProductInput.add_member(:ignore_errors, Shapes::ShapeRef.new(shape: IgnoreErrors, location_name: "IgnoreErrors"))
1637
1655
  TerminateProvisionedProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1656
+ TerminateProvisionedProductInput.add_member(:retain_physical_resources, Shapes::ShapeRef.new(shape: RetainPhysicalResources, location_name: "RetainPhysicalResources"))
1638
1657
  TerminateProvisionedProductInput.struct_class = Types::TerminateProvisionedProductInput
1639
1658
 
1640
1659
  TerminateProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
@@ -2324,6 +2343,18 @@ module Aws::ServiceCatalog
2324
2343
  )
2325
2344
  end)
2326
2345
 
2346
+ api.add_operation(:import_as_provisioned_product, Seahorse::Model::Operation.new.tap do |o|
2347
+ o.name = "ImportAsProvisionedProduct"
2348
+ o.http_method = "POST"
2349
+ o.http_request_uri = "/"
2350
+ o.input = Shapes::ShapeRef.new(shape: ImportAsProvisionedProductInput)
2351
+ o.output = Shapes::ShapeRef.new(shape: ImportAsProvisionedProductOutput)
2352
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
2353
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2355
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2356
+ end)
2357
+
2327
2358
  api.add_operation(:list_accepted_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
2328
2359
  o.name = "ListAcceptedPortfolioShares"
2329
2360
  o.http_method = "POST"
@@ -989,7 +989,8 @@ module Aws::ServiceCatalog
989
989
  # @return [Array<Types::Tag>]
990
990
  #
991
991
  # @!attribute [rw] provisioning_artifact_parameters
992
- # The configuration of the provisioning artifact.
992
+ # The configuration of the provisioning artifact. The `info` field
993
+ # accepts `ImportFromPhysicalID`.
993
994
  # @return [Types::ProvisioningArtifactProperties]
994
995
  #
995
996
  # @!attribute [rw] idempotency_token
@@ -1219,7 +1220,8 @@ module Aws::ServiceCatalog
1219
1220
  # @return [String]
1220
1221
  #
1221
1222
  # @!attribute [rw] parameters
1222
- # The configuration for the provisioning artifact.
1223
+ # The configuration for the provisioning artifact. The `info` field
1224
+ # accepts `ImportFromPhysicalID`.
1223
1225
  # @return [Types::ProvisioningArtifactProperties]
1224
1226
  #
1225
1227
  # @!attribute [rw] idempotency_token
@@ -2139,11 +2141,19 @@ module Aws::ServiceCatalog
2139
2141
  # @return [String]
2140
2142
  #
2141
2143
  # @!attribute [rw] id
2142
- # The provisioned product identifier.
2144
+ # The provisioned product identifier. You must provide the name or ID,
2145
+ # but not both.
2146
+ #
2147
+ # If you do not provide a name or ID, or you provide both name and ID,
2148
+ # an `InvalidParametersException` will occur.
2143
2149
  # @return [String]
2144
2150
  #
2145
2151
  # @!attribute [rw] name
2146
- # The name of the provisioned product.
2152
+ # The name of the provisioned product. You must provide the name or
2153
+ # ID, but not both.
2154
+ #
2155
+ # If you do not provide a name or ID, or you provide both name and ID,
2156
+ # an `InvalidParametersException` will occur.
2147
2157
  # @return [String]
2148
2158
  #
2149
2159
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductInput AWS API Documentation
@@ -3123,6 +3133,81 @@ module Aws::ServiceCatalog
3123
3133
  include Aws::Structure
3124
3134
  end
3125
3135
 
3136
+ # @note When making an API call, you may pass ImportAsProvisionedProductInput
3137
+ # data as a hash:
3138
+ #
3139
+ # {
3140
+ # accept_language: "AcceptLanguage",
3141
+ # product_id: "Id", # required
3142
+ # provisioning_artifact_id: "Id", # required
3143
+ # provisioned_product_name: "ProvisionedProductName", # required
3144
+ # physical_id: "PhysicalId", # required
3145
+ # idempotency_token: "IdempotencyToken", # required
3146
+ # }
3147
+ #
3148
+ # @!attribute [rw] accept_language
3149
+ # The language code.
3150
+ #
3151
+ # * `en` - English (default)
3152
+ #
3153
+ # * `jp` - Japanese
3154
+ #
3155
+ # * `zh` - Chinese
3156
+ # @return [String]
3157
+ #
3158
+ # @!attribute [rw] product_id
3159
+ # The product identifier.
3160
+ # @return [String]
3161
+ #
3162
+ # @!attribute [rw] provisioning_artifact_id
3163
+ # The identifier of the provisioning artifact.
3164
+ # @return [String]
3165
+ #
3166
+ # @!attribute [rw] provisioned_product_name
3167
+ # The user-friendly name of the provisioned product. The value must be
3168
+ # unique for the AWS account. The name cannot be updated after the
3169
+ # product is provisioned.
3170
+ # @return [String]
3171
+ #
3172
+ # @!attribute [rw] physical_id
3173
+ # The unique identifier of the resource to be imported. It only
3174
+ # currently supports CloudFormation stack IDs.
3175
+ # @return [String]
3176
+ #
3177
+ # @!attribute [rw] idempotency_token
3178
+ # A unique identifier that you provide to ensure idempotency. If
3179
+ # multiple requests differ only by the idempotency token, the same
3180
+ # response is returned for each repeated request.
3181
+ #
3182
+ # **A suitable default value is auto-generated.** You should normally
3183
+ # not need to pass this option.
3184
+ # @return [String]
3185
+ #
3186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProductInput AWS API Documentation
3187
+ #
3188
+ class ImportAsProvisionedProductInput < Struct.new(
3189
+ :accept_language,
3190
+ :product_id,
3191
+ :provisioning_artifact_id,
3192
+ :provisioned_product_name,
3193
+ :physical_id,
3194
+ :idempotency_token)
3195
+ SENSITIVE = []
3196
+ include Aws::Structure
3197
+ end
3198
+
3199
+ # @!attribute [rw] record_detail
3200
+ # Information about a request operation.
3201
+ # @return [Types::RecordDetail]
3202
+ #
3203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProductOutput AWS API Documentation
3204
+ #
3205
+ class ImportAsProvisionedProductOutput < Struct.new(
3206
+ :record_detail)
3207
+ SENSITIVE = []
3208
+ include Aws::Structure
3209
+ end
3210
+
3126
3211
  # One or more parameters provided to the operation are not valid.
3127
3212
  #
3128
3213
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/InvalidParametersException AWS API Documentation
@@ -5035,6 +5120,10 @@ module Aws::ServiceCatalog
5035
5120
  # `pa-4abcdjnxjj6ne`.
5036
5121
  # @return [String]
5037
5122
  #
5123
+ # @!attribute [rw] launch_role_arn
5124
+ # The ARN of the launch role associated with the provisioned product.
5125
+ # @return [String]
5126
+ #
5038
5127
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionedProductDetail AWS API Documentation
5039
5128
  #
5040
5129
  class ProvisionedProductDetail < Struct.new(
@@ -5050,7 +5139,8 @@ module Aws::ServiceCatalog
5050
5139
  :last_provisioning_record_id,
5051
5140
  :last_successful_provisioning_record_id,
5052
5141
  :product_id,
5053
- :provisioning_artifact_id)
5142
+ :provisioning_artifact_id,
5143
+ :launch_role_arn)
5054
5144
  SENSITIVE = []
5055
5145
  include Aws::Structure
5056
5146
  end
@@ -5715,6 +5805,10 @@ module Aws::ServiceCatalog
5715
5805
  # One or more tags.
5716
5806
  # @return [Array<Types::RecordTag>]
5717
5807
  #
5808
+ # @!attribute [rw] launch_role_arn
5809
+ # The ARN of the launch role associated with the provisioned product.
5810
+ # @return [String]
5811
+ #
5718
5812
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RecordDetail AWS API Documentation
5719
5813
  #
5720
5814
  class RecordDetail < Struct.new(
@@ -5730,7 +5824,8 @@ module Aws::ServiceCatalog
5730
5824
  :provisioning_artifact_id,
5731
5825
  :path_id,
5732
5826
  :record_errors,
5733
- :record_tags)
5827
+ :record_tags,
5828
+ :launch_role_arn)
5734
5829
  SENSITIVE = []
5735
5830
  include Aws::Structure
5736
5831
  end
@@ -6613,6 +6708,7 @@ module Aws::ServiceCatalog
6613
6708
  # terminate_token: "IdempotencyToken", # required
6614
6709
  # ignore_errors: false,
6615
6710
  # accept_language: "AcceptLanguage",
6711
+ # retain_physical_resources: false,
6616
6712
  # }
6617
6713
  #
6618
6714
  # @!attribute [rw] provisioned_product_name
@@ -6652,6 +6748,14 @@ module Aws::ServiceCatalog
6652
6748
  # * `zh` - Chinese
6653
6749
  # @return [String]
6654
6750
  #
6751
+ # @!attribute [rw] retain_physical_resources
6752
+ # When this boolean parameter is set to true, the
6753
+ # TerminateProvisionedProduct API deletes the Service Catalog
6754
+ # provisioned product. However, it does not remove the CloudFormation
6755
+ # stack, stack set, or the underlying resources of the deleted
6756
+ # provisioned product. The default value is false.
6757
+ # @return [Boolean]
6758
+ #
6655
6759
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput AWS API Documentation
6656
6760
  #
6657
6761
  class TerminateProvisionedProductInput < Struct.new(
@@ -6659,7 +6763,8 @@ module Aws::ServiceCatalog
6659
6763
  :provisioned_product_id,
6660
6764
  :terminate_token,
6661
6765
  :ignore_errors,
6662
- :accept_language)
6766
+ :accept_language,
6767
+ :retain_physical_resources)
6663
6768
  SENSITIVE = []
6664
6769
  include Aws::Structure
6665
6770
  end
@@ -7175,9 +7280,17 @@ module Aws::ServiceCatalog
7175
7280
  # A map that contains the provisioned product properties to be
7176
7281
  # updated.
7177
7282
  #
7283
+ # The `LAUNCH_ROLE` key accepts role ARNs. This key allows an
7284
+ # administrator to call `UpdateProvisionedProductProperties` to update
7285
+ # the launch role that is associated with a provisioned product. This
7286
+ # role is used when an end user calls a provisioning operation such as
7287
+ # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
7288
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid.
7289
+ # A user ARN is invalid.
7290
+ #
7178
7291
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the
7179
- # user that is allowed to see, update, terminate, and execute service
7180
- # actions in the provisioned product.
7292
+ # user that has permission to see, update, terminate, and execute
7293
+ # service actions in the provisioned product.
7181
7294
  #
7182
7295
  # The administrator can change the owner of a provisioned product to
7183
7296
  # another IAM user within the same account. Both end user owners and
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.50.0
4
+ version: 1.55.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-09 00:00:00.000000000 Z
11
+ date: 2020-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core