aws-sdk-opensearchservice 1.59.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -495,11 +495,23 @@ module Aws::OpenSearchService
495
495
  # Name of the domain to associate the package with.
496
496
  # @return [String]
497
497
  #
498
+ # @!attribute [rw] prerequisite_package_id_list
499
+ # A list of package IDs that must be associated with the domain before
500
+ # the package specified in the request can be associated.
501
+ # @return [Array<String>]
502
+ #
503
+ # @!attribute [rw] association_configuration
504
+ # The configuration for associating a package with an Amazon
505
+ # OpenSearch Service domain.
506
+ # @return [Types::PackageAssociationConfiguration]
507
+ #
498
508
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AssociatePackageRequest AWS API Documentation
499
509
  #
500
510
  class AssociatePackageRequest < Struct.new(
501
511
  :package_id,
502
- :domain_name)
512
+ :domain_name,
513
+ :prerequisite_package_id_list,
514
+ :association_configuration)
503
515
  SENSITIVE = []
504
516
  include Aws::Structure
505
517
  end
@@ -519,6 +531,39 @@ module Aws::OpenSearchService
519
531
  include Aws::Structure
520
532
  end
521
533
 
534
+ # @!attribute [rw] package_list
535
+ # A list of packages and their prerequisites to be associated with a
536
+ # domain.
537
+ # @return [Array<Types::PackageDetailsForAssociation>]
538
+ #
539
+ # @!attribute [rw] domain_name
540
+ # The name of an OpenSearch Service domain. Domain names are unique
541
+ # across the domains owned by an account within an Amazon Web Services
542
+ # Region.
543
+ # @return [String]
544
+ #
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AssociatePackagesRequest AWS API Documentation
546
+ #
547
+ class AssociatePackagesRequest < Struct.new(
548
+ :package_list,
549
+ :domain_name)
550
+ SENSITIVE = []
551
+ include Aws::Structure
552
+ end
553
+
554
+ # @!attribute [rw] domain_package_details_list
555
+ # List of information about packages that are associated with a
556
+ # domain.
557
+ # @return [Array<Types::DomainPackageDetails>]
558
+ #
559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AssociatePackagesResponse AWS API Documentation
560
+ #
561
+ class AssociatePackagesResponse < Struct.new(
562
+ :domain_package_details_list)
563
+ SENSITIVE = []
564
+ include Aws::Structure
565
+ end
566
+
522
567
  # @!attribute [rw] domain_name
523
568
  # The name of the OpenSearch Service domain to provide access to.
524
569
  # @return [String]
@@ -644,7 +689,7 @@ module Aws::OpenSearchService
644
689
  #
645
690
  # @!attribute [rw] duration
646
691
  # The duration of the maintenance schedule. For example, `"Duration":
647
- # \{"Value": 2, "Unit": "HOURS"\}`.
692
+ # {"Value": 2, "Unit": "HOURS"}`.
648
693
  # @return [Types::Duration]
649
694
  #
650
695
  # @!attribute [rw] cron_expression_for_recurrence
@@ -1776,13 +1821,36 @@ module Aws::OpenSearchService
1776
1821
  # The Amazon S3 location from which to import the package.
1777
1822
  # @return [Types::PackageSource]
1778
1823
  #
1824
+ # @!attribute [rw] package_configuration
1825
+ # The configuration parameters for the package being created.
1826
+ # @return [Types::PackageConfiguration]
1827
+ #
1828
+ # @!attribute [rw] engine_version
1829
+ # The version of the Amazon OpenSearch Service engine for which is
1830
+ # compatible with the package. This can only be specified for package
1831
+ # type `ZIP-PLUGIN`
1832
+ # @return [String]
1833
+ #
1834
+ # @!attribute [rw] package_vending_options
1835
+ # The vending options for the package being created. They determine if
1836
+ # the package can be vended to other users.
1837
+ # @return [Types::PackageVendingOptions]
1838
+ #
1839
+ # @!attribute [rw] package_encryption_options
1840
+ # The encryption parameters for the package being created.
1841
+ # @return [Types::PackageEncryptionOptions]
1842
+ #
1779
1843
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreatePackageRequest AWS API Documentation
1780
1844
  #
