aws-sdk-servicecatalog 1.34.0 → 1.39.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
- SHA1:
3
- metadata.gz: bcb79d3daae9179bfd381cdd669d0e488e1fc23b
4
- data.tar.gz: fd11fe499083a468a3e5ded619a52ffc439e1227
2
+ SHA256:
3
+ metadata.gz: b67147f46ab0f14a4d89422bf6ba666eda2531299b8504be04021b1d90047e3f
4
+ data.tar.gz: fb8b82d9cf4aa6128e3cff59fea9772104222fdf91e0addf93b48f037d87c908
5
5
  SHA512:
6
- metadata.gz: 6e40f03bcf729c77ab35dc75c9c27eac45b483b66b7673cf382035877308d3d9659c00dc8bbe14d3b0d907faf51dd082c6299303ca88c0ee2b0787354f8b16f3
7
- data.tar.gz: 80c77954655969aac7e60c291358456388b6ff9a6c652523427debfb6d613ac7616126888c9b5baa51be4f67de25f0fc77b74a7aae0f1a20af445b3cdcfcbb9b
6
+ metadata.gz: 5da7d92f0a8f51614c4921e798c4c662fd08df61716095f86c2689b0b72851ea04d01b68eb66409fd5a3f1549bd6faf2ae2376f222dc4168fb61794597d16a35
7
+ data.tar.gz: e3ce5919e01d0140494903566ba23aba4d2aaa2206c443fff1b4511ed9c9784fa07ef2ea1def56cf3a0cdd56d228ec8781b9565fd0bdef3f180dfcf4e0a933d3
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-servicecatalog/customizations'
24
24
  # methods each accept a hash of request parameters and return a response
25
25
  # structure.
26
26
  #
27
+ # service_catalog = Aws::ServiceCatalog::Client.new
28
+ # resp = service_catalog.accept_portfolio_share(params)
29
+ #
27
30
  # See {Client} for more information.
28
31
  #
29
32
  # # Errors
30
33
  #
31
- # Errors returned from AWS Service Catalog all
32
- # extend {Errors::ServiceError}.
34
+ # Errors returned from AWS Service Catalog are defined in the
35
+ # {Errors} module and all extend {Errors::ServiceError}.
33
36
  #
34
37
  # begin
35
38
  # # do stuff
36
39
  # rescue Aws::ServiceCatalog::Errors::ServiceError
37
- # # rescues all service API errors
40
+ # # rescues all AWS Service Catalog API errors
38
41
  # end
39
42
  #
40
43
  # See {Errors} for more information.
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
45
  # @service
43
46
  module Aws::ServiceCatalog
44
47
 
45
- GEM_VERSION = '1.34.0'
48
+ GEM_VERSION = '1.39.0'
46
49
 
47
50
  end
@@ -30,6 +30,18 @@ require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
30
30
  Aws::Plugins::GlobalConfiguration.add_identifier(:servicecatalog)
31
31
 
32
32
  module Aws::ServiceCatalog
33
+ # An API client for ServiceCatalog. To construct a client, you need to configure a `:region` and `:credentials`.
34
+ #
35
+ # client = Aws::ServiceCatalog::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
+ #
41
+ # For details on configuring region and credentials see
42
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
43
+ #
44
+ # See {#initialize} for a full list of supported configuration options.
33
45
  class Client < Seahorse::Client::Base
34
46
 
35
47
  include Aws::ClientStubs
@@ -93,7 +105,7 @@ module Aws::ServiceCatalog
93
105
  # @option options [required, String] :region
94
106
  # The AWS region to connect to. The configured `:region` is
95
107
  # used to determine the service `:endpoint`. When not passed,
96
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
97
109
  #
98
110
  # * `Aws.config[:region]`
99
111
  # * `ENV['AWS_REGION']`
@@ -108,6 +120,12 @@ module Aws::ServiceCatalog
108
120
  # When set to `true`, a thread polling for endpoints will be running in
109
121
  # the background every 60 secs (default). Defaults to `false`.
110
122
  #
123
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
124
+ # Used only in `adaptive` retry mode. When true, the request will sleep
125
+ # until there is sufficent client side capacity to retry the request.
126
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
127
+ # not retry instead of sleeping.
128
+ #
111
129
  # @option options [Boolean] :client_side_monitoring (false)
112
130
  # When `true`, client-side metrics will be collected for all API requests from
113
131
  # this client.
@@ -132,6 +150,10 @@ module Aws::ServiceCatalog
132
150
  # When `true`, an attempt is made to coerce request parameters into
133
151
  # the required types.
134
152
  #
153
+ # @option options [Boolean] :correct_clock_skew (true)
154
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
155
+ # a clock skew correction and retry requests with skewed client clocks.
156
+ #
135
157
  # @option options [Boolean] :disable_host_prefix_injection (false)
136
158
  # Set to true to disable SDK automatically adding host prefix
137
159
  # to default service endpoint when available.
@@ -139,7 +161,7 @@ module Aws::ServiceCatalog
139
161
  # @option options [String] :endpoint
140
162
  # The client endpoint is normally constructed from the `:region`
