aws-sdk-servicecatalog 1.11.0 → 1.12.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: f59f98a365563fe20d45d504ab75d3d71990ccfe
4
- data.tar.gz: ed837d577675b0a2dd7276bbfbbbc0afe03c3d00
3
+ metadata.gz: 917cb33d0702788e7c022cec6e2de7122f1a1e54
4
+ data.tar.gz: 1a90e8c6fbaad70d984c11a33321b2fb7fbfbc35
5
5
  SHA512:
6
- metadata.gz: c1f3787ecbbe41312728f69059457f2d71bcc3d89a57c6f7251d67c2718fd15d9166c54f87394abd7adfaf8ef49c986ebab23af7e6654b76e30c11cf8b6cf0b1
7
- data.tar.gz: bd7e1937428fe9e403e1791a2574bec8f99056d86732bc1751559892d1e8222682813a6bec7fad982b762d8ac2f1986e96478516ed99b2e367eef35e86c768f3
6
+ metadata.gz: 19f06917ed6802be5ca038431d58e2df57fd07012dedaa40d5ab47a539aacfa0e7c5f062a0e361c97d5786c8f6749bb5d582325e9da45e01a7aa96b814de3c4b
7
+ data.tar.gz: c27555141a7ab462b6491d9804aee3422e541f18a8b926f17ece26f2c59af794cc9a7fb796d9e4027627ecefaf1c9ee6a2ffa0ae8656f948008856557a5f3aa3
@@ -202,6 +202,21 @@ module Aws::ServiceCatalog
202
202
  # @option params [required, String] :portfolio_id
203
203
  # The portfolio identifier.
204
204
  #
205
+ # @option params [String] :portfolio_share_type
206
+ # The type of shared portfolios to accept. The default is to accept
207
+ # imported portfolios.
208
+ #
209
+ # * `AWS_ORGANIZATIONS` - Accept portfolios shared by the master account
210
+ # of your organization.
211
+ #
212
+ # * `IMPORTED` - Accept imported portfolios.
213
+ #
214
+ # * `AWS_SERVICECATALOG` - Not supported. (Throws
215
+ # ResourceNotFoundException.)
216
+ #
217
+ # For example, `aws servicecatalog accept-portfolio-share --portfolio-id
218
+ # "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS`
219
+ #
205
220
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
206
221
  #
207
222
  # @example Request syntax with placeholder values
@@ -209,6 +224,7 @@ module Aws::ServiceCatalog
209
224
  # resp = client.accept_portfolio_share({
210
225
  # accept_language: "AcceptLanguage",
211
226
  # portfolio_id: "Id", # required
227
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
212
228
  # })
213
229
  #
214
230
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare AWS API Documentation
@@ -720,7 +736,11 @@ module Aws::ServiceCatalog
720
736
  req.send_request(options)
721
737
  end
722
738
 
723
- # Shares the specified portfolio with the specified account.
739
+ # Shares the specified portfolio with the specified account or
740
+ # organization node. Shares to an organization node can only be created
741
+ # by the master account of an Organization. AWSOrganizationsAccess must
742
+ # be enabled in order to create a portfolio share to an organization
743
+ # node.
724
744
  #
725
745
  # @option params [String] :accept_language
726
746
  # The language code.
@@ -734,19 +754,36 @@ module Aws::ServiceCatalog
734
754
  # @option params [required, String] :portfolio_id
735
755
  # The portfolio identifier.
736
756
  #
737
- # @option params [required, String] :account_id
738
- # The AWS account ID.
757
+ # @option params [String] :account_id
758
+ # The AWS account ID. For example, `123456789012`.
739
759
  #
740
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
760
+ # @option params [Types::OrganizationNode] :organization_node
761
+ # The organization node to whom you are going to share. If
762
+ # `OrganizationNode` is passed in, `PortfolioShare` will be created for
763
+ # the node and its children (when applies), and a `PortfolioShareToken`
764
+ # will be returned in the output in order for the administrator to
765
+ # monitor the status of the `PortfolioShare` creation process.
766
+ #
767
+ # @return [Types::CreatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
768
+ #
769
+ # * {Types::CreatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
741
770
  #
742
771
  # @example Request syntax with placeholder values
743
772
  #
744
773
  # resp = client.create_portfolio_share({
745
774
  # accept_language: "AcceptLanguage",
746
775
  # portfolio_id: "Id", # required
747
- # account_id: "AccountId", # required
776
+ # account_id: "AccountId",
777
+ # organization_node: {
778
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
779
+ # value: "OrganizationNodeValue",
780
+ # },
748
781
  # })
749
782
  #
783
+ # @example Response structure
784
+ #
785
+ # resp.portfolio_share_token #=> String
786
+ #
750
787
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare AWS API Documentation
751
788
  #
752
789
  # @overload create_portfolio_share(params = {})
@@ -1254,7 +1291,9 @@ module Aws::ServiceCatalog
1254
1291
  req.send_request(options)
1255
1292
  end
1256
1293
 
1257
- # Stops sharing the specified portfolio with the specified account.
1294
+ # Stops sharing the specified portfolio with the specified account or
1295
+ # organization node. Shares to an organization node can only be deleted
1296
+ # by the master account of an Organization.
1258
1297
  #
1259
1298
  # @option params [String] :accept_language
1260
1299
  # The language code.
@@ -1268,19 +1307,32 @@ module Aws::ServiceCatalog
1268
1307
  # @option params [required, String] :portfolio_id
1269
1308
  # The portfolio identifier.
1270
1309
  #
1271
- # @option params [required, String] :account_id
1310
+ # @option params [String] :account_id
1272
1311
  # The AWS account ID.
1273
1312
  #
1274
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1313
+ # @option params [Types::OrganizationNode] :organization_node
1314
+ # The organization node to whom you are going to stop sharing.
1315
+ #
1316
+ # @return [Types::DeletePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1317
+ #
1318
+ # * {Types::DeletePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
1275
1319
  #
1276
1320
  # @example Request syntax with placeholder values
1277
1321
  #
1278
1322
  # resp = client.delete_portfolio_share({
1279
1323
  # accept_language: "AcceptLanguage",
1280
1324
  # portfolio_id: "Id", # required
1281
- # account_id: "AccountId", # required
1325
+ # account_id: "AccountId",
1326
+ # organization_node: {
1327
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
1328
+ # value: "OrganizationNodeValue",
1329
+ # },
1282
1330
  # })
1283
1331
  #
1332
+ # @example Response structure
1333
+ #
1334
+ # resp.portfolio_share_token #=> String
1335
+ #
1284
1336
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare AWS API Documentation
1285
1337
  #
1286
1338
  # @overload delete_portfolio_share(params = {})
@@ -1602,6 +1654,50 @@ module Aws::ServiceCatalog
1602
1654
  req.send_request(options)
1603
1655
  end
1604
1656
 
