aws-sdk-servicecatalog 1.20.0 → 1.21.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0246109e73d641a6618c1c3bbb1091be58351ab
4
- data.tar.gz: 66e08a2bef06343167c10201f0d9f079967026e7
3
+ metadata.gz: b39c6ea68e5d1e2ef1c1e55ac9558e6a301f6b63
4
+ data.tar.gz: 25196b4cd79e3ac917f77ca441f3e78de9ae662c
5
5
  SHA512:
6
- metadata.gz: 93cdc970bdc1b9607fca2dddf0e0b51a09f4702d4a7990584c96bbfc2b567dac788c2f3a8e5fd530065bc8450e3e6843ca9771a65448ef90f5d2f19ce62d88b3
7
- data.tar.gz: e112889dbba8a1452b813eeb9020b1bfe694c01e5ecab3ebdd3a0c608b32b6bf4ba66a459fd4cb19e6d7e4af5c156a14197270f6285a61bd8476932ddc8b73b2
6
+ metadata.gz: f3c25bbda7ecf8a3369f2192f34bd99a903a9d8ea2f521752c8ff05ad54909fa61d61d635eed3c0cab6dc7256067251626fb752a79f6e456fa3834a531283b7d
7
+ data.tar.gz: 19f2b13d385ddbd6fc55a4a9d2d32dfdf3dd6c76511bd495ef0ad7ad8e9078db9a877f638619d473f3417a01e6a43a301bc38b7dd74f53c79468a53f17e08ef9
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
42
  # @service
43
43
  module Aws::ServiceCatalog
44
44
 
45
- GEM_VERSION = '1.20.0'
45
+ GEM_VERSION = '1.21.0'
46
46
 
47
47
  end
@@ -306,6 +306,32 @@ module Aws::ServiceCatalog
306
306
  req.send_request(options)
307
307
  end
308
308
 
309
+ # Associates the specified budget with the specified resource.
310
+ #
311
+ # @option params [required, String] :budget_name
312
+ # The name of the budget you want to associate.
313
+ #
314
+ # @option params [required, String] :resource_id
315
+ # The resource identifier. Either a portfolio-id or a product-id.
316
+ #
317
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
318
+ #
319
+ # @example Request syntax with placeholder values
320
+ #
321
+ # resp = client.associate_budget_with_resource({
322
+ # budget_name: "BudgetName", # required
323
+ # resource_id: "Id", # required
324
+ # })
325
+ #
326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateBudgetWithResource AWS API Documentation
327
+ #
328
+ # @overload associate_budget_with_resource(params = {})
329
+ # @param [Hash] params ({})
330
+ def associate_budget_with_resource(params = {}, options = {})
331
+ req = build_request(:associate_budget_with_resource, params)
332
+ req.send_request(options)
333
+ end
334
+
309
335
  # Associates the specified principal ARN with the specified portfolio.
310
336
  #
311
337
  # @option params [String] :accept_language
@@ -673,7 +699,7 @@ module Aws::ServiceCatalog
673
699
  # `\{"NotificationArns" :
674
700
  # ["arn:aws:sns:us-east-1:123456789012:Topic"]\}`
675
701
  #
676
- # RESOUCE\_UPDATE
702
+ # RESOURCE\_UPDATE
677
703
  #
678
704
  # : Specify the `TagUpdatesOnProvisionedProduct` property as follows:
679
705
  #
@@ -977,6 +1003,7 @@ module Aws::ServiceCatalog
977
1003
  # "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
978
1004
  # },
979
1005
  # type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
1006
+ # disable_template_validation: false,
980
1007
  # },
981
1008
  # idempotency_token: "IdempotencyToken", # required
982
1009
  # })
@@ -1177,6 +1204,7 @@ module Aws::ServiceCatalog
1177
1204
  # "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
1178
1205
  # },
1179
1206
  # type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
1207
+ # disable_template_validation: false,
1180
1208
  # },
1181
1209
  # idempotency_token: "IdempotencyToken", # required
1182
1210
  # })
@@ -1724,6 +1752,7 @@ module Aws::ServiceCatalog
1724
1752
  # * {Types::DescribePortfolioOutput#portfolio_detail #portfolio_detail} => Types::PortfolioDetail
1725
1753
  # * {Types::DescribePortfolioOutput#tags #tags} => Array<Types::Tag>
1726
1754
  # * {Types::DescribePortfolioOutput#tag_options #tag_options} => Array<Types::TagOptionDetail>
1755
+ # * {Types::DescribePortfolioOutput#budgets #budgets} => Array<Types::BudgetDetail>
1727
1756
  #
1728
1757
  # @example Request syntax with placeholder values
1729
1758
  #
@@ -1748,6 +1777,8 @@ module Aws::ServiceCatalog
1748
1777
  # resp.tag_options[0].value #=> String
1749
1778
  # resp.tag_options[0].active #=> Boolean
1750
1779
  # resp.tag_options[0].id #=> String