141
163
  # option. You should only configure an `:endpoint` when connecting
142
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
143
165
  #
144
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
145
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -154,7 +176,7 @@ module Aws::ServiceCatalog
154
176
  # requests fetching endpoints information. Defaults to 60 sec.
155
177
  #
156
178
  # @option options [Boolean] :endpoint_discovery (false)
157
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
158
180
  #
159
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
160
182
  # The log formatter.
@@ -166,15 +188,29 @@ module Aws::ServiceCatalog
166
188
  # The Logger instance to send log messages to. If this option
167
189
  # is not set, logging will be disabled.
168
190
  #
191
+ # @option options [Integer] :max_attempts (3)
192
+ # An integer representing the maximum number attempts that will be made for
193
+ # a single request, including the initial attempt. For example,
194
+ # setting this value to 5 will result in a request being retried up to
195
+ # 4 times. Used in `standard` and `adaptive` retry modes.
196
+ #
169
197
  # @option options [String] :profile ("default")
170
198
  # Used when loading credentials from the shared credentials file
171
199
  # at HOME/.aws/credentials. When not specified, 'default' is used.
172
200
  #
201
+ # @option options [Proc] :retry_backoff
202
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
203
+ # This option is only used in the `legacy` retry mode.
204
+ #
173
205
  # @option options [Float] :retry_base_delay (0.3)
174
- # The base delay in seconds used by the default backoff function.
206
+ # The base delay in seconds used by the default backoff function. This option
207
+ # is only used in the `legacy` retry mode.
175
208
  #
176
209
  # @option options [Symbol] :retry_jitter (:none)
177
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
210
+ # A delay randomiser function used by the default backoff function.
211
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
212
+ # otherwise a Proc that takes and returns a number. This option is only used
213
+ # in the `legacy` retry mode.
178
214
  #
179
215
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
180
216
  #
@@ -182,11 +218,30 @@ module Aws::ServiceCatalog
182
218
  # The maximum number of times to retry failed requests. Only
183
219
  # ~ 500 level server errors and certain ~ 400 level client errors
184
220
  # are retried. Generally, these are throttling errors, data
185
- # checksum errors, networking errors, timeout errors and auth
186
- # errors from expired credentials.
221
+ # checksum errors, networking errors, timeout errors, auth errors,
222
+ # endpoint discovery, and errors from expired credentials.
223
+ # This option is only used in the `legacy` retry mode.
187
224
  #
188
225
  # @option options [Integer] :retry_max_delay (0)
189
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # The maximum number of seconds to delay between retries (0 for no limit)
227
+ # used by the default backoff function. This option is only used in the
228
+ # `legacy` retry mode.
229
+ #
230
+ # @option options [String] :retry_mode ("legacy")
231
+ # Specifies which retry algorithm to use. Values are:
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
190
245
  #
191
246
  # @option options [String] :secret_access_key
192
247
  #
@@ -219,16 +274,15 @@ module Aws::ServiceCatalog
219
274
  # requests through. Formatted like 'http://proxy.com:123'.
220
275
  #
221
276
  # @option options [Float] :http_open_timeout (15) The number of
222
- # seconds to wait when opening a HTTP session before rasing a
277
+ # seconds to wait when opening a HTTP session before raising a
223
278
  # `Timeout::Error`.
224
279
  #
225
280
  # @option options [Integer] :http_read_timeout (60) The default
226
281
  # number of seconds to wait for response data. This value can
227
- # safely be set
228
- # per-request on the session yeidled by {#session_for}.
282
+ # safely be set per-request on the session.
229
283
  #
230
284
  # @option options [Float] :http_idle_timeout (5) The number of
231
- # seconds a connection is allowed to sit idble before it is
285
+ # seconds a connection is allowed to sit idle before it is
232
286
  # considered stale. Stale connections are closed and removed
233
287
  # from the pool before making a request.
234
288
  #
@@ -237,7 +291,7 @@ module Aws::ServiceCatalog
237
291
  # request body. This option has no effect unless the request has
238
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
239
293
  # disables this behaviour. This value can safely be set per
240
- # request on the session yeidled by {#session_for}.
294
+ # request on the session.
241
295
  #
242
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
243
297
  # HTTP debug output will be sent to the `:logger`.
@@ -689,10 +743,29 @@ module Aws::ServiceCatalog
689
743
  #
690
744
  # LAUNCH
691
745
  #
692
- # : Specify the `RoleArn` property as follows:
746
+ # : You are required to specify either the `RoleArn` or the
747
+ # `LocalRoleName` but can't use both.
748
+ #
749
+ # Specify the `RoleArn` property as follows:
693
750
  #
694
751
  # `\{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"\}`
695
752
  #
