aws-sdk-marketplacecatalog 1.33.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a0f3dd4b9f2d9ff0d41d646b26792066c4ee60c240f7e9c61d5c9ebfbfdd00b
4
- data.tar.gz: fd2cb3765b5d686b289d6dfcf650ba82a0130871fecf241e49bd48954ea4736b
3
+ metadata.gz: fcc701bc4d16a629f17fe62df6b646e03a9ff10eb8fbd2b7a5b6d4ac7db8dbad
4
+ data.tar.gz: 6a193e9d7189c111bc57a9aecedb4d4ab2bae52fa761679ae07bcba320cdd969
5
5
  SHA512:
6
- metadata.gz: 780a7dc04c23680199455a9c653dd7c8b8ddf6453676cc54aa59a67a4f97b21925ea68b35acec091b06fd90f6697885c8825d90ffa9684a448569af4b54f6fae
7
- data.tar.gz: 7e6a709fc82f0a1f76fe3aaf4a65ab6ee00706c4f96352deccdc0b866ddb1b46de798911a496afa87e1f945d214c462bd0f38a447850cc4880ee52ab367a27bd
6
+ metadata.gz: 7a7716f57cbdbfdbf14a8b32416cf6a1d5f03c449fce091bd401a8cc4bb2031f7218a55c2e8b1d649b4011010eeaa4978823c7fddb7f705b92b0d57bab594ee9
7
+ data.tar.gz: 0a17191201bba39a706260fe6ea381ef491a4f09dccfe97d17fb29c1c06f7ca893ff917521c1bffb86a89757f605644c0421d3b756eea60f436e0b7289b26335
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2023-10-06)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Document type as an alternative for stringified JSON for StartChangeSet, DescribeChangeSet and DescribeEntity APIs
8
+
4
9
  1.33.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.34.0
@@ -427,11 +427,11 @@ module Aws::MarketplaceCatalog
427
427
  req.send_request(options)
428
428
  end
429
429
 
430
- # Deletes a resource-based policy on an Entity that is identified by its
430
+ # Deletes a resource-based policy on an entity that is identified by its
431
431
  # resource ARN.
432
432
  #
433
433
  # @option params [required, String] :resource_arn
434
- # The Amazon Resource Name (ARN) of the Entity resource that is
434
+ # The Amazon Resource Name (ARN) of the entity resource that is
435
435
  # associated with the resource policy.
436
436
  #
437
437
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -525,6 +525,7 @@ module Aws::MarketplaceCatalog
525
525
  # * {Types::DescribeEntityResponse#entity_arn #entity_arn} => String
526
526
  # * {Types::DescribeEntityResponse#last_modified_date #last_modified_date} => String
527
527
  # * {Types::DescribeEntityResponse#details #details} => String
528
+ # * {Types::DescribeEntityResponse#details_document #details_document} => Hash,Array,String,Numeric,Boolean
528
529
  #
529
530
  # @example Request syntax with placeholder values
530
531
  #
@@ -550,11 +551,11 @@ module Aws::MarketplaceCatalog
550
551
  req.send_request(options)
551
552
  end
552
553
 
553
- # Gets a resource-based policy of an Entity that is identified by its
554
+ # Gets a resource-based policy of an entity that is identified by its
554
555
  # resource ARN.
555
556
  #
556
557
  # @option params [required, String] :resource_arn
557
- # The Amazon Resource Name (ARN) of the Entity resource that is
558
+ # The Amazon Resource Name (ARN) of the entity resource that is
558
559
  # associated with the resource policy.
559
560
  #
560
561
  # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -679,6 +680,11 @@ module Aws::MarketplaceCatalog
679
680
  # isn't provided, the default value is 20.
680
681
  #
681
682
  # @option params [String] :ownership_type
683
+ # Filters the returned set of entities based on their owner. The default
684
+ # is `SELF`. To list entities shared with you through AWS Resource
685
+ # Access Manager (AWS RAM), set to `SHARED`. Entities shared through the
686
+ # AWS Marketplace Catalog API `PutResourcePolicy` operation can't be
687
+ # discovered through the `SHARED` parameter.
682
688
  #