1781
1845
  class CreatePackageRequest < Struct.new(
1782
1846
  :package_name,
1783
1847
  :package_type,
1784
1848
  :package_description,
1785
- :package_source)
1849
+ :package_source,
1850
+ :package_configuration,
1851
+ :engine_version,
1852
+ :package_vending_options,
1853
+ :package_encryption_options)
1786
1854
  SENSITIVE = []
1787
1855
  include Aws::Structure
1788
1856
  end
@@ -2908,6 +2976,38 @@ module Aws::OpenSearchService
2908
2976
  include Aws::Structure
2909
2977
  end
2910
2978
 
2979
+ # @!attribute [rw] package_list
2980
+ # A list of package IDs to be dissociated from a domain.
2981
+ # @return [Array<String>]
2982
+ #
2983
+ # @!attribute [rw] domain_name
2984
+ # The name of an OpenSearch Service domain. Domain names are unique
2985
+ # across the domains owned by an account within an Amazon Web Services
2986
+ # Region.
2987
+ # @return [String]
2988
+ #
2989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackagesRequest AWS API Documentation
2990
+ #
2991
+ class DissociatePackagesRequest < Struct.new(
2992
+ :package_list,
2993
+ :domain_name)
2994
+ SENSITIVE = []
2995
+ include Aws::Structure
2996
+ end
2997
+
2998
+ # @!attribute [rw] domain_package_details_list
2999
+ # A list of package details for the packages that were dissociated
3000
+ # from the domain.
3001
+ # @return [Array<Types::DomainPackageDetails>]
3002
+ #
3003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackagesResponse AWS API Documentation
3004
+ #
3005
+ class DissociatePackagesResponse < Struct.new(
3006
+ :domain_package_details_list)
3007
+ SENSITIVE = []
3008
+ include Aws::Structure
3009
+ end
3010
+
2911
3011
  # Container for the configuration of an OpenSearch Service domain.
2912
3012
  #
2913
3013
  # @!attribute [rw] engine_version
@@ -3272,6 +3372,11 @@ module Aws::OpenSearchService
3272
3372
  # The current version of the package.
3273
3373
  # @return [String]
3274
3374
  #
3375
+ # @!attribute [rw] prerequisite_package_id_list
3376
+ # A list of package IDs that must be associated with the domain before
3377
+ # or with the package can be associated.
3378
+ # @return [Array<String>]
3379
+ #
3275
3380
  # @!attribute [rw] reference_path
3276
3381
  # The relative path of the package on the OpenSearch Service cluster
3277
3382
  # nodes. This is `synonym_path` when the package is for synonym files.
@@ -3282,6 +3387,11 @@ module Aws::OpenSearchService
3282
3387
  # otherwise.
3283
3388
  # @return [Types::ErrorDetails]
3284
3389
  #
3390
+ # @!attribute [rw] association_configuration
3391
+ # The configuration for associating a package with an Amazon
3392
+ # OpenSearch Service domain.
3393
+ # @return [Types::PackageAssociationConfiguration]
3394
+ #
3285
3395
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainPackageDetails AWS API Documentation
3286
3396
  #
3287
3397
  class DomainPackageDetails < Struct.new(
@@ -3292,8 +3402,10 @@ module Aws::OpenSearchService
3292
3402
  :domain_name,
3293
3403
  :domain_package_status,
3294
3404
  :package_version,
3405
+ :prerequisite_package_id_list,
3295
3406
  :reference_path,
3296
- :error_details)
3407
+ :error_details,
3408
+ :association_configuration)
3297
3409
  SENSITIVE = []
3298
3410
  include Aws::Structure
3299
3411
  end
@@ -4566,6 +4678,26 @@ module Aws::OpenSearchService
4566
4678
  include Aws::Structure
4567
4679
  end
4568
4680
 
4681
+ # The configuration parameters to enable access to the key store
4682
+ # required by the package.
4683
+ #
4684
+ # @!attribute [rw] key_access_role_arn
4685
+ # Role ARN to access the KeyStore Key
4686
+ # @return [String]
4687
+ #
4688
+ # @!attribute [rw] key_store_access_enabled
4689
+ # This indicates whether Key Store access is enabled
4690
+ # @return [Boolean]
4691
+ #
4692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/KeyStoreAccessOption AWS API Documentation
4693
+ #
4694
+ class KeyStoreAccessOption < Struct.new(
4695
+ :key_access_role_arn,
4696
+ :key_store_access_enabled)
4697
+ SENSITIVE = []
4698
+ include Aws::Structure
4699
+ end
4700
+
4569
4701
  # An exception for trying to create more than the allowed number of