753
+ # Specify the `LocalRoleName` property as follows:
754
+ #
755
+ # `\{"LocalRoleName": "SCBasicLaunchRole"\}`
756
+ #
757
+ # If you specify the `LocalRoleName` property, when an account uses
758
+ # the launch constraint, the IAM role with that name in the account
759
+ # will be used. This allows launch-role constraints to be
760
+ # account-agnostic so the administrator can create fewer resources per
761
+ # shared account.
762
+ #
763
+ # <note markdown="1"> The given role name must exist in the account used to create the
764
+ # launch constraint and the account of the user who launches a product
765
+ # with this launch constraint.
766
+ #
767
+ # </note>
768
+ #
696
769
  # You cannot have both a `LAUNCH` and a `STACKSET` constraint.
697
770
  #
698
771
  # You also cannot have more than one `LAUNCH` constraint on a product
@@ -787,6 +860,8 @@ module Aws::ServiceCatalog
787
860
  # resp.constraint_detail.type #=> String
788
861
  # resp.constraint_detail.description #=> String
789
862
  # resp.constraint_detail.owner #=> String
863
+ # resp.constraint_detail.product_id #=> String
864
+ # resp.constraint_detail.portfolio_id #=> String
790
865
  # resp.constraint_parameters #=> String
791
866
  # resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
792
867
  #
@@ -1692,6 +1767,8 @@ module Aws::ServiceCatalog
1692
1767
  # resp.constraint_detail.type #=> String
1693
1768
  # resp.constraint_detail.description #=> String
1694
1769
  # resp.constraint_detail.owner #=> String
1770
+ # resp.constraint_detail.product_id #=> String
1771
+ # resp.constraint_detail.portfolio_id #=> String
1695
1772
  # resp.constraint_parameters #=> String
1696
1773
  # resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
1697
1774
  #
@@ -2915,6 +2992,8 @@ module Aws::ServiceCatalog
2915
2992
  # * {Types::ListAcceptedPortfolioSharesOutput#portfolio_details #portfolio_details} => Array&lt;Types::PortfolioDetail&gt;
2916
2993
  # * {Types::ListAcceptedPortfolioSharesOutput#next_page_token #next_page_token} => String
2917
2994
  #
2995
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2996
+ #
2918
2997
  # @example Request syntax with placeholder values
2919
2998
  #
2920
2999
  # resp = client.list_accepted_portfolio_shares({
@@ -2970,6 +3049,8 @@ module Aws::ServiceCatalog
2970
3049
  # * {Types::ListBudgetsForResourceOutput#budgets #budgets} => Array&lt;Types::BudgetDetail&gt;
2971
3050
  # * {Types::ListBudgetsForResourceOutput#next_page_token #next_page_token} => String
2972
3051
  #
3052
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3053
+ #
2973
3054
  # @example Request syntax with placeholder values
2974
3055
  #
2975
3056
  # resp = client.list_budgets_for_resource({
@@ -3023,6 +3104,8 @@ module Aws::ServiceCatalog
3023
3104
  # * {Types::ListConstraintsForPortfolioOutput#constraint_details #constraint_details} => Array&lt;Types::ConstraintDetail&gt;
3024
3105
  # * {Types::ListConstraintsForPortfolioOutput#next_page_token #next_page_token} => String
3025
3106
  #
3107
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3108
+ #
3026
3109
  # @example Request syntax with placeholder values
3027
3110
  #
3028
3111
  # resp = client.list_constraints_for_portfolio({
@@ -3040,6 +3123,8 @@ module Aws::ServiceCatalog
3040
3123
  # resp.constraint_details[0].type #=> String
3041
3124
  # resp.constraint_details[0].description #=> String
3042
3125
  # resp.constraint_details[0].owner #=> String
3126
+ # resp.constraint_details[0].product_id #=> String
3127
+ # resp.constraint_details[0].portfolio_id #=> String
3043
3128
  # resp.next_page_token #=> String
3044
3129
  #
3045
3130
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio AWS API Documentation
@@ -3079,6 +3164,8 @@ module Aws::ServiceCatalog
3079
3164
  # * {Types::ListLaunchPathsOutput#launch_path_summaries #launch_path_summaries} => Array&lt;Types::LaunchPathSummary&gt;
3080
3165
  # * {Types::ListLaunchPathsOutput#next_page_token #next_page_token} => String
3081
3166
  #
3167
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3168
+ #
3082
3169
  # @example Request syntax with placeholder values
3083
3170
  #
3084
3171
  # resp = client.list_launch_paths({
@@ -3149,6 +3236,8 @@ module Aws::ServiceCatalog
3149
3236
  # * {Types::ListOrganizationPortfolioAccessOutput#organization_nodes #organization_nodes} => Array&lt;Types::OrganizationNode&gt;
3150
3237
  # * {Types::ListOrganizationPortfolioAccessOutput#next_page_token #next_page_token} => String
3151
3238
  #
3239
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3240
+ #
3152
3241
  # @example Request syntax with placeholder values
3153
3242
  #
3154
3243
  # resp = client.list_organization_portfolio_access({
@@ -3206,6 +3295,8 @@ module Aws::ServiceCatalog
3206
3295
  # * {Types::ListPortfolioAccessOutput#account_ids #account_ids} => Array&lt;String&gt;
3207
3296
  # * {Types::ListPortfolioAccessOutput#next_page_token #next_page_token} => String
3208
3297
  #
