aws-sdk-marketplacecatalog 1.36.0 → 1.38.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-marketplacecatalog/client.rb +283 -2
- data/lib/aws-sdk-marketplacecatalog/client_api.rb +576 -0
- data/lib/aws-sdk-marketplacecatalog/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-marketplacecatalog/endpoints.rb +14 -0
- data/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-marketplacecatalog/types.rb +1986 -313
- data/lib/aws-sdk-marketplacecatalog.rb +2 -2
- 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: 51884d1443c764ad52bd321c404603208c854d739376c01e44ccdc55eba11800
|
4
|
+
data.tar.gz: 30a1aa3c44b627ddcc80fef9719cf891c54cf365ea1670f62e9275d06f17a8d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15354c806c8b83e035944429dc0837ed3c4b7df0e0c3bcd5b31df248dcaa1a56ad680c156c99771054a0f6f4541ff9c40d30e7e4683a29e77d087f3f16f10771
|
7
|
+
data.tar.gz: e999189a3757bb4eaf8835e4430ad1c80e9858e3d29da3a9db68e951536c013bc54d6d66acc75eb943786057524c0e4dccacb8ef7eb9e3972d468815287277fc
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2023-12-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Marketplace now supports a new API, BatchDescribeEntities, which returns metadata and content for multiple entities.
|
8
|
+
|
9
|
+
1.37.0 (2023-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release enhances the ListEntities API to support new entity type-specific strongly typed filters in the request and entity type-specific strongly typed summaries in the response.
|
13
|
+
|
4
14
|
1.36.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
@@ -388,6 +388,47 @@ module Aws::MarketplaceCatalog
|
|
388
388
|
|
389
389
|
# @!group API Operations
|
390
390
|
|
391
|
+
# Returns metadata and content for multiple entities.
|
392
|
+
#
|
393
|
+
# @option params [required, Array<Types::EntityRequest>] :entity_request_list
|
394
|
+
# List of entity IDs and the catalogs the entities are present in.
|
395
|
+
#
|
396
|
+
# @return [Types::BatchDescribeEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
397
|
+
#
|
398
|
+
# * {Types::BatchDescribeEntitiesResponse#entity_details #entity_details} => Hash<String,Types::EntityDetail>
|
399
|
+
# * {Types::BatchDescribeEntitiesResponse#errors #errors} => Hash<String,Types::BatchDescribeErrorDetail>
|
400
|
+
#
|
401
|
+
# @example Request syntax with placeholder values
|
402
|
+
#
|
403
|
+
# resp = client.batch_describe_entities({
|
404
|
+
# entity_request_list: [ # required
|
405
|
+
# {
|
406
|
+
# catalog: "Catalog", # required
|
407
|
+
# entity_id: "EntityId", # required
|
408
|
+
# },
|
409
|
+
# ],
|
410
|
+
# })
|
411
|
+
#
|
412
|
+
# @example Response structure
|
413
|
+
#
|
414
|
+
# resp.entity_details #=> Hash
|
415
|
+
# resp.entity_details["EntityId"].entity_type #=> String
|
416
|
+
# resp.entity_details["EntityId"].entity_arn #=> String
|
417
|
+
# resp.entity_details["EntityId"].entity_identifier #=> String
|
418
|
+
# resp.entity_details["EntityId"].last_modified_date #=> String
|
419
|
+
# resp.errors #=> Hash
|
420
|
+
# resp.errors["EntityId"].error_code #=> String
|
421
|
+
# resp.errors["EntityId"].error_message #=> String
|
422
|
+
#
|
423
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/BatchDescribeEntities AWS API Documentation
|
424
|
+
#
|
425
|
+
# @overload batch_describe_entities(params = {})
|
426
|
+
# @param [Hash] params ({})
|
427
|
+
def batch_describe_entities(params = {}, options = {})
|
428
|
+
req = build_request(:batch_describe_entities, params)
|
429
|
+
req.send_request(options)
|
430
|
+
end
|
431
|
+
|
391
432
|
# Used to cancel an open change request. Must be sent before the status
|
392
433
|
# of the request changes to `APPLYING`, the final stage of completing
|
393
434
|
# your change request. You can describe a change during the 60-day
|
@@ -662,7 +703,10 @@ module Aws::MarketplaceCatalog
|
|
662
703
|
# The catalog related to the request. Fixed value: `AWSMarketplace`
|
663
704
|
#
|
664
705
|
# @option params [required, String] :entity_type
|
665
|
-
# The type of entities to retrieve.
|
706
|
+
# The type of entities to retrieve. Valid values are: `AmiProduct`,
|
707
|
+
# `ContainerProduct`, `DataProduct`, `SaaSProduct`, `ProcurementPolicy`,
|
708
|
+
# `Experience`, `Audience`, `BrandingSettings`, `Offer`, `Seller`,
|
709
|
+
# `ResaleAuthorization`.
|
666
710
|
#
|
667
711
|
# @option params [Array<Types::Filter>] :filter_list
|
668
712
|
# An array of filter objects. Each filter object contains two
|
@@ -686,6 +730,17 @@ module Aws::MarketplaceCatalog
|
|
686
730
|
# AWS Marketplace Catalog API `PutResourcePolicy` operation can't be
|
687
731
|
# discovered through the `SHARED` parameter.
|
688
732
|
#
|
733
|
+
# @option params [Types::EntityTypeFilters] :entity_type_filters
|
734
|
+
# A Union object containing filter shapes for all `EntityType`s. Each
|
735
|
+
# `EntityTypeFilter` shape will have filters applicable for that
|
736
|
+
# `EntityType` that can be used to search or filter entities.
|
737
|
+
#
|
738
|
+
# @option params [Types::EntityTypeSort] :entity_type_sort
|
739
|
+
# A Union object containing `Sort` shapes for all `EntityType`s. Each
|
740
|
+
# `EntityTypeSort` shape will have `SortBy` and `SortOrder` applicable
|
741
|
+
# for fields on that `EntityType`. This can be used to sort the results
|
742
|
+
# of the filter query.
|
743
|
+
#
|
689
744
|
# @return [Types::ListEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
690
745
|
#
|
691
746
|
# * {Types::ListEntitiesResponse#entity_summary_list #entity_summary_list} => Array<Types::EntitySummary>
|
@@ -711,6 +766,204 @@ module Aws::MarketplaceCatalog
|
|
711
766
|
# next_token: "NextToken",
|
712
767
|
# max_results: 1,
|
713
768
|
# ownership_type: "SELF", # accepts SELF, SHARED
|
769
|
+
# entity_type_filters: {
|
770
|
+
# data_product_filters: {
|
771
|
+
# entity_id: {
|
772
|
+
# value_list: ["DataProductEntityIdString"],
|
773
|
+
# },
|
774
|
+
# product_title: {
|
775
|
+
# value_list: ["DataProductTitleString"],
|
776
|
+
# wild_card_value: "DataProductTitleString",
|
777
|
+
# },
|
778
|
+
# visibility: {
|
779
|
+
# value_list: ["Limited"], # accepts Limited, Public, Restricted, Unavailable, Draft
|
780
|
+
# },
|
781
|
+
# last_modified_date: {
|
782
|
+
# date_range: {
|
783
|
+
# after_value: "DateTimeISO8601",
|
784
|
+
# before_value: "DateTimeISO8601",
|
785
|
+
# },
|
786
|
+
# },
|
787
|
+
# },
|
788
|
+
# saa_s_product_filters: {
|
789
|
+
# entity_id: {
|
790
|
+
# value_list: ["SaaSProductEntityIdString"],
|
791
|
+
# },
|
792
|
+
# product_title: {
|
793
|
+
# value_list: ["SaaSProductTitleString"],
|
794
|
+
# wild_card_value: "SaaSProductTitleString",
|
795
|
+
# },
|
796
|
+
# visibility: {
|
797
|
+
# value_list: ["Limited"], # accepts Limited, Public, Restricted, Draft
|
798
|
+
# },
|
799
|
+
# last_modified_date: {
|
800
|
+
# date_range: {
|
801
|
+
# after_value: "DateTimeISO8601",
|
802
|
+
# before_value: "DateTimeISO8601",
|
803
|
+
# },
|
804
|
+
# },
|
805
|
+
# },
|
806
|
+
# ami_product_filters: {
|
807
|
+
# entity_id: {
|
808
|
+
# value_list: ["AmiProductEntityIdString"],
|
809
|
+
# },
|
810
|
+
# last_modified_date: {
|
811
|
+
# date_range: {
|
812
|
+
# after_value: "DateTimeISO8601",
|
813
|
+
# before_value: "DateTimeISO8601",
|
814
|
+
# },
|
815
|
+
# },
|
816
|
+
# product_title: {
|
817
|
+
# value_list: ["AmiProductTitleString"],
|
818
|
+
# wild_card_value: "AmiProductTitleString",
|
819
|
+
# },
|
820
|
+
# visibility: {
|
821
|
+
# value_list: ["Limited"], # accepts Limited, Public, Restricted, Draft
|
822
|
+
# },
|
823
|
+
# },
|
824
|
+
# offer_filters: {
|
825
|
+
# entity_id: {
|
826
|
+
# value_list: ["OfferEntityIdString"],
|
827
|
+
# },
|
828
|
+
# name: {
|
829
|
+
# value_list: ["OfferNameString"],
|
830
|
+
# wild_card_value: "OfferNameString",
|
831
|
+
# },
|
832
|
+
# product_id: {
|
833
|
+
# value_list: ["OfferProductIdString"],
|
834
|
+
# },
|
835
|
+
# release_date: {
|
836
|
+
# date_range: {
|
837
|
+
# after_value: "DateTimeISO8601",
|
838
|
+
# before_value: "DateTimeISO8601",
|
839
|
+
# },
|
840
|
+
# },
|
841
|
+
# availability_end_date: {
|
842
|
+
# date_range: {
|
843
|
+
# after_value: "DateTimeISO8601",
|
844
|
+
# before_value: "DateTimeISO8601",
|
845
|
+
# },
|
846
|
+
# },
|
847
|
+
# buyer_accounts: {
|
848
|
+
# wild_card_value: "OfferBuyerAccountsFilterWildcard",
|
849
|
+
# },
|
850
|
+
# state: {
|
851
|
+
# value_list: ["Draft"], # accepts Draft, Released
|
852
|
+
# },
|
853
|
+
# targeting: {
|
854
|
+
# value_list: ["BuyerAccounts"], # accepts BuyerAccounts, ParticipatingPrograms, CountryCodes, None
|
855
|
+
# },
|
856
|
+
# last_modified_date: {
|
857
|
+
# date_range: {
|
858
|
+
# after_value: "DateTimeISO8601",
|
859
|
+
# before_value: "DateTimeISO8601",
|
860
|
+
# },
|
861
|
+
# },
|
862
|
+
# },
|
863
|
+
# container_product_filters: {
|
864
|
+
# entity_id: {
|
865
|
+
# value_list: ["ContainerProductEntityIdString"],
|
866
|
+
# },
|
867
|
+
# last_modified_date: {
|
868
|
+
# date_range: {
|
869
|
+
# after_value: "DateTimeISO8601",
|
870
|
+
# before_value: "DateTimeISO8601",
|
871
|
+
# },
|
872
|
+
# },
|
873
|
+
# product_title: {
|
874
|
+
# value_list: ["ContainerProductTitleString"],
|
875
|
+
# wild_card_value: "ContainerProductTitleString",
|
876
|
+
# },
|
877
|
+
# visibility: {
|
878
|
+
# value_list: ["Limited"], # accepts Limited, Public, Restricted, Draft
|
879
|
+
# },
|
880
|
+
# },
|
881
|
+
# resale_authorization_filters: {
|
882
|
+
# entity_id: {
|
883
|
+
# value_list: ["ResaleAuthorizationEntityIdString"],
|
884
|
+
# },
|
885
|
+
# name: {
|
886
|
+
# value_list: ["ResaleAuthorizationNameString"],
|
887
|
+
# wild_card_value: "ResaleAuthorizationNameFilterWildcard",
|
888
|
+
# },
|
889
|
+
# product_id: {
|
890
|
+
# value_list: ["ResaleAuthorizationProductIdString"],
|
891
|
+
# wild_card_value: "ResaleAuthorizationProductIdFilterWildcard",
|
892
|
+
# },
|
893
|
+
# created_date: {
|
894
|
+
# date_range: {
|
895
|
+
# after_value: "DateTimeISO8601",
|
896
|
+
# before_value: "DateTimeISO8601",
|
897
|
+
# },
|
898
|
+
# value_list: ["DateTimeISO8601"],
|
899
|
+
# },
|
900
|
+
# availability_end_date: {
|
901
|
+
# date_range: {
|
902
|
+
# after_value: "DateTimeISO8601",
|
903
|
+
# before_value: "DateTimeISO8601",
|
904
|
+
# },
|
905
|
+
# value_list: ["DateTimeISO8601"],
|
906
|
+
# },
|
907
|
+
# manufacturer_account_id: {
|
908
|
+
# value_list: ["ResaleAuthorizationManufacturerAccountIdString"],
|
909
|
+
# wild_card_value: "ResaleAuthorizationManufacturerAccountIdFilterWildcard",
|
910
|
+
# },
|
911
|
+
# product_name: {
|
912
|
+
# value_list: ["ResaleAuthorizationProductNameString"],
|
913
|
+
# wild_card_value: "ResaleAuthorizationProductNameFilterWildcard",
|
914
|
+
# },
|
915
|
+
# manufacturer_legal_name: {
|
916
|
+
# value_list: ["ResaleAuthorizationManufacturerLegalNameString"],
|
917
|
+
# wild_card_value: "ResaleAuthorizationManufacturerLegalNameFilterWildcard",
|
918
|
+
# },
|
919
|
+
# reseller_account_id: {
|
920
|
+
# value_list: ["ResaleAuthorizationResellerAccountIDString"],
|
921
|
+
# wild_card_value: "ResaleAuthorizationResellerAccountIDFilterWildcard",
|
922
|
+
# },
|
923
|
+
# reseller_legal_name: {
|
924
|
+
# value_list: ["ResaleAuthorizationResellerLegalNameString"],
|
925
|
+
# wild_card_value: "ResaleAuthorizationResellerLegalNameFilterWildcard",
|
926
|
+
# },
|
927
|
+
# status: {
|
928
|
+
# value_list: ["Draft"], # accepts Draft, Active, Restricted
|
929
|
+
# },
|
930
|
+
# offer_extended_status: {
|
931
|
+
# value_list: ["ResaleAuthorizationOfferExtendedStatusString"],
|
932
|
+
# },
|
933
|
+
# last_modified_date: {
|
934
|
+
# date_range: {
|
935
|
+
# after_value: "DateTimeISO8601",
|
936
|
+
# before_value: "DateTimeISO8601",
|
937
|
+
# },
|
938
|
+
# },
|
939
|
+
# },
|
940
|
+
# },
|
941
|
+
# entity_type_sort: {
|
942
|
+
# data_product_sort: {
|
943
|
+
# sort_by: "EntityId", # accepts EntityId, ProductTitle, Visibility, LastModifiedDate
|
944
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
945
|
+
# },
|
946
|
+
# saa_s_product_sort: {
|
947
|
+
# sort_by: "EntityId", # accepts EntityId, ProductTitle, Visibility, LastModifiedDate
|
948
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
949
|
+
# },
|
950
|
+
# ami_product_sort: {
|
951
|
+
# sort_by: "EntityId", # accepts EntityId, LastModifiedDate, ProductTitle, Visibility
|
952
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
953
|
+
# },
|
954
|
+
# offer_sort: {
|
955
|
+
# sort_by: "EntityId", # accepts EntityId, Name, ProductId, ReleaseDate, AvailabilityEndDate, BuyerAccounts, State, Targeting, LastModifiedDate
|
956
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
957
|
+
# },
|
958
|
+
# container_product_sort: {
|
959
|
+
# sort_by: "EntityId", # accepts EntityId, LastModifiedDate, ProductTitle, Visibility
|
960
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
961
|
+
# },
|
962
|
+
# resale_authorization_sort: {
|
963
|
+
# sort_by: "EntityId", # accepts EntityId, Name, ProductId, ProductName, ManufacturerAccountId, ManufacturerLegalName, ResellerAccountID, ResellerLegalName, Status, OfferExtendedStatus, CreatedDate, AvailabilityEndDate, LastModifiedDate
|
964
|
+
# sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
965
|
+
# },
|
966
|
+
# },
|
714
967
|
# })
|
715
968
|
#
|
716
969
|
# @example Response structure
|
@@ -722,6 +975,34 @@ module Aws::MarketplaceCatalog
|
|
722
975
|
# resp.entity_summary_list[0].entity_arn #=> String
|
723
976
|
# resp.entity_summary_list[0].last_modified_date #=> String
|
724
977
|
# resp.entity_summary_list[0].visibility #=> String
|
978
|
+
# resp.entity_summary_list[0].ami_product_summary.product_title #=> String
|
979
|
+
# resp.entity_summary_list[0].ami_product_summary.visibility #=> String, one of "Limited", "Public", "Restricted", "Draft"
|
980
|
+
# resp.entity_summary_list[0].container_product_summary.product_title #=> String
|
981
|
+
# resp.entity_summary_list[0].container_product_summary.visibility #=> String, one of "Limited", "Public", "Restricted", "Draft"
|
982
|
+
# resp.entity_summary_list[0].data_product_summary.product_title #=> String
|
983
|
+
# resp.entity_summary_list[0].data_product_summary.visibility #=> String, one of "Limited", "Public", "Restricted", "Unavailable", "Draft"
|
984
|
+
# resp.entity_summary_list[0].saa_s_product_summary.product_title #=> String
|
985
|
+
# resp.entity_summary_list[0].saa_s_product_summary.visibility #=> String, one of "Limited", "Public", "Restricted", "Draft"
|
986
|
+
# resp.entity_summary_list[0].offer_summary.name #=> String
|
987
|
+
# resp.entity_summary_list[0].offer_summary.product_id #=> String
|
988
|
+
# resp.entity_summary_list[0].offer_summary.release_date #=> String
|
989
|
+
# resp.entity_summary_list[0].offer_summary.availability_end_date #=> String
|
990
|
+
# resp.entity_summary_list[0].offer_summary.buyer_accounts #=> Array
|
991
|
+
# resp.entity_summary_list[0].offer_summary.buyer_accounts[0] #=> String
|
992
|
+
# resp.entity_summary_list[0].offer_summary.state #=> String, one of "Draft", "Released"
|
993
|
+
# resp.entity_summary_list[0].offer_summary.targeting #=> Array
|
994
|
+
# resp.entity_summary_list[0].offer_summary.targeting[0] #=> String, one of "BuyerAccounts", "ParticipatingPrograms", "CountryCodes", "None"
|
995
|
+
# resp.entity_summary_list[0].resale_authorization_summary.name #=> String
|
996
|
+
# resp.entity_summary_list[0].resale_authorization_summary.product_id #=> String
|
997
|
+
# resp.entity_summary_list[0].resale_authorization_summary.product_name #=> String
|
998
|
+
# resp.entity_summary_list[0].resale_authorization_summary.manufacturer_account_id #=> String
|
999
|
+
# resp.entity_summary_list[0].resale_authorization_summary.manufacturer_legal_name #=> String
|
1000
|
+
# resp.entity_summary_list[0].resale_authorization_summary.reseller_account_id #=> String
|
1001
|
+
# resp.entity_summary_list[0].resale_authorization_summary.reseller_legal_name #=> String
|
1002
|
+
# resp.entity_summary_list[0].resale_authorization_summary.status #=> String, one of "Draft", "Active", "Restricted"
|
1003
|
+
# resp.entity_summary_list[0].resale_authorization_summary.offer_extended_status #=> String
|
1004
|
+
# resp.entity_summary_list[0].resale_authorization_summary.created_date #=> String
|
1005
|
+
# resp.entity_summary_list[0].resale_authorization_summary.availability_end_date #=> String
|
725
1006
|
# resp.next_token #=> String
|
726
1007
|
#
|
727
1008
|
# @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListEntities AWS API Documentation
|
@@ -984,7 +1265,7 @@ module Aws::MarketplaceCatalog
|
|
984
1265
|
params: params,
|
985
1266
|
config: config)
|
986
1267
|
context[:gem_name] = 'aws-sdk-marketplacecatalog'
|
987
|
-
context[:gem_version] = '1.
|
1268
|
+
context[:gem_version] = '1.38.0'
|
988
1269
|
Seahorse::Client::Request.new(handlers, context)
|
989
1270
|
end
|
990
1271
|
|