4570
4702
  # resources or sub-resources.
4571
4703
  #
@@ -5283,7 +5415,7 @@ module Aws::OpenSearchService
5283
5415
  # "c5.large.search".
5284
5416
  #
5285
5417
  # * `STRINGIFIED_JSON`: Contain content in JSON format, such as
5286
- # \\\{"Enabled":"True"\\}".
5418
+ # \{"Enabled":"True"}".
5287
5419
  # @return [String]
5288
5420
  #
5289
5421
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ModifyingProperties AWS API Documentation
@@ -5629,6 +5761,51 @@ module Aws::OpenSearchService
5629
5761
  include Aws::Structure
5630
5762
  end
5631
5763
 
5764
+ # The configuration for associating a package with a domain.
5765
+ #
5766
+ # @!attribute [rw] key_store_access_option
5767
+ # The configuration parameters to enable accessing the key store
5768
+ # required by the package.
5769
+ # @return [Types::KeyStoreAccessOption]
5770
+ #
5771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageAssociationConfiguration AWS API Documentation
5772
+ #
5773
+ class PackageAssociationConfiguration < Struct.new(
5774
+ :key_store_access_option)
5775
+ SENSITIVE = []
5776
+ include Aws::Structure
5777
+ end
5778
+
5779
+ # The configuration parameters for a package.
5780
+ #
5781
+ # @!attribute [rw] license_requirement
5782
+ # The license requirements for the package.
5783
+ # @return [String]
5784
+ #
5785
+ # @!attribute [rw] license_filepath
5786
+ # The relative file path for the license associated with the package.
5787
+ # @return [String]
5788
+ #
5789
+ # @!attribute [rw] configuration_requirement
5790
+ # The configuration requirements for the package.
5791
+ # @return [String]
5792
+ #
5793
+ # @!attribute [rw] requires_restart_for_configuration_update
5794
+ # This indicates whether a B/G deployment is required for updating the
5795
+ # configuration that the plugin is prerequisite for.
5796
+ # @return [Boolean]
5797
+ #
5798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageConfiguration AWS API Documentation
5799
+ #
5800
+ class PackageConfiguration < Struct.new(
5801
+ :license_requirement,
5802
+ :license_filepath,
5803
+ :configuration_requirement,
5804
+ :requires_restart_for_configuration_update)
5805
+ SENSITIVE = []
5806
+ include Aws::Structure
5807
+ end
5808
+
5632
5809
  # Basic information about a package.
5633
5810
  #
5634
5811
  # @!attribute [rw] package_id
@@ -5681,6 +5858,29 @@ module Aws::OpenSearchService
5681
5858
  # about plugin properties.
5682
5859
  # @return [Types::PluginProperties]
5683
5860
  #
5861
+ # @!attribute [rw] available_package_configuration
5862
+ # This represents the available configuration parameters for the
5863
+ # package.
5864
+ # @return [Types::PackageConfiguration]
5865
+ #
5866
+ # @!attribute [rw] allow_listed_user_list
5867
+ # A list of users who are allowed to view and associate the package.
5868
+ # This field is only visible to the owner of a package.
5869
+ # @return [Array<String>]
5870
+ #
5871
+ # @!attribute [rw] package_owner
5872
+ # The owner of the package who is allowed to create/update a package
5873
+ # and add users to the package scope.
5874
+ # @return [String]
5875
+ #
5876
+ # @!attribute [rw] package_vending_options
5877
+ # Package Vending Options for a package.
5878
+ # @return [Types::PackageVendingOptions]
5879
+ #
5880
+ # @!attribute [rw] package_encryption_options
5881
+ # Package Encryption Options for a package.
5882
+ # @return [Types::PackageEncryptionOptions]
5883
+ #
5684
5884
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageDetails AWS API Documentation
5685
5885
  #