1657
+ # Gets the status of the specified portfolio share operation. This API
1658
+ # can only be called by the master account in the organization.
1659
+ #
1660
+ # @option params [required, String] :portfolio_share_token
1661
+ # The token for the portfolio share operation. This token is returned
1662
+ # either by CreatePortfolioShare or by DeletePortfolioShare.
1663
+ #
1664
+ # @return [Types::DescribePortfolioShareStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1665
+ #
1666
+ # * {Types::DescribePortfolioShareStatusOutput#portfolio_share_token #portfolio_share_token} => String
1667
+ # * {Types::DescribePortfolioShareStatusOutput#portfolio_id #portfolio_id} => String
1668
+ # * {Types::DescribePortfolioShareStatusOutput#organization_node_value #organization_node_value} => String
1669
+ # * {Types::DescribePortfolioShareStatusOutput#status #status} => String
1670
+ # * {Types::DescribePortfolioShareStatusOutput#share_details #share_details} => Types::ShareDetails
1671
+ #
1672
+ # @example Request syntax with placeholder values
1673
+ #
1674
+ # resp = client.describe_portfolio_share_status({
1675
+ # portfolio_share_token: "PortfolioShareToken", # required
1676
+ # })
1677
+ #
1678
+ # @example Response structure
1679
+ #
1680
+ # resp.portfolio_share_token #=> String
1681
+ # resp.portfolio_id #=> String
1682
+ # resp.organization_node_value #=> String
1683
+ # resp.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "ERROR"
1684
+ # resp.share_details.successful_shares #=> Array
1685
+ # resp.share_details.successful_shares[0] #=> String
1686
+ # resp.share_details.share_errors #=> Array
1687
+ # resp.share_details.share_errors[0].accounts #=> Array
1688
+ # resp.share_details.share_errors[0].accounts[0] #=> String
1689
+ # resp.share_details.share_errors[0].message #=> String
1690
+ # resp.share_details.share_errors[0].error #=> String
1691
+ #
1692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShareStatus AWS API Documentation
1693
+ #
1694
+ # @overload describe_portfolio_share_status(params = {})
1695
+ # @param [Hash] params ({})
1696
+ def describe_portfolio_share_status(params = {}, options = {})
1697
+ req = build_request(:describe_portfolio_share_status, params)
1698
+ req.send_request(options)
1699
+ end
1700
+
1605
1701
  # Gets information about the specified product.
1606
1702
  #
1607
1703
  # @option params [String] :accept_language
@@ -2198,6 +2294,24 @@ module Aws::ServiceCatalog
2198
2294
  req.send_request(options)
2199
2295
  end
2200
2296
 
2297
+ # Disable portfolio sharing through AWS Organizations feature. This
2298
+ # feature will not delete your current shares but it will prevent you
2299
+ # from creating new shares throughout your organization. Current shares
2300
+ # will not be in sync with your organization structure if it changes
2301
+ # after calling this API. This API can only be called by the master
2302
+ # account in the organization.
2303
+ #
2304
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2305
+ #
2306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccess AWS API Documentation
2307
+ #
2308
+ # @overload disable_aws_organizations_access(params = {})
2309
+ # @param [Hash] params ({})
2310
+ def disable_aws_organizations_access(params = {}, options = {})
2311
+ req = build_request(:disable_aws_organizations_access, params)
2312
+ req.send_request(options)
2313
+ end
2314
+
2201
2315
  # Disassociates a previously associated principal ARN from a specified
2202
2316
  # portfolio.
2203
2317
  #
@@ -2339,6 +2453,26 @@ module Aws::ServiceCatalog
2339
2453
  req.send_request(options)
2340
2454
  end
2341
2455
 
2456
+ # Enable portfolio sharing feature through AWS Organizations. This API
2457
+ # will allow Service Catalog to receive updates on your organization in
2458
+ # order to sync your shares with the current structure. This API can
2459
+ # only be called by the master account in the organization.
2460
+ #
2461
+ # By calling this API Service Catalog will use FAS credentials to call
2462
+ # organizations:EnableAWSServiceAccess so that your shares can be in
2463
+ # sync with any changes in your AWS Organizations.
2464
+ #
2465
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2466
+ #
2467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccess AWS API Documentation
2468
+ #
2469
+ # @overload enable_aws_organizations_access(params = {})
2470
+ # @param [Hash] params ({})
2471
+ def enable_aws_organizations_access(params = {}, options = {})
2472
+ req = build_request(:enable_aws_organizations_access, params)
2473
+ req.send_request(options)
2474
+ end
2475
+
2342
2476
  # Provisions or modifies a product based on the resource changes for the
2343
2477
  # specified plan.
2344
2478
  #
@@ -2468,6 +2602,26 @@ module Aws::ServiceCatalog
2468
2602
  req.send_request(options)
2469
2603
  end
2470
2604
 
2605
+ # Get the Access Status for AWS Organization portfolio share feature.
2606
+ # This API can only be called by the master account in the organization.
2607
+ #
2608
+ # @return [Types::GetAWSOrganizationsAccessStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2609
+ #
2610
+ # * {Types::GetAWSOrganizationsAccessStatusOutput#access_status #access_status} => String
2611
+ #
2612
+ # @example Response structure
2613
+ #
2614
+ # resp.access_status #=> String, one of "ENABLED", "UNDER_CHANGE", "DISABLED"
2615
+ #
2616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetAWSOrganizationsAccessStatus AWS API Documentation
2617
+ #
2618
+ # @overload get_aws_organizations_access_status(params = {})
2619
+ # @param [Hash] params ({})
2620
+ def get_aws_organizations_access_status(params = {}, options = {})
2621
+ req = build_request(:get_aws_organizations_access_status, params)
2622
+ req.send_request(options)
2623
+ end
2624
+
2471
2625
  # Lists all portfolios for which sharing was accepted by this account.
2472
2626
  #
2473
2627
  # @option params [String] :accept_language
@@ -2490,6 +2644,9 @@ module Aws::ServiceCatalog
2490
2644
  # The type of shared portfolios to list. The default is to list imported
2491
2645
  # portfolios.
2492
2646
  #
2647
+ # * `AWS_ORGANIZATIONS` - List portfolios shared by the master account
2648
+ # of your organization
2649
+ #
2493
2650
  # * `AWS_SERVICECATALOG` - List default portfolios
2494
2651
  #
2495
2652
  # * `IMPORTED` - List imported portfolios
@@ -2505,7 +2662,7 @@ module Aws::ServiceCatalog
2505
2662
  # accept_language: "AcceptLanguage",
2506
2663
  # page_token: "PageToken",
2507
2664
  # page_size: 1,
2508
- # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG
2665
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
2509
2666
  # })
2510
2667
  #
2511
2668
  # @example Response structure
@@ -2644,6 +2801,71 @@ module Aws::ServiceCatalog
2644
2801
  req.send_request(options)
2645
2802
  end
2646
2803
 
2804
+ # Lists the organization nodes that have access to the specified
2805
+ # portfolio. This API can only be called by the master account in the
2806
+ # organization.
2807
+ #
2808
+ # @option params [String] :accept_language
2809
+ # The language code.
2810
+ #
2811
+ # * `en` - English (default)
2812
+ #
2813
+ # * `jp` - Japanese
2814
+ #
2815
+ # * `zh` - Chinese
2816
+ #
2817
+ # @option params [required, String] :portfolio_id
2818
+ # The portfolio identifier. For example, `port-2abcdext3y5fk`.
2819
+ #
2820
+ # @option params [required, String] :organization_node_type
2821
+ # The organization node type that will be returned in the output.
2822
+ #
2823
+ # * `ORGANIZATION` - Organization that has access to the portfolio.
2824
+ #
2825
+ # * `ORGANIZATIONAL_UNIT` - Organizational unit that has access to the
2826
+ # portfolio within your organization.
2827
+ #
2828
+ # * `ACCOUNT` - Account that has access to the portfolio within your
2829
+ # organization.
2830
+ #
2831
+ # @option params [String] :page_token
2832
+ # The page token for the next set of results. To retrieve the first set
2833
+ # of results, use null.
2834
+ #
2835
+ # @option params [Integer] :page_size
2836
+ # The maximum number of items to return with this call.
2837
+ #
2838
+ # @return [Types::ListOrganizationPortfolioAccessOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2839
+ #
2840
+ # * {Types::ListOrganizationPortfolioAccessOutput#organization_nodes #organization_nodes} => Array<Types::OrganizationNode>
2841
+ # * {Types::ListOrganizationPortfolioAccessOutput#next_page_token #next_page_token} => String
2842
+ #
2843
+ # @example Request syntax with placeholder values
2844
+ #
2845
+ # resp = client.list_organization_portfolio_access({
2846
+ # accept_language: "AcceptLanguage",
2847
+ # portfolio_id: "Id", # required
2848
+ # organization_node_type: "ORGANIZATION", # required, accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
2849
+ # page_token: "PageToken",
2850
+ # page_size: 1,
2851
+ # })
2852
+ #
2853
+ # @example Response structure
2854
+ #
2855
+ # resp.organization_nodes #=> Array
2856
+ # resp.organization_nodes[0].type #=> String, one of "ORGANIZATION", "ORGANIZATIONAL_UNIT", "ACCOUNT"
2857
+ # resp.organization_nodes[0].value #=> String
2858
+ # resp.next_page_token #=> String
2859
+ #
2860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListOrganizationPortfolioAccess AWS API Documentation
2861
+ #
2862
+ # @overload list_organization_portfolio_access(params = {})
2863
+ # @param [Hash] params ({})
2864
+ def list_organization_portfolio_access(params = {}, options = {})
2865
+ req = build_request(:list_organization_portfolio_access, params)
2866
+ req.send_request(options)
2867
+ end
2868
+
2647
2869
  # Lists the account IDs that have access to the specified portfolio.