683
689
  # @return [Types::ListEntitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
684
690
  #
@@ -766,11 +772,11 @@ module Aws::MarketplaceCatalog
766
772
  req.send_request(options)
767
773
  end
768
774
 
769
- # Attaches a resource-based policy to an Entity. Examples of an entity
775
+ # Attaches a resource-based policy to an entity. Examples of an entity
770
776
  # include: `AmiProduct` and `ContainerProduct`.
771
777
  #
772
778
  # @option params [required, String] :resource_arn
773
- # The Amazon Resource Name (ARN) of the Entity resource you want to
779
+ # The Amazon Resource Name (ARN) of the entity resource you want to
774
780
  # associate with a resource policy.
775
781
  #
776
782
  # @option params [required, String] :policy
@@ -809,10 +815,10 @@ module Aws::MarketplaceCatalog
809
815
  # (`entity-id@1`).
810
816
  #
811
817
  # For more information about working with change sets, see [ Working
812
- # with change sets][2]. For information on change types for single-AMI
813
- # products, see [Working with single-AMI products][3]. Als, for more
814
- # information on change types available for container-based products,
815
- # see [Working with container products][4].
818
+ # with change sets][2]. For information about change types for
819
+ # single-AMI products, see [Working with single-AMI products][3]. Also,
820
+ # for more information about change types available for container-based
821
+ # products, see [Working with container products][4].
816
822
  #
817
823
  #
818
824
  #
@@ -863,7 +869,9 @@ module Aws::MarketplaceCatalog
863
869
  # value: "TagValue", # required
864
870
  # },
865
871
  # ],
866
- # details: "Json", # required
872
+ # details: "Json",
873
+ # details_document: {
874
+ # },
867
875
  # change_name: "ChangeName",
868
876
  # },
869
877
  # ],
@@ -976,7 +984,7 @@ module Aws::MarketplaceCatalog
976
984
  params: params,
977
985
  config: config)
978
986
  context[:gem_name] = 'aws-sdk-marketplacecatalog'
979
- context[:gem_version] = '1.33.0'
987
+ context[:gem_version] = '1.34.0'
980
988
  Seahorse::Client::Request.new(handlers, context)
981
989
  end
982
990
 
@@ -54,6 +54,7 @@ module Aws::MarketplaceCatalog
54
54
  Identifier = Shapes::StringShape.new(name: 'Identifier')
55
55
  InternalServiceException = Shapes::StructureShape.new(name: 'InternalServiceException')
56
56
  Json = Shapes::StringShape.new(name: 'Json')
57
+ JsonDocumentType = Shapes::DocumentShape.new(name: 'JsonDocumentType', document: true)
57
58
  ListChangeSetsMaxResultInteger = Shapes::IntegerShape.new(name: 'ListChangeSetsMaxResultInteger')
58
59
  ListChangeSetsRequest = Shapes::StructureShape.new(name: 'ListChangeSetsRequest')
59
60
  ListChangeSetsResponse = Shapes::StructureShape.new(name: 'ListChangeSetsResponse')
@@ -108,7 +109,8 @@ module Aws::MarketplaceCatalog
108
109
  Change.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeType, required: true, location_name: "ChangeType"))
109
110
  Change.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, required: true, location_name: "Entity"))
110
111
  Change.add_member(:entity_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "EntityTags"))
111
- Change.add_member(:details, Shapes::ShapeRef.new(shape: Json, required: true, location_name: "Details"))
112
+ Change.add_member(:details, Shapes::ShapeRef.new(shape: Json, location_name: "Details"))
113
+ Change.add_member(:details_document, Shapes::ShapeRef.new(shape: JsonDocumentType, location_name: "DetailsDocument"))
112
114
  Change.add_member(:change_name, Shapes::ShapeRef.new(shape: ChangeName, location_name: "ChangeName"))
113
115
  Change.struct_class = Types::Change
114
116
 
@@ -129,6 +131,7 @@ module Aws::MarketplaceCatalog
129
131
  ChangeSummary.add_member(:change_type, Shapes::ShapeRef.new(shape: ChangeType, location_name: "ChangeType"))