5686
5886
  class PackageDetails < Struct.new(
@@ -5694,7 +5894,57 @@ module Aws::OpenSearchService
5694
5894
  :available_package_version,
5695
5895
  :error_details,
5696
5896
  :engine_version,
5697
- :available_plugin_properties)
5897
+ :available_plugin_properties,
5898
+ :available_package_configuration,
5899
+ :allow_listed_user_list,
5900
+ :package_owner,
5901
+ :package_vending_options,
5902
+ :package_encryption_options)
5903
+ SENSITIVE = []
5904
+ include Aws::Structure
5905
+ end
5906
+
5907
+ # Details of a package that is associated with a domain.
5908
+ #
5909
+ # @!attribute [rw] package_id
5910
+ # Internal ID of the package that you want to associate with a domain.
5911
+ # @return [String]
5912
+ #
5913
+ # @!attribute [rw] prerequisite_package_id_list
5914
+ # List of package IDs that must be associated with the domain with or
5915
+ # before the package can be associated.
5916
+ # @return [Array<String>]
5917
+ #
5918
+ # @!attribute [rw] association_configuration
5919
+ # The configuration parameters for associating the package with a
5920
+ # domain.
5921
+ # @return [Types::PackageAssociationConfiguration]
5922
+ #
5923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageDetailsForAssociation AWS API Documentation
5924
+ #
5925
+ class PackageDetailsForAssociation < Struct.new(
5926
+ :package_id,
5927
+ :prerequisite_package_id_list,
5928
+ :association_configuration)
5929
+ SENSITIVE = []
5930
+ include Aws::Structure
5931
+ end
5932
+
5933
+ # Encryption options for a package.
5934
+ #
5935
+ # @!attribute [rw] kms_key_identifier
5936
+ # KMS key ID for encrypting the package.
5937
+ # @return [String]
5938
+ #
5939
+ # @!attribute [rw] encryption_enabled
5940
+ # This indicates whether encryption is enabled for the package.
5941
+ # @return [Boolean]
5942
+ #
5943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageEncryptionOptions AWS API Documentation
5944
+ #
5945
+ class PackageEncryptionOptions < Struct.new(
5946
+ :kms_key_identifier,
5947
+ :encryption_enabled)
5698
5948
  SENSITIVE = []
5699
5949
  include Aws::Structure
5700
5950
  end
@@ -5718,6 +5968,22 @@ module Aws::OpenSearchService
5718
5968
  include Aws::Structure
5719
5969
  end
5720
5970
 
5971
+ # The vending options for a package to determine if the package can be
5972
+ # used by other users.
5973
+ #
5974
+ # @!attribute [rw] vending_enabled
5975
+ # This indicates whether vending is enabled for the package to
5976
+ # determine if package can be used by other users.
5977
+ # @return [Boolean]
5978
+ #
5979
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageVendingOptions AWS API Documentation
5980
+ #
5981
+ class PackageVendingOptions < Struct.new(
5982
+ :vending_enabled)
5983
+ SENSITIVE = []
5984
+ include Aws::Structure
5985
+ end
5986
+
5721
5987
  # Details about a package version.
5722
5988
  #
5723
5989
  # @!attribute [rw] package_version
@@ -5737,13 +6003,18 @@ module Aws::OpenSearchService
5737
6003
  # `ZIP-PLUGIN` package.
5738
6004
  # @return [Types::PluginProperties]
5739
6005
  #
6006
+ # @!attribute [rw] package_configuration
6007
+ # The configuration details for a specific version of a package.
6008
+ # @return [Types::PackageConfiguration]
6009
+ #
5740
6010
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PackageVersionHistory AWS API Documentation
5741
6011
  #
5742
6012
  class PackageVersionHistory < Struct.new(
5743
6013
  :package_version,
5744
6014
  :commit_message,
5745
6015
  :created_at,
5746
- :plugin_properties)
6016
+ :plugin_properties,
6017
+ :package_configuration)
5747
6018
  SENSITIVE = []
5748
6019
  include Aws::Structure
5749
6020
  end
@@ -6958,13 +7229,23 @@ module Aws::OpenSearchService
6958
7229
  # `GetPackageVersionHistoryResponse`.
6959
7230
  # @return [String]
6960
7231
  #
7232
+ # @!attribute [rw] package_configuration
7233
+ # The updated configuration details for a package.
7234
+ # @return [Types::PackageConfiguration]
7235
+ #
7236
+ # @!attribute [rw] package_encryption_options
7237
+ # Encryption options for a package.
7238
+ # @return [Types::PackageEncryptionOptions]
7239
+ #
6961
7240
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackageRequest AWS API Documentation
6962
7241
  #