1780
+ # resp.budgets #=> Array
1781
+ # resp.budgets[0].budget_name #=> String
1751
1782
  #
1752
1783
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio AWS API Documentation
1753
1784
  #
@@ -1776,7 +1807,7 @@ module Aws::ServiceCatalog
1776
1807
  # @example Request syntax with placeholder values
1777
1808
  #
1778
1809
  # resp = client.describe_portfolio_share_status({
1779
- # portfolio_share_token: "PortfolioShareToken", # required
1810
+ # portfolio_share_token: "Id", # required
1780
1811
  # })
1781
1812
  #
1782
1813
  # @example Response structure
@@ -1820,6 +1851,7 @@ module Aws::ServiceCatalog
1820
1851
  #
1821
1852
  # * {Types::DescribeProductOutput#product_view_summary #product_view_summary} => Types::ProductViewSummary
1822
1853
  # * {Types::DescribeProductOutput#provisioning_artifacts #provisioning_artifacts} => Array<Types::ProvisioningArtifact>
1854
+ # * {Types::DescribeProductOutput#budgets #budgets} => Array<Types::BudgetDetail>
1823
1855
  #
1824
1856
  # @example Request syntax with placeholder values
1825
1857
  #
@@ -1846,6 +1878,8 @@ module Aws::ServiceCatalog
1846
1878
  # resp.provisioning_artifacts[0].name #=> String
1847
1879
  # resp.provisioning_artifacts[0].description #=> String
1848
1880
  # resp.provisioning_artifacts[0].created_time #=> Time
1881
+ # resp.budgets #=> Array
1882
+ # resp.budgets[0].budget_name #=> String
1849
1883
  #
1850
1884
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct AWS API Documentation
1851
1885
  #
@@ -1877,6 +1911,7 @@ module Aws::ServiceCatalog
1877
1911
  # * {Types::DescribeProductAsAdminOutput#provisioning_artifact_summaries #provisioning_artifact_summaries} => Array<Types::ProvisioningArtifactSummary>
1878
1912
  # * {Types::DescribeProductAsAdminOutput#tags #tags} => Array<Types::Tag>
1879
1913
  # * {Types::DescribeProductAsAdminOutput#tag_options #tag_options} => Array<Types::TagOptionDetail>
1914
+ # * {Types::DescribeProductAsAdminOutput#budgets #budgets} => Array<Types::BudgetDetail>
1880
1915
  #
1881
1916
  # @example Request syntax with placeholder values
1882
1917
  #
@@ -1916,6 +1951,8 @@ module Aws::ServiceCatalog
1916
1951
  # resp.tag_options[0].value #=> String
1917
1952
  # resp.tag_options[0].active #=> Boolean
1918
1953
  # resp.tag_options[0].id #=> String
1954
+ # resp.budgets #=> Array
1955
+ # resp.budgets[0].budget_name #=> String
1919
1956
  #
1920
1957
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin AWS API Documentation
1921
1958
  #
@@ -2421,6 +2458,33 @@ module Aws::ServiceCatalog
2421
2458
  req.send_request(options)
2422
2459
  end
2423
2460
 
2461
+ # Disassociates the specified budget from the specified resource.
2462
+ #
2463
+ # @option params [required, String] :budget_name
2464
+ # The name of the budget you want to disassociate.
2465
+ #
2466
+ # @option params [required, String] :resource_id
2467
+ # The resource identifier you want to disassociate from. Either a
2468
+ # portfolio-id or a product-id.
2469
+ #
2470
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2471
+ #
2472
+ # @example Request syntax with placeholder values
2473
+ #
2474
+ # resp = client.disassociate_budget_from_resource({
2475
+ # budget_name: "BudgetName", # required
2476
+ # resource_id: "Id", # required
2477
+ # })
2478
+ #
2479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateBudgetFromResource AWS API Documentation
2480
+ #
2481
+ # @overload disassociate_budget_from_resource(params = {})
2482
+ # @param [Hash] params ({})
2483
+ def disassociate_budget_from_resource(params = {}, options = {})
2484
+ req = build_request(:disassociate_budget_from_resource, params)
2485
+ req.send_request(options)
2486
+ end
2487
+
2424
2488
  # Disassociates a previously associated principal ARN from a specified
2425
2489
  # portfolio.
2426
2490
  #
@@ -2795,6 +2859,56 @@ module Aws::ServiceCatalog
2795
2859
  req.send_request(options)
2796
2860
  end
2797
2861
 
