aws-sdk-servicecatalog 1.75.0 → 1.76.0
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-servicecatalog/client.rb +53 -25
- data/lib/aws-sdk-servicecatalog/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-servicecatalog.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df8176d6e6f95c83301d4a21afe3c67abeab5d2a79f3327ccfb2c140ba0e68bb
|
|
4
|
+
data.tar.gz: 55bea34063a7fb53b97faebdd4e7a4a0774d785293bf5363d21fa8c8f2eea117
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cc7dcbfd054faeb8b934242473b5c58bf81996f40dea45f1455afc4b56edd84b47fd729dd555446cce1e374685e37ab17476d5d1cd7afcf787386306c0febe3
|
|
7
|
+
data.tar.gz: b7180396750b10b9413efe1c163494c55a022fedb196c8e9c3ff7540700473c89aa5983277f089d30f6960a8f3f1e7140ffbfdfd55cd0fd9b442371c10cd4688
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
|
3453
|
-
#
|
|
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
|
|
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
|
|
3731
|
-
# access to a specified product
|
|
3732
|
-
# product. A path also determines the constraints
|
|
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
|
|
4620
|
-
# launches
|
|
4621
|
-
# check the status of this request using
|
|
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
|
-
#
|
|
4624
|
-
#
|
|
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.
|
|
6126
|
+
context[:gem_version] = '1.76.0'
|
|
6099
6127
|
Seahorse::Client::Request.new(handlers, context)
|
|
6100
6128
|
end
|
|
6101
6129
|
|
|
@@ -14,36 +14,39 @@ module Aws::ServiceCatalog
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
-
end
|
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
-
end
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
26
|
-
end
|
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
28
|
-
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"))
|
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
-
end
|
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
32
|
-
end
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
|
-
|
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
|
-
end
|
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
38
20
|
end
|
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
40
|
-
|
|
41
|
-
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
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"
|
|
42
45
|
end
|
|
43
|
-
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
47
|
end
|
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://servicecatalog.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
48
|
end
|
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
48
51
|
|
|
49
52
|
end
|
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.
|
|
4
|
+
version: 1.76.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: 2023-
|
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|