aws-sdk-servicecatalog 1.25.0 → 1.26.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
  SHA1:
3
- metadata.gz: 5300f78d26f8c1d38b613f042af987a5e96d4106
4
- data.tar.gz: 5fc068387ead41701ae0b3fec3e9d3e7d5c6766c
3
+ metadata.gz: 226bdfce13ec1ec6746d0c01cd77ea6991c7a0dd
4
+ data.tar.gz: 8c3edaeabc816ec4d1c5160cbcf6314f1ac8bb50
5
5
  SHA512:
6
- metadata.gz: c8a99e6482491b269d4d00733f8697842422b27817dd84d3518a08bc3f509c281902e3dfaf57400cc6d61d843d397153c54ff9d33c40732a74a9c12a982de8f7
7
- data.tar.gz: aa77f3dac02d54f1104d87948ef42107cef51206af3c19b92c6c50d8fd35d068f8550bd15fff0abfd20ca564ac57cff905be9be180635274cd02acbfda408ad7
6
+ metadata.gz: 85b657ac3e6826e716d094efff8a17c4bf20eb837f6e4eea2d561e380bf8b8ec7d8f8f18e8f55ed8dd132894c0aeb34b085c09ab79ab7319d71cd0c9589de434
7
+ data.tar.gz: 609fda3b8b33698428ef646ec66d80a96cec62e4ea28a97429f254214deb3e8c6f4c1f0fe501924e587798f9377be2172a3b1eca49524c753ff8ade160374525
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
42
  # @service
43
43
  module Aws::ServiceCatalog
44
44
 
45
- GEM_VERSION = '1.25.0'
45
+ GEM_VERSION = '1.26.0'
46
46
 
47
47
  end
@@ -2299,6 +2299,15 @@ module Aws::ServiceCatalog
2299
2299
  # ProvisionProduct, TerminateProvisionedProduct, or
2300
2300
  # UpdateProvisionedProduct).
2301
2301
  #
2302
+ # <note markdown="1"> If a provisioned product was transferred to a new owner using
2303
+ # UpdateProvisionedProductProperties, the new owner will be able to
2304
+ # describe all past records for that product. The previous owner will no
2305
+ # longer be able to describe the records, but will be able to use
2306
+ # ListRecordHistory to see the product's history from when he was the
2307
+ # owner.
2308
+ #
2309
+ # </note>
2310
+ #
2302
2311
  # @option params [String] :accept_language
2303
2312
  # The language code.
2304
2313
  #
@@ -4615,7 +4624,7 @@ module Aws::ServiceCatalog
4615
4624
  # * `zh` - Chinese
4616
4625
  #
4617
4626
  # @option params [String] :provisioned_product_name
4618
- # The updated name of the provisioned product. You cannot specify both
4627
+ # The name of the provisioned product. You cannot specify both
4619
4628
  # `ProvisionedProductName` and `ProvisionedProductId`.
4620
4629
  #
4621
4630
  # @option params [String] :provisioned_product_id
@@ -4718,6 +4727,87 @@ module Aws::ServiceCatalog
4718
4727
  req.send_request(options)
4719
4728
  end
4720
4729
 