2862
+ # Lists all the budgets associated to the specified resource.
2863
+ #
2864
+ # @option params [String] :accept_language
2865
+ # The language code.
2866
+ #
2867
+ # * `en` - English (default)
2868
+ #
2869
+ # * `jp` - Japanese
2870
+ #
2871
+ # * `zh` - Chinese
2872
+ #
2873
+ # @option params [required, String] :resource_id
2874
+ # The resource identifier.
2875
+ #
2876
+ # @option params [Integer] :page_size
2877
+ # The maximum number of items to return with this call.
2878
+ #
2879
+ # @option params [String] :page_token
2880
+ # The page token for the next set of results. To retrieve the first set
2881
+ # of results, use null.
2882
+ #
2883
+ # @return [Types::ListBudgetsForResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2884
+ #
2885
+ # * {Types::ListBudgetsForResourceOutput#budgets #budgets} => Array<Types::BudgetDetail>
2886
+ # * {Types::ListBudgetsForResourceOutput#next_page_token #next_page_token} => String
2887
+ #
2888
+ # @example Request syntax with placeholder values
2889
+ #
2890
+ # resp = client.list_budgets_for_resource({
2891
+ # accept_language: "AcceptLanguage",
2892
+ # resource_id: "Id", # required
2893
+ # page_size: 1,
2894
+ # page_token: "PageToken",
2895
+ # })
2896
+ #
2897
+ # @example Response structure
2898
+ #
2899
+ # resp.budgets #=> Array
2900
+ # resp.budgets[0].budget_name #=> String
2901
+ # resp.next_page_token #=> String
2902
+ #
2903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResource AWS API Documentation
2904
+ #
2905
+ # @overload list_budgets_for_resource(params = {})
2906
+ # @param [Hash] params ({})
2907
+ def list_budgets_for_resource(params = {}, options = {})
2908
+ req = build_request(:list_budgets_for_resource, params)
2909
+ req.send_request(options)
2910
+ end
2911
+
2798
2912
  # Lists the constraints for the specified portfolio and product.
2799
2913
  #
2800
2914
  # @option params [String] :accept_language
@@ -4722,7 +4836,7 @@ module Aws::ServiceCatalog
4722
4836
  params: params,
4723
4837
  config: config)
4724
4838
  context[:gem_name] = 'aws-sdk-servicecatalog'
4725
- context[:gem_version] = '1.20.0'
4839
+ context[:gem_version] = '1.21.0'
4726
4840
  Seahorse::Client::Request.new(handlers, context)
4727
4841
  end
4728
4842
 
@@ -24,6 +24,8 @@ module Aws::ServiceCatalog
24
24
  AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
25
25
  AllowedValues = Shapes::ListShape.new(name: 'AllowedValues')
26
26
  ApproximateCount = Shapes::IntegerShape.new(name: 'ApproximateCount')
27
+ AssociateBudgetWithResourceInput = Shapes::StructureShape.new(name: 'AssociateBudgetWithResourceInput')
28
+ AssociateBudgetWithResourceOutput = Shapes::StructureShape.new(name: 'AssociateBudgetWithResourceOutput')
27
29
  AssociatePrincipalWithPortfolioInput = Shapes::StructureShape.new(name: 'AssociatePrincipalWithPortfolioInput')
28
30
  AssociatePrincipalWithPortfolioOutput = Shapes::StructureShape.new(name: 'AssociatePrincipalWithPortfolioOutput')
29
31
  AssociateProductWithPortfolioInput = Shapes::StructureShape.new(name: 'AssociateProductWithPortfolioInput')
@@ -37,6 +39,9 @@ module Aws::ServiceCatalog
37
39
  BatchAssociateServiceActionWithProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchAssociateServiceActionWithProvisioningArtifactOutput')
38
40
  BatchDisassociateServiceActionFromProvisioningArtifactInput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactInput')
39
41
  BatchDisassociateServiceActionFromProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactOutput')
42
+ BudgetDetail = Shapes::StructureShape.new(name: 'BudgetDetail')
43
+ BudgetName = Shapes::StringShape.new(name: 'BudgetName')
44
+ Budgets = Shapes::ListShape.new(name: 'Budgets')
40
45
  CausingEntity = Shapes::StringShape.new(name: 'CausingEntity')
41
46
  ChangeAction = Shapes::StringShape.new(name: 'ChangeAction')
42
47
  CloudWatchDashboard = Shapes::StructureShape.new(name: 'CloudWatchDashboard')
@@ -120,6 +125,9 @@ module Aws::ServiceCatalog
120
125
  Description = Shapes::StringShape.new(name: 'Description')
121
126
  DisableAWSOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DisableAWSOrganizationsAccessInput')
122
127
  DisableAWSOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DisableAWSOrganizationsAccessOutput')
128
+ DisableTemplateValidation = Shapes::BooleanShape.new(name: 'DisableTemplateValidation')
129
+ DisassociateBudgetFromResourceInput = Shapes::StructureShape.new(name: 'DisassociateBudgetFromResourceInput')
130
+ DisassociateBudgetFromResourceOutput = Shapes::StructureShape.new(name: 'DisassociateBudgetFromResourceOutput')
123
131
  DisassociatePrincipalFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioInput')
124
132
  DisassociatePrincipalFromPortfolioOutput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioOutput')
125
133
  DisassociateProductFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociateProductFromPortfolioInput')
@@ -157,6 +165,8 @@ module Aws::ServiceCatalog
157
165
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
158
166
  ListAcceptedPortfolioSharesInput = Shapes::StructureShape.new(name: 'ListAcceptedPortfolioSharesInput')