2648
2870
  #
2649
2871
  # @option params [String] :accept_language
@@ -3427,6 +3649,21 @@ module Aws::ServiceCatalog
3427
3649
  # @option params [required, String] :portfolio_id
3428
3650
  # The portfolio identifier.
3429
3651
  #
3652
+ # @option params [String] :portfolio_share_type
3653
+ # The type of shared portfolios to reject. The default is to reject
3654
+ # imported portfolios.
3655
+ #
3656
+ # * `AWS_ORGANIZATIONS` - Reject portfolios shared by the master account
3657
+ # of your organization.
3658
+ #
3659
+ # * `IMPORTED` - Reject imported portfolios.
3660
+ #
3661
+ # * `AWS_SERVICECATALOG` - Not supported. (Throws
3662
+ # ResourceNotFoundException.)
3663
+ #
3664
+ # For example, `aws servicecatalog reject-portfolio-share --portfolio-id
3665
+ # "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS`
3666
+ #
3430
3667
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3431
3668
  #
3432
3669
  # @example Request syntax with placeholder values
@@ -3434,6 +3671,7 @@ module Aws::ServiceCatalog
3434
3671
  # resp = client.reject_portfolio_share({
3435
3672
  # accept_language: "AcceptLanguage",
3436
3673
  # portfolio_id: "Id", # required
3674
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
3437
3675
  # })
3438
3676
  #
3439
3677
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare AWS API Documentation
@@ -4090,7 +4328,7 @@ module Aws::ServiceCatalog
4090
4328
  # `ProvisionedProductName` and `ProvisionedProductId`.
4091
4329
  #
4092
4330
  # @option params [String] :product_id
4093
- # The identifier of the provisioned product.
4331
+ # The identifier of the product.
4094
4332
  #
4095
4333
  # @option params [String] :provisioning_artifact_id
4096
4334
  # The identifier of the provisioning artifact.
@@ -4338,7 +4576,7 @@ module Aws::ServiceCatalog
4338
4576
  params: params,
4339
4577
  config: config)
4340
4578
  context[:gem_name] = 'aws-sdk-servicecatalog'
4341
- context[:gem_version] = '1.11.0'
4579
+ context[:gem_version] = '1.12.0'
4342
4580
  Seahorse::Client::Request.new(handlers, context)
4343
4581
  end
4344
4582
 
@@ -17,6 +17,7 @@ module Aws::ServiceCatalog
17
17
  AccessLevelFilter = Shapes::StructureShape.new(name: 'AccessLevelFilter')
18
18
  AccessLevelFilterKey = Shapes::StringShape.new(name: 'AccessLevelFilterKey')
19
19
  AccessLevelFilterValue = Shapes::StringShape.new(name: 'AccessLevelFilterValue')
20
+ AccessStatus = Shapes::StringShape.new(name: 'AccessStatus')
20
21
  AccountId = Shapes::StringShape.new(name: 'AccountId')
21
22
  AccountIds = Shapes::ListShape.new(name: 'AccountIds')
22
23
  AddTags = Shapes::ListShape.new(name: 'AddTags')
@@ -94,6 +95,8 @@ module Aws::ServiceCatalog
94
95
  DescribeCopyProductStatusOutput = Shapes::StructureShape.new(name: 'DescribeCopyProductStatusOutput')
95
96
  DescribePortfolioInput = Shapes::StructureShape.new(name: 'DescribePortfolioInput')
96
97
  DescribePortfolioOutput = Shapes::StructureShape.new(name: 'DescribePortfolioOutput')
98
+ DescribePortfolioShareStatusInput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusInput')
99
+ DescribePortfolioShareStatusOutput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusOutput')
97
100
  DescribeProductAsAdminInput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminInput')
98
101
  DescribeProductAsAdminOutput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminOutput')
99
102
  DescribeProductInput = Shapes::StructureShape.new(name: 'DescribeProductInput')
@@ -115,6 +118,8 @@ module Aws::ServiceCatalog
115
118
  DescribeTagOptionInput = Shapes::StructureShape.new(name: 'DescribeTagOptionInput')
116
119
  DescribeTagOptionOutput = Shapes::StructureShape.new(name: 'DescribeTagOptionOutput')
117
120
  Description = Shapes::StringShape.new(name: 'Description')
121
+ DisableAWSOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DisableAWSOrganizationsAccessInput')
122
+ DisableAWSOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DisableAWSOrganizationsAccessOutput')
118
123
  DisassociatePrincipalFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioInput')
119
124
  DisassociatePrincipalFromPortfolioOutput = Shapes::StructureShape.new(name: 'DisassociatePrincipalFromPortfolioOutput')
120
125
  DisassociateProductFromPortfolioInput = Shapes::StructureShape.new(name: 'DisassociateProductFromPortfolioInput')
@@ -124,6 +129,9 @@ module Aws::ServiceCatalog
124
129
  DisassociateTagOptionFromResourceInput = Shapes::StructureShape.new(name: 'DisassociateTagOptionFromResourceInput')
125
130
  DisassociateTagOptionFromResourceOutput = Shapes::StructureShape.new(name: 'DisassociateTagOptionFromResourceOutput')
126
131
  DuplicateResourceException = Shapes::StructureShape.new(name: 'DuplicateResourceException')
132
+ EnableAWSOrganizationsAccessInput = Shapes::StructureShape.new(name: 'EnableAWSOrganizationsAccessInput')
133
+ EnableAWSOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'EnableAWSOrganizationsAccessOutput')
134
+ Error = Shapes::StringShape.new(name: 'Error')
127
135
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
128
136
  ErrorDescription = Shapes::StringShape.new(name: 'ErrorDescription')
129
137
  EvaluationType = Shapes::StringShape.new(name: 'EvaluationType')
@@ -133,6 +141,8 @@ module Aws::ServiceCatalog
133
141
  ExecuteProvisionedProductServiceActionOutput = Shapes::StructureShape.new(name: 'ExecuteProvisionedProductServiceActionOutput')
134
142
  FailedServiceActionAssociation = Shapes::StructureShape.new(name: 'FailedServiceActionAssociation')
135
143
  FailedServiceActionAssociations = Shapes::ListShape.new(name: 'FailedServiceActionAssociations')
144
+ GetAWSOrganizationsAccessStatusInput = Shapes::StructureShape.new(name: 'GetAWSOrganizationsAccessStatusInput')
145
+ GetAWSOrganizationsAccessStatusOutput = Shapes::StructureShape.new(name: 'GetAWSOrganizationsAccessStatusOutput')
136
146
  HasDefaultPath = Shapes::BooleanShape.new(name: 'HasDefaultPath')
137
147
  Id = Shapes::StringShape.new(name: 'Id')
138
148
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
@@ -151,6 +161,8 @@ module Aws::ServiceCatalog
151
161
  ListConstraintsForPortfolioOutput = Shapes::StructureShape.new(name: 'ListConstraintsForPortfolioOutput')
152
162
  ListLaunchPathsInput = Shapes::StructureShape.new(name: 'ListLaunchPathsInput')
153
163
  ListLaunchPathsOutput = Shapes::StructureShape.new(name: 'ListLaunchPathsOutput')