3298
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3299
+ #
3209
3300
  # @example Request syntax with placeholder values
3210
3301
  #
3211
3302
  # resp = client.list_portfolio_access({
@@ -3254,6 +3345,8 @@ module Aws::ServiceCatalog
3254
3345
  # * {Types::ListPortfoliosOutput#portfolio_details #portfolio_details} => Array&lt;Types::PortfolioDetail&gt;
3255
3346
  # * {Types::ListPortfoliosOutput#next_page_token #next_page_token} => String
3256
3347
  #
3348
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3349
+ #
3257
3350
  # @example Request syntax with placeholder values
3258
3351
  #
3259
3352
  # resp = client.list_portfolios({
@@ -3308,6 +3401,8 @@ module Aws::ServiceCatalog
3308
3401
  # * {Types::ListPortfoliosForProductOutput#portfolio_details #portfolio_details} => Array&lt;Types::PortfolioDetail&gt;
3309
3402
  # * {Types::ListPortfoliosForProductOutput#next_page_token #next_page_token} => String
3310
3403
  #
3404
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3405
+ #
3311
3406
  # @example Request syntax with placeholder values
3312
3407
  #
3313
3408
  # resp = client.list_portfolios_for_product({
@@ -3363,6 +3458,8 @@ module Aws::ServiceCatalog
3363
3458
  # * {Types::ListPrincipalsForPortfolioOutput#principals #principals} => Array&lt;Types::Principal&gt;
3364
3459
  # * {Types::ListPrincipalsForPortfolioOutput#next_page_token #next_page_token} => String
3365
3460
  #
3461
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3462
+ #
3366
3463
  # @example Request syntax with placeholder values
3367
3464
  #
3368
3465
  # resp = client.list_principals_for_portfolio({
@@ -3526,6 +3623,8 @@ module Aws::ServiceCatalog
3526
3623
  # * {Types::ListProvisioningArtifactsForServiceActionOutput#provisioning_artifact_views #provisioning_artifact_views} => Array&lt;Types::ProvisioningArtifactView&gt;
3527
3624
  # * {Types::ListProvisioningArtifactsForServiceActionOutput#next_page_token #next_page_token} => String
3528
3625
  #
3626
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3627
+ #
3529
3628
  # @example Request syntax with placeholder values
3530
3629
  #
3531
3630
  # resp = client.list_provisioning_artifacts_for_service_action({
@@ -3665,6 +3764,8 @@ module Aws::ServiceCatalog
3665
3764
  # * {Types::ListResourcesForTagOptionOutput#resource_details #resource_details} => Array&lt;Types::ResourceDetail&gt;
3666
3765
  # * {Types::ListResourcesForTagOptionOutput#page_token #page_token} => String
3667
3766
  #
3767
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3768
+ #
3668
3769
  # @example Request syntax with placeholder values
3669
3770
  #
3670
3771
  # resp = client.list_resources_for_tag_option({
@@ -3716,6 +3817,8 @@ module Aws::ServiceCatalog
3716
3817
  # * {Types::ListServiceActionsOutput#service_action_summaries #service_action_summaries} => Array&lt;Types::ServiceActionSummary&gt;
3717
3818
  # * {Types::ListServiceActionsOutput#next_page_token #next_page_token} => String
3718
3819
  #
3820
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3821
+ #
3719
3822
  # @example Request syntax with placeholder values
3720
3823
  #
3721
3824
  # resp = client.list_service_actions({
@@ -3773,6 +3876,8 @@ module Aws::ServiceCatalog
3773
3876
  # * {Types::ListServiceActionsForProvisioningArtifactOutput#service_action_summaries #service_action_summaries} => Array&lt;Types::ServiceActionSummary&gt;
3774
3877
  # * {Types::ListServiceActionsForProvisioningArtifactOutput#next_page_token #next_page_token} => String
3775
3878
  #
3879
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3880
+ #
3776
3881
  # @example Request syntax with placeholder values
3777
3882
  #
3778
3883
  # resp = client.list_service_actions_for_provisioning_artifact({
@@ -3874,6 +3979,8 @@ module Aws::ServiceCatalog
3874
3979
  # * {Types::ListTagOptionsOutput#tag_option_details #tag_option_details} => Array&lt;Types::TagOptionDetail&gt;
3875
3980
  # * {Types::ListTagOptionsOutput#page_token #page_token} => String
3876
3981
  #
3982
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3983
+ #
3877
3984
  # @example Request syntax with placeholder values
3878
3985
  #
3879
3986
  # resp = client.list_tag_options({
@@ -4175,6 +4282,8 @@ module Aws::ServiceCatalog
4175
4282
  # * {Types::SearchProductsOutput#product_view_aggregations #product_view_aggregations} => Hash&lt;String,Array&lt;Types::ProductViewAggregationValue&gt;&gt;
4176
4283
  # * {Types::SearchProductsOutput#next_page_token #next_page_token} => String
4177
4284
  #
4285
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4286
+ #
4178
4287
  # @example Request syntax with placeholder values
4179
4288
  #
4180
4289
  # resp = client.search_products({
