aws-sdk-servicecatalog 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-servicecatalog.rb +1 -1
- data/lib/aws-sdk-servicecatalog/client.rb +473 -13
- data/lib/aws-sdk-servicecatalog/client_api.rb +270 -0
- data/lib/aws-sdk-servicecatalog/types.rb +830 -22
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b57ca59b660fbb2bdb2392e095ff0615010eb01
|
4
|
+
data.tar.gz: c114486e340690e448094b29fcbb4fc4c2a9af37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b68eaf93e8d4b6a7a7f5e946d8aa25a0aef58c2899ac5a64d2b951954004d9776a6acbe2d19c50eda066f4b776dbe1630d773eb399473ec1db4dca81f362f15a
|
7
|
+
data.tar.gz: ffdf30297c2728e45156399eb42e3c7bb2a6350e336af86d13a06f4e11f2b869101230142f95c37b64cff91813eaff0015e8e3c2b8463bfbffc29143683b1aaa
|
@@ -493,7 +493,7 @@ module Aws::ServiceCatalog
|
|
493
493
|
# The name of the portfolio provider.
|
494
494
|
#
|
495
495
|
# @option params [Array<Types::Tag>] :tags
|
496
|
-
#
|
496
|
+
# One or more tags.
|
497
497
|
#
|
498
498
|
# @option params [required, String] :idempotency_token
|
499
499
|
# A unique identifier that you provide to ensure idempotency. If
|
@@ -617,7 +617,7 @@ module Aws::ServiceCatalog
|
|
617
617
|
# The type of product.
|
618
618
|
#
|
619
619
|
# @option params [Array<Types::Tag>] :tags
|
620
|
-
#
|
620
|
+
# One or more tags.
|
621
621
|
#
|
622
622
|
# @option params [required, Types::ProvisioningArtifactProperties] :provisioning_artifact_parameters
|
623
623
|
# The configuration of the provisioning artifact.
|
@@ -700,6 +700,120 @@ module Aws::ServiceCatalog
|
|
700
700
|
req.send_request(options)
|
701
701
|
end
|
702
702
|
|
703
|
+
# Creates a plan. A plan includes the list of resources that will be
|
704
|
+
# created (when provisioning a new product) or modified (when updating a
|
705
|
+
# provisioned product) when the plan is executed.
|
706
|
+
#
|
707
|
+
# You can create one plan per provisioned product. To create a plan for
|
708
|
+
# an existing provisioned product, it's status must be AVAILBLE or
|
709
|
+
# TAINTED.
|
710
|
+
#
|
711
|
+
# To view the resource changes in the change set, use
|
712
|
+
# DescribeProvisionedProductPlan. To create or modify the provisioned
|
713
|
+
# product, use ExecuteProvisionedProductPlan.
|
714
|
+
#
|
715
|
+
# @option params [String] :accept_language
|
716
|
+
# The language code.
|
717
|
+
#
|
718
|
+
# * `en` - English (default)
|
719
|
+
#
|
720
|
+
# * `jp` - Japanese
|
721
|
+
#
|
722
|
+
# * `zh` - Chinese
|
723
|
+
#
|
724
|
+
# @option params [required, String] :plan_name
|
725
|
+
# The name of the plan.
|
726
|
+
#
|
727
|
+
# @option params [required, String] :plan_type
|
728
|
+
# The plan type.
|
729
|
+
#
|
730
|
+
# @option params [Array<String>] :notification_arns
|
731
|
+
# Passed to CloudFormation. The SNS topic ARNs to which to publish
|
732
|
+
# stack-related events.
|
733
|
+
#
|
734
|
+
# @option params [String] :path_id
|
735
|
+
# The path identifier of the product. This value is optional if the
|
736
|
+
# product has a default path, and required if the product has more than
|
737
|
+
# one path. To list the paths for a product, use ListLaunchPaths.
|
738
|
+
#
|
739
|
+
# @option params [required, String] :product_id
|
740
|
+
# The product identifier.
|
741
|
+
#
|
742
|
+
# @option params [required, String] :provisioned_product_name
|
743
|
+
# A user-friendly name for the provisioned product. This value must be
|
744
|
+
# unique for the AWS account and cannot be updated after the product is
|
745
|
+
# provisioned.
|
746
|
+
#
|
747
|
+
# @option params [required, String] :provisioning_artifact_id
|
748
|
+
# The identifier of the provisioning artifact.
|
749
|
+
#
|
750
|
+
# @option params [Array<Types::UpdateProvisioningParameter>] :provisioning_parameters
|
751
|
+
# Parameters specified by the administrator that are required for
|
752
|
+
# provisioning the product.
|
753
|
+
#
|
754
|
+
# @option params [required, String] :idempotency_token
|
755
|
+
# A unique identifier that you provide to ensure idempotency. If
|
756
|
+
# multiple requests differ only by the idempotency token, the same
|
757
|
+
# response is returned for each repeated request.
|
758
|
+
#
|
759
|
+
# **A suitable default value is auto-generated.** You should normally
|
760
|
+
# not need to pass this option.**
|
761
|
+
#
|
762
|
+
# @option params [Array<Types::Tag>] :tags
|
763
|
+
# One or more tags.
|
764
|
+
#
|
765
|
+
# @return [Types::CreateProvisionedProductPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
766
|
+
#
|
767
|
+
# * {Types::CreateProvisionedProductPlanOutput#plan_name #plan_name} => String
|
768
|
+
# * {Types::CreateProvisionedProductPlanOutput#plan_id #plan_id} => String
|
769
|
+
# * {Types::CreateProvisionedProductPlanOutput#provision_product_id #provision_product_id} => String
|
770
|
+
# * {Types::CreateProvisionedProductPlanOutput#provisioned_product_name #provisioned_product_name} => String
|
771
|
+
# * {Types::CreateProvisionedProductPlanOutput#provisioning_artifact_id #provisioning_artifact_id} => String
|
772
|
+
#
|
773
|
+
# @example Request syntax with placeholder values
|
774
|
+
#
|
775
|
+
# resp = client.create_provisioned_product_plan({
|
776
|
+
# accept_language: "AcceptLanguage",
|
777
|
+
# plan_name: "ProvisionedProductPlanName", # required
|
778
|
+
# plan_type: "CLOUDFORMATION", # required, accepts CLOUDFORMATION
|
779
|
+
# notification_arns: ["NotificationArn"],
|
780
|
+
# path_id: "Id",
|
781
|
+
# product_id: "Id", # required
|
782
|
+
# provisioned_product_name: "ProvisionedProductName", # required
|
783
|
+
# provisioning_artifact_id: "Id", # required
|
784
|
+
# provisioning_parameters: [
|
785
|
+
# {
|
786
|
+
# key: "ParameterKey",
|
787
|
+
# value: "ParameterValue",
|
788
|
+
# use_previous_value: false,
|
789
|
+
# },
|
790
|
+
# ],
|
791
|
+
# idempotency_token: "IdempotencyToken", # required
|
792
|
+
# tags: [
|
793
|
+
# {
|
794
|
+
# key: "TagKey", # required
|
795
|
+
# value: "TagValue", # required
|
796
|
+
# },
|
797
|
+
# ],
|
798
|
+
# })
|
799
|
+
#
|
800
|
+
# @example Response structure
|
801
|
+
#
|
802
|
+
# resp.plan_name #=> String
|
803
|
+
# resp.plan_id #=> String
|
804
|
+
# resp.provision_product_id #=> String
|
805
|
+
# resp.provisioned_product_name #=> String
|
806
|
+
# resp.provisioning_artifact_id #=> String
|
807
|
+
#
|
808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisionedProductPlan AWS API Documentation
|
809
|
+
#
|
810
|
+
# @overload create_provisioned_product_plan(params = {})
|
811
|
+
# @param [Hash] params ({})
|
812
|
+
def create_provisioned_product_plan(params = {}, options = {})
|
813
|
+
req = build_request(:create_provisioned_product_plan, params)
|
814
|
+
req.send_request(options)
|
815
|
+
end
|
816
|
+
|
703
817
|
# Creates a provisioning artifact (also known as a version) for the
|
704
818
|
# specified product.
|
705
819
|
#
|
@@ -945,6 +1059,43 @@ module Aws::ServiceCatalog
|
|
945
1059
|
req.send_request(options)
|
946
1060
|
end
|
947
1061
|
|
1062
|
+
# Deletes the specified plan.
|
1063
|
+
#
|
1064
|
+
# @option params [String] :accept_language
|
1065
|
+
# The language code.
|
1066
|
+
#
|
1067
|
+
# * `en` - English (default)
|
1068
|
+
#
|
1069
|
+
# * `jp` - Japanese
|
1070
|
+
#
|
1071
|
+
# * `zh` - Chinese
|
1072
|
+
#
|
1073
|
+
# @option params [required, String] :plan_id
|
1074
|
+
# The plan identifier.
|
1075
|
+
#
|
1076
|
+
# @option params [Boolean] :ignore_errors
|
1077
|
+
# If set to true, AWS Service Catalog stops managing the specified
|
1078
|
+
# provisioned product even if it cannot delete the underlying resources.
|
1079
|
+
#
|
1080
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1081
|
+
#
|
1082
|
+
# @example Request syntax with placeholder values
|
1083
|
+
#
|
1084
|
+
# resp = client.delete_provisioned_product_plan({
|
1085
|
+
# accept_language: "AcceptLanguage",
|
1086
|
+
# plan_id: "Id", # required
|
1087
|
+
# ignore_errors: false,
|
1088
|
+
# })
|
1089
|
+
#
|
1090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisionedProductPlan AWS API Documentation
|
1091
|
+
#
|
1092
|
+
# @overload delete_provisioned_product_plan(params = {})
|
1093
|
+
# @param [Hash] params ({})
|
1094
|
+
def delete_provisioned_product_plan(params = {}, options = {})
|
1095
|
+
req = build_request(:delete_provisioned_product_plan, params)
|
1096
|
+
req.send_request(options)
|
1097
|
+
end
|
1098
|
+
|
948
1099
|
# Deletes the specified provisioning artifact (also known as a version)
|
949
1100
|
# for the specified product.
|
950
1101
|
#
|
@@ -1323,6 +1474,7 @@ module Aws::ServiceCatalog
|
|
1323
1474
|
# @return [Types::DescribeProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1324
1475
|
#
|
1325
1476
|
# * {Types::DescribeProvisionedProductOutput#provisioned_product_detail #provisioned_product_detail} => Types::ProvisionedProductDetail
|
1477
|
+
# * {Types::DescribeProvisionedProductOutput#cloud_watch_dashboards #cloud_watch_dashboards} => Array<Types::CloudWatchDashboard>
|
1326
1478
|
#
|
1327
1479
|
# @example Request syntax with placeholder values
|
1328
1480
|
#
|
@@ -1337,11 +1489,13 @@ module Aws::ServiceCatalog
|
|
1337
1489
|
# resp.provisioned_product_detail.arn #=> String
|
1338
1490
|
# resp.provisioned_product_detail.type #=> String
|
1339
1491
|
# resp.provisioned_product_detail.id #=> String
|
1340
|
-
# resp.provisioned_product_detail.status #=> String, one of "AVAILABLE", "UNDER_CHANGE", "TAINTED", "ERROR"
|
1492
|
+
# resp.provisioned_product_detail.status #=> String, one of "AVAILABLE", "UNDER_CHANGE", "TAINTED", "ERROR", "PLAN_IN_PROGRESS"
|
1341
1493
|
# resp.provisioned_product_detail.status_message #=> String
|
1342
1494
|
# resp.provisioned_product_detail.created_time #=> Time
|
1343
1495
|
# resp.provisioned_product_detail.idempotency_token #=> String
|
1344
1496
|
# resp.provisioned_product_detail.last_record_id #=> String
|
1497
|
+
# resp.cloud_watch_dashboards #=> Array
|
1498
|
+
# resp.cloud_watch_dashboards[0].name #=> String
|
1345
1499
|
#
|
1346
1500
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct AWS API Documentation
|
1347
1501
|
#
|
@@ -1352,6 +1506,90 @@ module Aws::ServiceCatalog
|
|
1352
1506
|
req.send_request(options)
|
1353
1507
|
end
|
1354
1508
|
|
1509
|
+
# Gets information about the resource changes for the specified plan.
|
1510
|
+
#
|
1511
|
+
# @option params [String] :accept_language
|
1512
|
+
# The language code.
|
1513
|
+
#
|
1514
|
+
# * `en` - English (default)
|
1515
|
+
#
|
1516
|
+
# * `jp` - Japanese
|
1517
|
+
#
|
1518
|
+
# * `zh` - Chinese
|
1519
|
+
#
|
1520
|
+
# @option params [required, String] :plan_id
|
1521
|
+
# The plan identifier.
|
1522
|
+
#
|
1523
|
+
# @option params [Integer] :page_size
|
1524
|
+
# The maximum number of items to return with this call.
|
1525
|
+
#
|
1526
|
+
# @option params [String] :page_token
|
1527
|
+
# The page token for the next set of results. To retrieve the first set
|
1528
|
+
# of results, use null.
|
1529
|
+
#
|
1530
|
+
# @return [Types::DescribeProvisionedProductPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1531
|
+
#
|
1532
|
+
# * {Types::DescribeProvisionedProductPlanOutput#provisioned_product_plan_details #provisioned_product_plan_details} => Types::ProvisionedProductPlanDetails
|
1533
|
+
# * {Types::DescribeProvisionedProductPlanOutput#resource_changes #resource_changes} => Array<Types::ResourceChange>
|
1534
|
+
# * {Types::DescribeProvisionedProductPlanOutput#next_page_token #next_page_token} => String
|
1535
|
+
#
|
1536
|
+
# @example Request syntax with placeholder values
|
1537
|
+
#
|
1538
|
+
# resp = client.describe_provisioned_product_plan({
|
1539
|
+
# accept_language: "AcceptLanguage",
|
1540
|
+
# plan_id: "Id", # required
|
1541
|
+
# page_size: 1,
|
1542
|
+
# page_token: "PageToken",
|
1543
|
+
# })
|
1544
|
+
#
|
1545
|
+
# @example Response structure
|
1546
|
+
#
|
1547
|
+
# resp.provisioned_product_plan_details.created_time #=> Time
|
1548
|
+
# resp.provisioned_product_plan_details.path_id #=> String
|
1549
|
+
# resp.provisioned_product_plan_details.product_id #=> String
|
1550
|
+
# resp.provisioned_product_plan_details.plan_name #=> String
|
1551
|
+
# resp.provisioned_product_plan_details.plan_id #=> String
|
1552
|
+
# resp.provisioned_product_plan_details.provision_product_id #=> String
|
1553
|
+
# resp.provisioned_product_plan_details.provision_product_name #=> String
|
1554
|
+
# resp.provisioned_product_plan_details.plan_type #=> String, one of "CLOUDFORMATION"
|
1555
|
+
# resp.provisioned_product_plan_details.provisioning_artifact_id #=> String
|
1556
|
+
# resp.provisioned_product_plan_details.status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_SUCCESS", "CREATE_FAILED", "EXECUTE_IN_PROGRESS", "EXECUTE_SUCCESS", "EXECUTE_FAILED"
|
1557
|
+
# resp.provisioned_product_plan_details.updated_time #=> Time
|
1558
|
+
# resp.provisioned_product_plan_details.notification_arns #=> Array
|
1559
|
+
# resp.provisioned_product_plan_details.notification_arns[0] #=> String
|
1560
|
+
# resp.provisioned_product_plan_details.provisioning_parameters #=> Array
|
1561
|
+
# resp.provisioned_product_plan_details.provisioning_parameters[0].key #=> String
|
1562
|
+
# resp.provisioned_product_plan_details.provisioning_parameters[0].value #=> String
|
1563
|
+
# resp.provisioned_product_plan_details.provisioning_parameters[0].use_previous_value #=> Boolean
|
1564
|
+
# resp.provisioned_product_plan_details.tags #=> Array
|
1565
|
+
# resp.provisioned_product_plan_details.tags[0].key #=> String
|
1566
|
+
# resp.provisioned_product_plan_details.tags[0].value #=> String
|
1567
|
+
# resp.provisioned_product_plan_details.status_message #=> String
|
1568
|
+
# resp.resource_changes #=> Array
|
1569
|
+
# resp.resource_changes[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
|
1570
|
+
# resp.resource_changes[0].logical_resource_id #=> String
|
1571
|
+
# resp.resource_changes[0].physical_resource_id #=> String
|
1572
|
+
# resp.resource_changes[0].resource_type #=> String
|
1573
|
+
# resp.resource_changes[0].replacement #=> String, one of "TRUE", "FALSE", "CONDITIONAL"
|
1574
|
+
# resp.resource_changes[0].scope #=> Array
|
1575
|
+
# resp.resource_changes[0].scope[0] #=> String, one of "PROPERTIES", "METADATA", "CREATIONPOLICY", "UPDATEPOLICY", "DELETIONPOLICY", "TAGS"
|
1576
|
+
# resp.resource_changes[0].details #=> Array
|
1577
|
+
# resp.resource_changes[0].details[0].target.attribute #=> String, one of "PROPERTIES", "METADATA", "CREATIONPOLICY", "UPDATEPOLICY", "DELETIONPOLICY", "TAGS"
|
1578
|
+
# resp.resource_changes[0].details[0].target.name #=> String
|
1579
|
+
# resp.resource_changes[0].details[0].target.requires_recreation #=> String, one of "NEVER", "CONDITIONALLY", "ALWAYS"
|
1580
|
+
# resp.resource_changes[0].details[0].evaluation #=> String, one of "STATIC", "DYNAMIC"
|
1581
|
+
# resp.resource_changes[0].details[0].causing_entity #=> String
|
1582
|
+
# resp.next_page_token #=> String
|
1583
|
+
#
|
1584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductPlan AWS API Documentation
|
1585
|
+
#
|
1586
|
+
# @overload describe_provisioned_product_plan(params = {})
|
1587
|
+
# @param [Hash] params ({})
|
1588
|
+
def describe_provisioned_product_plan(params = {}, options = {})
|
1589
|
+
req = build_request(:describe_provisioned_product_plan, params)
|
1590
|
+
req.send_request(options)
|
1591
|
+
end
|
1592
|
+
|
1355
1593
|
# Gets information about the specified provisioning artifact (also known
|
1356
1594
|
# as a version) for the specified product.
|
1357
1595
|
#
|
@@ -1416,10 +1654,9 @@ module Aws::ServiceCatalog
|
|
1416
1654
|
# there is a TagOption conflict for that key. The end user cannot take
|
1417
1655
|
# action to fix the conflict, and launch is not blocked. In subsequent
|
1418
1656
|
# calls to ProvisionProduct, do not include conflicted TagOption keys as
|
1419
|
-
# tags, or this
|
1420
|
-
#
|
1421
|
-
#
|
1422
|
-
# `sc-tagoption-conflict-portfolioId-productId`.
|
1657
|
+
# tags, or this causes the error "Parameter validation failed: Missing
|
1658
|
+
# required parameter in Tags\[*N*\]:*Value*". Tag the provisioned
|
1659
|
+
# product with the value `sc-tagoption-conflict-portfolioId-productId`.
|
1423
1660
|
#
|
1424
1661
|
# @option params [String] :accept_language
|
1425
1662
|
# The language code.
|
@@ -1692,6 +1929,70 @@ module Aws::ServiceCatalog
|
|
1692
1929
|
req.send_request(options)
|
1693
1930
|
end
|
1694
1931
|
|
1932
|
+
# Provisions or modifies a product based on the resource changes for the
|
1933
|
+
# specified plan.
|
1934
|
+
#
|
1935
|
+
# @option params [String] :accept_language
|
1936
|
+
# The language code.
|
1937
|
+
#
|
1938
|
+
# * `en` - English (default)
|
1939
|
+
#
|
1940
|
+
# * `jp` - Japanese
|
1941
|
+
#
|
1942
|
+
# * `zh` - Chinese
|
1943
|
+
#
|
1944
|
+
# @option params [required, String] :plan_id
|
1945
|
+
# The plan identifier.
|
1946
|
+
#
|
1947
|
+
# @option params [required, String] :idempotency_token
|
1948
|
+
# A unique identifier that you provide to ensure idempotency. If
|
1949
|
+
# multiple requests differ only by the idempotency token, the same
|
1950
|
+
# response is returned for each repeated request.
|
1951
|
+
#
|
1952
|
+
# **A suitable default value is auto-generated.** You should normally
|
1953
|
+
# not need to pass this option.**
|
1954
|
+
#
|
1955
|
+
# @return [Types::ExecuteProvisionedProductPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1956
|
+
#
|
1957
|
+
# * {Types::ExecuteProvisionedProductPlanOutput#record_detail #record_detail} => Types::RecordDetail
|
1958
|
+
#
|
1959
|
+
# @example Request syntax with placeholder values
|
1960
|
+
#
|
1961
|
+
# resp = client.execute_provisioned_product_plan({
|
1962
|
+
# accept_language: "AcceptLanguage",
|
1963
|
+
# plan_id: "Id", # required
|
1964
|
+
# idempotency_token: "IdempotencyToken", # required
|
1965
|
+
# })
|
1966
|
+
#
|
1967
|
+
# @example Response structure
|
1968
|
+
#
|
1969
|
+
# resp.record_detail.record_id #=> String
|
1970
|
+
# resp.record_detail.provisioned_product_name #=> String
|
1971
|
+
# resp.record_detail.status #=> String, one of "CREATED", "IN_PROGRESS", "IN_PROGRESS_IN_ERROR", "SUCCEEDED", "FAILED"
|
1972
|
+
# resp.record_detail.created_time #=> Time
|
1973
|
+
# resp.record_detail.updated_time #=> Time
|
1974
|
+
# resp.record_detail.provisioned_product_type #=> String
|
1975
|
+
# resp.record_detail.record_type #=> String
|
1976
|
+
# resp.record_detail.provisioned_product_id #=> String
|
1977
|
+
# resp.record_detail.product_id #=> String
|
1978
|
+
# resp.record_detail.provisioning_artifact_id #=> String
|
1979
|
+
# resp.record_detail.path_id #=> String
|
1980
|
+
# resp.record_detail.record_errors #=> Array
|
1981
|
+
# resp.record_detail.record_errors[0].code #=> String
|
1982
|
+
# resp.record_detail.record_errors[0].description #=> String
|
1983
|
+
# resp.record_detail.record_tags #=> Array
|
1984
|
+
# resp.record_detail.record_tags[0].key #=> String
|
1985
|
+
# resp.record_detail.record_tags[0].value #=> String
|
1986
|
+
#
|
1987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductPlan AWS API Documentation
|
1988
|
+
#
|
1989
|
+
# @overload execute_provisioned_product_plan(params = {})
|
1990
|
+
# @param [Hash] params ({})
|
1991
|
+
def execute_provisioned_product_plan(params = {}, options = {})
|
1992
|
+
req = build_request(:execute_provisioned_product_plan, params)
|
1993
|
+
req.send_request(options)
|
1994
|
+
end
|
1995
|
+
|
1695
1996
|
# Lists all portfolios for which sharing was accepted by this account.
|
1696
1997
|
#
|
1697
1998
|
# @option params [String] :accept_language
|
@@ -2057,6 +2358,69 @@ module Aws::ServiceCatalog
|
|
2057
2358
|
req.send_request(options)
|
2058
2359
|
end
|
2059
2360
|
|
2361
|
+
# Lists the plans for the specified provisioned product or all plans the
|
2362
|
+
# user has access to.
|
2363
|
+
#
|
2364
|
+
# @option params [String] :accept_language
|
2365
|
+
# The language code.
|
2366
|
+
#
|
2367
|
+
# * `en` - English (default)
|
2368
|
+
#
|
2369
|
+
# * `jp` - Japanese
|
2370
|
+
#
|
2371
|
+
# * `zh` - Chinese
|
2372
|
+
#
|
2373
|
+
# @option params [String] :provision_product_id
|
2374
|
+
# The product identifier.
|
2375
|
+
#
|
2376
|
+
# @option params [Integer] :page_size
|
2377
|
+
# The maximum number of items to return with this call.
|
2378
|
+
#
|
2379
|
+
# @option params [String] :page_token
|
2380
|
+
# The page token for the next set of results. To retrieve the first set
|
2381
|
+
# of results, use null.
|
2382
|
+
#
|
2383
|
+
# @option params [Types::AccessLevelFilter] :access_level_filter
|
2384
|
+
# The access level to use to obtain results. The default is `User`.
|
2385
|
+
#
|
2386
|
+
# @return [Types::ListProvisionedProductPlansOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2387
|
+
#
|
2388
|
+
# * {Types::ListProvisionedProductPlansOutput#provisioned_product_plans #provisioned_product_plans} => Array<Types::ProvisionedProductPlanSummary>
|
2389
|
+
# * {Types::ListProvisionedProductPlansOutput#next_page_token #next_page_token} => String
|
2390
|
+
#
|
2391
|
+
# @example Request syntax with placeholder values
|
2392
|
+
#
|
2393
|
+
# resp = client.list_provisioned_product_plans({
|
2394
|
+
# accept_language: "AcceptLanguage",
|
2395
|
+
# provision_product_id: "Id",
|
2396
|
+
# page_size: 1,
|
2397
|
+
# page_token: "PageToken",
|
2398
|
+
# access_level_filter: {
|
2399
|
+
# key: "Account", # accepts Account, Role, User
|
2400
|
+
# value: "AccessLevelFilterValue",
|
2401
|
+
# },
|
2402
|
+
# })
|
2403
|
+
#
|
2404
|
+
# @example Response structure
|
2405
|
+
#
|
2406
|
+
# resp.provisioned_product_plans #=> Array
|
2407
|
+
# resp.provisioned_product_plans[0].plan_name #=> String
|
2408
|
+
# resp.provisioned_product_plans[0].plan_id #=> String
|
2409
|
+
# resp.provisioned_product_plans[0].provision_product_id #=> String
|
2410
|
+
# resp.provisioned_product_plans[0].provision_product_name #=> String
|
2411
|
+
# resp.provisioned_product_plans[0].plan_type #=> String, one of "CLOUDFORMATION"
|
2412
|
+
# resp.provisioned_product_plans[0].provisioning_artifact_id #=> String
|
2413
|
+
# resp.next_page_token #=> String
|
2414
|
+
#
|
2415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisionedProductPlans AWS API Documentation
|
2416
|
+
#
|
2417
|
+
# @overload list_provisioned_product_plans(params = {})
|
2418
|
+
# @param [Hash] params ({})
|
2419
|
+
def list_provisioned_product_plans(params = {}, options = {})
|
2420
|
+
req = build_request(:list_provisioned_product_plans, params)
|
2421
|
+
req.send_request(options)
|
2422
|
+
end
|
2423
|
+
|
2060
2424
|
# Lists all provisioning artifacts (also known as versions) for the
|
2061
2425
|
# specified product.
|
2062
2426
|
#
|
@@ -2289,8 +2653,8 @@ module Aws::ServiceCatalog
|
|
2289
2653
|
#
|
2290
2654
|
# If the request contains a tag key with an empty list of values, there
|
2291
2655
|
# is a tag conflict for that key. Do not include conflicted keys as
|
2292
|
-
# tags, or this
|
2293
|
-
#
|
2656
|
+
# tags, or this causes the error "Parameter validation failed: Missing
|
2657
|
+
# required parameter in Tags\[*N*\]:*Value*".
|
2294
2658
|
#
|
2295
2659
|
# @option params [String] :accept_language
|
2296
2660
|
# The language code.
|
@@ -2322,7 +2686,7 @@ module Aws::ServiceCatalog
|
|
2322
2686
|
# provisioning the product.
|
2323
2687
|
#
|
2324
2688
|
# @option params [Array<Types::Tag>] :tags
|
2325
|
-
#
|
2689
|
+
# One or more tags.
|
2326
2690
|
#
|
2327
2691
|
# @option params [Array<String>] :notification_arns
|
2328
2692
|
# Passed to CloudFormation. The SNS topic ARNs to which to publish
|
@@ -2426,6 +2790,8 @@ module Aws::ServiceCatalog
|
|
2426
2790
|
|
2427
2791
|
# Lists the provisioned products that are available (not terminated).
|
2428
2792
|
#
|
2793
|
+
# To use additional filtering, see SearchProvisionedProducts.
|
2794
|
+
#
|
2429
2795
|
# @option params [String] :accept_language
|
2430
2796
|
# The language code.
|
2431
2797
|
#
|
@@ -2469,7 +2835,7 @@ module Aws::ServiceCatalog
|
|
2469
2835
|
# resp.provisioned_products[0].arn #=> String
|
2470
2836
|
# resp.provisioned_products[0].type #=> String
|
2471
2837
|
# resp.provisioned_products[0].id #=> String
|
2472
|
-
# resp.provisioned_products[0].status #=> String, one of "AVAILABLE", "UNDER_CHANGE", "TAINTED", "ERROR"
|
2838
|
+
# resp.provisioned_products[0].status #=> String, one of "AVAILABLE", "UNDER_CHANGE", "TAINTED", "ERROR", "PLAN_IN_PROGRESS"
|
2473
2839
|
# resp.provisioned_products[0].status_message #=> String
|
2474
2840
|
# resp.provisioned_products[0].created_time #=> Time
|
2475
2841
|
# resp.provisioned_products[0].idempotency_token #=> String
|
@@ -2644,6 +3010,100 @@ module Aws::ServiceCatalog
|
|
2644
3010
|
req.send_request(options)
|
2645
3011
|
end
|
2646
3012
|
|
3013
|
+
# Gets information about the provisioned products that meet the
|
3014
|
+
# specified criteria.
|
3015
|
+
#
|
3016
|
+
# @option params [String] :accept_language
|
3017
|
+
# The language code.
|
3018
|
+
#
|
3019
|
+
# * `en` - English (default)
|
3020
|
+
#
|
3021
|
+
# * `jp` - Japanese
|
3022
|
+
#
|
3023
|
+
# * `zh` - Chinese
|
3024
|
+
#
|
3025
|
+
# @option params [Types::AccessLevelFilter] :access_level_filter
|
3026
|
+
# The access level to use to obtain results. The default is `User`.
|
3027
|
+
#
|
3028
|
+
# @option params [Hash<String,Array>] :filters
|
3029
|
+
# The search filters.
|
3030
|
+
#
|
3031
|
+
# When the key is `SearchQuery`, the searchable fields are `arn`,
|
3032
|
+
# `createdTime`, `id`, `lastRecordId`, `idempotencyToken`, `name`,
|
3033
|
+
# `physicalId`, `productId`, `provisioningArtifact`, `type`, `status`,
|
3034
|
+
# `tags`, `userArn`, and `userArnSession`.
|
3035
|
+
#
|
3036
|
+
# Example: `"SearchQuery":["status:AVAILABLE"]`
|
3037
|
+
#
|
3038
|
+
# @option params [String] :sort_by
|
3039
|
+
# The sort field. If no value is specified, the results are not sorted.
|
3040
|
+
# The valid values are `arn`, `id`, `name`, and `lastRecordId`.
|
3041
|
+
#
|
3042
|
+
# @option params [String] :sort_order
|
3043
|
+
# The sort order. If no value is specified, the results are not sorted.
|
3044
|
+
#
|
3045
|
+
# @option params [Integer] :page_size
|
3046
|
+
# The maximum number of items to return with this call.
|
3047
|
+
#
|
3048
|
+
# @option params [String] :page_token
|
3049
|
+
# The page token for the next set of results. To retrieve the first set
|
3050
|
+
# of results, use null.
|
3051
|
+
#
|
3052
|
+
# @return [Types::SearchProvisionedProductsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3053
|
+
#
|
3054
|
+
# * {Types::SearchProvisionedProductsOutput#provisioned_products #provisioned_products} => Array<Types::ProvisionedProductAttribute>
|
3055
|
+
# * {Types::SearchProvisionedProductsOutput#total_results_count #total_results_count} => Integer
|
3056
|
+
# * {Types::SearchProvisionedProductsOutput#next_page_token #next_page_token} => String
|
3057
|
+
#
|
3058
|
+
# @example Request syntax with placeholder values
|
3059
|
+
#
|
3060
|
+
# resp = client.search_provisioned_products({
|
3061
|
+
# accept_language: "AcceptLanguage",
|
3062
|
+
# access_level_filter: {
|
3063
|
+
# key: "Account", # accepts Account, Role, User
|
3064
|
+
# value: "AccessLevelFilterValue",
|
3065
|
+
# },
|
3066
|
+
# filters: {
|
3067
|
+
# "SearchQuery" => ["ProvisionedProductViewFilterValue"],
|
3068
|
+
# },
|
3069
|
+
# sort_by: "SortField",
|
3070
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
3071
|
+
# page_size: 1,
|
3072
|
+
# page_token: "PageToken",
|
3073
|
+
# })
|
3074
|
+
#
|
3075
|
+
# @example Response structure
|
3076
|
+
#
|
3077
|
+
# resp.provisioned_products #=> Array
|
3078
|
+
# resp.provisioned_products[0].name #=> String
|
3079
|
+
# resp.provisioned_products[0].arn #=> String
|
3080
|
+
# resp.provisioned_products[0].type #=> String
|
3081
|
+
# resp.provisioned_products[0].id #=> String
|
3082
|
+
# resp.provisioned_products[0].status #=> String, one of "AVAILABLE", "UNDER_CHANGE", "TAINTED", "ERROR", "PLAN_IN_PROGRESS"
|
3083
|
+
# resp.provisioned_products[0].status_message #=> String
|
3084
|
+
# resp.provisioned_products[0].created_time #=> Time
|
3085
|
+
# resp.provisioned_products[0].idempotency_token #=> String
|
3086
|
+
# resp.provisioned_products[0].last_record_id #=> String
|
3087
|
+
# resp.provisioned_products[0].tags #=> Array
|
3088
|
+
# resp.provisioned_products[0].tags[0].key #=> String
|
3089
|
+
# resp.provisioned_products[0].tags[0].value #=> String
|
3090
|
+
# resp.provisioned_products[0].physical_id #=> String
|
3091
|
+
# resp.provisioned_products[0].product_id #=> String
|
3092
|
+
# resp.provisioned_products[0].provisioning_artifact_id #=> String
|
3093
|
+
# resp.provisioned_products[0].user_arn #=> String
|
3094
|
+
# resp.provisioned_products[0].user_arn_session #=> String
|
3095
|
+
# resp.total_results_count #=> Integer
|
3096
|
+
# resp.next_page_token #=> String
|
3097
|
+
#
|
3098
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProvisionedProducts AWS API Documentation
|
3099
|
+
#
|
3100
|
+
# @overload search_provisioned_products(params = {})
|
3101
|
+
# @param [Hash] params ({})
|
3102
|
+
def search_provisioned_products(params = {}, options = {})
|
3103
|
+
req = build_request(:search_provisioned_products, params)
|
3104
|
+
req.send_request(options)
|
3105
|
+
end
|
3106
|
+
|
2647
3107
|
# Terminates the specified provisioned product.
|
2648
3108
|
#
|
2649
3109
|
# This operation does not delete any records associated with the
|
@@ -2985,7 +3445,7 @@ module Aws::ServiceCatalog
|
|
2985
3445
|
#
|
2986
3446
|
# @option params [required, String] :update_token
|
2987
3447
|
# The idempotency token that uniquely identifies the provisioning update
|
2988
|
-
#
|
3448
|
+
# request.
|
2989
3449
|
#
|
2990
3450
|
# **A suitable default value is auto-generated.** You should normally
|
2991
3451
|
# not need to pass this option.**
|
@@ -3162,7 +3622,7 @@ module Aws::ServiceCatalog
|
|
3162
3622
|
params: params,
|
3163
3623
|
config: config)
|
3164
3624
|
context[:gem_name] = 'aws-sdk-servicecatalog'
|
3165
|
-
context[:gem_version] = '1.
|
3625
|
+
context[:gem_version] = '1.3.0'
|
3166
3626
|
Seahorse::Client::Request.new(handlers, context)
|
3167
3627
|
end
|
3168
3628
|
|