164
+ ListOrganizationPortfolioAccessInput = Shapes::StructureShape.new(name: 'ListOrganizationPortfolioAccessInput')
165
+ ListOrganizationPortfolioAccessOutput = Shapes::StructureShape.new(name: 'ListOrganizationPortfolioAccessOutput')
154
166
  ListPortfolioAccessInput = Shapes::StructureShape.new(name: 'ListPortfolioAccessInput')
155
167
  ListPortfolioAccessOutput = Shapes::StructureShape.new(name: 'ListPortfolioAccessOutput')
156
168
  ListPortfoliosForProductInput = Shapes::StructureShape.new(name: 'ListPortfoliosForProductInput')
@@ -178,9 +190,16 @@ module Aws::ServiceCatalog
178
190
  ListTagOptionsInput = Shapes::StructureShape.new(name: 'ListTagOptionsInput')
179
191
  ListTagOptionsOutput = Shapes::StructureShape.new(name: 'ListTagOptionsOutput')
180
192
  LogicalResourceId = Shapes::StringShape.new(name: 'LogicalResourceId')
193
+ Message = Shapes::StringShape.new(name: 'Message')
194
+ Namespaces = Shapes::ListShape.new(name: 'Namespaces')
181
195
  NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
182
196
  NotificationArn = Shapes::StringShape.new(name: 'NotificationArn')
183
197
  NotificationArns = Shapes::ListShape.new(name: 'NotificationArns')
198
+ OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
199
+ OrganizationNode = Shapes::StructureShape.new(name: 'OrganizationNode')
200
+ OrganizationNodeType = Shapes::StringShape.new(name: 'OrganizationNodeType')
201
+ OrganizationNodeValue = Shapes::StringShape.new(name: 'OrganizationNodeValue')
202
+ OrganizationNodes = Shapes::ListShape.new(name: 'OrganizationNodes')
184
203
  OutputKey = Shapes::StringShape.new(name: 'OutputKey')
185
204
  OutputValue = Shapes::StringShape.new(name: 'OutputValue')
186
205
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
@@ -197,6 +216,7 @@ module Aws::ServiceCatalog
197
216
  PortfolioDetails = Shapes::ListShape.new(name: 'PortfolioDetails')
198
217
  PortfolioDisplayName = Shapes::StringShape.new(name: 'PortfolioDisplayName')
199
218
  PortfolioName = Shapes::StringShape.new(name: 'PortfolioName')
219
+ PortfolioShareToken = Shapes::StringShape.new(name: 'PortfolioShareToken')
200
220
  PortfolioShareType = Shapes::StringShape.new(name: 'PortfolioShareType')
201
221
  Principal = Shapes::StructureShape.new(name: 'Principal')
202
222
  PrincipalARN = Shapes::StringShape.new(name: 'PrincipalARN')
@@ -328,6 +348,10 @@ module Aws::ServiceCatalog
328
348
  ServiceActionName = Shapes::StringShape.new(name: 'ServiceActionName')
329
349
  ServiceActionSummaries = Shapes::ListShape.new(name: 'ServiceActionSummaries')
330
350
  ServiceActionSummary = Shapes::StructureShape.new(name: 'ServiceActionSummary')
351
+ ShareDetails = Shapes::StructureShape.new(name: 'ShareDetails')
352
+ ShareError = Shapes::StructureShape.new(name: 'ShareError')
353
+ ShareErrors = Shapes::ListShape.new(name: 'ShareErrors')
354
+ ShareStatus = Shapes::StringShape.new(name: 'ShareStatus')
331
355
  SortField = Shapes::StringShape.new(name: 'SortField')
332
356
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
333
357
  SourceProvisioningArtifactProperties = Shapes::ListShape.new(name: 'SourceProvisioningArtifactProperties')
@@ -335,6 +359,7 @@ module Aws::ServiceCatalog
335
359
  Status = Shapes::StringShape.new(name: 'Status')
336
360
  StatusDetail = Shapes::StringShape.new(name: 'StatusDetail')
337
361
  StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
362
+ SuccessfulShares = Shapes::ListShape.new(name: 'SuccessfulShares')
338
363
  SupportDescription = Shapes::StringShape.new(name: 'SupportDescription')
339
364
  SupportEmail = Shapes::StringShape.new(name: 'SupportEmail')
340
365
  SupportUrl = Shapes::StringShape.new(name: 'SupportUrl')
@@ -382,6 +407,7 @@ module Aws::ServiceCatalog
382
407
 
383
408
  AcceptPortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
384
409
  AcceptPortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
410
+ AcceptPortfolioShareInput.add_member(:portfolio_share_type, Shapes::ShapeRef.new(shape: PortfolioShareType, location_name: "PortfolioShareType"))
385
411
  AcceptPortfolioShareInput.struct_class = Types::AcceptPortfolioShareInput
386
412
 
387
413
  AcceptPortfolioShareOutput.struct_class = Types::AcceptPortfolioShareOutput
@@ -501,9 +527,11 @@ module Aws::ServiceCatalog
501
527
 
502
528
  CreatePortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
503
529
  CreatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
504
- CreatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
530
+ CreatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
531
+ CreatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
505
532
  CreatePortfolioShareInput.struct_class = Types::CreatePortfolioShareInput
506
533
 
534
+ CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
507
535
  CreatePortfolioShareOutput.struct_class = Types::CreatePortfolioShareOutput
508
536
 
509
537
  CreateProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -588,9 +616,11 @@ module Aws::ServiceCatalog
588
616
 
589
617
  DeletePortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
590
618
  DeletePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
591
- DeletePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "AccountId"))
619
+ DeletePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
620
+ DeletePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
592
621
  DeletePortfolioShareInput.struct_class = Types::DeletePortfolioShareInput
593
622
 
623
+ DeletePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
594
624
  DeletePortfolioShareOutput.struct_class = Types::DeletePortfolioShareOutput
595
625
 
596
626
  DeleteProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
@@ -651,6 +681,16 @@ module Aws::ServiceCatalog
651
681
  DescribePortfolioOutput.add_member(:tag_options, Shapes::ShapeRef.new(shape: TagOptionDetails, location_name: "TagOptions"))
652
682
  DescribePortfolioOutput.struct_class = Types::DescribePortfolioOutput
653
683
 
684
+ DescribePortfolioShareStatusInput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, required: true, location_name: "PortfolioShareToken"))
685
+ DescribePortfolioShareStatusInput.struct_class = Types::DescribePortfolioShareStatusInput
686
+
687
+ DescribePortfolioShareStatusOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: PortfolioShareToken, location_name: "PortfolioShareToken"))
688
+ DescribePortfolioShareStatusOutput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioId"))
689
+ DescribePortfolioShareStatusOutput.add_member(:organization_node_value, Shapes::ShapeRef.new(shape: OrganizationNodeValue, location_name: "OrganizationNodeValue"))
690
+ DescribePortfolioShareStatusOutput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
691
+ DescribePortfolioShareStatusOutput.add_member(:share_details, Shapes::ShapeRef.new(shape: ShareDetails, location_name: "ShareDetails"))
692
+ DescribePortfolioShareStatusOutput.struct_class = Types::DescribePortfolioShareStatusOutput
693
+
654
694
  DescribeProductAsAdminInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
655
695
  DescribeProductAsAdminInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
656
696
  DescribeProductAsAdminInput.struct_class = Types::DescribeProductAsAdminInput
@@ -743,6 +783,10 @@ module Aws::ServiceCatalog
743
783
  DescribeTagOptionOutput.add_member(:tag_option_detail, Shapes::ShapeRef.new(shape: TagOptionDetail, location_name: "TagOptionDetail"))
744
784
  DescribeTagOptionOutput.struct_class = Types::DescribeTagOptionOutput
745
785
 
786
+ DisableAWSOrganizationsAccessInput.struct_class = Types::DisableAWSOrganizationsAccessInput
787
+
788
+ DisableAWSOrganizationsAccessOutput.struct_class = Types::DisableAWSOrganizationsAccessOutput
789
+
746
790
  DisassociatePrincipalFromPortfolioInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
747
791
  DisassociatePrincipalFromPortfolioInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