130
132
  ChangeSummary.add_member(:entity, Shapes::ShapeRef.new(shape: Entity, location_name: "Entity"))
131
133
  ChangeSummary.add_member(:details, Shapes::ShapeRef.new(shape: Json, location_name: "Details"))
134
+ ChangeSummary.add_member(:details_document, Shapes::ShapeRef.new(shape: JsonDocumentType, location_name: "DetailsDocument"))
132
135
  ChangeSummary.add_member(:error_detail_list, Shapes::ShapeRef.new(shape: ErrorDetailList, location_name: "ErrorDetailList"))
133
136
  ChangeSummary.add_member(:change_name, Shapes::ShapeRef.new(shape: ChangeName, location_name: "ChangeName"))
134
137
  ChangeSummary.struct_class = Types::ChangeSummary
@@ -162,6 +165,7 @@ module Aws::MarketplaceCatalog
162
165
  DescribeEntityResponse.add_member(:entity_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EntityArn"))
163
166
  DescribeEntityResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateTimeISO8601, location_name: "LastModifiedDate"))
164
167
  DescribeEntityResponse.add_member(:details, Shapes::ShapeRef.new(shape: Json, location_name: "Details"))
168
+ DescribeEntityResponse.add_member(:details_document, Shapes::ShapeRef.new(shape: JsonDocumentType, location_name: "DetailsDocument"))
165
169
  DescribeEntityResponse.struct_class = Types::DescribeEntityResponse
166
170
 
167
171
  Entity.add_member(:type, Shapes::ShapeRef.new(shape: EntityType, required: true, location_name: "Type"))
@@ -68,9 +68,9 @@ module Aws::MarketplaceCatalog
68
68
  # for the change. Each change type is unique for each `EntityType`
69
69
  # provided in the change's scope. For more information on change
70
70
  # types available for single-AMI products, see [Working with
71
- # single-AMI products][1]. Also, for more information on change types
72
- # available for container-based products, see [Working with container
73
- # products][2].
71
+ # single-AMI products][1]. Also, for more information about change
72
+ # types available for container-based products, see [Working with
73
+ # container products][2].
74
74
  #
75
75
  #
76
76
  #
@@ -88,9 +88,9 @@ module Aws::MarketplaceCatalog
88
88
  #
89
89
  # @!attribute [rw] details
90
90
  # This object contains details specific to the change type of the
91
- # requested change. For more information on change types available for
92
- # single-AMI products, see [Working with single-AMI products][1].
93
- # Also, for more information on change types available for
91
+ # requested change. For more information about change types available
92
+ # for single-AMI products, see [Working with single-AMI products][1].
93
+ # Also, for more information about change types available for
94
94
  # container-based products, see [Working with container products][2].
95
95
  #
96
96
  #
@@ -99,6 +99,12 @@ module Aws::MarketplaceCatalog
99
99
  # [2]: https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products
100
100
  # @return [String]
101
101
  #
102
+ # @!attribute [rw] details_document
103
+ # Alternative field that accepts a JSON value instead of a string for
104
+ # `ChangeType` details. You can use either `Details` or
105
+ # `DetailsDocument`, but not both.
106
+ # @return [Hash,Array,String,Numeric,Boolean]
107
+ #
102
108
  # @!attribute [rw] change_name
103
109
  # Optional name for the change.
104
110
  # @return [String]
@@ -110,6 +116,7 @@ module Aws::MarketplaceCatalog
110
116
  :entity,
111
117
  :entity_tags,
112
118
  :details,
119
+ :details_document,
113
120
  :change_name)
114
121
  SENSITIVE = []
115
122
  include Aws::Structure
@@ -190,6 +197,11 @@ module Aws::MarketplaceCatalog
190
197
  # requested change.
191
198
  # @return [String]
192
199
  #
200
+ # @!attribute [rw] details_document
201
+ # The JSON value of the details specific to the change type of the
202
+ # requested change.
203
+ # @return [Hash,Array,String,Numeric,Boolean]
204
+ #
193
205
  # @!attribute [rw] error_detail_list