@@ -4257,6 +4366,8 @@ module Aws::ServiceCatalog
4257
4366
  # * {Types::SearchProductsAsAdminOutput#product_view_details #product_view_details} => Array&lt;Types::ProductViewDetail&gt;
4258
4367
  # * {Types::SearchProductsAsAdminOutput#next_page_token #next_page_token} => String
4259
4368
  #
4369
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4370
+ #
4260
4371
  # @example Request syntax with placeholder values
4261
4372
  #
4262
4373
  # resp = client.search_products_as_admin({
@@ -4345,6 +4456,8 @@ module Aws::ServiceCatalog
4345
4456
  # * {Types::SearchProvisionedProductsOutput#total_results_count #total_results_count} => Integer
4346
4457
  # * {Types::SearchProvisionedProductsOutput#next_page_token #next_page_token} => String
4347
4458
  #
4459
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4460
+ #
4348
4461
  # @example Request syntax with placeholder values
4349
4462
  #
4350
4463
  # resp = client.search_provisioned_products({
@@ -4497,10 +4610,29 @@ module Aws::ServiceCatalog
4497
4610
  #
4498
4611
  # LAUNCH
4499
4612
  #
4500
- # : Specify the `RoleArn` property as follows:
4613
+ # : You are required to specify either the `RoleArn` or the
4614
+ # `LocalRoleName` but can't use both.
4615
+ #
4616
+ # Specify the `RoleArn` property as follows:
4501
4617
  #
4502
4618
  # `\{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"\}`
4503
4619
  #
4620
+ # Specify the `LocalRoleName` property as follows:
4621
+ #
4622
+ # `\{"LocalRoleName": "SCBasicLaunchRole"\}`
4623
+ #
4624
+ # If you specify the `LocalRoleName` property, when an account uses
4625
+ # the launch constraint, the IAM role with that name in the account
4626
+ # will be used. This allows launch-role constraints to be
4627
+ # account-agnostic so the administrator can create fewer resources per
4628
+ # shared account.
4629
+ #
4630
+ # <note markdown="1"> The given role name must exist in the account used to create the
4631
+ # launch constraint and the account of the user who launches a product
4632
+ # with this launch constraint.
4633
+ #
4634
+ # </note>
4635
+ #
4504
4636
  # You cannot have both a `LAUNCH` and a `STACKSET` constraint.
4505
4637
  #
4506
4638
  # You also cannot have more than one `LAUNCH` constraint on a product
@@ -4568,6 +4700,8 @@ module Aws::ServiceCatalog
4568
4700
  # resp.constraint_detail.type #=> String
4569
4701
  # resp.constraint_detail.description #=> String
4570
4702
  # resp.constraint_detail.owner #=> String
4703
+ # resp.constraint_detail.product_id #=> String
4704
+ # resp.constraint_detail.portfolio_id #=> String
4571
4705
  # resp.constraint_parameters #=> String
4572
4706
  # resp.status #=> String, one of "AVAILABLE", "CREATING", "FAILED"
4573
4707
  #
@@ -5148,7 +5282,7 @@ module Aws::ServiceCatalog
5148
5282
  params: params,
5149
5283
  config: config)
5150
5284
  context[:gem_name] = 'aws-sdk-servicecatalog'
5151
- context[:gem_version] = '1.34.0'
5285
+ context[:gem_version] = '1.39.0'
5152
5286
  Seahorse::Client::Request.new(handlers, context)
5153
5287
  end
5154
5288
 
@@ -526,6 +526,8 @@ module Aws::ServiceCatalog
526
526
  ConstraintDetail.add_member(:type, Shapes::ShapeRef.new(shape: ConstraintType, location_name: "Type"))
527
527
  ConstraintDetail.add_member(:description, Shapes::ShapeRef.new(shape: ConstraintDescription, location_name: "Description"))
528
528
  ConstraintDetail.add_member(:owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "Owner"))
529
+ ConstraintDetail.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, location_name: "ProductId"))
530
+ ConstraintDetail.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioId"))
529
531
  ConstraintDetail.struct_class = Types::ConstraintDetail
530
532
 
531
533
  ConstraintDetails.member = Shapes::ShapeRef.new(shape: ConstraintDetail)
@@ -884,6 +886,8 @@ module Aws::ServiceCatalog
884
886
 
885
887
  DisassociateTagOptionFromResourceOutput.struct_class = Types::DisassociateTagOptionFromResourceOutput
886
888
 
889
+ DuplicateResourceException.struct_class = Types::DuplicateResourceException
890
+
887
891
  EnableAWSOrganizationsAccessInput.struct_class = Types::EnableAWSOrganizationsAccessInput
888
892
 
889
893
  EnableAWSOrganizationsAccessOutput.struct_class = Types::EnableAWSOrganizationsAccessOutput
@@ -932,6 +936,10 @@ module Aws::ServiceCatalog
932
936
  GetAWSOrganizationsAccessStatusOutput.add_member(:access_status, Shapes::ShapeRef.new(shape: AccessStatus, location_name: "AccessStatus"))