748
792
  DisassociatePrincipalFromPortfolioInput.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, required: true, location_name: "PrincipalARN"))
@@ -771,6 +815,10 @@ module Aws::ServiceCatalog
771
815
 
772
816
  DisassociateTagOptionFromResourceOutput.struct_class = Types::DisassociateTagOptionFromResourceOutput
773
817
 
818
+ EnableAWSOrganizationsAccessInput.struct_class = Types::EnableAWSOrganizationsAccessInput
819
+
820
+ EnableAWSOrganizationsAccessOutput.struct_class = Types::EnableAWSOrganizationsAccessOutput
821
+
774
822
  ExecuteProvisionedProductPlanInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
775
823
  ExecuteProvisionedProductPlanInput.add_member(:plan_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PlanId"))
776
824
  ExecuteProvisionedProductPlanInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: IdempotencyToken, required: true, location_name: "IdempotencyToken", metadata: {"idempotencyToken"=>true}))
@@ -797,6 +845,11 @@ module Aws::ServiceCatalog
797
845
 
798
846
  FailedServiceActionAssociations.member = Shapes::ShapeRef.new(shape: FailedServiceActionAssociation)
799
847
 
848
+ GetAWSOrganizationsAccessStatusInput.struct_class = Types::GetAWSOrganizationsAccessStatusInput
849
+
850
+ GetAWSOrganizationsAccessStatusOutput.add_member(:access_status, Shapes::ShapeRef.new(shape: AccessStatus, location_name: "AccessStatus"))
851
+ GetAWSOrganizationsAccessStatusOutput.struct_class = Types::GetAWSOrganizationsAccessStatusOutput
852
+
800
853
  LaunchPathSummaries.member = Shapes::ShapeRef.new(shape: LaunchPathSummary)
801
854
 
802
855
  LaunchPathSummary.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
@@ -836,6 +889,17 @@ module Aws::ServiceCatalog
836
889
  ListLaunchPathsOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
837
890
  ListLaunchPathsOutput.struct_class = Types::ListLaunchPathsOutput
838
891
 
892
+ ListOrganizationPortfolioAccessInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
893
+ ListOrganizationPortfolioAccessInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
894
+ ListOrganizationPortfolioAccessInput.add_member(:organization_node_type, Shapes::ShapeRef.new(shape: OrganizationNodeType, required: true, location_name: "OrganizationNodeType"))
895
+ ListOrganizationPortfolioAccessInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
896
+ ListOrganizationPortfolioAccessInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
897
+ ListOrganizationPortfolioAccessInput.struct_class = Types::ListOrganizationPortfolioAccessInput
898
+
899
+ ListOrganizationPortfolioAccessOutput.add_member(:organization_nodes, Shapes::ShapeRef.new(shape: OrganizationNodes, location_name: "OrganizationNodes"))
900
+ ListOrganizationPortfolioAccessOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
901
+ ListOrganizationPortfolioAccessOutput.struct_class = Types::ListOrganizationPortfolioAccessOutput
902
+
839
903
  ListPortfolioAccessInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
840
904
  ListPortfolioAccessInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
841
905
  ListPortfolioAccessInput.struct_class = Types::ListPortfolioAccessInput
@@ -961,8 +1025,16 @@ module Aws::ServiceCatalog
961
1025
  ListTagOptionsOutput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
962
1026
  ListTagOptionsOutput.struct_class = Types::ListTagOptionsOutput
963
1027
 
1028
+ Namespaces.member = Shapes::ShapeRef.new(shape: AccountId)
1029
+
964
1030
  NotificationArns.member = Shapes::ShapeRef.new(shape: NotificationArn)
965
1031
 
1032
+ OrganizationNode.add_member(:type, Shapes::ShapeRef.new(shape: OrganizationNodeType, location_name: "Type"))
1033
+ OrganizationNode.add_member(:value, Shapes::ShapeRef.new(shape: OrganizationNodeValue, location_name: "Value"))
1034
+ OrganizationNode.struct_class = Types::OrganizationNode
1035
+
1036
+ OrganizationNodes.member = Shapes::ShapeRef.new(shape: OrganizationNode)
1037
+
966
1038
  ParameterConstraints.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "AllowedValues"))
967
1039
  ParameterConstraints.struct_class = Types::ParameterConstraints
968
1040
 
@@ -1195,6 +1267,7 @@ module Aws::ServiceCatalog
1195
1267
 
1196
1268
  RejectPortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1197
1269
  RejectPortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
1270
+ RejectPortfolioShareInput.add_member(:portfolio_share_type, Shapes::ShapeRef.new(shape: PortfolioShareType, location_name: "PortfolioShareType"))
1198
1271
  RejectPortfolioShareInput.struct_class = Types::RejectPortfolioShareInput
1199
1272
 
1200
1273
  RejectPortfolioShareOutput.struct_class = Types::RejectPortfolioShareOutput
@@ -1306,11 +1379,24 @@ module Aws::ServiceCatalog
1306
1379
  ServiceActionSummary.add_member(:definition_type, Shapes::ShapeRef.new(shape: ServiceActionDefinitionType, location_name: "DefinitionType"))
1307
1380
  ServiceActionSummary.struct_class = Types::ServiceActionSummary
1308
1381
 
1382
+ ShareDetails.add_member(:successful_shares, Shapes::ShapeRef.new(shape: SuccessfulShares, location_name: "SuccessfulShares"))
1383
+ ShareDetails.add_member(:share_errors, Shapes::ShapeRef.new(shape: ShareErrors, location_name: "ShareErrors"))
1384
+ ShareDetails.struct_class = Types::ShareDetails
1385
+
1386
+ ShareError.add_member(:accounts, Shapes::ShapeRef.new(shape: Namespaces, location_name: "Accounts"))
1387
+ ShareError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
1388
+ ShareError.add_member(:error, Shapes::ShapeRef.new(shape: Error, location_name: "Error"))
1389
+ ShareError.struct_class = Types::ShareError
1390
+
1391
+ ShareErrors.member = Shapes::ShapeRef.new(shape: ShareError)
1392
+
1309
1393
  SourceProvisioningArtifactProperties.member = Shapes::ShapeRef.new(shape: SourceProvisioningArtifactPropertiesMap)
1310
1394
 
1311
1395
  SourceProvisioningArtifactPropertiesMap.key = Shapes::ShapeRef.new(shape: ProvisioningArtifactPropertyName)
1312
1396
  SourceProvisioningArtifactPropertiesMap.value = Shapes::ShapeRef.new(shape: ProvisioningArtifactPropertyValue)
1313
1397
 
1398
+ SuccessfulShares.member = Shapes::ShapeRef.new(shape: AccountId)
1399
+
1314
1400
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
1315
1401
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
1316
1402
  Tag.struct_class = Types::Tag
@@ -1578,6 +1664,7 @@ module Aws::ServiceCatalog
1578
1664
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1579
1665
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1580
1666
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1581
1668
  end)
1582
1669
 
1583
1670
  api.add_operation(:create_product, Seahorse::Model::Operation.new.tap do |o|
@@ -1663,6 +1750,8 @@ module Aws::ServiceCatalog
1663
1750
  o.input = Shapes::ShapeRef.new(shape: DeletePortfolioShareInput)
1664
1751
  o.output = Shapes::ShapeRef.new(shape: DeletePortfolioShareOutput)
1665
1752
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1753
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1666
1755
  end)
1667
1756
 
1668
1757
  api.add_operation(:delete_product, Seahorse::Model::Operation.new.tap do |o|
@@ -1746,6 +1835,17 @@ module Aws::ServiceCatalog
1746
1835
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1747
1836
  end)
1748
1837
 