159
167
  ListAcceptedPortfolioSharesOutput = Shapes::StructureShape.new(name: 'ListAcceptedPortfolioSharesOutput')
168
+ ListBudgetsForResourceInput = Shapes::StructureShape.new(name: 'ListBudgetsForResourceInput')
169
+ ListBudgetsForResourceOutput = Shapes::StructureShape.new(name: 'ListBudgetsForResourceOutput')
160
170
  ListConstraintsForPortfolioInput = Shapes::StructureShape.new(name: 'ListConstraintsForPortfolioInput')
161
171
  ListConstraintsForPortfolioOutput = Shapes::StructureShape.new(name: 'ListConstraintsForPortfolioOutput')
162
172
  ListLaunchPathsInput = Shapes::StructureShape.new(name: 'ListLaunchPathsInput')
@@ -216,7 +226,6 @@ module Aws::ServiceCatalog
216
226
  PortfolioDetails = Shapes::ListShape.new(name: 'PortfolioDetails')
217
227
  PortfolioDisplayName = Shapes::StringShape.new(name: 'PortfolioDisplayName')
218
228
  PortfolioName = Shapes::StringShape.new(name: 'PortfolioName')
219
- PortfolioShareToken = Shapes::StringShape.new(name: 'PortfolioShareToken')
220
229
  PortfolioShareType = Shapes::StringShape.new(name: 'PortfolioShareType')
221
230
  Principal = Shapes::StructureShape.new(name: 'Principal')
222
231
  PrincipalARN = Shapes::StringShape.new(name: 'PrincipalARN')
@@ -433,6 +442,12 @@ module Aws::ServiceCatalog
433
442
 
434
443
  AllowedValues.member = Shapes::ShapeRef.new(shape: AllowedValue)
435
444
 
445
+ AssociateBudgetWithResourceInput.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
446
+ AssociateBudgetWithResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ResourceId"))
447
+ AssociateBudgetWithResourceInput.struct_class = Types::AssociateBudgetWithResourceInput
448
+
449
+ AssociateBudgetWithResourceOutput.struct_class = Types::AssociateBudgetWithResourceOutput
450
+
436
451
  AssociatePrincipalWithPortfolioInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
437
452
  AssociatePrincipalWithPortfolioInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
438
453
  AssociatePrincipalWithPortfolioInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, required: true, location_name: "PrincipalARN"))
@@ -477,6 +492,11 @@ module Aws::ServiceCatalog
477
492
  BatchDisassociateServiceActionFromProvisioningArtifactOutput.add_member(:failed_service_action_associations, Shapes::ShapeRef.new(shape: FailedServiceActionAssociations, location_name: "FailedServiceActionAssociations"))
478
493
  BatchDisassociateServiceActionFromProvisioningArtifactOutput.struct_class = Types::BatchDisassociateServiceActionFromProvisioningArtifactOutput
479
494
 
495
+ BudgetDetail.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, location_name: "BudgetName"))
496
+ BudgetDetail.struct_class = Types::BudgetDetail
497
+
498
+ Budgets.member = Shapes::ShapeRef.new(shape: BudgetDetail)
499
+
480
500
  CloudWatchDashboard.add_member(:name, Shapes::ShapeRef.new(shape: CloudWatchDashboardName, location_name: "Name"))
481
501
  CloudWatchDashboard.struct_class = Types::CloudWatchDashboard
482
502
 
@@ -542,7 +562,7 @@ module Aws::ServiceCatalog
542
562
  CreatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
543
563
  CreatePortfolioShareInput.struct_class = Types::CreatePortfolioShareInput
544
564
 
545
- CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
565
+ CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
546
566
  CreatePortfolioShareOutput.struct_class = Types::CreatePortfolioShareOutput
547
567
 
548
568
  CreateProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -631,7 +651,7 @@ module Aws::ServiceCatalog
631
651
  DeletePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
632
652
  DeletePortfolioShareInput.struct_class = Types::DeletePortfolioShareInput
633
653
 
634
- DeletePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
654
+ DeletePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
635
655
  DeletePortfolioShareOutput.struct_class = Types::DeletePortfolioShareOutput
636
656
 
637
657
  DeleteProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -690,12 +710,13 @@ module Aws::ServiceCatalog
690
710
  DescribePortfolioOutput.add_member(:portfolio_detail, Shapes::ShapeRef.new(shape: PortfolioDetail, location_name: "PortfolioDetail"))
691
711
  DescribePortfolioOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
692
712
  DescribePortfolioOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptions"))
713
+ DescribePortfolioOutput.add_member(:budgets, Shapes::ShapeRef.new(shape: Budgets, location_name: "Budgets"))
693
714
  DescribePortfolioOutput.struct_class = Types::DescribePortfolioOutput
694
715
 