933
937
  GetAWSOrganizationsAccessStatusOutput.struct_class = Types::GetAWSOrganizationsAccessStatusOutput
934
938
 
939
+ InvalidParametersException.struct_class = Types::InvalidParametersException
940
+
941
+ InvalidStateException.struct_class = Types::InvalidStateException
942
+
935
943
  LaunchPathSummaries.member = Shapes::ShapeRef.new(shape: LaunchPathSummary)
936
944
 
937
945
  LaunchPathSummary.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
@@ -940,6 +948,8 @@ module Aws::ServiceCatalog
940
948
  LaunchPathSummary.add_member(:name, Shapes::ShapeRef.new(shape: PortfolioName, location_name: "Name"))
941
949
  LaunchPathSummary.struct_class = Types::LaunchPathSummary
942
950
 
951
+ LimitExceededException.struct_class = Types::LimitExceededException
952
+
943
953
  ListAcceptedPortfolioSharesInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
944
954
  ListAcceptedPortfolioSharesInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
945
955
  ListAcceptedPortfolioSharesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
@@ -1134,6 +1144,8 @@ module Aws::ServiceCatalog
1134
1144
 
1135
1145
  NotificationArns.member = Shapes::ShapeRef.new(shape: NotificationArn)
1136
1146
 
1147
+ OperationNotSupportedException.struct_class = Types::OperationNotSupportedException
1148
+
1137
1149
  OrganizationNode.add_member(:type, Shapes::ShapeRef.new(shape: OrganizationNodeType, location_name: "Type"))
1138
1150
  OrganizationNode.add_member(:value, Shapes::ShapeRef.new(shape: OrganizationNodeValue, location_name: "Value"))
1139
1151
  OrganizationNode.struct_class = Types::OrganizationNode
@@ -1423,6 +1435,10 @@ module Aws::ServiceCatalog
1423
1435
 
1424
1436
  ResourceDetails.member = Shapes::ShapeRef.new(shape: ResourceDetail)
1425
1437
 
1438
+ ResourceInUseException.struct_class = Types::ResourceInUseException
1439
+
1440
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1441
+
1426
1442
  ResourceTargetDefinition.add_member(:attribute, Shapes::ShapeRef.new(shape: ResourceAttribute, location_name: "Attribute"))
1427
1443
  ResourceTargetDefinition.add_member(:name, Shapes::ShapeRef.new(shape: PropertyName, location_name: "Name"))
1428
1444
  ResourceTargetDefinition.add_member(:requires_recreation, Shapes::ShapeRef.new(shape: RequiresRecreation, location_name: "RequiresRecreation"))
@@ -1546,6 +1562,8 @@ module Aws::ServiceCatalog
1546
1562
 
1547
1563
  TagOptionDetails.member = Shapes::ShapeRef.new(shape: TagOptionDetail)
1548
1564
 
1565
+ TagOptionNotMigratedException.struct_class = Types::TagOptionNotMigratedException
1566
+
1549
1567
  TagOptionSummaries.member = Shapes::ShapeRef.new(shape: TagOptionSummary)
1550
1568
 
1551
1569
  TagOptionSummary.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, location_name: "Key"))
@@ -6,9 +6,119 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ServiceCatalog
9
+
10
+ # When ServiceCatalog returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::ServiceCatalog::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all ServiceCatalog errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::ServiceCatalog::Errors::ServiceError
18
+ # # rescues all ServiceCatalog API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {DuplicateResourceException}
29
+ # * {InvalidParametersException}
30
+ # * {InvalidStateException}
31
+ # * {LimitExceededException}
32
+ # * {OperationNotSupportedException}
33
+ # * {ResourceInUseException}
34
+ # * {ResourceNotFoundException}
35
+ # * {TagOptionNotMigratedException}
36
+ #
37
+ # Additionally, error classes are dynamically generated for service errors based on the error code
38
+ # if they are not defined above.
9
39
  module Errors
10
40
 
11
41
  extend Aws::Errors::DynamicErrors
12
42
 