1838
+ api.add_operation(:describe_portfolio_share_status, Seahorse::Model::Operation.new.tap do |o|
1839
+ o.name = "DescribePortfolioShareStatus"
1840
+ o.http_method = "POST"
1841
+ o.http_request_uri = "/"
1842
+ o.input = Shapes::ShapeRef.new(shape: DescribePortfolioShareStatusInput)
1843
+ o.output = Shapes::ShapeRef.new(shape: DescribePortfolioShareStatusOutput)
1844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1845
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1847
+ end)
1848
+
1749
1849
  api.add_operation(:describe_product, Seahorse::Model::Operation.new.tap do |o|
1750
1850
  o.name = "DescribeProduct"
1751
1851
  o.http_method = "POST"
@@ -1841,6 +1941,17 @@ module Aws::ServiceCatalog
1841
1941
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1842
1942
  end)
1843
1943
 
1944
+ api.add_operation(:disable_aws_organizations_access, Seahorse::Model::Operation.new.tap do |o|
1945
+ o.name = "DisableAWSOrganizationsAccess"
1946
+ o.http_method = "POST"
1947
+ o.http_request_uri = "/"
1948
+ o.input = Shapes::ShapeRef.new(shape: DisableAWSOrganizationsAccessInput)
1949
+ o.output = Shapes::ShapeRef.new(shape: DisableAWSOrganizationsAccessOutput)
1950
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
1952
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1953
+ end)
1954
+
1844
1955
  api.add_operation(:disassociate_principal_from_portfolio, Seahorse::Model::Operation.new.tap do |o|
1845
1956
  o.name = "DisassociatePrincipalFromPortfolio"
1846
1957
  o.http_method = "POST"
@@ -1881,6 +1992,17 @@ module Aws::ServiceCatalog
1881
1992
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1882
1993
  end)
1883
1994
 
1995
+ api.add_operation(:enable_aws_organizations_access, Seahorse::Model::Operation.new.tap do |o|
1996
+ o.name = "EnableAWSOrganizationsAccess"
1997
+ o.http_method = "POST"
1998
+ o.http_request_uri = "/"
1999
+ o.input = Shapes::ShapeRef.new(shape: EnableAWSOrganizationsAccessInput)
2000
+ o.output = Shapes::ShapeRef.new(shape: EnableAWSOrganizationsAccessOutput)
2001
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2002
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2003
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2004
+ end)
2005
+
1884
2006
  api.add_operation(:execute_provisioned_product_plan, Seahorse::Model::Operation.new.tap do |o|
1885
2007
  o.name = "ExecuteProvisionedProductPlan"
1886
2008
  o.http_method = "POST"
@@ -1903,6 +2025,16 @@ module Aws::ServiceCatalog
1903
2025
  o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
1904
2026
  end)
1905
2027
 
2028
+ api.add_operation(:get_aws_organizations_access_status, Seahorse::Model::Operation.new.tap do |o|
2029
+ o.name = "GetAWSOrganizationsAccessStatus"
2030
+ o.http_method = "POST"
2031
+ o.http_request_uri = "/"
2032
+ o.input = Shapes::ShapeRef.new(shape: GetAWSOrganizationsAccessStatusInput)
2033
+ o.output = Shapes::ShapeRef.new(shape: GetAWSOrganizationsAccessStatusOutput)
2034
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2035
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2036
+ end)
2037
+
1906
2038
  api.add_operation(:list_accepted_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
1907
2039
  o.name = "ListAcceptedPortfolioShares"
1908
2040
  o.http_method = "POST"
@@ -1910,6 +2042,7 @@ module Aws::ServiceCatalog
1910
2042
  o.input = Shapes::ShapeRef.new(shape: ListAcceptedPortfolioSharesInput)
1911
2043
  o.output = Shapes::ShapeRef.new(shape: ListAcceptedPortfolioSharesOutput)
1912
2044
  o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2045
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1913
2046
  o[:pager] = Aws::Pager.new(
1914
2047
  limit_key: "page_size",
1915
2048
  tokens: {
@@ -1950,6 +2083,23 @@ module Aws::ServiceCatalog
1950
2083
  )
1951
2084
  end)
1952
2085
 
2086
+ api.add_operation(:list_organization_portfolio_access, Seahorse::Model::Operation.new.tap do |o|
2087
+ o.name = "ListOrganizationPortfolioAccess"
2088
+ o.http_method = "POST"
2089
+ o.http_request_uri = "/"
2090
+ o.input = Shapes::ShapeRef.new(shape: ListOrganizationPortfolioAccessInput)
2091
+ o.output = Shapes::ShapeRef.new(shape: ListOrganizationPortfolioAccessOutput)
2092
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2093
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2094
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
2095
+ o[:pager] = Aws::Pager.new(
2096
+ limit_key: "page_size",
2097
+ tokens: {
2098
+ "next_page_token" => "page_token"
2099
+ }
2100
+ )
2101
+ end)
2102
+
1953
2103
  api.add_operation(:list_portfolio_access, Seahorse::Model::Operation.new.tap do |o|
1954
2104
  o.name = "ListPortfolioAccess"
1955
2105
  o.http_method = "POST"
@@ -14,6 +14,7 @@ module Aws::ServiceCatalog
14
14
  # {
15
15
  # accept_language: "AcceptLanguage",
16
16
  # portfolio_id: "Id", # required
17
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
17
18
  # }
18
19
  #
19
20
  # @!attribute [rw] accept_language
@@ -30,11 +31,29 @@ module Aws::ServiceCatalog
30
31
  # The portfolio identifier.
31
32
  # @return [String]
32
33
  #
34
+ # @!attribute [rw] portfolio_share_type
35
+ # The type of shared portfolios to accept. The default is to accept
36
+ # imported portfolios.
37
+ #
38
+ # * `AWS_ORGANIZATIONS` - Accept portfolios shared by the master
39
+ # account of your organization.
40
+ #
41
+ # * `IMPORTED` - Accept imported portfolios.
42
+ #
43
+ # * `AWS_SERVICECATALOG` - Not supported. (Throws
44
+ # ResourceNotFoundException.)
45
+ #
46
+ # For example, `aws servicecatalog accept-portfolio-share
47
+ # --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type
48
+ # AWS_ORGANIZATIONS`
49
+ # @return [String]
50
+ #
33
51
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShareInput AWS API Documentation
34
52
  #
35
53
  class AcceptPortfolioShareInput < Struct.new(
36
54
  :accept_language,
37
- :portfolio_id)
55
+ :portfolio_id,
56
+ :portfolio_share_type)
38
57
  include Aws::Structure
39
58
  end
40
59
 
@@ -700,7 +719,11 @@ module Aws::ServiceCatalog
700
719
  # {
701
720
  # accept_language: "AcceptLanguage",
702
721
  # portfolio_id: "Id", # required
703
- # account_id: "AccountId", # required
722
+ # account_id: "AccountId",
723
+ # organization_node: {
724
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
725
+ # value: "OrganizationNodeValue",
726
+ # },
704
727
  # }
705
728
  #
706
729
  # @!attribute [rw] accept_language
@@ -718,21 +741,39 @@ module Aws::ServiceCatalog
718
741
  # @return [String]
719
742
  #
720
743
  # @!attribute [rw] account_id
721
- # The AWS account ID.
744
+ # The AWS account ID. For example, `123456789012`.
722
745
  # @return [String]
723
746
  #
747
+ # @!attribute [rw] organization_node
748
+ # The organization node to whom you are going to share. If
749
+ # `OrganizationNode` is passed in, `PortfolioShare` will be created
750
+ # for the node and its children (when applies), and a
751
+ # `PortfolioShareToken` will be returned in the output in order for
752
+ # the administrator to monitor the status of the `PortfolioShare`
753
+ # creation process.
754
+ # @return [Types::OrganizationNode]
755
+ #
724
756
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput AWS API Documentation
725
757
  #
726
758
  class CreatePortfolioShareInput < Struct.new(
727
759
  :accept_language,
728
760
  :portfolio_id,
729
- :account_id)
761
+ :account_id,
762
+ :organization_node)
730
763
  include Aws::Structure
731
764
  end
732
765
 
766
+ # @!attribute [rw] portfolio_share_token
767
+ # The portfolio share unique identifier. This will only be returned if
768
+ # portfolio is shared to an organization node.
769
+ # @return [String]
770
+ #
733
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareOutput AWS API Documentation
734
772
  #