695
- DescribePortfolioShareStatusInput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, required: true, location_name: "PortfolioShareToken"))
716
+ DescribePortfolioShareStatusInput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioShareToken"))
696
717
  DescribePortfolioShareStatusInput.struct_class = Types::DescribePortfolioShareStatusInput
697
718
 
698
- DescribePortfolioShareStatusOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
719
+ DescribePortfolioShareStatusOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
699
720
  DescribePortfolioShareStatusOutput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioId"))
700
721
  DescribePortfolioShareStatusOutput.add_member(:organization_node_value, Shapes::ShapeRef.new(shape: OrganizationNodeValue, location_name: "OrganizationNodeValue"))
701
722
  DescribePortfolioShareStatusOutput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
@@ -710,6 +731,7 @@ module Aws::ServiceCatalog
710
731
  DescribeProductAsAdminOutput.add_member(:provisioning_artifact_summaries, Shapes::ShapeRef.new(shape: ProvisioningArtifactSummaries, location_name: "ProvisioningArtifactSummaries"))
711
732
  DescribeProductAsAdminOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
712
733
  DescribeProductAsAdminOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptions"))
734
+ DescribeProductAsAdminOutput.add_member(:budgets, Shapes::ShapeRef.new(shape: Budgets, location_name: "Budgets"))
713
735
  DescribeProductAsAdminOutput.struct_class = Types::DescribeProductAsAdminOutput
714
736
 
715
737
  DescribeProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -718,6 +740,7 @@ module Aws::ServiceCatalog
718
740
 
719
741
  DescribeProductOutput.add_member(:product_view_summary, Shapes::ShapeRef.new(shape: ProductViewSummary, location_name: "ProductViewSummary"))
720
742
  DescribeProductOutput.add_member(:provisioning_artifacts, Shapes::ShapeRef.new(shape: ProvisioningArtifacts, location_name: "ProvisioningArtifacts"))
743
+ DescribeProductOutput.add_member(:budgets, Shapes::ShapeRef.new(shape: Budgets, location_name: "Budgets"))
721
744
  DescribeProductOutput.struct_class = Types::DescribeProductOutput
722
745
 
723
746
  DescribeProductViewInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -799,6 +822,12 @@ module Aws::ServiceCatalog
799
822
 
800
823
  DisableAWSOrganizationsAccessOutput.struct_class = Types::DisableAWSOrganizationsAccessOutput
801
824
 
825
+ DisassociateBudgetFromResourceInput.add_member(:budget_name, Shapes::ShapeRef.new(shape: BudgetName, required: true, location_name: "BudgetName"))
826
+ DisassociateBudgetFromResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ResourceId"))
827
+ DisassociateBudgetFromResourceInput.struct_class = Types::DisassociateBudgetFromResourceInput
828
+
829
+ DisassociateBudgetFromResourceOutput.struct_class = Types::DisassociateBudgetFromResourceOutput
830
+
802
831
  DisassociatePrincipalFromPortfolioInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
803
832
  DisassociatePrincipalFromPortfolioInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
804
833
  DisassociatePrincipalFromPortfolioInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, required: true, location_name: "PrincipalARN"))
@@ -880,6 +909,16 @@ module Aws::ServiceCatalog
880
909
  ListAcceptedPortfolioSharesOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
881
910
  ListAcceptedPortfolioSharesOutput.struct_class = Types::ListAcceptedPortfolioSharesOutput
882
911
 
912
+ ListBudgetsForResourceInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
913
+ ListBudgetsForResourceInput.add_member(:resource_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ResourceId"))
914
+ ListBudgetsForResourceInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
915
+ ListBudgetsForResourceInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
916
+ ListBudgetsForResourceInput.struct_class = Types::ListBudgetsForResourceInput
917
+
918
+ ListBudgetsForResourceOutput.add_member(:budgets, Shapes::ShapeRef.new(shape: Budgets, location_name: "Budgets"))
919
+ ListBudgetsForResourceOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
920
+ ListBudgetsForResourceOutput.struct_class = Types::ListBudgetsForResourceOutput
921
+
883
922
  ListConstraintsForPortfolioInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
884
923
  ListConstraintsForPortfolioInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
885
924
  ListConstraintsForPortfolioInput.add_member(:product_id, Shapes::ShapeRef.new(shape: Id, location_name: "ProductId"))
@@ -1221,6 +1260,7 @@ module Aws::ServiceCatalog
1221
1260
  ProvisioningArtifactProperties.add_member(:description, Shapes::ShapeRef.new(shape: ProvisioningArtifactDescription, location_name: "Description"))
1222
1261
  ProvisioningArtifactProperties.add_member(:info, Shapes::ShapeRef.new(shape: ProvisioningArtifactInfo, required: true, location_name: "Info"))
1223
1262
  ProvisioningArtifactProperties.add_member(:type, Shapes::ShapeRef.new(shape: ProvisioningArtifactType, location_name: "Type"))
1263
+ ProvisioningArtifactProperties.add_member(:disable_template_validation, Shapes::ShapeRef.new(shape: DisableTemplateValidation, location_name: "DisableTemplateValidation"))
1224
1264
  ProvisioningArtifactProperties.struct_class = Types::ProvisioningArtifactProperties
1225
1265
 
1226
1266
  ProvisioningArtifactSummaries.member = Shapes::ShapeRef.new(shape: ProvisioningArtifactSummary)
@@ -1597,6 +1637,18 @@ module Aws::ServiceCatalog
1597
1637
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1598
1638
  end)