43
+ class DuplicateResourceException < ServiceError
44
+
45
+ # @param [Seahorse::Client::RequestContext] context
46
+ # @param [String] message
47
+ # @param [Aws::ServiceCatalog::Types::DuplicateResourceException] data
48
+ def initialize(context, message, data = Aws::EmptyStructure.new)
49
+ super(context, message, data)
50
+ end
51
+ end
52
+
53
+ class InvalidParametersException < ServiceError
54
+
55
+ # @param [Seahorse::Client::RequestContext] context
56
+ # @param [String] message
57
+ # @param [Aws::ServiceCatalog::Types::InvalidParametersException] data
58
+ def initialize(context, message, data = Aws::EmptyStructure.new)
59
+ super(context, message, data)
60
+ end
61
+ end
62
+
63
+ class InvalidStateException < ServiceError
64
+
65
+ # @param [Seahorse::Client::RequestContext] context
66
+ # @param [String] message
67
+ # @param [Aws::ServiceCatalog::Types::InvalidStateException] data
68
+ def initialize(context, message, data = Aws::EmptyStructure.new)
69
+ super(context, message, data)
70
+ end
71
+ end
72
+
73
+ class LimitExceededException < ServiceError
74
+
75
+ # @param [Seahorse::Client::RequestContext] context
76
+ # @param [String] message
77
+ # @param [Aws::ServiceCatalog::Types::LimitExceededException] data
78
+ def initialize(context, message, data = Aws::EmptyStructure.new)
79
+ super(context, message, data)
80
+ end
81
+ end
82
+
83
+ class OperationNotSupportedException < ServiceError
84
+
85
+ # @param [Seahorse::Client::RequestContext] context
86
+ # @param [String] message
87
+ # @param [Aws::ServiceCatalog::Types::OperationNotSupportedException] data
88
+ def initialize(context, message, data = Aws::EmptyStructure.new)
89
+ super(context, message, data)
90
+ end
91
+ end
92
+
93
+ class ResourceInUseException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::ServiceCatalog::Types::ResourceInUseException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+ end
102
+
103
+ class ResourceNotFoundException < ServiceError
104
+
105
+ # @param [Seahorse::Client::RequestContext] context
106
+ # @param [String] message
107
+ # @param [Aws::ServiceCatalog::Types::ResourceNotFoundException] data
108
+ def initialize(context, message, data = Aws::EmptyStructure.new)
109
+ super(context, message, data)
110
+ end
111
+ end
112
+
113
+ class TagOptionNotMigratedException < ServiceError
114
+
115
+ # @param [Seahorse::Client::RequestContext] context
116
+ # @param [String] message
117
+ # @param [Aws::ServiceCatalog::Types::TagOptionNotMigratedException] data
118
+ def initialize(context, message, data = Aws::EmptyStructure.new)
119
+ super(context, message, data)
120
+ end
121
+ end
122
+
13
123
  end
14
124
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ServiceCatalog
9
+
9
10
  class Resource
10
11
 
11
12
  # @param options ({})
@@ -441,13 +441,27 @@ module Aws::ServiceCatalog
441
441
  # The owner of the constraint.
442
442
  # @return [String]
443
443
  #
444
+ # @!attribute [rw] product_id
445
+ # The identifier of the product the constraint applies to. Note that a
446
+ # constraint applies to a specific instance of a product within a
447
+ # certain portfolio.
448
+ # @return [String]
449
+ #
450
+ # @!attribute [rw] portfolio_id
451
+ # The identifier of the portfolio the product resides in. The
452
+ # constraint applies only to the instance of the product that lives
453
+ # within this portfolio.
454
+ # @return [String]
455
+ #
444
456
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ConstraintDetail AWS API Documentation
445
457
  #
446
458
  class ConstraintDetail < Struct.new(
447
459
  :constraint_id,
448
460
  :type,
449
461
  :description,
450
- :owner)
462
+ :owner,
463
+ :product_id,
464
+ :portfolio_id)
451
465
  include Aws::Structure
452
466
  end
453
467
 
@@ -599,10 +613,29 @@ module Aws::ServiceCatalog
599
613
  #
600
614
  # LAUNCH
601
615
  #
602
- # : Specify the `RoleArn` property as follows:
616
+ # : You are required to specify either the `RoleArn` or the
617
+ # `LocalRoleName` but can't use both.
618
+ #
619
+ # Specify the `RoleArn` property as follows:
603
620
  #
604
621
  # `\{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"\}`
605
622
  #
623
+ # Specify the `LocalRoleName` property as follows:
624
+ #
625
+ # `\{"LocalRoleName": "SCBasicLaunchRole"\}`
626
+ #
627
+ # If you specify the `LocalRoleName` property, when an account uses
628
+ # the launch constraint, the IAM role with that name in the account
629
+ # will be used. This allows launch-role constraints to be
630
+ # account-agnostic so the administrator can create fewer resources
631
+ # per shared account.
632
+ #
633
+ # <note markdown="1"> The given role name must exist in the account used to create the
634
+ # launch constraint and the account of the user who launches a
635
+ # product with this launch constraint.
636
+ #
637
+ # </note>
638
+ #
606
639
  # You cannot have both a `LAUNCH` and a `STACKSET` constraint.
607
640
  #
608
641
  # You also cannot have more than one `LAUNCH` constraint on a
@@ -2636,6 +2669,12 @@ module Aws::ServiceCatalog
2636
2669
  #
2637
2670
  class DisassociateTagOptionFromResourceOutput < Aws::EmptyStructure; end
2638
2671
 
2672
+ # The specified resource is a duplicate.
2673
+ #
2674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DuplicateResourceException AWS API Documentation
2675
+ #
2676
+ class DuplicateResourceException < Aws::EmptyStructure; end
2677
+
2639
2678
  # @api private
2640
2679
  #
2641
2680
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccessInput AWS API Documentation
@@ -2847,6 +2886,20 @@ module Aws::ServiceCatalog
2847
2886
  include Aws::Structure
2848
2887
  end
2849
2888
 