735
- class CreatePortfolioShareOutput < Aws::EmptyStructure; end
773
+ class CreatePortfolioShareOutput < Struct.new(
774
+ :portfolio_share_token)
775
+ include Aws::Structure
776
+ end
736
777
 
737
778
  # @note When making an API call, you may pass CreateProductInput
738
779
  # data as a hash:
@@ -1280,7 +1321,11 @@ module Aws::ServiceCatalog
1280
1321
  # {
1281
1322
  # accept_language: "AcceptLanguage",
1282
1323
  # portfolio_id: "Id", # required
1283
- # account_id: "AccountId", # required
1324
+ # account_id: "AccountId",
1325
+ # organization_node: {
1326
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
1327
+ # value: "OrganizationNodeValue",
1328
+ # },
1284
1329
  # }
1285
1330
  #
1286
1331
  # @!attribute [rw] accept_language
@@ -1301,18 +1346,31 @@ module Aws::ServiceCatalog
1301
1346
  # The AWS account ID.
1302
1347
  # @return [String]
1303
1348
  #
1349
+ # @!attribute [rw] organization_node
1350
+ # The organization node to whom you are going to stop sharing.
1351
+ # @return [Types::OrganizationNode]
1352
+ #
1304
1353
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareInput AWS API Documentation
1305
1354
  #
1306
1355
  class DeletePortfolioShareInput < Struct.new(
1307
1356
  :accept_language,
1308
1357
  :portfolio_id,
1309
- :account_id)
1358
+ :account_id,
1359
+ :organization_node)
1310
1360
  include Aws::Structure
1311
1361
  end
1312
1362
 
1363
+ # @!attribute [rw] portfolio_share_token
1364
+ # The portfolio share unique identifier. This will only be returned if
1365
+ # delete is made to an organization node.
1366
+ # @return [String]
1367
+ #
1313
1368
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShareOutput AWS API Documentation
1314
1369
  #
1315
- class DeletePortfolioShareOutput < Aws::EmptyStructure; end
1370
+ class DeletePortfolioShareOutput < Struct.new(
1371
+ :portfolio_share_token)
1372
+ include Aws::Structure
1373
+ end
1316
1374
 
1317
1375
  # @note When making an API call, you may pass DeleteProductInput
1318
1376
  # data as a hash:
@@ -1641,6 +1699,58 @@ module Aws::ServiceCatalog
1641
1699
  include Aws::Structure
1642
1700
  end
1643
1701
 
1702
+ # @note When making an API call, you may pass DescribePortfolioShareStatusInput
1703
+ # data as a hash:
1704
+ #
1705
+ # {
1706
+ # portfolio_share_token: "PortfolioShareToken", # required
1707
+ # }
1708
+ #
1709
+ # @!attribute [rw] portfolio_share_token
1710
+ # The token for the portfolio share operation. This token is returned
1711
+ # either by CreatePortfolioShare or by DeletePortfolioShare.
1712
+ # @return [String]
1713
+ #
1714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShareStatusInput AWS API Documentation
1715
+ #
1716
+ class DescribePortfolioShareStatusInput < Struct.new(
1717
+ :portfolio_share_token)
1718
+ include Aws::Structure
1719
+ end
1720
+
1721
+ # @!attribute [rw] portfolio_share_token
1722
+ # The token for the portfolio share operation. For example,
1723
+ # `share-6v24abcdefghi`.
1724
+ # @return [String]
1725
+ #
1726
+ # @!attribute [rw] portfolio_id
1727
+ # The portfolio identifier.
1728
+ # @return [String]
1729
+ #
1730
+ # @!attribute [rw] organization_node_value
1731
+ # Organization node identifier. It can be either account id,
1732
+ # organizational unit id or organization id.
1733
+ # @return [String]
1734
+ #
1735
+ # @!attribute [rw] status
1736
+ # Status of the portfolio share operation.
1737
+ # @return [String]
1738
+ #
1739
+ # @!attribute [rw] share_details
1740
+ # Information about the portfolio share operation.
1741
+ # @return [Types::ShareDetails]
1742
+ #
1743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShareStatusOutput AWS API Documentation
1744
+ #
1745
+ class DescribePortfolioShareStatusOutput < Struct.new(
1746
+ :portfolio_share_token,
1747
+ :portfolio_id,
1748
+ :organization_node_value,
1749
+ :status,
1750
+ :share_details)
1751
+ include Aws::Structure
1752
+ end
1753
+
1644
1754
  # @note When making an API call, you may pass DescribeProductAsAdminInput
1645
1755
  # data as a hash:
1646
1756
  #
@@ -2177,6 +2287,16 @@ module Aws::ServiceCatalog
2177
2287
  include Aws::Structure
2178
2288
  end
2179
2289
 
2290
+ # @api private
2291
+ #
2292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccessInput AWS API Documentation
2293
+ #
2294
+ class DisableAWSOrganizationsAccessInput < Aws::EmptyStructure; end
2295
+
2296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccessOutput AWS API Documentation
2297
+ #
2298
+ class DisableAWSOrganizationsAccessOutput < Aws::EmptyStructure; end
2299
+
2180
2300
  # @note When making an API call, you may pass DisassociatePrincipalFromPortfolioInput
2181
2301
  # data as a hash:
2182
2302
  #
@@ -2333,6 +2453,16 @@ module Aws::ServiceCatalog
2333
2453
  #
2334
2454
  class DisassociateTagOptionFromResourceOutput < Aws::EmptyStructure; end
2335
2455
 
2456
+ # @api private
2457
+ #
2458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccessInput AWS API Documentation
2459
+ #
2460
+ class EnableAWSOrganizationsAccessInput < Aws::EmptyStructure; end
2461
+
2462
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccessOutput AWS API Documentation
2463
+ #
2464
+ class EnableAWSOrganizationsAccessOutput < Aws::EmptyStructure; end
2465
+
2336
2466
  # @note When making an API call, you may pass ExecuteProvisionedProductPlanInput
2337
2467
  # data as a hash:
2338
2468
  #
@@ -2480,6 +2610,23 @@ module Aws::ServiceCatalog
2480
2610
  include Aws::Structure
2481
2611
  end
2482
2612
 
2613
+ # @api private
2614
+ #
2615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetAWSOrganizationsAccessStatusInput AWS API Documentation
2616
+ #
2617
+ class GetAWSOrganizationsAccessStatusInput < Aws::EmptyStructure; end
2618
+
2619
+ # @!attribute [rw] access_status
2620
+ # The status of the portfolio share feature.
2621
+ # @return [String]
2622
+ #
2623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetAWSOrganizationsAccessStatusOutput AWS API Documentation
2624
+ #
2625
+ class GetAWSOrganizationsAccessStatusOutput < Struct.new(
2626
+ :access_status)
2627
+ include Aws::Structure
2628
+ end
2629
+
2483
2630
  # Summary information about a product path for a user.
2484
2631
  #
2485
2632
  # @!attribute [rw] id
@@ -2515,7 +2662,7 @@ module Aws::ServiceCatalog
2515
2662
  # accept_language: "AcceptLanguage",
2516
2663
  # page_token: "PageToken",
2517
2664
  # page_size: 1,
2518
- # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG
2665
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
2519
2666
  # }
2520
2667
  #
2521
2668
  # @!attribute [rw] accept_language
@@ -2541,6 +2688,9 @@ module Aws::ServiceCatalog
2541
2688
  # The type of shared portfolios to list. The default is to list
2542
2689
  # imported portfolios.
2543
2690
  #
2691
+ # * `AWS_ORGANIZATIONS` - List portfolios shared by the master account
2692
+ # of your organization
2693
+ #
2544
2694
  # * `AWS_SERVICECATALOG` - List default portfolios
2545
2695
  #
2546
2696
  # * `IMPORTED` - List imported portfolios
@@ -2699,6 +2849,80 @@ module Aws::ServiceCatalog
2699
2849
  include Aws::Structure
2700
2850
  end
2701
2851
 
2852
+ # @note When making an API call, you may pass ListOrganizationPortfolioAccessInput
2853
+ # data as a hash:
2854
+ #
2855
+ # {
2856
+ # accept_language: "AcceptLanguage",
2857
+ # portfolio_id: "Id", # required
2858
+ # organization_node_type: "ORGANIZATION", # required, accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
2859
+ # page_token: "PageToken",
2860
+ # page_size: 1,
2861
+ # }
2862
+ #
2863
+ # @!attribute [rw] accept_language
2864
+ # The language code.
2865
+ #
2866
+ # * `en` - English (default)
2867
+ #
2868
+ # * `jp` - Japanese
2869
+ #
2870
+ # * `zh` - Chinese
2871
+ # @return [String]
2872
+ #
2873
+ # @!attribute [rw] portfolio_id
2874
+ # The portfolio identifier. For example, `port-2abcdext3y5fk`.
2875
+ # @return [String]
2876
+ #
2877
+ # @!attribute [rw] organization_node_type
2878
+ # The organization node type that will be returned in the output.
2879
+ #
2880
+ # * `ORGANIZATION` - Organization that has access to the portfolio.
2881
+ #
2882
+ # * `ORGANIZATIONAL_UNIT` - Organizational unit that has access to the
2883
+ # portfolio within your organization.
2884
+ #
2885
+ # * `ACCOUNT` - Account that has access to the portfolio within your
2886
+ # organization.
2887
+ # @return [String]
2888
+ #
2889
+ # @!attribute [rw] page_token
2890
+ # The page token for the next set of results. To retrieve the first
2891
+ # set of results, use null.
2892
+ # @return [String]
2893
+ #
2894
+ # @!attribute [rw] page_size
2895
+ # The maximum number of items to return with this call.
2896
+ # @return [Integer]
2897
+ #
2898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListOrganizationPortfolioAccessInput AWS API Documentation
2899
+ #
2900
+ class ListOrganizationPortfolioAccessInput < Struct.new(
2901
+ :accept_language,
2902
+ :portfolio_id,
2903
+ :organization_node_type,
2904
+ :page_token,
2905
+ :page_size)
2906
+ include Aws::Structure
2907
+ end
2908
+
2909
+ # @!attribute [rw] organization_nodes
2910
+ # Displays information about the organization nodes.
2911
+ # @return [Array<Types::OrganizationNode>]
2912
+ #
2913
+ # @!attribute [rw] next_page_token
2914
+ # The page token to use to retrieve the next set of results. If there
2915
+ # are no additional results, this value is null.
2916
+ # @return [String]
2917
+ #
2918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListOrganizationPortfolioAccessOutput AWS API Documentation
2919
+ #
2920
+ class ListOrganizationPortfolioAccessOutput < Struct.new(
2921
+ :organization_nodes,
2922
+ :next_page_token)
2923
+ include Aws::Structure
2924
+ end
2925
+
2702
2926
  # @note When making an API call, you may pass ListPortfolioAccessInput
2703
2927
  # data as a hash:
2704
2928
  #
@@ -3468,6 +3692,28 @@ module Aws::ServiceCatalog
3468
3692
  include Aws::Structure
3469
3693
  end
3470
3694
 
3695
+ # @note When making an API call, you may pass OrganizationNode
3696
+ # data as a hash:
3697
+ #
3698
+ # {
3699
+ # type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
3700
+ # value: "OrganizationNodeValue",
3701
+ # }
3702
+ #
3703
+ # @!attribute [rw] type
3704
+ # @return [String]
3705
+ #
3706
+ # @!attribute [rw] value
3707
+ # @return [String]
3708
+ #
3709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/OrganizationNode AWS API Documentation
3710
+ #
3711
+ class OrganizationNode < Struct.new(
3712
+ :type,
3713
+ :value)
3714
+ include Aws::Structure
3715
+ end
3716
+
3471
3717
  # The constraints that the administrator has put on the parameter.
3472
3718
  #
3473
3719
  # @!attribute [rw] allowed_values
@@ -4487,6 +4733,7 @@ module Aws::ServiceCatalog
4487
4733
  # {
4488
4734
  # accept_language: "AcceptLanguage",
4489
4735
  # portfolio_id: "Id", # required
4736
+ # portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
4490
4737
  # }
4491
4738
  #
4492
4739
  # @!attribute [rw] accept_language
@@ -4503,11 +4750,29 @@ module Aws::ServiceCatalog
4503
4750
  # The portfolio identifier.
4504
4751
  # @return [String]
4505
4752
  #
4753
+ # @!attribute [rw] portfolio_share_type
4754
+ # The type of shared portfolios to reject. The default is to reject
4755
+ # imported portfolios.
4756
+ #
4757
+ # * `AWS_ORGANIZATIONS` - Reject portfolios shared by the master
4758
+ # account of your organization.
4759
+ #
4760
+ # * `IMPORTED` - Reject imported portfolios.
4761
+ #
4762
+ # * `AWS_SERVICECATALOG` - Not supported. (Throws
4763
+ # ResourceNotFoundException.)
4764
+ #
4765
+ # For example, `aws servicecatalog reject-portfolio-share
4766
+ # --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type
4767
+ # AWS_ORGANIZATIONS`
4768
+ # @return [String]
4769
+ #
4506
4770
  # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShareInput AWS API Documentation
4507
4771
  #
4508
4772
  class RejectPortfolioShareInput < Struct.new(
4509
4773
  :accept_language,
4510
- :portfolio_id)
4774
+ :portfolio_id,
4775
+ :portfolio_share_type)
4511
4776
  include Aws::Structure
4512
4777
  end
4513
4778
 
@@ -5059,6 +5324,47 @@ module Aws::ServiceCatalog
5059
5324
  include Aws::Structure
5060
5325
  end
5061
5326
 
5327
+ # Information about the portfolio share operation.
5328
+ #
5329
+ # @!attribute [rw] successful_shares
5330
+ # List of accounts for whom the operation succeeded.
5331
+ # @return [Array<String>]
5332
+ #
5333
+ # @!attribute [rw] share_errors
5334
+ # List of errors.
5335
+ # @return [Array<Types::ShareError>]
5336
+ #
5337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ShareDetails AWS API Documentation
5338
+ #
5339
+ class ShareDetails < Struct.new(
5340
+ :successful_shares,
5341
+ :share_errors)
5342
+ include Aws::Structure
5343
+ end
5344
+
5345
+ # Errors that occurred during the portfolio share operation.
5346
+ #
5347
+ # @!attribute [rw] accounts
5348
+ # List of accounts impacted by the error.
5349
+ # @return [Array<String>]
5350
+ #
5351
+ # @!attribute [rw] message
5352
+ # Information about the error.
5353
+ # @return [String]
5354
+ #
5355
+ # @!attribute [rw] error
5356
+ # Error type that happened when processing the operation.
5357
+ # @return [String]
5358
+ #
5359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ShareError AWS API Documentation
5360
+ #
5361
+ class ShareError < Struct.new(
5362
+ :accounts,
5363
+ :message,
5364
+ :error)
5365
+ include Aws::Structure
5366
+ end
5367
+
5062
5368
  # Information about a tag. A tag is a key-value pair. Tags are
5063
5369
  # propagated to the resources created when provisioning a product.
5064
5370
  #
@@ -5486,7 +5792,7 @@ module Aws::ServiceCatalog
5486
5792
  # @return [String]
5487
5793
  #
5488
5794
  # @!attribute [rw] product_id
5489
- # The identifier of the provisioned product.
5795
+ # The identifier of the product.
5490
5796
  # @return [String]
5491
5797
  #
5492
5798
  # @!attribute [rw] provisioning_artifact_id
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
42
  # @service
43
43
  module Aws::ServiceCatalog
44
44
 
45
- GEM_VERSION = '1.11.0'
45
+ GEM_VERSION = '1.12.0'
46
46
 
47
47
  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.11.0
4
+ version: 1.12.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: 2018-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core