6963
7242
  class UpdatePackageRequest < Struct.new(
6964
7243
  :package_id,
6965
7244
  :package_source,
6966
7245
  :package_description,
6967
- :commit_message)
7246
+ :commit_message,
7247
+ :package_configuration,
7248
+ :package_encryption_options)
6968
7249
  SENSITIVE = []
6969
7250
  include Aws::Structure
6970
7251
  end
@@ -6983,6 +7264,51 @@ module Aws::OpenSearchService
6983
7264
  include Aws::Structure
6984
7265
  end
6985
7266
 
7267
+ # @!attribute [rw] package_id
7268
+ # ID of the package whose scope is being updated.
7269
+ # @return [String]
7270
+ #
7271
+ # @!attribute [rw] operation
7272
+ # The operation to perform on the package scope (e.g.,
7273
+ # add/remove/override users).
7274
+ # @return [String]
7275
+ #
7276
+ # @!attribute [rw] package_user_list
7277
+ # List of users to be added or removed from the package scope.
7278
+ # @return [Array<String>]
7279
+ #
7280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackageScopeRequest AWS API Documentation
7281
+ #
7282
+ class UpdatePackageScopeRequest < Struct.new(
7283
+ :package_id,
7284
+ :operation,
7285
+ :package_user_list)
7286
+ SENSITIVE = []
7287
+ include Aws::Structure
7288
+ end
7289
+
7290
+ # @!attribute [rw] package_id
7291
+ # ID of the package whose scope was updated.
7292
+ # @return [String]
7293
+ #
7294
+ # @!attribute [rw] operation
7295
+ # The operation that was performed on the package scope.
7296
+ # @return [String]
7297
+ #
7298
+ # @!attribute [rw] package_user_list
7299
+ # List of users who have access to the package after the scope update.
7300
+ # @return [Array<String>]
7301
+ #
7302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackageScopeResponse AWS API Documentation
7303
+ #
7304
+ class UpdatePackageScopeResponse < Struct.new(
7305
+ :package_id,
7306
+ :operation,
7307
+ :package_user_list)
7308
+ SENSITIVE = []
7309
+ include Aws::Structure
7310
+ end
7311
+
6986
7312
  # @!attribute [rw] domain_name
6987
7313
  # The name of the domain to reschedule an action for.
6988
7314
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.59.0'
57
+ GEM_VERSION = '1.61.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -121,10 +121,39 @@ module Aws
121
121
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#associate_package-instance_method
122
122
  def associate_package: (
123
123
  package_id: ::String,
124
- domain_name: ::String
124
+ domain_name: ::String,
125
+ ?prerequisite_package_id_list: Array[::String],
126
+ ?association_configuration: {
127
+ key_store_access_option: {
128
+ key_access_role_arn: ::String?,
129
+ key_store_access_enabled: bool
130
+ }?
131
+ }
125
132
  ) -> _AssociatePackageResponseSuccess
126
133
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociatePackageResponseSuccess
127
134
 
135
+ interface _AssociatePackagesResponseSuccess
136
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociatePackagesResponse]
137
+ def domain_package_details_list: () -> ::Array[Types::DomainPackageDetails]
138
+ end
139
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#associate_packages-instance_method
140
+ def associate_packages: (
141
+ package_list: Array[
142
+ {
143
+ package_id: ::String,
144
+ prerequisite_package_id_list: Array[::String]?,
145
+ association_configuration: {
146
+ key_store_access_option: {
147
+ key_access_role_arn: ::String?,
148
+ key_store_access_enabled: bool
149
+ }?
150
+ }?
151
+ },
152
+ ],
153
+ domain_name: ::String
154
+ ) -> _AssociatePackagesResponseSuccess
155
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociatePackagesResponseSuccess
156
+
128
157
  interface _AuthorizeVpcEndpointAccessResponseSuccess
129
158
  include ::Seahorse::Client::_ResponseSuccess[Types::AuthorizeVpcEndpointAccessResponse]
130
159
  def authorized_principal: () -> Types::AuthorizedPrincipal