2889
+ # One or more parameters provided to the operation are not valid.
2890
+ #
2891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/InvalidParametersException AWS API Documentation
2892
+ #
2893
+ class InvalidParametersException < Aws::EmptyStructure; end
2894
+
2895
+ # An attempt was made to modify a resource that is in a state that is
2896
+ # not valid. Check your resources to ensure that they are in valid
2897
+ # states before retrying the operation.
2898
+ #
2899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/InvalidStateException AWS API Documentation
2900
+ #
2901
+ class InvalidStateException < Aws::EmptyStructure; end
2902
+
2850
2903
  # Summary information about a product path for a user.
2851
2904
  #
2852
2905
  # @!attribute [rw] id
@@ -2875,6 +2928,14 @@ module Aws::ServiceCatalog
2875
2928
  include Aws::Structure
2876
2929
  end
2877
2930
 
2931
+ # The current limits of the service would have been exceeded by this
2932
+ # operation. Decrease your resource use or increase your service limits
2933
+ # and retry the operation.
2934
+ #
2935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/LimitExceededException AWS API Documentation
2936
+ #
2937
+ class LimitExceededException < Aws::EmptyStructure; end
2938
+
2878
2939
  # @note When making an API call, you may pass ListAcceptedPortfolioSharesInput
2879
2940
  # data as a hash:
2880
2941
  #
@@ -4053,6 +4114,12 @@ module Aws::ServiceCatalog
4053
4114
  include Aws::Structure
4054
4115
  end
4055
4116
 
4117
+ # The operation is not supported.
4118
+ #
4119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/OperationNotSupportedException AWS API Documentation
4120
+ #
4121
+ class OperationNotSupportedException < Aws::EmptyStructure; end
4122
+
4056
4123
  # Information about the organization node.
4057
4124
  #
4058
4125
  # @note When making an API call, you may pass OrganizationNode
@@ -5460,6 +5527,19 @@ module Aws::ServiceCatalog
5460
5527
  include Aws::Structure
5461
5528
  end
5462
5529
 
5530
+ # A resource that is currently in use. Ensure that the resource is not
5531
+ # in use and retry the operation.
5532
+ #
5533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ResourceInUseException AWS API Documentation
5534
+ #
5535
+ class ResourceInUseException < Aws::EmptyStructure; end
5536
+
5537
+ # The specified resource was not found.
5538
+ #
5539
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ResourceNotFoundException AWS API Documentation
5540
+ #
5541
+ class ResourceNotFoundException < Aws::EmptyStructure; end
5542
+
5463
5543
  # Information about a change to a resource attribute.
5464
5544
  #
5465
5545
  # @!attribute [rw] attribute
@@ -6044,6 +6124,15 @@ module Aws::ServiceCatalog
6044
6124
  include Aws::Structure
6045
6125
  end
6046
6126
 
6127
+ # An operation requiring TagOptions failed because the TagOptions
6128
+ # migration process has not been performed for this account. Please use
6129
+ # the AWS console to perform the migration process before retrying the
6130
+ # operation.
6131
+ #
6132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionNotMigratedException AWS API Documentation
6133
+ #
6134
+ class TagOptionNotMigratedException < Aws::EmptyStructure; end
6135
+
6047
6136
  # Summary information about a TagOption.
6048
6137
  #
6049
6138
  # @!attribute [rw] key
@@ -6166,10 +6255,29 @@ module Aws::ServiceCatalog
6166
6255
  #
6167
6256
  # LAUNCH
6168
6257
  #
6169
- # : Specify the `RoleArn` property as follows:
6258
+ # : You are required to specify either the `RoleArn` or the
6259
+ # `LocalRoleName` but can't use both.
6260
+ #
6261
+ # Specify the `RoleArn` property as follows:
6170
6262
  #
6171
6263
  # `\{"RoleArn" : "arn:aws:iam::123456789012:role/LaunchRole"\}`
6172
6264
  #
6265
+ # Specify the `LocalRoleName` property as follows:
6266
+ #
6267
+ # `\{"LocalRoleName": "SCBasicLaunchRole"\}`
6268
+ #
6269
+ # If you specify the `LocalRoleName` property, when an account uses
6270
+ # the launch constraint, the IAM role with that name in the account
6271
+ # will be used. This allows launch-role constraints to be
6272
+ # account-agnostic so the administrator can create fewer resources
6273
+ # per shared account.
6274
+ #
6275
+ # <note markdown="1"> The given role name must exist in the account used to create the
6276
+ # launch constraint and the account of the user who launches a
6277
+ # product with this launch constraint.
6278
+ #
6279
+ # </note>
6280
+ #
6173
6281
  # You cannot have both a `LAUNCH` and a `STACKSET` constraint.
6174
6282
  #
6175
6283
  # You also cannot have more than one `LAUNCH` constraint on a
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.34.0
4
+ version: 1.39.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-02-19 00:00:00.000000000 Z
11
+ date: 2020-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  requirements: []
83
83
  rubyforge_project:
84
- rubygems_version: 2.5.2.3
84
+ rubygems_version: 2.7.6.2
85
85
  signing_key:
86
86
  specification_version: 4
87
87
  summary: AWS SDK for Ruby - AWS Service Catalog