1599
1639
 
1640
+ api.add_operation(:associate_budget_with_resource, Seahorse::Model::Operation.new.tap do |o|
1641
+ o.name = "AssociateBudgetWithResource"
1642
+ o.http_method = "POST"
1643
+ o.http_request_uri = "/"
1644
+ o.input = Shapes::ShapeRef.new(shape: AssociateBudgetWithResourceInput)
1645
+ o.output = Shapes::ShapeRef.new(shape: AssociateBudgetWithResourceOutput)
1646
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: DuplicateResourceException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1650
+ end)
1651
+
1600
1652
  api.add_operation(:associate_principal_with_portfolio, Seahorse::Model::Operation.new.tap do |o|
1601
1653
  o.name = "AssociatePrincipalWithPortfolio"
1602
1654
  o.http_method = "POST"
@@ -1992,6 +2044,15 @@ module Aws::ServiceCatalog
1992
2044
  o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1993
2045
  end)
1994
2046
 
2047
+ api.add_operation(:disassociate_budget_from_resource, Seahorse::Model::Operation.new.tap do |o|
2048
+ o.name = "DisassociateBudgetFromResource"
2049
+ o.http_method = "POST"
2050
+ o.http_request_uri = "/"
2051
+ o.input = Shapes::ShapeRef.new(shape: DisassociateBudgetFromResourceInput)
2052
+ o.output = Shapes::ShapeRef.new(shape: DisassociateBudgetFromResourceOutput)
2053
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2054
+ end)
2055
+
1995
2056
  api.add_operation(:disassociate_principal_from_portfolio, Seahorse::Model::Operation.new.tap do |o|
1996
2057
  o.name = "DisassociatePrincipalFromPortfolio"
1997
2058
  o.http_method = "POST"
@@ -2091,6 +2152,22 @@ module Aws::ServiceCatalog
2091
2152
  )
2092
2153
  end)
2093
2154
 
2155
+ api.add_operation(:list_budgets_for_resource, Seahorse::Model::Operation.new.tap do |o|
2156
+ o.name = "ListBudgetsForResource"
2157
+ o.http_method = "POST"
2158
+ o.http_request_uri = "/"
2159
+ o.input = Shapes::ShapeRef.new(shape: ListBudgetsForResourceInput)
2160
+ o.output = Shapes::ShapeRef.new(shape: ListBudgetsForResourceOutput)
2161
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2162
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2163
+ o[:pager] = Aws::Pager.new(
2164
+ limit_key: "page_size",
2165
+ tokens: {
2166
+ "next_page_token" => "page_token"
2167
+ }
2168
+ )
2169
+ end)
2170
+
2094
2171
  api.add_operation(:list_constraints_for_portfolio, Seahorse::Model::Operation.new.tap do |o|
2095
2172
  o.name = "ListConstraintsForPortfolio"
2096
2173
  o.http_method = "POST"
@@ -95,6 +95,34 @@ module Aws::ServiceCatalog
95
95
  include Aws::Structure
96
96
  end
97
97
 
98
+ # @note When making an API call, you may pass AssociateBudgetWithResourceInput
99
+ # data as a hash:
100
+ #
101
+ # {
102
+ # budget_name: "BudgetName", # required
103
+ # resource_id: "Id", # required
104
+ # }
105
+ #
106
+ # @!attribute [rw] budget_name
107
+ # The name of the budget you want to associate.
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] resource_id
111
+ # The resource identifier. Either a portfolio-id or a product-id.
112
+ # @return [String]
113
+ #
114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateBudgetWithResourceInput AWS API Documentation
115
+ #
116
+ class AssociateBudgetWithResourceInput < Struct.new(
117
+ :budget_name,
118
+ :resource_id)
119
+ include Aws::Structure
120
+ end
121
+
122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateBudgetWithResourceOutput AWS API Documentation
123
+ #
124
+ class AssociateBudgetWithResourceOutput < Aws::EmptyStructure; end
125
+
98
126
  # @note When making an API call, you may pass AssociatePrincipalWithPortfolioInput
99
127
  # data as a hash:
100
128
  #
@@ -361,6 +389,19 @@ module Aws::ServiceCatalog
361
389
  include Aws::Structure
362
390
  end
363
391
 
392
+ # Information about a budget.
393
+ #
394
+ # @!attribute [rw] budget_name
395
+ # Name of the associated budget.
396
+ # @return [String]
397
+ #
398
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BudgetDetail AWS API Documentation
399
+ #
400
+ class BudgetDetail < Struct.new(
401
+ :budget_name)
402
+ include Aws::Structure
403
+ end
404
+
364
405
  # Information about a CloudWatch dashboard.
