aws-sdk-servicecatalog 1.54.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: 4b494341b2a32e5bbbb2ed4c472ea9976d02c47c9606ce62390c52896e664c1c
4
- data.tar.gz: 30747df77e8bb0e5885964aa8198f1e05bebc6228dfe28693f83b6e5d19aa21c
3
+ metadata.gz: e834742f078e1fef1bed9ab2e88df02f9b87f742e64d5abb59aca256fd30537e
4
+ data.tar.gz: 21635bdb5bb2b6d058658b3fd1bc906ce1700fb2abaa6898bbe8c254a74e39ab
5
5
  SHA512:
6
- metadata.gz: b0d7e9c7e3d87e599de5e7b8747a5ebc5525d8a2c8b9410bd14f6bd69f8f3bc1e26336f6cfaddafde584162b4515ceb5a4ac907987519e58afaf33a87e247b8c
7
- data.tar.gz: 856531f2886b0a483aa0981d649df38ea5667ecfc348bbfd8b248dfaff1bdf0dd4ab97c984d7f3181f6669f79009a3b85b223add64ba0808deceb7869134c0d7
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.54.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
@@ -3149,6 +3151,99 @@ module Aws::ServiceCatalog
3149
3151
  req.send_request(options)
3150
3152
  end
3151
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
+
3152
3247
  # Lists all portfolios for which sharing was accepted by this account.
3153
3248
  #
3154
3249
  # @option params [String] :accept_language
@@ -4769,6 +4864,13 @@ module Aws::ServiceCatalog
4769
4864
  #
4770
4865
  # * `zh` - Chinese
4771
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
+ #
4772
4874
  # @return [Types::TerminateProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4773
4875
  #
4774
4876
  # * {Types::TerminateProvisionedProductOutput#record_detail #record_detail} => Types::RecordDetail
@@ -4781,6 +4883,7 @@ module Aws::ServiceCatalog
4781
4883
  # terminate_token: "IdempotencyToken", # required
4782
4884
  # ignore_errors: false,
4783
4885
  # accept_language: "AcceptLanguage",
4886
+ # retain_physical_resources: false,
4784
4887
  # })
4785
4888
  #
4786
4889
  # @example Response structure
@@ -5273,12 +5376,8 @@ module Aws::ServiceCatalog
5273
5376
  # the launch role that is associated with a provisioned product. This
5274
5377
  # role is used when an end user calls a provisioning operation such as
5275
5378
  # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
5276
- # `ExecuteProvisionedProductServiceAction`. Only a role ARN or an empty
5277
- # string `""` is valid. A user ARN is invalid. if an admin user passes
5278
- # an empty string `""` as the value for the key `LAUNCH_ROLE`, the admin
5279
- # removes the launch role that is associated with the provisioned
5280
- # product. As a result, the end user operations use the credentials of
5281
- # the end user.
5379
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid. A
5380
+ # user ARN is invalid.
5282
5381
  #
5283
5382
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the user
5284
5383
  # that has permission to see, update, terminate, and execute service
@@ -5537,7 +5636,7 @@ module Aws::ServiceCatalog
5537
5636
  params: params,
5538
5637
  config: config)
5539
5638
  context[:gem_name] = 'aws-sdk-servicecatalog'
5540
- context[:gem_version] = '1.54.0'
5639
+ context[:gem_version] = '1.55.0'
5541
5640
  Seahorse::Client::Request.new(handlers, context)
5542
5641
  end
5543
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')
@@ -362,6 +364,7 @@ module Aws::ServiceCatalog
362
364
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
363
365
  ResourceTargetDefinition = Shapes::StructureShape.new(name: 'ResourceTargetDefinition')
364
366
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
367
+ RetainPhysicalResources = Shapes::BooleanShape.new(name: 'RetainPhysicalResources')
365
368
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
366
369
  ScanProvisionedProductsInput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsInput')
367
370
  ScanProvisionedProductsOutput = Shapes::StructureShape.new(name: 'ScanProvisionedProductsOutput')