4730
+ # Requests updates to the properties of the specified provisioned
4731
+ # product.
4732
+ #
4733
+ # @option params [String] :accept_language
4734
+ # The language code.
4735
+ #
4736
+ # * `en` - English (default)
4737
+ #
4738
+ # * `jp` - Japanese
4739
+ #
4740
+ # * `zh` - Chinese
4741
+ #
4742
+ # @option params [required, String] :provisioned_product_id
4743
+ # The identifier of the provisioned product.
4744
+ #
4745
+ # @option params [required, Hash<String,String>] :provisioned_product_properties
4746
+ # A map that contains the provisioned product properties to be updated.
4747
+ #
4748
+ # The `OWNER` key only accepts user ARNs. The owner is the user that is
4749
+ # allowed to see, update, terminate, and execute service actions in the
4750
+ # provisioned product.
4751
+ #
4752
+ # The administrator can change the owner of a provisioned product to
4753
+ # another IAM user within the same account. Both end user owners and
4754
+ # administrators can see ownership history of the provisioned product
4755
+ # using the `ListRecordHistory` API. The new owner can describe all past
4756
+ # records for the provisioned product using the `DescribeRecord` API.
4757
+ # The previous owner can no longer use `DescribeRecord`, but can still
4758
+ # see the product's history from when he was an owner using
4759
+ # `ListRecordHistory`.
4760
+ #
4761
+ # If a provisioned product ownership is assigned to an end user, they
4762
+ # can see and perform any action through the API or Service Catalog
4763
+ # console such as update, terminate, and execute service actions. If an
4764
+ # end user provisions a product and the owner is updated to someone
4765
+ # else, they will no longer be able to see or perform any actions
4766
+ # through API or the Service Catalog console on that provisioned
4767
+ # product.
4768
+ #
4769
+ # @option params [required, String] :idempotency_token
4770
+ # The idempotency token that uniquely identifies the provisioning
4771
+ # product update request.
4772
+ #
4773
+ # **A suitable default value is auto-generated.** You should normally
4774
+ # not need to pass this option.**
4775
+ #
4776
+ # @return [Types::UpdateProvisionedProductPropertiesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4777
+ #
4778
+ # * {Types::UpdateProvisionedProductPropertiesOutput#provisioned_product_id #provisioned_product_id} => String
4779
+ # * {Types::UpdateProvisionedProductPropertiesOutput#provisioned_product_properties #provisioned_product_properties} => Hash&lt;String,String&gt;
4780
+ # * {Types::UpdateProvisionedProductPropertiesOutput#record_id #record_id} => String
4781
+ # * {Types::UpdateProvisionedProductPropertiesOutput#status #status} => String
4782
+ #
4783
+ # @example Request syntax with placeholder values
4784
+ #
4785
+ # resp = client.update_provisioned_product_properties({
4786
+ # accept_language: "AcceptLanguage",
4787
+ # provisioned_product_id: "Id", # required
4788
+ # provisioned_product_properties: { # required
4789
+ # "OWNER" => "PropertyValue",
4790
+ # },
4791
+ # idempotency_token: "IdempotencyToken", # required
4792
+ # })
4793
+ #
4794
+ # @example Response structure
4795
+ #
4796
+ # resp.provisioned_product_id #=> String
4797
+ # resp.provisioned_product_properties #=> Hash
4798
+ # resp.provisioned_product_properties["PropertyKey"] #=> String
4799
+ # resp.record_id #=> String
4800
+ # resp.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
4801
+ #
4802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductProperties AWS API Documentation
4803
+ #
4804
+ # @overload update_provisioned_product_properties(params = {})
4805
+ # @param [Hash] params ({})
4806
+ def update_provisioned_product_properties(params = {}, options = {})
4807
+ req = build_request(:update_provisioned_product_properties, params)
4808
+ req.send_request(options)
4809
+ end
4810
+
4721
4811
  # Updates the specified provisioning artifact (also known as a version)
4722
4812
  # for the specified product.
4723
4813
  #
@@ -4895,7 +4985,7 @@ module Aws::ServiceCatalog
4895
4985
  params: params,
4896
4986
  config: config)
4897
4987
  context[:gem_name] = 'aws-sdk-servicecatalog'
4898
- context[:gem_version] = '1.25.0'
4988
+ context[:gem_version] = '1.26.0'
4899
4989
  Seahorse::Client::Request.new(handlers, context)
4900
4990
  end
4901
4991
 
@@ -251,7 +251,9 @@ module Aws::ServiceCatalog
251
251
  ProductViewSortBy = Shapes::StringShape.new(name: 'ProductViewSortBy')
252
252
  ProductViewSummaries = Shapes::ListShape.new(name: 'ProductViewSummaries')
253
253
  ProductViewSummary = Shapes::StructureShape.new(name: 'ProductViewSummary')
254
+ PropertyKey = Shapes::StringShape.new(name: 'PropertyKey')
254
255
  PropertyName = Shapes::StringShape.new(name: 'PropertyName')
256
+ PropertyValue = Shapes::StringShape.new(name: 'PropertyValue')
255
257
  ProviderName = Shapes::StringShape.new(name: 'ProviderName')
256
258
  ProvisionProductInput = Shapes::StructureShape.new(name: 'ProvisionProductInput')
257
259
  ProvisionProductOutput = Shapes::StructureShape.new(name: 'ProvisionProductOutput')
@@ -269,6 +271,7 @@ module Aws::ServiceCatalog
269
271
  ProvisionedProductPlanSummary = Shapes::StructureShape.new(name: 'ProvisionedProductPlanSummary')
270
272
  ProvisionedProductPlanType = Shapes::StringShape.new(name: 'ProvisionedProductPlanType')
271
273
  ProvisionedProductPlans = Shapes::ListShape.new(name: 'ProvisionedProductPlans')
274
+ ProvisionedProductProperties = Shapes::MapShape.new(name: 'ProvisionedProductProperties')
272
275
  ProvisionedProductStatus = Shapes::StringShape.new(name: 'ProvisionedProductStatus')
273
276
  ProvisionedProductStatusMessage = Shapes::StringShape.new(name: 'ProvisionedProductStatusMessage')
274
277
  ProvisionedProductType = Shapes::StringShape.new(name: 'ProvisionedProductType')
@@ -408,6 +411,8 @@ module Aws::ServiceCatalog
408
411
  UpdateProductOutput = Shapes::StructureShape.new(name: 'UpdateProductOutput')
409
412
  UpdateProvisionedProductInput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductInput')
410
413
  UpdateProvisionedProductOutput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductOutput')
414
+ UpdateProvisionedProductPropertiesInput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductPropertiesInput')
415
+ UpdateProvisionedProductPropertiesOutput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductPropertiesOutput')
411
416
  UpdateProvisioningArtifactInput = Shapes::StructureShape.new(name: 'UpdateProvisioningArtifactInput')
412
417
  UpdateProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'UpdateProvisioningArtifactOutput')
413
418
  UpdateProvisioningParameter = Shapes::StructureShape.new(name: 'UpdateProvisioningParameter')
@@ -1221,6 +1226,9 @@ module Aws::ServiceCatalog
1221
1226
 
1222
1227
  ProvisionedProductPlans.member = Shapes::ShapeRef.new(shape: ProvisionedProductPlanSummary)
1223
1228
 
1229
+ ProvisionedProductProperties.key = Shapes::ShapeRef.new(shape: PropertyKey)
1230
+ ProvisionedProductProperties.value = Shapes::ShapeRef.new(shape: PropertyValue)
1231
+
1224
1232
  ProvisionedProductViewFilterValues.member = Shapes::ShapeRef.new(shape: ProvisionedProductViewFilterValue)
1225
1233
 
1226
1234
  ProvisioningArtifact.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
@@ -1556,6 +1564,18 @@ module Aws::ServiceCatalog
1556
1564
  UpdateProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
1557
1565
  UpdateProvisionedProductOutput.struct_class = Types::UpdateProvisionedProductOutput
1558
1566
 