365
406
  #
366
407
  # @!attribute [rw] name
@@ -574,7 +615,7 @@ module Aws::ServiceCatalog
574
615
  # `\{"NotificationArns" :
575
616
  # ["arn:aws:sns:us-east-1:123456789012:Topic"]\}`
576
617
  #
577
- # RESOUCE\_UPDATE
618
+ # RESOURCE\_UPDATE
578
619
  #
579
620
  # : Specify the `TagUpdatesOnProvisionedProduct` property as follows:
580
621
  #
@@ -838,6 +879,7 @@ module Aws::ServiceCatalog
838
879
  # "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
839
880
  # },
840
881
  # type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
882
+ # disable_template_validation: false,
841
883
  # },
842
884
  # idempotency_token: "IdempotencyToken", # required
843
885
  # }
@@ -1090,6 +1132,7 @@ module Aws::ServiceCatalog
1090
1132
  # "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
1091
1133
  # },
1092
1134
  # type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
1135
+ # disable_template_validation: false,
1093
1136
  # },
1094
1137
  # idempotency_token: "IdempotencyToken", # required
1095
1138
  # }
@@ -1727,12 +1770,17 @@ module Aws::ServiceCatalog
1727
1770
  # Information about the TagOptions associated with the portfolio.
1728
1771
  # @return [Array<Types::TagOptionDetail>]
1729
1772
  #
1773
+ # @!attribute [rw] budgets
1774
+ # Information about the associated budgets.
1775
+ # @return [Array<Types::BudgetDetail>]
1776
+ #
1730
1777
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioOutput AWS API Documentation
1731
1778
  #
1732
1779
  class DescribePortfolioOutput < Struct.new(
1733
1780
  :portfolio_detail,
1734
1781
  :tags,
1735
- :tag_options)
1782
+ :tag_options,
1783
+ :budgets)
1736
1784
  include Aws::Structure
1737
1785
  end
1738
1786
 
@@ -1740,7 +1788,7 @@ module Aws::ServiceCatalog
1740
1788
  # data as a hash:
1741
1789
  #
1742
1790
  # {
1743
- # portfolio_share_token: "PortfolioShareToken", # required
1791
+ # portfolio_share_token: "Id", # required
1744
1792
  # }
1745
1793
  #
1746
1794
  # @!attribute [rw] portfolio_share_token
@@ -1835,13 +1883,18 @@ module Aws::ServiceCatalog
1835
1883
  # Information about the TagOptions associated with the product.
1836
1884
  # @return [Array<Types::TagOptionDetail>]
1837
1885
  #
1886
+ # @!attribute [rw] budgets
1887
+ # Information about the associated budgets.
1888
+ # @return [Array<Types::BudgetDetail>]
1889
+ #
1838
1890
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminOutput AWS API Documentation
1839
1891
  #
1840
1892
  class DescribeProductAsAdminOutput < Struct.new(
1841
1893
  :product_view_detail,
1842
1894
  :provisioning_artifact_summaries,
1843
1895
  :tags,
1844
- :tag_options)
1896
+ :tag_options,
1897
+ :budgets)
1845
1898
  include Aws::Structure
1846
1899
  end
1847
1900
 
@@ -1884,11 +1937,16 @@ module Aws::ServiceCatalog
1884
1937
  # product.
1885
1938
  # @return [Array<Types::ProvisioningArtifact>]
1886
1939
  #
1940
+ # @!attribute [rw] budgets
1941
+ # Information about the associated budgets.
1942
+ # @return [Array<Types::BudgetDetail>]
1943
+ #
1887
1944
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductOutput AWS API Documentation
1888
1945
  #
1889
1946
  class DescribeProductOutput < Struct.new(
1890
1947
  :product_view_summary,
1891
- :provisioning_artifacts)
1948
+ :provisioning_artifacts,
1949
+ :budgets)
1892
1950
  include Aws::Structure
1893
1951
  end
1894
1952
 
@@ -2340,6 +2398,35 @@ module Aws::ServiceCatalog
2340
2398
  #
2341
2399
  class DisableAWSOrganizationsAccessOutput < Aws::EmptyStructure; end
2342
2400
 
2401
+ # @note When making an API call, you may pass DisassociateBudgetFromResourceInput
2402
+ # data as a hash:
2403
+ #
2404
+ # {
2405
+ # budget_name: "BudgetName", # required
2406
+ # resource_id: "Id", # required
2407
+ # }
2408
+ #
2409
+ # @!attribute [rw] budget_name
2410
+ # The name of the budget you want to disassociate.
2411
+ # @return [String]
2412
+ #
2413
+ # @!attribute [rw] resource_id
2414
+ # The resource identifier you want to disassociate from. Either a
2415
+ # portfolio-id or a product-id.
2416
+ # @return [String]
2417
+ #
2418
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateBudgetFromResourceInput AWS API Documentation
2419
+ #
2420
+ class DisassociateBudgetFromResourceInput < Struct.new(
2421
+ :budget_name,
2422
+ :resource_id)
2423
+ include Aws::Structure
2424
+ end
2425
+
2426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateBudgetFromResourceOutput AWS API Documentation
2427
+ #
2428
+ class DisassociateBudgetFromResourceOutput < Aws::EmptyStructure; end
2429
+
2343
2430
  # @note When making an API call, you may pass DisassociatePrincipalFromPortfolioInput