@@ -396,11 +425,25 @@ module Aws
396
425
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#create_package-instance_method
397
426
  def create_package: (
398
427
  package_name: ::String,
399
- package_type: ("TXT-DICTIONARY" | "ZIP-PLUGIN"),
428
+ package_type: ("TXT-DICTIONARY" | "ZIP-PLUGIN" | "PACKAGE-LICENSE" | "PACKAGE-CONFIG"),
400
429
  ?package_description: ::String,
401
430
  package_source: {
402
431
  s3_bucket_name: ::String?,
403
432
  s3_key: ::String?
433
+ },
434
+ ?package_configuration: {
435
+ license_requirement: ("REQUIRED" | "OPTIONAL" | "NONE"),
436
+ license_filepath: ::String?,
437
+ configuration_requirement: ("REQUIRED" | "OPTIONAL" | "NONE"),
438
+ requires_restart_for_configuration_update: bool?
439
+ },
440
+ ?engine_version: ::String,
441
+ ?package_vending_options: {
442
+ vending_enabled: bool
443
+ },
444
+ ?package_encryption_options: {
445
+ kms_key_identifier: ::String?,
446
+ encryption_enabled: bool
404
447
  }
405
448
  ) -> _CreatePackageResponseSuccess
406
449
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePackageResponseSuccess
@@ -647,7 +690,7 @@ module Aws
647
690
  def describe_packages: (
648
691
  ?filters: Array[
649
692
  {
650
- name: ("PackageID" | "PackageName" | "PackageStatus" | "PackageType" | "EngineVersion")?,
693
+ name: ("PackageID" | "PackageName" | "PackageStatus" | "PackageType" | "EngineVersion" | "PackageOwner")?,
651
694
  value: Array[::String]?
652
695
  },
653
696
  ],
@@ -704,6 +747,17 @@ module Aws
704
747
  ) -> _DissociatePackageResponseSuccess
705
748
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DissociatePackageResponseSuccess
706
749
 
750
+ interface _DissociatePackagesResponseSuccess
751
+ include ::Seahorse::Client::_ResponseSuccess[Types::DissociatePackagesResponse]
752
+ def domain_package_details_list: () -> ::Array[Types::DomainPackageDetails]
753
+ end
754
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#dissociate_packages-instance_method
755
+ def dissociate_packages: (
756
+ package_list: Array[::String],
757
+ domain_name: ::String
758
+ ) -> _DissociatePackagesResponseSuccess
759
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DissociatePackagesResponseSuccess
760
+
707
761
  interface _GetApplicationResponseSuccess
708
762
  include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
709
763
  def id: () -> ::String
@@ -1235,10 +1289,34 @@ module Aws
1235
1289
  s3_key: ::String?
1236
1290
  },
1237
1291
  ?package_description: ::String,
1238
- ?commit_message: ::String
1292
+ ?commit_message: ::String,
1293
+ ?package_configuration: {
1294
+ license_requirement: ("REQUIRED" | "OPTIONAL" | "NONE"),
1295
+ license_filepath: ::String?,
1296
+ configuration_requirement: ("REQUIRED" | "OPTIONAL" | "NONE"),
1297
+ requires_restart_for_configuration_update: bool?
1298
+ },
1299
+ ?package_encryption_options: {
1300
+ kms_key_identifier: ::String?,
1301
+ encryption_enabled: bool
1302
+ }
1239
1303
  ) -> _UpdatePackageResponseSuccess
1240
1304
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageResponseSuccess
1241
1305
 
1306
+ interface _UpdatePackageScopeResponseSuccess
1307
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageScopeResponse]
1308
+ def package_id: () -> ::String
1309
+ def operation: () -> ("ADD" | "OVERRIDE" | "REMOVE")
1310
+ def package_user_list: () -> ::Array[::String]
1311
+ end
1312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#update_package_scope-instance_method
1313
+ def update_package_scope: (
1314
+ package_id: ::String,
1315
+ operation: ("ADD" | "OVERRIDE" | "REMOVE"),
1316
+ package_user_list: Array[::String]
1317
+ ) -> _UpdatePackageScopeResponseSuccess
1318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageScopeResponseSuccess
1319
+
1242
1320
  interface _UpdateScheduledActionResponseSuccess
1243
1321
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateScheduledActionResponse]
1244
1322
  def scheduled_action: () -> Types::ScheduledAction