1567
+ UpdateProvisionedProductPropertiesInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1568
+ UpdateProvisionedProductPropertiesInput.add_member(:provisioned_product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProvisionedProductId"))
1569
+ UpdateProvisionedProductPropertiesInput.add_member(:provisioned_product_properties, Shapes::ShapeRef.new(shape: ProvisionedProductProperties, required: true, location_name: "ProvisionedProductProperties"))
1570
+ UpdateProvisionedProductPropertiesInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
1571
+ UpdateProvisionedProductPropertiesInput.struct_class = Types::UpdateProvisionedProductPropertiesInput
1572
+
1573
+ UpdateProvisionedProductPropertiesOutput.add_member(:provisioned_product_id, Shapes::ShapeRef.new(shape: Id, location_name: "ProvisionedProductId"))
1574
+ UpdateProvisionedProductPropertiesOutput.add_member(:provisioned_product_properties, Shapes::ShapeRef.new(shape: ProvisionedProductProperties, location_name: "ProvisionedProductProperties"))
1575
+ UpdateProvisionedProductPropertiesOutput.add_member(:record_id, Shapes::ShapeRef.new(shape: Id, location_name: "RecordId"))
1576
+ UpdateProvisionedProductPropertiesOutput.add_member(:status, Shapes::ShapeRef.new(shape: RecordStatus, location_name: "Status"))
1577
+ UpdateProvisionedProductPropertiesOutput.struct_class = Types::UpdateProvisionedProductPropertiesOutput
1578
+
1559
1579
  UpdateProvisioningArtifactInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1560
1580
  UpdateProvisioningArtifactInput.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProductId"))
1561
1581
  UpdateProvisioningArtifactInput.add_member(:provisioning_artifact_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProvisioningArtifactId"))
@@ -2510,6 +2530,17 @@ module Aws::ServiceCatalog
2510
2530
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2511
2531
  end)
2512
2532
 
2533
+ api.add_operation(:update_provisioned_product_properties, Seahorse::Model::Operation.new.tap do |o|
2534
+ o.name = "UpdateProvisionedProductProperties"
2535
+ o.http_method = "POST"
2536
+ o.http_request_uri = "/"
2537
+ o.input = Shapes::ShapeRef.new(shape: UpdateProvisionedProductPropertiesInput)
2538
+ o.output = Shapes::ShapeRef.new(shape: UpdateProvisionedProductPropertiesOutput)
2539
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2540
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2541
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2542
+ end)
2543
+
2513
2544
  api.add_operation(:update_provisioning_artifact, Seahorse::Model::Operation.new.tap do |o|
2514
2545
  o.name = "UpdateProvisioningArtifact"
2515
2546
  o.http_method = "POST"
@@ -6249,7 +6249,7 @@ module Aws::ServiceCatalog
6249
6249
  # @return [String]
6250
6250
  #
6251
6251
  # @!attribute [rw] provisioned_product_name
6252
- # The updated name of the provisioned product. You cannot specify both
6252
+ # The name of the provisioned product. You cannot specify both
6253
6253
  # `ProvisionedProductName` and `ProvisionedProductId`.
6254
6254
  # @return [String]
6255
6255
  #
@@ -6321,6 +6321,102 @@ module Aws::ServiceCatalog
6321
6321
  include Aws::Structure
6322
6322
  end
6323
6323
 
6324
+ # @note When making an API call, you may pass UpdateProvisionedProductPropertiesInput
6325
+ # data as a hash:
6326
+ #
6327
+ # {
6328
+ # accept_language: "AcceptLanguage",
6329
+ # provisioned_product_id: "Id", # required
6330
+ # provisioned_product_properties: { # required
6331
+ # "OWNER" => "PropertyValue",
6332
+ # },
6333
+ # idempotency_token: "IdempotencyToken", # required
6334
+ # }
6335
+ #
6336
+ # @!attribute [rw] accept_language
6337
+ # The language code.
6338
+ #
6339
+ # * `en` - English (default)
6340
+ #
6341
+ # * `jp` - Japanese
6342
+ #
6343
+ # * `zh` - Chinese
6344
+ # @return [String]
6345
+ #
6346
+ # @!attribute [rw] provisioned_product_id
6347
+ # The identifier of the provisioned product.
6348
+ # @return [String]
6349
+ #
6350
+ # @!attribute [rw] provisioned_product_properties
6351
+ # A map that contains the provisioned product properties to be
6352
+ # updated.
6353
+ #
6354
+ # The `OWNER` key only accepts user ARNs. The owner is the user that
6355
+ # is allowed to see, update, terminate, and execute service actions in
6356
+ # the provisioned product.
6357
+ #
6358
+ # The administrator can change the owner of a provisioned product to
6359
+ # another IAM user within the same account. Both end user owners and
6360
+ # administrators can see ownership history of the provisioned product
6361
+ # using the `ListRecordHistory` API. The new owner can describe all
6362
+ # past records for the provisioned product using the `DescribeRecord`
6363
+ # API. The previous owner can no longer use `DescribeRecord`, but can
6364
+ # still see the product's history from when he was an owner using
6365
+ # `ListRecordHistory`.
6366
+ #
6367
+ # If a provisioned product ownership is assigned to an end user, they
6368
+ # can see and perform any action through the API or Service Catalog
6369
+ # console such as update, terminate, and execute service actions. If
6370
+ # an end user provisions a product and the owner is updated to someone
6371
+ # else, they will no longer be able to see or perform any actions
6372
+ # through API or the Service Catalog console on that provisioned
6373
+ # product.
6374
+ # @return [Hash<String,String>]
6375
+ #
6376
+ # @!attribute [rw] idempotency_token
6377
+ # The idempotency token that uniquely identifies the provisioning
6378
+ # product update request.
6379
+ #
6380
+ # **A suitable default value is auto-generated.** You should normally
6381
+ # not need to pass this option.
6382
+ # @return [String]
6383
+ #
6384
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductPropertiesInput AWS API Documentation
6385
+ #
6386
+ class UpdateProvisionedProductPropertiesInput < Struct.new(
6387
+ :accept_language,
6388
+ :provisioned_product_id,
6389
+ :provisioned_product_properties,
6390
+ :idempotency_token)
6391
+ include Aws::Structure
6392
+ end
6393
+
6394
+ # @!attribute [rw] provisioned_product_id
6395
+ # The provisioned product identifier.
6396
+ # @return [String]
6397
+ #
6398
+ # @!attribute [rw] provisioned_product_properties
6399
+ # A map that contains the properties updated.
6400
+ # @return [Hash<String,String>]
6401
+ #
6402
+ # @!attribute [rw] record_id
6403
+ # The identifier of the record.
6404
+ # @return [String]
6405
+ #
6406
+ # @!attribute [rw] status
6407
+ # The status of the request.
6408
+ # @return [String]
6409
+ #
6410
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductPropertiesOutput AWS API Documentation
6411
+ #
6412
+ class UpdateProvisionedProductPropertiesOutput < Struct.new(
6413
+ :provisioned_product_id,
6414
+ :provisioned_product_properties,
6415
+ :record_id,
6416
+ :status)
6417
+ include Aws::Structure
6418
+ end
6419
+
6324
6420
  # @note When making an API call, you may pass UpdateProvisioningArtifactInput
6325
6421
  # data as a hash:
6326
6422
  #
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.25.0
4
+ version: 1.26.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: 2019-05-21 00:00:00.000000000 Z
11
+ date: 2019-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core