2344
2431
  # data as a hash:
2345
2432
  #
@@ -2766,6 +2853,66 @@ module Aws::ServiceCatalog
2766
2853
  include Aws::Structure
2767
2854
  end
2768
2855
 
2856
+ # @note When making an API call, you may pass ListBudgetsForResourceInput
2857
+ # data as a hash:
2858
+ #
2859
+ # {
2860
+ # accept_language: "AcceptLanguage",
2861
+ # resource_id: "Id", # required
2862
+ # page_size: 1,
2863
+ # page_token: "PageToken",
2864
+ # }
2865
+ #
2866
+ # @!attribute [rw] accept_language
2867
+ # The language code.
2868
+ #
2869
+ # * `en` - English (default)
2870
+ #
2871
+ # * `jp` - Japanese
2872
+ #
2873
+ # * `zh` - Chinese
2874
+ # @return [String]
2875
+ #
2876
+ # @!attribute [rw] resource_id
2877
+ # The resource identifier.
2878
+ # @return [String]
2879
+ #
2880
+ # @!attribute [rw] page_size
2881
+ # The maximum number of items to return with this call.
2882
+ # @return [Integer]
2883
+ #
2884
+ # @!attribute [rw] page_token
2885
+ # The page token for the next set of results. To retrieve the first
2886
+ # set of results, use null.
2887
+ # @return [String]
2888
+ #
2889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResourceInput AWS API Documentation
2890
+ #
2891
+ class ListBudgetsForResourceInput < Struct.new(
2892
+ :accept_language,
2893
+ :resource_id,
2894
+ :page_size,
2895
+ :page_token)
2896
+ include Aws::Structure
2897
+ end
2898
+
2899
+ # @!attribute [rw] budgets
2900
+ # Information about the associated budgets.
2901
+ # @return [Array<Types::BudgetDetail>]
2902
+ #
2903
+ # @!attribute [rw] next_page_token
2904
+ # The page token to use to retrieve the next set of results. If there
2905
+ # are no additional results, this value is null.
2906
+ # @return [String]
2907
+ #
2908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResourceOutput AWS API Documentation
2909
+ #
2910
+ class ListBudgetsForResourceOutput < Struct.new(
2911
+ :budgets,
2912
+ :next_page_token)
2913
+ include Aws::Structure
2914
+ end
2915
+
2769
2916
  # @note When making an API call, you may pass ListConstraintsForPortfolioInput
2770
2917
  # data as a hash:
2771
2918
  #
@@ -4565,6 +4712,7 @@ module Aws::ServiceCatalog
4565
4712
  # "ProvisioningArtifactInfoKey" => "ProvisioningArtifactInfoValue",
4566
4713
  # },
4567
4714
  # type: "CLOUD_FORMATION_TEMPLATE", # accepts CLOUD_FORMATION_TEMPLATE, MARKETPLACE_AMI, MARKETPLACE_CAR
4715
+ # disable_template_validation: false,
4568
4716
  # }
4569
4717
  #
4570
4718
  # @!attribute [rw] name
@@ -4595,13 +4743,19 @@ module Aws::ServiceCatalog
4595
4743
  # * `MARKETPLACE_CAR` - AWS Marketplace Clusters and AWS Resources
4596
4744
  # @return [String]
4597
4745
  #
4746
+ # @!attribute [rw] disable_template_validation
4747
+ # If set to true, AWS Service Catalog stops validating the specified
4748
+ # provisioning artifact even if it is invalid.
4749
+ # @return [Boolean]
4750
+ #
4598
4751
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisioningArtifactProperties AWS API Documentation
4599
4752
  #
4600
4753
  class ProvisioningArtifactProperties < Struct.new(
4601
4754
  :name,
4602
4755
  :description,
4603
4756
  :info,
4604
- :type)
4757
+ :type,
4758
+ :disable_template_validation)
4605
4759
  include Aws::Structure
4606
4760
  end
4607
4761
 
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.20.0
4
+ version: 1.21.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-03-28 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -59,7 +59,7 @@ files:
59
59
  - lib/aws-sdk-servicecatalog/errors.rb
60
60
  - lib/aws-sdk-servicecatalog/resource.rb
61
61
  - lib/aws-sdk-servicecatalog/types.rb
62
- homepage: http://github.com/aws/aws-sdk-ruby
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
63
  licenses:
64
64
  - Apache-2.0
65
65
  metadata: