aws-sdk-servicecatalog 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-servicecatalog.rb +1 -1
- data/lib/aws-sdk-servicecatalog/client.rb +198 -12
- data/lib/aws-sdk-servicecatalog/client_api.rb +70 -0
- data/lib/aws-sdk-servicecatalog/types.rb +264 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 457caf4fa02cb21297f70e20c3963cfb2ff4a70b39b811d2cd3523414f32972e
|
4
|
+
data.tar.gz: 6789332dfda677ec49d6b1c39d340ee6d7db5e5950b0b153e1eadbce81e38e2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da80c6963f472cb93fe53293a6dc779f196a9d78e6447827465acc8ca6c0b09d598aa33afb451c844dc28d33b7ce117c6335cb0f54845059f99a1a5decaca2c1
|
7
|
+
data.tar.gz: 5e872ca4f34d3010b727f1b8f7d1b11fe79f2274f2fb4fb280e2fd41a5a546f508d7fe3001f1eb231b692ec414931508b0a6ad9c6032284d77d76fe5e678921a
|
@@ -984,8 +984,13 @@ module Aws::ServiceCatalog
|
|
984
984
|
# `AWSOrganizationsAccess` must be enabled in order to create a
|
985
985
|
# portfolio share to an organization node.
|
986
986
|
#
|
987
|
-
# You can't share a shared resource
|
988
|
-
#
|
987
|
+
# You can't share a shared resource, including portfolios that contain
|
988
|
+
# a shared product.
|
989
|
+
#
|
990
|
+
# If the portfolio share with the specified account or organization node
|
991
|
+
# already exists, this action will have no effect and will not return an
|
992
|
+
# error. To update an existing share, you must use the `
|
993
|
+
# UpdatePortfolioShare` API instead.
|
989
994
|
#
|
990
995
|
# @option params [String] :accept_language
|
991
996
|
# The language code.
|
@@ -1010,6 +1015,10 @@ module Aws::ServiceCatalog
|
|
1010
1015
|
# in order for the administrator to monitor the status of the
|
1011
1016
|
# `PortfolioShare` creation process.
|
1012
1017
|
#
|
1018
|
+
# @option params [Boolean] :share_tag_options
|
1019
|
+
# Enables or disables `TagOptions ` sharing when creating the portfolio
|
1020
|
+
# share. If this flag is not provided, TagOptions sharing is disabled.
|
1021
|
+
#
|
1013
1022
|
# @return [Types::CreatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1014
1023
|
#
|
1015
1024
|
# * {Types::CreatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
|
@@ -1024,6 +1033,7 @@ module Aws::ServiceCatalog
|
|
1024
1033
|
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
1025
1034
|
# value: "OrganizationNodeValue",
|
1026
1035
|
# },
|
1036
|
+
# share_tag_options: false,
|
1027
1037
|
# })
|
1028
1038
|
#
|
1029
1039
|
# @example Response structure
|
@@ -1043,6 +1053,11 @@ module Aws::ServiceCatalog
|
|
1043
1053
|
#
|
1044
1054
|
# A delegated admin is authorized to invoke this command.
|
1045
1055
|
#
|
1056
|
+
# The user or role that performs this operation must have the
|
1057
|
+
# `cloudformation:GetTemplate` IAM policy permission. This policy
|
1058
|
+
# permission is required when using the `ImportFromPhysicalId` template
|
1059
|
+
# source in the information data section.
|
1060
|
+
#
|
1046
1061
|
# @option params [String] :accept_language
|
1047
1062
|
# The language code.
|
1048
1063
|
#
|
@@ -1073,6 +1088,8 @@ module Aws::ServiceCatalog
|
|
1073
1088
|
# @option params [String] :support_url
|
1074
1089
|
# The contact URL for product support.
|
1075
1090
|
#
|
1091
|
+
# `^https?:\/\// `/ is the pattern used to validate SupportUrl.
|
1092
|
+
#
|
1076
1093
|
# @option params [required, String] :product_type
|
1077
1094
|
# The type of product.
|
1078
1095
|
#
|
@@ -1080,8 +1097,7 @@ module Aws::ServiceCatalog
|
|
1080
1097
|
# One or more tags.
|
1081
1098
|
#
|
1082
1099
|
# @option params [required, Types::ProvisioningArtifactProperties] :provisioning_artifact_parameters
|
1083
|
-
# The configuration of the provisioning artifact.
|
1084
|
-
# accepts `ImportFromPhysicalID`.
|
1100
|
+
# The configuration of the provisioning artifact.
|
1085
1101
|
#
|
1086
1102
|
# @option params [required, String] :idempotency_token
|
1087
1103
|
# A unique identifier that you provide to ensure idempotency. If
|
@@ -1288,6 +1304,11 @@ module Aws::ServiceCatalog
|
|
1288
1304
|
# You cannot create a provisioning artifact for a product that was
|
1289
1305
|
# shared with you.
|
1290
1306
|
#
|
1307
|
+
# The user or role that performs this operation must have the
|
1308
|
+
# `cloudformation:GetTemplate` IAM policy permission. This policy
|
1309
|
+
# permission is required when using the `ImportFromPhysicalId` template
|
1310
|
+
# source in the information data section.
|
1311
|
+
#
|
1291
1312
|
# @option params [String] :accept_language
|
1292
1313
|
# The language code.
|
1293
1314
|
#
|
@@ -1301,8 +1322,7 @@ module Aws::ServiceCatalog
|
|
1301
1322
|
# The product identifier.
|
1302
1323
|
#
|
1303
1324
|
# @option params [required, Types::ProvisioningArtifactProperties] :parameters
|
1304
|
-
# The configuration for the provisioning artifact.
|
1305
|
-
# accepts `ImportFromPhysicalID`.
|
1325
|
+
# The configuration for the provisioning artifact.
|
1306
1326
|
#
|
1307
1327
|
# @option params [required, String] :idempotency_token
|
1308
1328
|
# A unique identifier that you provide to ensure idempotency. If
|
@@ -1477,6 +1497,7 @@ module Aws::ServiceCatalog
|
|
1477
1497
|
# resp.tag_option_detail.value #=> String
|
1478
1498
|
# resp.tag_option_detail.active #=> Boolean
|
1479
1499
|
# resp.tag_option_detail.id #=> String
|
1500
|
+
# resp.tag_option_detail.owner #=> String
|
1480
1501
|
#
|
1481
1502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption AWS API Documentation
|
1482
1503
|
#
|
@@ -1922,6 +1943,7 @@ module Aws::ServiceCatalog
|
|
1922
1943
|
# resp.tag_options[0].value #=> String
|
1923
1944
|
# resp.tag_options[0].active #=> Boolean
|
1924
1945
|
# resp.tag_options[0].id #=> String
|
1946
|
+
# resp.tag_options[0].owner #=> String
|
1925
1947
|
# resp.budgets #=> Array
|
1926
1948
|
# resp.budgets[0].budget_name #=> String
|
1927
1949
|
#
|
@@ -1979,6 +2001,76 @@ module Aws::ServiceCatalog
|
|
1979
2001
|
req.send_request(options)
|
1980
2002
|
end
|
1981
2003
|
|
2004
|
+
# Returns a summary of each of the portfolio shares that were created
|
2005
|
+
# for the specified portfolio.
|
2006
|
+
#
|
2007
|
+
# You can use this API to determine which accounts or organizational
|
2008
|
+
# nodes this portfolio have been shared, whether the recipient entity
|
2009
|
+
# has imported the share, and whether TagOptions are included with the
|
2010
|
+
# share.
|
2011
|
+
#
|
2012
|
+
# The `PortfolioId` and `Type` parameters are both required.
|
2013
|
+
#
|
2014
|
+
# @option params [required, String] :portfolio_id
|
2015
|
+
# The unique identifier of the portfolio for which shares will be
|
2016
|
+
# retrieved.
|
2017
|
+
#
|
2018
|
+
# @option params [required, String] :type
|
2019
|
+
# The type of portfolio share to summarize. This field acts as a filter
|
2020
|
+
# on the type of portfolio share, which can be one of the following:
|
2021
|
+
#
|
2022
|
+
# 1\. `ACCOUNT` - Represents an external account to account share.
|
2023
|
+
#
|
2024
|
+
# 2\. `ORGANIZATION` - Represents a share to an organization. This share
|
2025
|
+
# is available to every account in the organization.
|
2026
|
+
#
|
2027
|
+
# 3\. `ORGANIZATIONAL_UNIT` - Represents a share to an organizational
|
2028
|
+
# unit.
|
2029
|
+
#
|
2030
|
+
# 4\. `ORGANIZATION_MEMBER_ACCOUNT` - Represents a share to an account in
|
2031
|
+
# the organization.
|
2032
|
+
#
|
2033
|
+
# @option params [String] :page_token
|
2034
|
+
# The page token for the next set of results. To retrieve the first set
|
2035
|
+
# of results, use null.
|
2036
|
+
#
|
2037
|
+
# @option params [Integer] :page_size
|
2038
|
+
# The maximum number of items to return with this call.
|
2039
|
+
#
|
2040
|
+
# @return [Types::DescribePortfolioSharesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2041
|
+
#
|
2042
|
+
# * {Types::DescribePortfolioSharesOutput#next_page_token #next_page_token} => String
|
2043
|
+
# * {Types::DescribePortfolioSharesOutput#portfolio_share_details #portfolio_share_details} => Array<Types::PortfolioShareDetail>
|
2044
|
+
#
|
2045
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2046
|
+
#
|
2047
|
+
# @example Request syntax with placeholder values
|
2048
|
+
#
|
2049
|
+
# resp = client.describe_portfolio_shares({
|
2050
|
+
# portfolio_id: "Id", # required
|
2051
|
+
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, ORGANIZATIONAL_UNIT, ORGANIZATION_MEMBER_ACCOUNT
|
2052
|
+
# page_token: "PageToken",
|
2053
|
+
# page_size: 1,
|
2054
|
+
# })
|
2055
|
+
#
|
2056
|
+
# @example Response structure
|
2057
|
+
#
|
2058
|
+
# resp.next_page_token #=> String
|
2059
|
+
# resp.portfolio_share_details #=> Array
|
2060
|
+
# resp.portfolio_share_details[0].principal_id #=> String
|
2061
|
+
# resp.portfolio_share_details[0].type #=> String, one of "ACCOUNT", "ORGANIZATION", "ORGANIZATIONAL_UNIT", "ORGANIZATION_MEMBER_ACCOUNT"
|
2062
|
+
# resp.portfolio_share_details[0].accepted #=> Boolean
|
2063
|
+
# resp.portfolio_share_details[0].share_tag_options #=> Boolean
|
2064
|
+
#
|
2065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShares AWS API Documentation
|
2066
|
+
#
|
2067
|
+
# @overload describe_portfolio_shares(params = {})
|
2068
|
+
# @param [Hash] params ({})
|
2069
|
+
def describe_portfolio_shares(params = {}, options = {})
|
2070
|
+
req = build_request(:describe_portfolio_shares, params)
|
2071
|
+
req.send_request(options)
|
2072
|
+
end
|
2073
|
+
|
1982
2074
|
# Gets information about the specified product.
|
1983
2075
|
#
|
1984
2076
|
# @option params [String] :accept_language
|
@@ -2063,6 +2155,16 @@ module Aws::ServiceCatalog
|
|
2063
2155
|
# @option params [String] :name
|
2064
2156
|
# The product name.
|
2065
2157
|
#
|
2158
|
+
# @option params [String] :source_portfolio_id
|
2159
|
+
# The unique identifier of the shared portfolio that the specified
|
2160
|
+
# product is associated with.
|
2161
|
+
#
|
2162
|
+
# You can provide this parameter to retrieve the shared TagOptions
|
2163
|
+
# associated with the product. If this parameter is provided and if
|
2164
|
+
# TagOptions sharing is enabled in the portfolio share, the API returns
|
2165
|
+
# both local and shared TagOptions associated with the product.
|
2166
|
+
# Otherwise only local TagOptions will be returned.
|
2167
|
+
#
|
2066
2168
|
# @return [Types::DescribeProductAsAdminOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2067
2169
|
#
|
2068
2170
|
# * {Types::DescribeProductAsAdminOutput#product_view_detail #product_view_detail} => Types::ProductViewDetail
|
@@ -2077,6 +2179,7 @@ module Aws::ServiceCatalog
|
|
2077
2179
|
# accept_language: "AcceptLanguage",
|
2078
2180
|
# id: "Id",
|
2079
2181
|
# name: "ProductViewName",
|
2182
|
+
# source_portfolio_id: "Id",
|
2080
2183
|
# })
|
2081
2184
|
#
|
2082
2185
|
# @example Response structure
|
@@ -2110,6 +2213,7 @@ module Aws::ServiceCatalog
|
|
2110
2213
|
# resp.tag_options[0].value #=> String
|
2111
2214
|
# resp.tag_options[0].active #=> Boolean
|
2112
2215
|
# resp.tag_options[0].id #=> String
|
2216
|
+
# resp.tag_options[0].owner #=> String
|
2113
2217
|
# resp.budgets #=> Array
|
2114
2218
|
# resp.budgets[0].budget_name #=> String
|
2115
2219
|
#
|
@@ -2693,6 +2797,7 @@ module Aws::ServiceCatalog
|
|
2693
2797
|
# resp.tag_option_detail.value #=> String
|
2694
2798
|
# resp.tag_option_detail.active #=> Boolean
|
2695
2799
|
# resp.tag_option_detail.id #=> String
|
2800
|
+
# resp.tag_option_detail.owner #=> String
|
2696
2801
|
#
|
2697
2802
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption AWS API Documentation
|
2698
2803
|
#
|
@@ -3153,20 +3258,24 @@ module Aws::ServiceCatalog
|
|
3153
3258
|
|
3154
3259
|
# Requests the import of a resource as a Service Catalog provisioned
|
3155
3260
|
# product that is associated to a Service Catalog product and
|
3156
|
-
# provisioning artifact. Once imported all supported Service Catalog
|
3261
|
+
# provisioning artifact. Once imported, all supported Service Catalog
|
3157
3262
|
# governance actions are supported on the provisioned product.
|
3158
3263
|
#
|
3159
3264
|
# Resource import only supports CloudFormation stack ARNs.
|
3160
3265
|
# CloudFormation StackSets and non-root nested stacks are not supported.
|
3161
3266
|
#
|
3162
3267
|
# The CloudFormation stack must have one of the following statuses to be
|
3163
|
-
# imported:
|
3164
|
-
#
|
3165
|
-
#
|
3268
|
+
# imported: `CREATE_COMPLETE`, `UPDATE_COMPLETE`,
|
3269
|
+
# `UPDATE_ROLLBACK_COMPLETE`, `IMPORT_COMPLETE`,
|
3270
|
+
# `IMPORT_ROLLBACK_COMPLETE`.
|
3166
3271
|
#
|
3167
3272
|
# Import of the resource requires that the CloudFormation stack template
|
3168
3273
|
# matches the associated Service Catalog product provisioning artifact.
|
3169
3274
|
#
|
3275
|
+
# The user or role that performs this operation must have the
|
3276
|
+
# `cloudformation:GetTemplate` and `cloudformation:DescribeStacks` IAM
|
3277
|
+
# policy permissions.
|
3278
|
+
#
|
3170
3279
|
# @option params [String] :accept_language
|
3171
3280
|
# The language code.
|
3172
3281
|
#
|
@@ -4294,6 +4403,7 @@ module Aws::ServiceCatalog
|
|
4294
4403
|
# resp.tag_option_details[0].value #=> String
|
4295
4404
|
# resp.tag_option_details[0].active #=> Boolean
|
4296
4405
|
# resp.tag_option_details[0].id #=> String
|
4406
|
+
# resp.tag_option_details[0].owner #=> String
|
4297
4407
|
# resp.page_token #=> String
|
4298
4408
|
#
|
4299
4409
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions AWS API Documentation
|
@@ -4866,7 +4976,7 @@ module Aws::ServiceCatalog
|
|
4866
4976
|
#
|
4867
4977
|
# @option params [Boolean] :retain_physical_resources
|
4868
4978
|
# When this boolean parameter is set to true, the
|
4869
|
-
# TerminateProvisionedProduct API deletes the Service Catalog
|
4979
|
+
# `TerminateProvisionedProduct` API deletes the Service Catalog
|
4870
4980
|
# provisioned product. However, it does not remove the CloudFormation
|
4871
4981
|
# stack, stack set, or the underlying resources of the deleted
|
4872
4982
|
# provisioned product. The default value is false.
|
@@ -5117,6 +5227,81 @@ module Aws::ServiceCatalog
|
|
5117
5227
|
req.send_request(options)
|
5118
5228
|
end
|
5119
5229
|
|
5230
|
+
# Updates the specified portfolio share. You can use this API to enable
|
5231
|
+
# or disable TagOptions sharing for an existing portfolio share.
|
5232
|
+
#
|
5233
|
+
# The portfolio share cannot be updated if the ` CreatePortfolioShare`
|
5234
|
+
# operation is `IN_PROGRESS`, as the share is not available to recipient
|
5235
|
+
# entities. In this case, you must wait for the portfolio share to be
|
5236
|
+
# COMPLETED.
|
5237
|
+
#
|
5238
|
+
# You must provide the `accountId` or organization node in the input,
|
5239
|
+
# but not both.
|
5240
|
+
#
|
5241
|
+
# If the portfolio is shared to both an external account and an
|
5242
|
+
# organization node, and both shares need to be updated, you must invoke
|
5243
|
+
# `UpdatePortfolioShare` separately for each share type.
|
5244
|
+
#
|
5245
|
+
# This API cannot be used for removing the portfolio share. You must use
|
5246
|
+
# `DeletePortfolioShare` API for that action.
|
5247
|
+
#
|
5248
|
+
# @option params [String] :accept_language
|
5249
|
+
# The language code.
|
5250
|
+
#
|
5251
|
+
# * `en` - English (default)
|
5252
|
+
#
|
5253
|
+
# * `jp` - Japanese
|
5254
|
+
#
|
5255
|
+
# * `zh` - Chinese
|
5256
|
+
#
|
5257
|
+
# @option params [required, String] :portfolio_id
|
5258
|
+
# The unique identifier of the portfolio for which the share will be
|
5259
|
+
# updated.
|
5260
|
+
#
|
5261
|
+
# @option params [String] :account_id
|
5262
|
+
# The AWS Account Id of the recipient account. This field is required
|
5263
|
+
# when updating an external account to account type share.
|
5264
|
+
#
|
5265
|
+
# @option params [Types::OrganizationNode] :organization_node
|
5266
|
+
# Information about the organization node.
|
5267
|
+
#
|
5268
|
+
# @option params [Boolean] :share_tag_options
|
5269
|
+
# A flag to enable or disable TagOptions sharing for the portfolio
|
5270
|
+
# share. If this field is not provided, the current state of TagOptions
|
5271
|
+
# sharing on the portfolio share will not be modified.
|
5272
|
+
#
|
5273
|
+
# @return [Types::UpdatePortfolioShareOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5274
|
+
#
|
5275
|
+
# * {Types::UpdatePortfolioShareOutput#portfolio_share_token #portfolio_share_token} => String
|
5276
|
+
# * {Types::UpdatePortfolioShareOutput#status #status} => String
|
5277
|
+
#
|
5278
|
+
# @example Request syntax with placeholder values
|
5279
|
+
#
|
5280
|
+
# resp = client.update_portfolio_share({
|
5281
|
+
# accept_language: "AcceptLanguage",
|
5282
|
+
# portfolio_id: "Id", # required
|
5283
|
+
# account_id: "AccountId",
|
5284
|
+
# organization_node: {
|
5285
|
+
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
5286
|
+
# value: "OrganizationNodeValue",
|
5287
|
+
# },
|
5288
|
+
# share_tag_options: false,
|
5289
|
+
# })
|
5290
|
+
#
|
5291
|
+
# @example Response structure
|
5292
|
+
#
|
5293
|
+
# resp.portfolio_share_token #=> String
|
5294
|
+
# resp.status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "ERROR"
|
5295
|
+
#
|
5296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShare AWS API Documentation
|
5297
|
+
#
|
5298
|
+
# @overload update_portfolio_share(params = {})
|
5299
|
+
# @param [Hash] params ({})
|
5300
|
+
def update_portfolio_share(params = {}, options = {})
|
5301
|
+
req = build_request(:update_portfolio_share, params)
|
5302
|
+
req.send_request(options)
|
5303
|
+
end
|
5304
|
+
|
5120
5305
|
# Updates the specified product.
|
5121
5306
|
#
|
5122
5307
|
# @option params [String] :accept_language
|
@@ -5613,6 +5798,7 @@ module Aws::ServiceCatalog
|
|
5613
5798
|
# resp.tag_option_detail.value #=> String
|
5614
5799
|
# resp.tag_option_detail.active #=> Boolean
|
5615
5800
|
# resp.tag_option_detail.id #=> String
|
5801
|
+
# resp.tag_option_detail.owner #=> String
|
5616
5802
|
#
|
5617
5803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption AWS API Documentation
|
5618
5804
|
#
|
@@ -5636,7 +5822,7 @@ module Aws::ServiceCatalog
|
|
5636
5822
|
params: params,
|
5637
5823
|
config: config)
|
5638
5824
|
context[:gem_name] = 'aws-sdk-servicecatalog'
|
5639
|
-
context[:gem_version] = '1.
|
5825
|
+
context[:gem_version] = '1.56.0'
|
5640
5826
|
Seahorse::Client::Request.new(handlers, context)
|
5641
5827
|
end
|
5642
5828
|
|
@@ -41,6 +41,7 @@ module Aws::ServiceCatalog
|
|
41
41
|
BatchAssociateServiceActionWithProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchAssociateServiceActionWithProvisioningArtifactOutput')
|
42
42
|
BatchDisassociateServiceActionFromProvisioningArtifactInput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactInput')
|
43
43
|
BatchDisassociateServiceActionFromProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'BatchDisassociateServiceActionFromProvisioningArtifactOutput')
|
44
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
44
45
|
BudgetDetail = Shapes::StructureShape.new(name: 'BudgetDetail')
|
45
46
|
BudgetName = Shapes::StringShape.new(name: 'BudgetName')
|
46
47
|
Budgets = Shapes::ListShape.new(name: 'Budgets')
|
@@ -104,6 +105,9 @@ module Aws::ServiceCatalog
|
|
104
105
|
DescribePortfolioOutput = Shapes::StructureShape.new(name: 'DescribePortfolioOutput')
|
105
106
|
DescribePortfolioShareStatusInput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusInput')
|
106
107
|
DescribePortfolioShareStatusOutput = Shapes::StructureShape.new(name: 'DescribePortfolioShareStatusOutput')
|
108
|
+
DescribePortfolioShareType = Shapes::StringShape.new(name: 'DescribePortfolioShareType')
|
109
|
+
DescribePortfolioSharesInput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesInput')
|
110
|
+
DescribePortfolioSharesOutput = Shapes::StructureShape.new(name: 'DescribePortfolioSharesOutput')
|
107
111
|
DescribeProductAsAdminInput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminInput')
|
108
112
|
DescribeProductAsAdminOutput = Shapes::StructureShape.new(name: 'DescribeProductAsAdminOutput')
|
109
113
|
DescribeProductInput = Shapes::StructureShape.new(name: 'DescribeProductInput')
|
@@ -224,6 +228,7 @@ module Aws::ServiceCatalog
|
|
224
228
|
NoEcho = Shapes::BooleanShape.new(name: 'NoEcho')
|
225
229
|
NotificationArn = Shapes::StringShape.new(name: 'NotificationArn')
|
226
230
|
NotificationArns = Shapes::ListShape.new(name: 'NotificationArns')
|
231
|
+
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
227
232
|
OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
|
228
233
|
OrganizationNode = Shapes::StructureShape.new(name: 'OrganizationNode')
|
229
234
|
OrganizationNodeType = Shapes::StringShape.new(name: 'OrganizationNodeType')
|
@@ -233,6 +238,7 @@ module Aws::ServiceCatalog
|
|
233
238
|
OutputKey = Shapes::StringShape.new(name: 'OutputKey')
|
234
239
|
OutputKeys = Shapes::ListShape.new(name: 'OutputKeys')
|
235
240
|
OutputValue = Shapes::StringShape.new(name: 'OutputValue')
|
241
|
+
Owner = Shapes::StringShape.new(name: 'Owner')
|
236
242
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
237
243
|
PageSizeMax100 = Shapes::IntegerShape.new(name: 'PageSizeMax100')
|
238
244
|
PageToken = Shapes::StringShape.new(name: 'PageToken')
|
@@ -248,6 +254,8 @@ module Aws::ServiceCatalog
|
|
248
254
|
PortfolioDetails = Shapes::ListShape.new(name: 'PortfolioDetails')
|
249
255
|
PortfolioDisplayName = Shapes::StringShape.new(name: 'PortfolioDisplayName')
|
250
256
|
PortfolioName = Shapes::StringShape.new(name: 'PortfolioName')
|
257
|
+
PortfolioShareDetail = Shapes::StructureShape.new(name: 'PortfolioShareDetail')
|
258
|
+
PortfolioShareDetails = Shapes::ListShape.new(name: 'PortfolioShareDetails')
|
251
259
|
PortfolioShareType = Shapes::StringShape.new(name: 'PortfolioShareType')
|
252
260
|
Principal = Shapes::StructureShape.new(name: 'Principal')
|
253
261
|
PrincipalARN = Shapes::StringShape.new(name: 'PrincipalARN')
|
@@ -438,6 +446,8 @@ module Aws::ServiceCatalog
|
|
438
446
|
UpdateConstraintOutput = Shapes::StructureShape.new(name: 'UpdateConstraintOutput')
|
439
447
|
UpdatePortfolioInput = Shapes::StructureShape.new(name: 'UpdatePortfolioInput')
|
440
448
|
UpdatePortfolioOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioOutput')
|
449
|
+
UpdatePortfolioShareInput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareInput')
|
450
|
+
UpdatePortfolioShareOutput = Shapes::StructureShape.new(name: 'UpdatePortfolioShareOutput')
|
441
451
|
UpdateProductInput = Shapes::StructureShape.new(name: 'UpdateProductInput')
|
442
452
|
UpdateProductOutput = Shapes::StructureShape.new(name: 'UpdateProductOutput')
|
443
453
|
UpdateProvisionedProductInput = Shapes::StructureShape.new(name: 'UpdateProvisionedProductInput')
|
@@ -598,6 +608,7 @@ module Aws::ServiceCatalog
|
|
598
608
|
CreatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
|
599
609
|
CreatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
600
610
|
CreatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
|
611
|
+
CreatePortfolioShareInput.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShareTagOptions"))
|
601
612
|
CreatePortfolioShareInput.struct_class = Types::CreatePortfolioShareInput
|
602
613
|
|
603
614
|
CreatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
|
@@ -761,9 +772,20 @@ module Aws::ServiceCatalog
|
|
761
772
|
DescribePortfolioShareStatusOutput.add_member(:share_details, Shapes::ShapeRef.new(shape: ShareDetails, location_name: "ShareDetails"))
|
762
773
|
DescribePortfolioShareStatusOutput.struct_class = Types::DescribePortfolioShareStatusOutput
|
763
774
|
|
775
|
+
DescribePortfolioSharesInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
|
776
|
+
DescribePortfolioSharesInput.add_member(:type, Shapes::ShapeRef.new(shape: DescribePortfolioShareType, required: true, location_name: "Type"))
|
777
|
+
DescribePortfolioSharesInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
|
778
|
+
DescribePortfolioSharesInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSizeMax100, location_name: "PageSize"))
|
779
|
+
DescribePortfolioSharesInput.struct_class = Types::DescribePortfolioSharesInput
|
780
|
+
|
781
|
+
DescribePortfolioSharesOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
|
782
|
+
DescribePortfolioSharesOutput.add_member(:portfolio_share_details, Shapes::ShapeRef.new(shape: PortfolioShareDetails, location_name: "PortfolioShareDetails"))
|
783
|
+
DescribePortfolioSharesOutput.struct_class = Types::DescribePortfolioSharesOutput
|
784
|
+
|
764
785
|
DescribeProductAsAdminInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
|
765
786
|
DescribeProductAsAdminInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, location_name: "Id"))
|
766
787
|
DescribeProductAsAdminInput.add_member(:name, Shapes::ShapeRef.new(shape: ProductViewName, location_name: "Name"))
|
788
|
+
DescribeProductAsAdminInput.add_member(:source_portfolio_id, Shapes::ShapeRef.new(shape: Id, location_name: "SourcePortfolioId"))
|
767
789
|
DescribeProductAsAdminInput.struct_class = Types::DescribeProductAsAdminInput
|
768
790
|
|
769
791
|
DescribeProductAsAdminOutput.add_member(:product_view_detail, Shapes::ShapeRef.new(shape: ProductViewDetail, location_name: "ProductViewDetail"))
|
@@ -1222,6 +1244,14 @@ module Aws::ServiceCatalog
|
|
1222
1244
|
|
1223
1245
|
PortfolioDetails.member = Shapes::ShapeRef.new(shape: PortfolioDetail)
|
1224
1246
|
|
1247
|
+
PortfolioShareDetail.add_member(:principal_id, Shapes::ShapeRef.new(shape: Id, location_name: "PrincipalId"))
|
1248
|
+
PortfolioShareDetail.add_member(:type, Shapes::ShapeRef.new(shape: DescribePortfolioShareType, location_name: "Type"))
|
1249
|
+
PortfolioShareDetail.add_member(:accepted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accepted"))
|
1250
|
+
PortfolioShareDetail.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShareTagOptions"))
|
1251
|
+
PortfolioShareDetail.struct_class = Types::PortfolioShareDetail
|
1252
|
+
|
1253
|
+
PortfolioShareDetails.member = Shapes::ShapeRef.new(shape: PortfolioShareDetail)
|
1254
|
+
|
1225
1255
|
Principal.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalARN, location_name: "PrincipalARN"))
|
1226
1256
|
Principal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "PrincipalType"))
|
1227
1257
|
Principal.struct_class = Types::Principal
|
@@ -1632,6 +1662,7 @@ module Aws::ServiceCatalog
|
|
1632
1662
|
TagOptionDetail.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
|
1633
1663
|
TagOptionDetail.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
|
1634
1664
|
TagOptionDetail.add_member(:id, Shapes::ShapeRef.new(shape: TagOptionId, location_name: "Id"))
|
1665
|
+
TagOptionDetail.add_member(:owner, Shapes::ShapeRef.new(shape: Owner, location_name: "Owner"))
|
1635
1666
|
TagOptionDetail.struct_class = Types::TagOptionDetail
|
1636
1667
|
|
1637
1668
|
TagOptionDetails.member = Shapes::ShapeRef.new(shape: TagOptionDetail)
|
@@ -1683,6 +1714,17 @@ module Aws::ServiceCatalog
|
|
1683
1714
|
UpdatePortfolioOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
1684
1715
|
UpdatePortfolioOutput.struct_class = Types::UpdatePortfolioOutput
|
1685
1716
|
|
1717
|
+
UpdatePortfolioShareInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
|
1718
|
+
UpdatePortfolioShareInput.add_member(:portfolio_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "PortfolioId"))
|
1719
|
+
UpdatePortfolioShareInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
1720
|
+
UpdatePortfolioShareInput.add_member(:organization_node, Shapes::ShapeRef.new(shape: OrganizationNode, location_name: "OrganizationNode"))
|
1721
|
+
UpdatePortfolioShareInput.add_member(:share_tag_options, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "ShareTagOptions"))
|
1722
|
+
UpdatePortfolioShareInput.struct_class = Types::UpdatePortfolioShareInput
|
1723
|
+
|
1724
|
+
UpdatePortfolioShareOutput.add_member(:portfolio_share_token, Shapes::ShapeRef.new(shape: Id, location_name: "PortfolioShareToken"))
|
1725
|
+
UpdatePortfolioShareOutput.add_member(:status, Shapes::ShapeRef.new(shape: ShareStatus, location_name: "Status"))
|
1726
|
+
UpdatePortfolioShareOutput.struct_class = Types::UpdatePortfolioShareOutput
|
1727
|
+
|
1686
1728
|
UpdateProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
|
1687
1729
|
UpdateProductInput.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "Id"))
|
1688
1730
|
UpdateProductInput.add_member(:name, Shapes::ShapeRef.new(shape: ProductViewName, location_name: "Name"))
|
@@ -2116,6 +2158,22 @@ module Aws::ServiceCatalog
|
|
2116
2158
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
2117
2159
|
end)
|
2118
2160
|
|
2161
|
+
api.add_operation(:describe_portfolio_shares, Seahorse::Model::Operation.new.tap do |o|
|
2162
|
+
o.name = "DescribePortfolioShares"
|
2163
|
+
o.http_method = "POST"
|
2164
|
+
o.http_request_uri = "/"
|
2165
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePortfolioSharesInput)
|
2166
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePortfolioSharesOutput)
|
2167
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2168
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
2169
|
+
o[:pager] = Aws::Pager.new(
|
2170
|
+
limit_key: "page_size",
|
2171
|
+
tokens: {
|
2172
|
+
"next_page_token" => "page_token"
|
2173
|
+
}
|
2174
|
+
)
|
2175
|
+
end)
|
2176
|
+
|
2119
2177
|
api.add_operation(:describe_product, Seahorse::Model::Operation.new.tap do |o|
|
2120
2178
|
o.name = "DescribeProduct"
|
2121
2179
|
o.http_method = "POST"
|
@@ -2724,6 +2782,18 @@ module Aws::ServiceCatalog
|
|
2724
2782
|
o.errors << Shapes::ShapeRef.new(shape: TagOptionNotMigratedException)
|
2725
2783
|
end)
|
2726
2784
|
|
2785
|
+
api.add_operation(:update_portfolio_share, Seahorse::Model::Operation.new.tap do |o|
|
2786
|
+
o.name = "UpdatePortfolioShare"
|
2787
|
+
o.http_method = "POST"
|
2788
|
+
o.http_request_uri = "/"
|
2789
|
+
o.input = Shapes::ShapeRef.new(shape: UpdatePortfolioShareInput)
|
2790
|
+
o.output = Shapes::ShapeRef.new(shape: UpdatePortfolioShareOutput)
|
2791
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2792
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
|
2793
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
2794
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
|
2795
|
+
end)
|
2796
|
+
|
2727
2797
|
api.add_operation(:update_product, Seahorse::Model::Operation.new.tap do |o|
|
2728
2798
|
o.name = "UpdateProduct"
|
2729
2799
|
o.http_method = "POST"
|
@@ -858,6 +858,7 @@ module Aws::ServiceCatalog
|
|
858
858
|
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
859
859
|
# value: "OrganizationNodeValue",
|
860
860
|
# },
|
861
|
+
# share_tag_options: false,
|
861
862
|
# }
|
862
863
|
#
|
863
864
|
# @!attribute [rw] accept_language
|
@@ -887,13 +888,20 @@ module Aws::ServiceCatalog
|
|
887
888
|
# `PortfolioShare` creation process.
|
888
889
|
# @return [Types::OrganizationNode]
|
889
890
|
#
|
891
|
+
# @!attribute [rw] share_tag_options
|
892
|
+
# Enables or disables `TagOptions ` sharing when creating the
|
893
|
+
# portfolio share. If this flag is not provided, TagOptions sharing is
|
894
|
+
# disabled.
|
895
|
+
# @return [Boolean]
|
896
|
+
#
|
890
897
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShareInput AWS API Documentation
|
891
898
|
#
|
892
899
|
class CreatePortfolioShareInput < Struct.new(
|
893
900
|
:accept_language,
|
894
901
|
:portfolio_id,
|
895
902
|
:account_id,
|
896
|
-
:organization_node
|
903
|
+
:organization_node,
|
904
|
+
:share_tag_options)
|
897
905
|
SENSITIVE = []
|
898
906
|
include Aws::Structure
|
899
907
|
end
|
@@ -978,6 +986,8 @@ module Aws::ServiceCatalog
|
|
978
986
|
#
|
979
987
|
# @!attribute [rw] support_url
|
980
988
|
# The contact URL for product support.
|
989
|
+
#
|
990
|
+
# `^https?:\/\// `/ is the pattern used to validate SupportUrl.
|
981
991
|
# @return [String]
|
982
992
|
#
|
983
993
|
# @!attribute [rw] product_type
|
@@ -989,8 +999,7 @@ module Aws::ServiceCatalog
|
|
989
999
|
# @return [Array<Types::Tag>]
|
990
1000
|
#
|
991
1001
|
# @!attribute [rw] provisioning_artifact_parameters
|
992
|
-
# The configuration of the provisioning artifact.
|
993
|
-
# accepts `ImportFromPhysicalID`.
|
1002
|
+
# The configuration of the provisioning artifact.
|
994
1003
|
# @return [Types::ProvisioningArtifactProperties]
|
995
1004
|
#
|
996
1005
|
# @!attribute [rw] idempotency_token
|
@@ -1220,8 +1229,7 @@ module Aws::ServiceCatalog
|
|
1220
1229
|
# @return [String]
|
1221
1230
|
#
|
1222
1231
|
# @!attribute [rw] parameters
|
1223
|
-
# The configuration for the provisioning artifact.
|
1224
|
-
# accepts `ImportFromPhysicalID`.
|
1232
|
+
# The configuration for the provisioning artifact.
|
1225
1233
|
# @return [Types::ProvisioningArtifactProperties]
|
1226
1234
|
#
|
1227
1235
|
# @!attribute [rw] idempotency_token
|
@@ -1249,7 +1257,21 @@ module Aws::ServiceCatalog
|
|
1249
1257
|
# @return [Types::ProvisioningArtifactDetail]
|
1250
1258
|
#
|
1251
1259
|
# @!attribute [rw] info
|
1260
|
+
# Specify the template source with one of the following options, but
|
1261
|
+
# not both. Keys accepted: \[ `LoadTemplateFromURL`,
|
1262
|
+
# `ImportFromPhysicalId` \].
|
1263
|
+
#
|
1252
1264
|
# The URL of the CloudFormation template in Amazon S3, in JSON format.
|
1265
|
+
#
|
1266
|
+
# `LoadTemplateFromURL`
|
1267
|
+
#
|
1268
|
+
# Use the URL of the CloudFormation template in Amazon S3 in JSON
|
1269
|
+
# format.
|
1270
|
+
#
|
1271
|
+
# `ImportFromPhysicalId`
|
1272
|
+
#
|
1273
|
+
# Use the physical id of the resource that contains the template;
|
1274
|
+
# currently supports CloudFormation stack ARN.
|
1253
1275
|
# @return [Hash<String,String>]
|
1254
1276
|
#
|
1255
1277
|
# @!attribute [rw] status
|
@@ -1932,6 +1954,76 @@ module Aws::ServiceCatalog
|
|
1932
1954
|
include Aws::Structure
|
1933
1955
|
end
|
1934
1956
|
|
1957
|
+
# @note When making an API call, you may pass DescribePortfolioSharesInput
|
1958
|
+
# data as a hash:
|
1959
|
+
#
|
1960
|
+
# {
|
1961
|
+
# portfolio_id: "Id", # required
|
1962
|
+
# type: "ACCOUNT", # required, accepts ACCOUNT, ORGANIZATION, ORGANIZATIONAL_UNIT, ORGANIZATION_MEMBER_ACCOUNT
|
1963
|
+
# page_token: "PageToken",
|
1964
|
+
# page_size: 1,
|
1965
|
+
# }
|
1966
|
+
#
|
1967
|
+
# @!attribute [rw] portfolio_id
|
1968
|
+
# The unique identifier of the portfolio for which shares will be
|
1969
|
+
# retrieved.
|
1970
|
+
# @return [String]
|
1971
|
+
#
|
1972
|
+
# @!attribute [rw] type
|
1973
|
+
# The type of portfolio share to summarize. This field acts as a
|
1974
|
+
# filter on the type of portfolio share, which can be one of the
|
1975
|
+
# following:
|
1976
|
+
#
|
1977
|
+
# 1\. `ACCOUNT` - Represents an external account to account share.
|
1978
|
+
#
|
1979
|
+
# 2\. `ORGANIZATION` - Represents a share to an organization. This
|
1980
|
+
# share is available to every account in the organization.
|
1981
|
+
#
|
1982
|
+
# 3\. `ORGANIZATIONAL_UNIT` - Represents a share to an organizational
|
1983
|
+
# unit.
|
1984
|
+
#
|
1985
|
+
# 4\. `ORGANIZATION_MEMBER_ACCOUNT` - Represents a share to an account
|
1986
|
+
# in the organization.
|
1987
|
+
# @return [String]
|
1988
|
+
#
|
1989
|
+
# @!attribute [rw] page_token
|
1990
|
+
# The page token for the next set of results. To retrieve the first
|
1991
|
+
# set of results, use null.
|
1992
|
+
# @return [String]
|
1993
|
+
#
|
1994
|
+
# @!attribute [rw] page_size
|
1995
|
+
# The maximum number of items to return with this call.
|
1996
|
+
# @return [Integer]
|
1997
|
+
#
|
1998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioSharesInput AWS API Documentation
|
1999
|
+
#
|
2000
|
+
class DescribePortfolioSharesInput < Struct.new(
|
2001
|
+
:portfolio_id,
|
2002
|
+
:type,
|
2003
|
+
:page_token,
|
2004
|
+
:page_size)
|
2005
|
+
SENSITIVE = []
|
2006
|
+
include Aws::Structure
|
2007
|
+
end
|
2008
|
+
|
2009
|
+
# @!attribute [rw] next_page_token
|
2010
|
+
# The page token to use to retrieve the next set of results. If there
|
2011
|
+
# are no additional results, this value is null.
|
2012
|
+
# @return [String]
|
2013
|
+
#
|
2014
|
+
# @!attribute [rw] portfolio_share_details
|
2015
|
+
# Summaries about each of the portfolio shares.
|
2016
|
+
# @return [Array<Types::PortfolioShareDetail>]
|
2017
|
+
#
|
2018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioSharesOutput AWS API Documentation
|
2019
|
+
#
|
2020
|
+
class DescribePortfolioSharesOutput < Struct.new(
|
2021
|
+
:next_page_token,
|
2022
|
+
:portfolio_share_details)
|
2023
|
+
SENSITIVE = []
|
2024
|
+
include Aws::Structure
|
2025
|
+
end
|
2026
|
+
|
1935
2027
|
# @note When making an API call, you may pass DescribeProductAsAdminInput
|
1936
2028
|
# data as a hash:
|
1937
2029
|
#
|
@@ -1939,6 +2031,7 @@ module Aws::ServiceCatalog
|
|
1939
2031
|
# accept_language: "AcceptLanguage",
|
1940
2032
|
# id: "Id",
|
1941
2033
|
# name: "ProductViewName",
|
2034
|
+
# source_portfolio_id: "Id",
|
1942
2035
|
# }
|
1943
2036
|
#
|
1944
2037
|
# @!attribute [rw] accept_language
|
@@ -1959,12 +2052,24 @@ module Aws::ServiceCatalog
|
|
1959
2052
|
# The product name.
|
1960
2053
|
# @return [String]
|
1961
2054
|
#
|
2055
|
+
# @!attribute [rw] source_portfolio_id
|
2056
|
+
# The unique identifier of the shared portfolio that the specified
|
2057
|
+
# product is associated with.
|
2058
|
+
#
|
2059
|
+
# You can provide this parameter to retrieve the shared TagOptions
|
2060
|
+
# associated with the product. If this parameter is provided and if
|
2061
|
+
# TagOptions sharing is enabled in the portfolio share, the API
|
2062
|
+
# returns both local and shared TagOptions associated with the
|
2063
|
+
# product. Otherwise only local TagOptions will be returned.
|
2064
|
+
# @return [String]
|
2065
|
+
#
|
1962
2066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdminInput AWS API Documentation
|
1963
2067
|
#
|
1964
2068
|
class DescribeProductAsAdminInput < Struct.new(
|
1965
2069
|
:accept_language,
|
1966
2070
|
:id,
|
1967
|
-
:name
|
2071
|
+
:name,
|
2072
|
+
:source_portfolio_id)
|
1968
2073
|
SENSITIVE = []
|
1969
2074
|
include Aws::Structure
|
1970
2075
|
end
|
@@ -4580,6 +4685,48 @@ module Aws::ServiceCatalog
|
|
4580
4685
|
include Aws::Structure
|
4581
4686
|
end
|
4582
4687
|
|
4688
|
+
# Information about the portfolio share.
|
4689
|
+
#
|
4690
|
+
# @!attribute [rw] principal_id
|
4691
|
+
# The identifier of the recipient entity that received the portfolio
|
4692
|
+
# share. The recipient entities can be one of the following:
|
4693
|
+
#
|
4694
|
+
# 1\. An external account.
|
4695
|
+
#
|
4696
|
+
# 2\. An organziation member account.
|
4697
|
+
#
|
4698
|
+
# 3\. An organzational unit (OU).
|
4699
|
+
#
|
4700
|
+
# 4\. The organization itself. (This shares with every account in the
|
4701
|
+
# organization).
|
4702
|
+
# @return [String]
|
4703
|
+
#
|
4704
|
+
# @!attribute [rw] type
|
4705
|
+
# The type of the portfolio share.
|
4706
|
+
# @return [String]
|
4707
|
+
#
|
4708
|
+
# @!attribute [rw] accepted
|
4709
|
+
# Indicates whether the shared portfolio is imported by the recipient
|
4710
|
+
# account. If the recipient is in an organization node, the share is
|
4711
|
+
# automatically imported, and the field is always set to true.
|
4712
|
+
# @return [Boolean]
|
4713
|
+
#
|
4714
|
+
# @!attribute [rw] share_tag_options
|
4715
|
+
# Indicates whether TagOptions sharing is enabled or disabled for the
|
4716
|
+
# portfolio share.
|
4717
|
+
# @return [Boolean]
|
4718
|
+
#
|
4719
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/PortfolioShareDetail AWS API Documentation
|
4720
|
+
#
|
4721
|
+
class PortfolioShareDetail < Struct.new(
|
4722
|
+
:principal_id,
|
4723
|
+
:type,
|
4724
|
+
:accepted,
|
4725
|
+
:share_tag_options)
|
4726
|
+
SENSITIVE = []
|
4727
|
+
include Aws::Structure
|
4728
|
+
end
|
4729
|
+
|
4583
4730
|
# Information about a principal.
|
4584
4731
|
#
|
4585
4732
|
# @!attribute [rw] principal_arn
|
@@ -5486,11 +5633,21 @@ module Aws::ServiceCatalog
|
|
5486
5633
|
# @return [String]
|
5487
5634
|
#
|
5488
5635
|
# @!attribute [rw] info
|
5636
|
+
# Specify the template source with one of the following options, but
|
5637
|
+
# not both. Keys accepted: \[ `LoadTemplateFromURL`,
|
5638
|
+
# `ImportFromPhysicalId` \]
|
5639
|
+
#
|
5489
5640
|
# The URL of the CloudFormation template in Amazon S3. Specify the URL
|
5490
5641
|
# in JSON format as follows:
|
5491
5642
|
#
|
5492
5643
|
# `"LoadTemplateFromURL":
|
5493
5644
|
# "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."`
|
5645
|
+
#
|
5646
|
+
# `ImportFromPhysicalId`\: The physical id of the resource that
|
5647
|
+
# contains the template. Currently only supports CloudFormation stack
|
5648
|
+
# arn. Specify the physical id in JSON format as follows:
|
5649
|
+
# `ImportFromPhysicalId:
|
5650
|
+
# “arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]`
|
5494
5651
|
# @return [Hash<String,String>]
|
5495
5652
|
#
|
5496
5653
|
# @!attribute [rw] type
|
@@ -5606,7 +5763,20 @@ module Aws::ServiceCatalog
|
|
5606
5763
|
|
5607
5764
|
# The user-defined preferences that will be applied when updating a
|
5608
5765
|
# provisioned product. Not all preferences are applicable to all
|
5609
|
-
# provisioned product
|
5766
|
+
# provisioned product type
|
5767
|
+
#
|
5768
|
+
# One or more AWS accounts that will have access to the provisioned
|
5769
|
+
# product.
|
5770
|
+
#
|
5771
|
+
# Applicable only to a `CFN_STACKSET` provisioned product type.
|
5772
|
+
#
|
5773
|
+
# The AWS accounts specified should be within the list of accounts in
|
5774
|
+
# the `STACKSET` constraint. To get the list of accounts in the
|
5775
|
+
# `STACKSET` constraint, use the `DescribeProvisioningParameters`
|
5776
|
+
# operation.
|
5777
|
+
#
|
5778
|
+
# If no values are specified, the default value is all accounts from the
|
5779
|
+
# `STACKSET` constraint.
|
5610
5780
|
#
|
5611
5781
|
# @note When making an API call, you may pass ProvisioningPreferences
|
5612
5782
|
# data as a hash:
|
@@ -5621,17 +5791,17 @@ module Aws::ServiceCatalog
|
|
5621
5791
|
# }
|
5622
5792
|
#
|
5623
5793
|
# @!attribute [rw] stack_set_accounts
|
5624
|
-
# One or more AWS accounts
|
5625
|
-
#
|
5794
|
+
# One or more AWS accounts where the provisioned product will be
|
5795
|
+
# available.
|
5626
5796
|
#
|
5627
5797
|
# Applicable only to a `CFN_STACKSET` provisioned product type.
|
5628
5798
|
#
|
5629
|
-
# The
|
5799
|
+
# The specified accounts should be within the list of accounts from
|
5630
5800
|
# the `STACKSET` constraint. To get the list of accounts in the
|
5631
5801
|
# `STACKSET` constraint, use the `DescribeProvisioningParameters`
|
5632
5802
|
# operation.
|
5633
5803
|
#
|
5634
|
-
# If no values are specified, the default value is all
|
5804
|
+
# If no values are specified, the default value is all acounts from
|
5635
5805
|
# the `STACKSET` constraint.
|
5636
5806
|
# @return [Array<String>]
|
5637
5807
|
#
|
@@ -6660,13 +6830,18 @@ module Aws::ServiceCatalog
|
|
6660
6830
|
# The TagOption identifier.
|
6661
6831
|
# @return [String]
|
6662
6832
|
#
|
6833
|
+
# @!attribute [rw] owner
|
6834
|
+
# The AWS account Id of the owner account that created the TagOption.
|
6835
|
+
# @return [String]
|
6836
|
+
#
|
6663
6837
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TagOptionDetail AWS API Documentation
|
6664
6838
|
#
|
6665
6839
|
class TagOptionDetail < Struct.new(
|
6666
6840
|
:key,
|
6667
6841
|
:value,
|
6668
6842
|
:active,
|
6669
|
-
:id
|
6843
|
+
:id,
|
6844
|
+
:owner)
|
6670
6845
|
SENSITIVE = []
|
6671
6846
|
include Aws::Structure
|
6672
6847
|
end
|
@@ -6750,7 +6925,7 @@ module Aws::ServiceCatalog
|
|
6750
6925
|
#
|
6751
6926
|
# @!attribute [rw] retain_physical_resources
|
6752
6927
|
# When this boolean parameter is set to true, the
|
6753
|
-
# TerminateProvisionedProduct API deletes the Service Catalog
|
6928
|
+
# `TerminateProvisionedProduct` API deletes the Service Catalog
|
6754
6929
|
# provisioned product. However, it does not remove the CloudFormation
|
6755
6930
|
# stack, stack set, or the underlying resources of the deleted
|
6756
6931
|
# provisioned product. The default value is false.
|
@@ -7001,6 +7176,82 @@ module Aws::ServiceCatalog
|
|
7001
7176
|
include Aws::Structure
|
7002
7177
|
end
|
7003
7178
|
|
7179
|
+
# @note When making an API call, you may pass UpdatePortfolioShareInput
|
7180
|
+
# data as a hash:
|
7181
|
+
#
|
7182
|
+
# {
|
7183
|
+
# accept_language: "AcceptLanguage",
|
7184
|
+
# portfolio_id: "Id", # required
|
7185
|
+
# account_id: "AccountId",
|
7186
|
+
# organization_node: {
|
7187
|
+
# type: "ORGANIZATION", # accepts ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT
|
7188
|
+
# value: "OrganizationNodeValue",
|
7189
|
+
# },
|
7190
|
+
# share_tag_options: false,
|
7191
|
+
# }
|
7192
|
+
#
|
7193
|
+
# @!attribute [rw] accept_language
|
7194
|
+
# The language code.
|
7195
|
+
#
|
7196
|
+
# * `en` - English (default)
|
7197
|
+
#
|
7198
|
+
# * `jp` - Japanese
|
7199
|
+
#
|
7200
|
+
# * `zh` - Chinese
|
7201
|
+
# @return [String]
|
7202
|
+
#
|
7203
|
+
# @!attribute [rw] portfolio_id
|
7204
|
+
# The unique identifier of the portfolio for which the share will be
|
7205
|
+
# updated.
|
7206
|
+
# @return [String]
|
7207
|
+
#
|
7208
|
+
# @!attribute [rw] account_id
|
7209
|
+
# The AWS Account Id of the recipient account. This field is required
|
7210
|
+
# when updating an external account to account type share.
|
7211
|
+
# @return [String]
|
7212
|
+
#
|
7213
|
+
# @!attribute [rw] organization_node
|
7214
|
+
# Information about the organization node.
|
7215
|
+
# @return [Types::OrganizationNode]
|
7216
|
+
#
|
7217
|
+
# @!attribute [rw] share_tag_options
|
7218
|
+
# A flag to enable or disable TagOptions sharing for the portfolio
|
7219
|
+
# share. If this field is not provided, the current state of
|
7220
|
+
# TagOptions sharing on the portfolio share will not be modified.
|
7221
|
+
# @return [Boolean]
|
7222
|
+
#
|
7223
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShareInput AWS API Documentation
|
7224
|
+
#
|
7225
|
+
class UpdatePortfolioShareInput < Struct.new(
|
7226
|
+
:accept_language,
|
7227
|
+
:portfolio_id,
|
7228
|
+
:account_id,
|
7229
|
+
:organization_node,
|
7230
|
+
:share_tag_options)
|
7231
|
+
SENSITIVE = []
|
7232
|
+
include Aws::Structure
|
7233
|
+
end
|
7234
|
+
|
7235
|
+
# @!attribute [rw] portfolio_share_token
|
7236
|
+
# The token that tracks the status of the `UpdatePortfolioShare`
|
7237
|
+
# operation for external account to account or organizational type
|
7238
|
+
# sharing.
|
7239
|
+
# @return [String]
|
7240
|
+
#
|
7241
|
+
# @!attribute [rw] status
|
7242
|
+
# The status of `UpdatePortfolioShare` operation. You can also obtain
|
7243
|
+
# the operation status using `DescribePortfolioShareStatus` API.
|
7244
|
+
# @return [String]
|
7245
|
+
#
|
7246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShareOutput AWS API Documentation
|
7247
|
+
#
|
7248
|
+
class UpdatePortfolioShareOutput < Struct.new(
|
7249
|
+
:portfolio_share_token,
|
7250
|
+
:status)
|
7251
|
+
SENSITIVE = []
|
7252
|
+
include Aws::Structure
|
7253
|
+
end
|
7254
|
+
|
7004
7255
|
# @note When making an API call, you may pass UpdateProductInput
|
7005
7256
|
# data as a hash:
|
7006
7257
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-servicecatalog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|