aws-sdk-servicecatalog 1.74.0 → 1.76.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: 1f63e728d7e85836b83c7e519b66dd4ee25211d1c22398f08d19fde4160d5bb7
4
- data.tar.gz: f4949541f07d4befe8e0d9ec64fe26a4ed580347f0e6fd3a254ecf60894d05a5
3
+ metadata.gz: df8176d6e6f95c83301d4a21afe3c67abeab5d2a79f3327ccfb2c140ba0e68bb
4
+ data.tar.gz: 55bea34063a7fb53b97faebdd4e7a4a0774d785293bf5363d21fa8c8f2eea117
5
5
  SHA512:
6
- metadata.gz: 4d17983c29dca98d171737d218b87cae1cf210d2bc0c103df0a26b4159d748f3c3181b6b1e958f9fac1481f049c76c881c62ff4441d57e0c5f60a4085bbb6558
7
- data.tar.gz: 8c5b847eab24ff654fb7dcf15b1bb7a270a4972454c385370914f3b729f01df9946103e4687fb8dfb0de6ba92cf8de5dbfd77d4fe17d03e9565dc185b5db9b6d
6
+ metadata.gz: 5cc7dcbfd054faeb8b934242473b5c58bf81996f40dea45f1455afc4b56edd84b47fd729dd555446cce1e374685e37ab17476d5d1cd7afcf787386306c0febe3
7
+ data.tar.gz: b7180396750b10b9413efe1c163494c55a022fedb196c8e9c3ff7540700473c89aa5983277f089d30f6960a8f3f1e7140ffbfdfd55cd0fd9b442371c10cd4688
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2023-02-24)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Service Catalog
8
+
9
+ 1.75.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.74.0 (2022-11-18)
5
17
  ------------------
6
18
 
@@ -445,4 +457,4 @@ Unreleased Changes
445
457
  1.0.0.rc1 (2016-12-05)
446
458
  ------------------
447
459
 
448
- * Feature - Initial preview release of the `aws-sdk-servicecatalog` gem.
460
+ * Feature - Initial preview release of the `aws-sdk-servicecatalog` gem.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -2209,6 +2209,11 @@ module Aws::ServiceCatalog
2209
2209
 
2210
2210
  # Gets information about the specified product.
2211
2211
  #
2212
+ # <note markdown="1"> Running this operation with administrator access results in a failure.
2213
+ # DescribeProductAsAdmin should be used instead.
2214
+ #
2215
+ # </note>
2216
+ #
2212
2217
  # @option params [String] :accept_language
2213
2218
  # The language code.
2214
2219
  #
@@ -3449,20 +3454,28 @@ module Aws::ServiceCatalog
3449
3454
 
3450
3455
  # Requests the import of a resource as an Service Catalog provisioned
3451
3456
  # product that is associated to an Service Catalog product and
3452
- # provisioning artifact. Once imported, all supported Service Catalog
3453
- # governance actions are supported on the provisioned product.
3457
+ # provisioning artifact. Once imported, all supported governance actions
3458
+ # are supported on the provisioned product.
3454
3459
  #
3455
3460
  # Resource import only supports CloudFormation stack ARNs.
3456
- # CloudFormation StackSets and non-root nested stacks are not supported.
3461
+ # CloudFormation StackSets, and non-root nested stacks are not
3462
+ # supported.
3457
3463
  #
3458
3464
  # The CloudFormation stack must have one of the following statuses to be
3459
3465
  # imported: `CREATE_COMPLETE`, `UPDATE_COMPLETE`,
3460
- # `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`,
3466
+ # `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`, and
3461
3467
  # `IMPORT_ROLLBACK_COMPLETE`.
3462
3468
  #
3463
3469
  # Import of the resource requires that the CloudFormation stack template
3464
3470
  # matches the associated Service Catalog product provisioning artifact.
3465
3471
  #
3472
+ # <note markdown="1"> When you import an existing CloudFormation stack into a portfolio,
3473
+ # constraints that are associated with the product aren't applied
3474
+ # during the import process. The constraints are applied after you call
3475
+ # `UpdateProvisionedProduct` for the provisioned product.
3476
+ #
3477
+ # </note>
3478
+ #
3466
3479
  # The user or role that performs this operation must have the
3467
3480
  # `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
3468
3481
  # policy permissions.
@@ -3727,9 +3740,22 @@ module Aws::ServiceCatalog
3727
3740
  req.send_request(options)
3728
3741
  end
3729
3742
 