@@ -971,6 +974,17 @@ module Aws::ServiceCatalog
971
974
  GetProvisionedProductOutputsOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
972
975
  GetProvisionedProductOutputsOutput.struct_class = Types::GetProvisionedProductOutputsOutput
973
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
+
974
988
  InvalidParametersException.struct_class = Types::InvalidParametersException
975
989
 
976
990
  InvalidStateException.struct_class = Types::InvalidStateException
@@ -1639,6 +1653,7 @@ module Aws::ServiceCatalog
1639
1653
  TerminateProvisionedProductInput.add_member(:terminate_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "TerminateToken", metadata: {"idempotencyToken"=>true}))
1640
1654
  TerminateProvisionedProductInput.add_member(:ignore_errors, Shapes::ShapeRef.new(shape: IgnoreErrors, location_name: "IgnoreErrors"))
1641
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"))
1642
1657
  TerminateProvisionedProductInput.struct_class = Types::TerminateProvisionedProductInput
1643
1658
 
1644
1659
  TerminateProvisionedProductOutput.add_member(:record_detail, Shapes::ShapeRef.new(shape: RecordDetail, location_name: "RecordDetail"))
@@ -2328,6 +2343,18 @@ module Aws::ServiceCatalog
2328
2343
  )
2329
2344
  end)
2330
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
+
2331
2358
  api.add_operation(:list_accepted_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
2332
2359
  o.name = "ListAcceptedPortfolioShares"
2333
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
@@ -3131,6 +3133,81 @@ module Aws::ServiceCatalog
3131
3133
  include Aws::Structure
3132
3134
  end
3133
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
+
3134
3211
  # One or more parameters provided to the operation are not valid.
3135
3212
  #
3136
3213
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/InvalidParametersException AWS API Documentation
@@ -6631,6 +6708,7 @@ module Aws::ServiceCatalog
6631
6708
  # terminate_token: "IdempotencyToken", # required
6632
6709
  # ignore_errors: false,
6633
6710
  # accept_language: "AcceptLanguage",
6711
+ # retain_physical_resources: false,
6634
6712
  # }
6635
6713
  #
6636
6714
  # @!attribute [rw] provisioned_product_name
@@ -6670,6 +6748,14 @@ module Aws::ServiceCatalog
6670
6748
  # * `zh` - Chinese
6671
6749
  # @return [String]
6672
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
+ #
6673
6759
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProductInput AWS API Documentation
6674
6760
  #
6675
6761
  class TerminateProvisionedProductInput < Struct.new(
@@ -6677,7 +6763,8 @@ module Aws::ServiceCatalog
6677
6763
  :provisioned_product_id,
6678
6764
  :terminate_token,
6679
6765
  :ignore_errors,
6680
- :accept_language)
6766
+ :accept_language,
6767
+ :retain_physical_resources)
6681
6768
  SENSITIVE = []
6682
6769
  include Aws::Structure
6683
6770
  end
@@ -7198,12 +7285,8 @@ module Aws::ServiceCatalog
7198
7285
  # the launch role that is associated with a provisioned product. This
7199
7286
  # role is used when an end user calls a provisioning operation such as
7200
7287
  # `UpdateProvisionedProduct`, `TerminateProvisionedProduct`, or
7201
- # `ExecuteProvisionedProductServiceAction`. Only a role ARN or an
7202
- # empty string `""` is valid. A user ARN is invalid. if an admin user
7203
- # passes an empty string `""` as the value for the key `LAUNCH_ROLE`,
7204
- # the admin removes the launch role that is associated with the
7205
- # provisioned product. As a result, the end user operations use the
7206
- # credentials of the end user.
7288
+ # `ExecuteProvisionedProductServiceAction`. Only a role ARN is valid.
7289
+ # A user ARN is invalid.
7207
7290
  #
7208
7291
  # The `OWNER` key accepts user ARNs and role ARNs. The owner is the
7209
7292
  # user that has permission to see, update, terminate, and execute
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-servicecatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.54.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-11-11 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