194
206
  # An array of `ErrorDetail` objects associated with the change.
195
207
  # @return [Array<Types::ErrorDetail>]
@@ -204,6 +216,7 @@ module Aws::MarketplaceCatalog
204
216
  :change_type,
205
217
  :entity,
206
218
  :details,
219
+ :details_document,
207
220
  :error_detail_list,
208
221
  :change_name)
209
222
  SENSITIVE = []
@@ -211,7 +224,7 @@ module Aws::MarketplaceCatalog
211
224
  end
212
225
 
213
226
  # @!attribute [rw] resource_arn
214
- # The Amazon Resource Name (ARN) of the Entity resource that is
227
+ # The Amazon Resource Name (ARN) of the entity resource that is
215
228
  # associated with the resource policy.
216
229
  # @return [String]
217
230
  #
@@ -350,6 +363,10 @@ module Aws::MarketplaceCatalog
350
363
  # This stringified JSON object includes the details of the entity.
351
364
  # @return [String]
352
365
  #
366
+ # @!attribute [rw] details_document
367
+ # The JSON value of the details specific to the entity.
368
+ # @return [Hash,Array,String,Numeric,Boolean]
369
+ #
353
370
  # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DescribeEntityResponse AWS API Documentation
354
371
  #
355
372
  class DescribeEntityResponse < Struct.new(
@@ -357,7 +374,8 @@ module Aws::MarketplaceCatalog
357
374
  :entity_identifier,
358
375
  :entity_arn,
359
376
  :last_modified_date,
360
- :details)
377
+ :details,
378
+ :details_document)
361
379
  SENSITIVE = []
362
380
  include Aws::Structure
363
381
  end
@@ -496,7 +514,7 @@ module Aws::MarketplaceCatalog
496
514
  end
497
515
 
498
516
  # @!attribute [rw] resource_arn
499
- # The Amazon Resource Name (ARN) of the Entity resource that is
517
+ # The Amazon Resource Name (ARN) of the entity resource that is
500
518
  # associated with the resource policy.
501
519
  # @return [String]
502
520
  #
@@ -616,6 +634,11 @@ module Aws::MarketplaceCatalog
616
634
  # @return [Integer]
617
635
  #
618
636
  # @!attribute [rw] ownership_type
637
+ # Filters the returned set of entities based on their owner. The
638
+ # default is `SELF`. To list entities shared with you through AWS
639
+ # Resource Access Manager (AWS RAM), set to `SHARED`. Entities shared
640
+ # through the AWS Marketplace Catalog API `PutResourcePolicy`
641
+ # operation can't be discovered through the `SHARED` parameter.
619
642
  # @return [String]
620
643
  #
621
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListEntitiesRequest AWS API Documentation
@@ -683,7 +706,7 @@ module Aws::MarketplaceCatalog
683
706
  end
684
707
 
685
708
  # @!attribute [rw] resource_arn
686
- # The Amazon Resource Name (ARN) of the Entity resource you want to
709
+ # The Amazon Resource Name (ARN) of the entity resource you want to
687
710
  # associate with a resource policy.
688
711
  # @return [String]
689
712
  #
@@ -762,7 +785,8 @@ module Aws::MarketplaceCatalog
762
785
  #
763
786
  # @!attribute [rw] sort_by
764
787
  # For `ListEntities`, supported attributes include `LastModifiedDate`
765
- # (default), `Visibility`, `EntityId`, and `Name`.
788
+ # (default) and `EntityId`. In addition to `LastModifiedDate` and
789
+ # `EntityId`, each `EntityType` might support additional fields.
766
790
  #
767
791
  # For `ListChangeSets`, supported attributes include `StartTime` and
768
792
  # `EndTime`.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-marketplacecatalog/customizations'
52
52
  # @!group service
53
53
  module Aws::MarketplaceCatalog
54
54
 
55
- GEM_VERSION = '1.33.0'
55
+ GEM_VERSION = '1.34.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-marketplacecatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.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: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core