3730
- # Lists the paths to the specified product. A path is how the user has
3731
- # access to a specified product, and is necessary when provisioning a
3732
- # product. A path also determines the constraints put on the product.
3743
+ # Lists the paths to the specified product. A path describes how the
3744
+ # user gets access to a specified product and is necessary when
3745
+ # provisioning a product. A path also determines the constraints that
3746
+ # are put on a product. A path is dependent on a specific product,
3747
+ # porfolio, and principal.
3748
+ #
3749
+ # <note markdown="1"> When provisioning a product that's been added to a portfolio, you
3750
+ # must grant your user, group, or role access to the portfolio. For more
3751
+ # information, see [Granting users access][1] in the *Service Catalog
3752
+ # User Guide*.
3753
+ #
3754
+ # </note>
3755
+ #
3756
+ #
3757
+ #
3758
+ # [1]: https://docs.aws.amazon.com/servicecatalog/latest/adminguide/catalogs_portfolios_users.html
3733
3759
  #
3734
3760
  # @option params [String] :accept_language
3735
3761
  # The language code.
@@ -4616,14 +4642,26 @@ module Aws::ServiceCatalog
4616
4642
  # Provisions the specified product.
4617
4643
  #
4618
4644
  # A provisioned product is a resourced instance of a product. For
4619
- # example, provisioning a product based on a CloudFormation template
4620
- # launches a CloudFormation stack and its underlying resources. You can
4621
- # check the status of this request using DescribeRecord.
4645
+ # example, provisioning a product that's based on an CloudFormation
4646
+ # template launches an CloudFormation stack and its underlying
4647
+ # resources. You can check the status of this request using
4648
+ # DescribeRecord.
4649
+ #
4650
+ # If the request contains a tag key with an empty list of values,
4651
+ # there's a tag conflict for that key. Don't include conflicted keys
4652
+ # as tags, or this will cause the error "Parameter validation failed:
4653
+ # Missing required parameter in Tags\[*N*\]:*Value*".
4654
+ #
4655
+ # <note markdown="1"> When provisioning a product that's been added to a portfolio, you
4656
+ # must grant your user, group, or role access to the portfolio. For more
4657
+ # information, see [Granting users access][1] in the *Service Catalog
4658
+ # User Guide*.
4659
+ #
4660
+ # </note>
4661
+ #
4622
4662
  #
4623
- # If the request contains a tag key with an empty list of values, there
4624
- # is a tag conflict for that key. Do not include conflicted keys as
4625
- # tags, or this causes the error "Parameter validation failed: Missing
4626
- # required parameter in Tags\[*N*\]:*Value*".
4663
+ #
4664
+ # [1]: https://docs.aws.amazon.com/servicecatalog/latest/adminguide/catalogs_portfolios_users.html
4627
4665
  #
4628
4666
  # @option params [String] :accept_language
4629
4667
  # The language code.
@@ -5046,16 +5084,6 @@ module Aws::ServiceCatalog
5046
5084
  # Gets information about the provisioned products that meet the
5047
5085
  # specified criteria.
5048
5086
  #
5049
- # <note markdown="1"> To ensure a complete list of provisioned products and remove duplicate
5050
- # products, use `sort-by createdTime`.
5051
- #
5052
- # Here is a CLI example: ` `
5053
- #
5054
- # `aws servicecatalog search-provisioned-products --sort-by createdTime
5055
- # `
5056
- #
5057
- # </note>
5058
- #
5059
5087
  # @option params [String] :accept_language
5060
5088
  # The language code.
5061
5089
  #
@@ -6095,7 +6123,7 @@ module Aws::ServiceCatalog
6095
6123
  params: params,
6096
6124
  config: config)
6097
6125
  context[:gem_name] = 'aws-sdk-servicecatalog'
6098
- context[:gem_version] = '1.74.0'
6126
+ context[:gem_version] = '1.76.0'
6099
6127
  Seahorse::Client::Request.new(handlers, context)
6100
6128
  end
6101
6129
 
@@ -9,104 +9,46 @@
9
9
 
10
10
  module Aws::ServiceCatalog
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW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QUyBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBz
93
- dXBwb3J0IEZJUFMiLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
94
- W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRHVh
95
- bFN0YWNrIn0sdHJ1ZV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29u
96
- ZGl0aW9ucyI6W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3RydWUs
97
- eyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQYXJ0aXRpb25SZXN1
98
- bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5cGUiOiJ0cmVlIiwi
99
- cnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOiJo
100
- dHRwczovL3NlcnZpY2VjYXRhbG9nLntSZWdpb259LntQYXJ0aXRpb25SZXN1
101
- bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFk
102
- ZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpb
103
- XSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0
104
- aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJy
105
- b3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0
106
- dHBzOi8vc2VydmljZWNhdGFsb2cue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3Vs
107
- dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
108
- dHlwZSI6ImVuZHBvaW50In1dfV19
109
-
110
- JSON
111
53
  end
112
54
  end