aws-sdk-opensearchservice 1.14.0 → 1.15.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: 0ec38a53ca4cf12acc073157b080ac7483bf9154e6f352f04215ee9b80fc68dd
4
- data.tar.gz: 334a2742ca3b17720ef16fe3110754836163a054720e46fbffc23038af07f141
3
+ metadata.gz: 42b1c41075cedb2a2a536a4467527ab6a925319bd50654e43d41d60b7b9ad84d
4
+ data.tar.gz: bcb4a5e2cbfb1e26e0a8cbfd3693626f3b32da21936b4372a5aa20e420efa7bd
5
5
  SHA512:
6
- metadata.gz: 9405e09c809d9c8d481e69b4db6eeeeda3b53a6237eeb9ab9c3beee56a33baa9243ac611741b5d937442c5762d5f8d5c88cf59f5bb47668b113a23836f8993cd
7
- data.tar.gz: b10ef78975ebc4cf5b2b662e8f5a104ff5382605bce3a4ea7fbc70a3fd9f48052a9ffa81a8fa59eddcd2b94abfa82d54ccd3e70f066b344c0a056a8028919e64
6
+ metadata.gz: 11d0905459211f00cc8aa91cde568e4ea333bdddd6bd0bad92b3eeb6e593b2b3189c8e4b8305c88e01cb20627ccc0661cb7612c5b85883254532869153f93cdd
7
+ data.tar.gz: 9fbfd97b7975d9d60a420a10198c6b1102873c39db9a787417bb785667baa9842999605be2724600fe50f7a34786eee49ca7d96abe7c9bc5fd425dd5eacb135e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - This release adds the enhanced dry run option, that checks for validation errors that might occur when deploying configuration changes and provides a summary of these errors, if any. The feature will also indicate whether a blue/green deployment will be required to apply a change.
8
+
4
9
  1.14.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -412,13 +412,13 @@ module Aws::OpenSearchService
412
412
  end
413
413
 
414
414
  # Attaches tags to an existing Amazon OpenSearch Service domain. Tags
415
- # are a set of case-sensitive key-value pairs. An domain can have up to
416
- # 10 tags. For more information, see [ Tagging Amazon OpenSearch Service
415
+ # are a set of case-sensitive key-value pairs. A domain can have up to
416
+ # 10 tags. For more information, see [Tagging Amazon OpenSearch Service
417
417
  # domains][1].
418
418
  #
419
419
  #
420
420
  #
421
- # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging
421
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html
422
422
  #
423
423
  # @option params [required, String] :arn
424
424
  # Amazon Resource Name (ARN) for the OpenSearch Service domain to which
@@ -1016,7 +1016,8 @@ module Aws::OpenSearchService
1016
1016
  # Creates an Amazon OpenSearch Service-managed VPC endpoint.
1017
1017
  #
1018
1018
  # @option params [required, String] :domain_arn
1019
- # The Amazon Resource Name (ARN) of the domain to grant access to.
1019
+ # The Amazon Resource Name (ARN) of the domain to create the endpoint
1020
+ # for.
1020
1021
  #
1021
1022
  # @option params [required, Types::VPCOptions] :vpc_options
1022
1023
  # Options to specify the subnets and security groups for the endpoint.
@@ -1806,6 +1807,135 @@ module Aws::OpenSearchService
1806
1807
  req.send_request(options)
1807
1808
  end
1808
1809
 
1810
+ # Describes the progress of a pre-update dry run analysis on an Amazon
1811
+ # OpenSearch Service domain. For more information, see [Determining
1812
+ # whether a change will cause a blue/green deployment][1].
1813
+ #
1814
+ #
1815
+ #
1816
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#dryrun
1817
+ #
1818
+ # @option params [required, String] :domain_name
1819
+ # The name of the domain.
1820
+ #
1821
+ # @option params [String] :dry_run_id
1822
+ # The unique identifier of the dry run.
1823
+ #
1824
+ # @option params [Boolean] :load_dry_run_config
1825
+ # Whether to include the configuration of the dry run in the response.
1826
+ # The configuration specifies the updates that you're planning to make
1827
+ # on the domain.
1828
+ #
1829
+ # @return [Types::DescribeDryRunProgressResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1830
+ #
1831
+ # * {Types::DescribeDryRunProgressResponse#dry_run_progress_status #dry_run_progress_status} => Types::DryRunProgressStatus
1832
+ # * {Types::DescribeDryRunProgressResponse#dry_run_config #dry_run_config} => Types::DomainStatus
1833
+ # * {Types::DescribeDryRunProgressResponse#dry_run_results #dry_run_results} => Types::DryRunResults
1834
+ #
1835
+ # @example Request syntax with placeholder values
1836
+ #
1837
+ # resp = client.describe_dry_run_progress({
1838
+ # domain_name: "DomainName", # required
1839
+ # dry_run_id: "GUID",
1840
+ # load_dry_run_config: false,
1841
+ # })
1842
+ #
1843
+ # @example Response structure
1844
+ #
1845
+ # resp.dry_run_progress_status.dry_run_id #=> String
1846
+ # resp.dry_run_progress_status.dry_run_status #=> String
1847
+ # resp.dry_run_progress_status.creation_date #=> String
1848
+ # resp.dry_run_progress_status.update_date #=> String
1849
+ # resp.dry_run_progress_status.validation_failures #=> Array
1850
+ # resp.dry_run_progress_status.validation_failures[0].code #=> String
1851
+ # resp.dry_run_progress_status.validation_failures[0].message #=> String
1852
+ # resp.dry_run_config.domain_id #=> String
1853
+ # resp.dry_run_config.domain_name #=> String
1854
+ # resp.dry_run_config.arn #=> String
1855
+ # resp.dry_run_config.created #=> Boolean
1856
+ # resp.dry_run_config.deleted #=> Boolean
1857
+ # resp.dry_run_config.endpoint #=> String
1858
+ # resp.dry_run_config.endpoints #=> Hash
1859
+ # resp.dry_run_config.endpoints["String"] #=> String
1860
+ # resp.dry_run_config.processing #=> Boolean
1861
+ # resp.dry_run_config.upgrade_processing #=> Boolean
1862
+ # resp.dry_run_config.engine_version #=> String
1863
+ # resp.dry_run_config.cluster_config.instance_type #=> String, one of "m3.medium.search", "m3.large.search", "m3.xlarge.search", "m3.2xlarge.search", "m4.large.search", "m4.xlarge.search", "m4.2xlarge.search", "m4.4xlarge.search", "m4.10xlarge.search", "m5.large.search", "m5.xlarge.search", "m5.2xlarge.search", "m5.4xlarge.search", "m5.12xlarge.search", "m5.24xlarge.search", "r5.large.search", "r5.xlarge.search", "r5.2xlarge.search", "r5.4xlarge.search", "r5.12xlarge.search", "r5.24xlarge.search", "c5.large.search", "c5.xlarge.search", "c5.2xlarge.search", "c5.4xlarge.search", "c5.9xlarge.search", "c5.18xlarge.search", "t3.nano.search", "t3.micro.search", "t3.small.search", "t3.medium.search", "t3.large.search", "t3.xlarge.search", "t3.2xlarge.search", "ultrawarm1.medium.search", "ultrawarm1.large.search", "ultrawarm1.xlarge.search", "t2.micro.search", "t2.small.search", "t2.medium.search", "r3.large.search", "r3.xlarge.search", "r3.2xlarge.search", "r3.4xlarge.search", "r3.8xlarge.search", "i2.xlarge.search", "i2.2xlarge.search", "d2.xlarge.search", "d2.2xlarge.search", "d2.4xlarge.search", "d2.8xlarge.search", "c4.large.search", "c4.xlarge.search", "c4.2xlarge.search", "c4.4xlarge.search", "c4.8xlarge.search", "r4.large.search", "r4.xlarge.search", "r4.2xlarge.search", "r4.4xlarge.search", "r4.8xlarge.search", "r4.16xlarge.search", "i3.large.search", "i3.xlarge.search", "i3.2xlarge.search", "i3.4xlarge.search", "i3.8xlarge.search", "i3.16xlarge.search", "r6g.large.search", "r6g.xlarge.search", "r6g.2xlarge.search", "r6g.4xlarge.search", "r6g.8xlarge.search", "r6g.12xlarge.search", "m6g.large.search", "m6g.xlarge.search", "m6g.2xlarge.search", "m6g.4xlarge.search", "m6g.8xlarge.search", "m6g.12xlarge.search", "c6g.large.search", "c6g.xlarge.search", "c6g.2xlarge.search", "c6g.4xlarge.search", "c6g.8xlarge.search", "c6g.12xlarge.search", "r6gd.large.search", "r6gd.xlarge.search", "r6gd.2xlarge.search", "r6gd.4xlarge.search", "r6gd.8xlarge.search", "r6gd.12xlarge.search", "r6gd.16xlarge.search", "t4g.small.search", "t4g.medium.search"
1864
+ # resp.dry_run_config.cluster_config.instance_count #=> Integer
1865
+ # resp.dry_run_config.cluster_config.dedicated_master_enabled #=> Boolean
1866
+ # resp.dry_run_config.cluster_config.zone_awareness_enabled #=> Boolean
1867
+ # resp.dry_run_config.cluster_config.zone_awareness_config.availability_zone_count #=> Integer
1868
+ # resp.dry_run_config.cluster_config.dedicated_master_type #=> String, one of "m3.medium.search", "m3.large.search", "m3.xlarge.search", "m3.2xlarge.search", "m4.large.search", "m4.xlarge.search", "m4.2xlarge.search", "m4.4xlarge.search", "m4.10xlarge.search", "m5.large.search", "m5.xlarge.search", "m5.2xlarge.search", "m5.4xlarge.search", "m5.12xlarge.search", "m5.24xlarge.search", "r5.large.search", "r5.xlarge.search", "r5.2xlarge.search", "r5.4xlarge.search", "r5.12xlarge.search", "r5.24xlarge.search", "c5.large.search", "c5.xlarge.search", "c5.2xlarge.search", "c5.4xlarge.search", "c5.9xlarge.search", "c5.18xlarge.search", "t3.nano.search", "t3.micro.search", "t3.small.search", "t3.medium.search", "t3.large.search", "t3.xlarge.search", "t3.2xlarge.search", "ultrawarm1.medium.search", "ultrawarm1.large.search", "ultrawarm1.xlarge.search", "t2.micro.search", "t2.small.search", "t2.medium.search", "r3.large.search", "r3.xlarge.search", "r3.2xlarge.search", "r3.4xlarge.search", "r3.8xlarge.search", "i2.xlarge.search", "i2.2xlarge.search", "d2.xlarge.search", "d2.2xlarge.search", "d2.4xlarge.search", "d2.8xlarge.search", "c4.large.search", "c4.xlarge.search", "c4.2xlarge.search", "c4.4xlarge.search", "c4.8xlarge.search", "r4.large.search", "r4.xlarge.search", "r4.2xlarge.search", "r4.4xlarge.search", "r4.8xlarge.search", "r4.16xlarge.search", "i3.large.search", "i3.xlarge.search", "i3.2xlarge.search", "i3.4xlarge.search", "i3.8xlarge.search", "i3.16xlarge.search", "r6g.large.search", "r6g.xlarge.search", "r6g.2xlarge.search", "r6g.4xlarge.search", "r6g.8xlarge.search", "r6g.12xlarge.search", "m6g.large.search", "m6g.xlarge.search", "m6g.2xlarge.search", "m6g.4xlarge.search", "m6g.8xlarge.search", "m6g.12xlarge.search", "c6g.large.search", "c6g.xlarge.search", "c6g.2xlarge.search", "c6g.4xlarge.search", "c6g.8xlarge.search", "c6g.12xlarge.search", "r6gd.large.search", "r6gd.xlarge.search", "r6gd.2xlarge.search", "r6gd.4xlarge.search", "r6gd.8xlarge.search", "r6gd.12xlarge.search", "r6gd.16xlarge.search", "t4g.small.search", "t4g.medium.search"
1869
+ # resp.dry_run_config.cluster_config.dedicated_master_count #=> Integer
1870
+ # resp.dry_run_config.cluster_config.warm_enabled #=> Boolean
1871
+ # resp.dry_run_config.cluster_config.warm_type #=> String, one of "ultrawarm1.medium.search", "ultrawarm1.large.search", "ultrawarm1.xlarge.search"
1872
+ # resp.dry_run_config.cluster_config.warm_count #=> Integer
1873
+ # resp.dry_run_config.cluster_config.cold_storage_options.enabled #=> Boolean
1874
+ # resp.dry_run_config.ebs_options.ebs_enabled #=> Boolean
1875
+ # resp.dry_run_config.ebs_options.volume_type #=> String, one of "standard", "gp2", "io1", "gp3"
1876
+ # resp.dry_run_config.ebs_options.volume_size #=> Integer
1877
+ # resp.dry_run_config.ebs_options.iops #=> Integer
1878
+ # resp.dry_run_config.ebs_options.throughput #=> Integer
1879
+ # resp.dry_run_config.access_policies #=> String
1880
+ # resp.dry_run_config.snapshot_options.automated_snapshot_start_hour #=> Integer
1881
+ # resp.dry_run_config.vpc_options.vpc_id #=> String
1882
+ # resp.dry_run_config.vpc_options.subnet_ids #=> Array
1883
+ # resp.dry_run_config.vpc_options.subnet_ids[0] #=> String
1884
+ # resp.dry_run_config.vpc_options.availability_zones #=> Array
1885
+ # resp.dry_run_config.vpc_options.availability_zones[0] #=> String
1886
+ # resp.dry_run_config.vpc_options.security_group_ids #=> Array
1887
+ # resp.dry_run_config.vpc_options.security_group_ids[0] #=> String
1888
+ # resp.dry_run_config.cognito_options.enabled #=> Boolean
1889
+ # resp.dry_run_config.cognito_options.user_pool_id #=> String
1890
+ # resp.dry_run_config.cognito_options.identity_pool_id #=> String
1891
+ # resp.dry_run_config.cognito_options.role_arn #=> String
1892
+ # resp.dry_run_config.encryption_at_rest_options.enabled #=> Boolean
1893
+ # resp.dry_run_config.encryption_at_rest_options.kms_key_id #=> String
1894
+ # resp.dry_run_config.node_to_node_encryption_options.enabled #=> Boolean
1895
+ # resp.dry_run_config.advanced_options #=> Hash
1896
+ # resp.dry_run_config.advanced_options["String"] #=> String
1897
+ # resp.dry_run_config.log_publishing_options #=> Hash
1898
+ # resp.dry_run_config.log_publishing_options["LogType"].cloud_watch_logs_log_group_arn #=> String
1899
+ # resp.dry_run_config.log_publishing_options["LogType"].enabled #=> Boolean
1900
+ # resp.dry_run_config.service_software_options.current_version #=> String
1901
+ # resp.dry_run_config.service_software_options.new_version #=> String
1902
+ # resp.dry_run_config.service_software_options.update_available #=> Boolean
1903
+ # resp.dry_run_config.service_software_options.cancellable #=> Boolean
1904
+ # resp.dry_run_config.service_software_options.update_status #=> String, one of "PENDING_UPDATE", "IN_PROGRESS", "COMPLETED", "NOT_ELIGIBLE", "ELIGIBLE"
1905
+ # resp.dry_run_config.service_software_options.description #=> String
1906
+ # resp.dry_run_config.service_software_options.automated_update_date #=> Time
1907
+ # resp.dry_run_config.service_software_options.optional_deployment #=> Boolean
1908
+ # resp.dry_run_config.domain_endpoint_options.enforce_https #=> Boolean
1909
+ # resp.dry_run_config.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1910
+ # resp.dry_run_config.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
1911
+ # resp.dry_run_config.domain_endpoint_options.custom_endpoint #=> String
1912
+ # resp.dry_run_config.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
1913
+ # resp.dry_run_config.advanced_security_options.enabled #=> Boolean
1914
+ # resp.dry_run_config.advanced_security_options.internal_user_database_enabled #=> Boolean
1915
+ # resp.dry_run_config.advanced_security_options.saml_options.enabled #=> Boolean
1916
+ # resp.dry_run_config.advanced_security_options.saml_options.idp.metadata_content #=> String
1917
+ # resp.dry_run_config.advanced_security_options.saml_options.idp.entity_id #=> String
1918
+ # resp.dry_run_config.advanced_security_options.saml_options.subject_key #=> String
1919
+ # resp.dry_run_config.advanced_security_options.saml_options.roles_key #=> String
1920
+ # resp.dry_run_config.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1921
+ # resp.dry_run_config.advanced_security_options.anonymous_auth_disable_date #=> Time
1922
+ # resp.dry_run_config.advanced_security_options.anonymous_auth_enabled #=> Boolean
1923
+ # resp.dry_run_config.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
1924
+ # resp.dry_run_config.auto_tune_options.error_message #=> String
1925
+ # resp.dry_run_config.change_progress_details.change_id #=> String
1926
+ # resp.dry_run_config.change_progress_details.message #=> String
1927
+ # resp.dry_run_results.deployment_type #=> String
1928
+ # resp.dry_run_results.message #=> String
1929
+ #
1930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDryRunProgress AWS API Documentation
1931
+ #
1932
+ # @overload describe_dry_run_progress(params = {})
1933
+ # @param [Hash] params ({})
1934
+ def describe_dry_run_progress(params = {}, options = {})
1935
+ req = build_request(:describe_dry_run_progress, params)
1936
+ req.send_request(options)
1937
+ end
1938
+
1809
1939
  # Lists all the inbound cross-cluster search connections for a
1810
1940
  # destination (remote) Amazon OpenSearch Service domain. For more
1811
1941
  # information, see [Cross-cluster search for Amazon OpenSearch
@@ -3130,13 +3260,28 @@ module Aws::OpenSearchService
3130
3260
  #
3131
3261
  # @option params [Boolean] :dry_run
3132
3262
  # This flag, when set to True, specifies whether the `UpdateDomain`
3133
- # request should return the results of validation check without actually
3134
- # applying the change.
3263
+ # request should return the results of a dry run analysis without
3264
+ # actually applying the change. A dry run determines what type of
3265
+ # deployment the update will cause.
3266
+ #
3267
+ # @option params [String] :dry_run_mode
3268
+ # The type of dry run to perform.
3269
+ #
3270
+ # * `Basic` only returns the type of deployment (blue/green or dynamic)
3271
+ # that the update will cause.
3272
+ #
3273
+ # * `Verbose` runs an additional check to validate the changes you're
3274
+ # making. For more information, see [Validating a domain update][1].
3275
+ #
3276
+ #
3277
+ #
3278
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check
3135
3279
  #
3136
3280
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3137
3281
  #
3138
3282
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
3139
3283
  # * {Types::UpdateDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
3284
+ # * {Types::UpdateDomainConfigResponse#dry_run_progress_status #dry_run_progress_status} => Types::DryRunProgressStatus
3140
3285
  #
3141
3286
  # @example Request syntax with placeholder values
3142
3287
  #
@@ -3240,6 +3385,7 @@ module Aws::OpenSearchService
3240
3385
  # ],
3241
3386
  # },
3242
3387
  # dry_run: false,
3388
+ # dry_run_mode: "Basic", # accepts Basic, Verbose
3243
3389
  # })
3244
3390
  #
3245
3391
  # @example Response structure
@@ -3379,6 +3525,13 @@ module Aws::OpenSearchService
3379
3525
  # resp.domain_config.change_progress_details.message #=> String
3380
3526
  # resp.dry_run_results.deployment_type #=> String
3381
3527
  # resp.dry_run_results.message #=> String
3528
+ # resp.dry_run_progress_status.dry_run_id #=> String
3529
+ # resp.dry_run_progress_status.dry_run_status #=> String
3530
+ # resp.dry_run_progress_status.creation_date #=> String
3531
+ # resp.dry_run_progress_status.update_date #=> String
3532
+ # resp.dry_run_progress_status.validation_failures #=> Array
3533
+ # resp.dry_run_progress_status.validation_failures[0].code #=> String
3534
+ # resp.dry_run_progress_status.validation_failures[0].message #=> String
3382
3535
  #
3383
3536
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
3384
3537
  #
@@ -3569,7 +3722,7 @@ module Aws::OpenSearchService
3569
3722
  params: params,
3570
3723
  config: config)
3571
3724
  context[:gem_name] = 'aws-sdk-opensearchservice'
3572
- context[:gem_version] = '1.14.0'
3725
+ context[:gem_version] = '1.15.0'
3573
3726
  Seahorse::Client::Request.new(handlers, context)
3574
3727
  end
3575
3728
 
@@ -105,6 +105,8 @@ module Aws::OpenSearchService
105
105
  DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse')
106
106
  DescribeDomainsRequest = Shapes::StructureShape.new(name: 'DescribeDomainsRequest')
107
107
  DescribeDomainsResponse = Shapes::StructureShape.new(name: 'DescribeDomainsResponse')
108
+ DescribeDryRunProgressRequest = Shapes::StructureShape.new(name: 'DescribeDryRunProgressRequest')
109
+ DescribeDryRunProgressResponse = Shapes::StructureShape.new(name: 'DescribeDryRunProgressResponse')
108
110
  DescribeInboundConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeInboundConnectionsRequest')
109
111
  DescribeInboundConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeInboundConnectionsResponse')
110
112
  DescribeInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeInstanceTypeLimitsRequest')
@@ -147,6 +149,8 @@ module Aws::OpenSearchService
147
149
  DomainStatusList = Shapes::ListShape.new(name: 'DomainStatusList')
148
150
  Double = Shapes::FloatShape.new(name: 'Double')
149
151
  DryRun = Shapes::BooleanShape.new(name: 'DryRun')
152
+ DryRunMode = Shapes::StringShape.new(name: 'DryRunMode')
153
+ DryRunProgressStatus = Shapes::StructureShape.new(name: 'DryRunProgressStatus')
150
154
  DryRunResults = Shapes::StructureShape.new(name: 'DryRunResults')
151
155
  Duration = Shapes::StructureShape.new(name: 'Duration')
152
156
  DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
@@ -332,6 +336,8 @@ module Aws::OpenSearchService
332
336
  VPCDerivedInfoStatus = Shapes::StructureShape.new(name: 'VPCDerivedInfoStatus')
333
337
  VPCOptions = Shapes::StructureShape.new(name: 'VPCOptions')
334
338
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
339
+ ValidationFailure = Shapes::StructureShape.new(name: 'ValidationFailure')
340
+ ValidationFailures = Shapes::ListShape.new(name: 'ValidationFailures')
335
341
  ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
336
342
  VersionList = Shapes::ListShape.new(name: 'VersionList')
337
343
  VersionStatus = Shapes::StructureShape.new(name: 'VersionStatus')
@@ -644,6 +650,16 @@ module Aws::OpenSearchService
644
650
  DescribeDomainsResponse.add_member(:domain_status_list, Shapes::ShapeRef.new(shape: DomainStatusList, required: true, location_name: "DomainStatusList"))
645
651
  DescribeDomainsResponse.struct_class = Types::DescribeDomainsResponse
646
652
 
653
+ DescribeDryRunProgressRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
654
+ DescribeDryRunProgressRequest.add_member(:dry_run_id, Shapes::ShapeRef.new(shape: GUID, location: "querystring", location_name: "dryRunId"))
655
+ DescribeDryRunProgressRequest.add_member(:load_dry_run_config, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "loadDryRunConfig"))
656
+ DescribeDryRunProgressRequest.struct_class = Types::DescribeDryRunProgressRequest
657
+
658
+ DescribeDryRunProgressResponse.add_member(:dry_run_progress_status, Shapes::ShapeRef.new(shape: DryRunProgressStatus, location_name: "DryRunProgressStatus"))
659
+ DescribeDryRunProgressResponse.add_member(:dry_run_config, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DryRunConfig"))
660
+ DescribeDryRunProgressResponse.add_member(:dry_run_results, Shapes::ShapeRef.new(shape: DryRunResults, location_name: "DryRunResults"))
661
+ DescribeDryRunProgressResponse.struct_class = Types::DescribeDryRunProgressResponse
662
+
647
663
  DescribeInboundConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
648
664
  DescribeInboundConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
649
665
  DescribeInboundConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -802,6 +818,13 @@ module Aws::OpenSearchService
802
818
 
803
819
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
804
820
 
821
+ DryRunProgressStatus.add_member(:dry_run_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "DryRunId"))
822
+ DryRunProgressStatus.add_member(:dry_run_status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DryRunStatus"))
823
+ DryRunProgressStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CreationDate"))
824
+ DryRunProgressStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UpdateDate"))
825
+ DryRunProgressStatus.add_member(:validation_failures, Shapes::ShapeRef.new(shape: ValidationFailures, location_name: "ValidationFailures"))
826
+ DryRunProgressStatus.struct_class = Types::DryRunProgressStatus
827
+
805
828
  DryRunResults.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
806
829
  DryRunResults.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
807
830
  DryRunResults.struct_class = Types::DryRunResults
@@ -1215,10 +1238,12 @@ module Aws::OpenSearchService
1215
1238
  UpdateDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
1216
1239
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1217
1240
  UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1241
+ UpdateDomainConfigRequest.add_member(:dry_run_mode, Shapes::ShapeRef.new(shape: DryRunMode, location_name: "DryRunMode"))
1218
1242
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1219
1243
 
1220
1244
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
1221
1245
  UpdateDomainConfigResponse.add_member(:dry_run_results, Shapes::ShapeRef.new(shape: DryRunResults, location_name: "DryRunResults"))
1246
+ UpdateDomainConfigResponse.add_member(:dry_run_progress_status, Shapes::ShapeRef.new(shape: DryRunProgressStatus, location_name: "DryRunProgressStatus"))
1222
1247
  UpdateDomainConfigResponse.struct_class = Types::UpdateDomainConfigResponse
1223
1248
 
1224
1249
  UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
@@ -1283,6 +1308,12 @@ module Aws::OpenSearchService
1283
1308
 
1284
1309
  ValidationException.struct_class = Types::ValidationException
1285
1310
 
1311
+ ValidationFailure.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
1312
+ ValidationFailure.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1313
+ ValidationFailure.struct_class = Types::ValidationFailure
1314
+
1315
+ ValidationFailures.member = Shapes::ShapeRef.new(shape: ValidationFailure)
1316
+
1286
1317
  ValueStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
1287
1318
 
1288
1319
  VersionList.member = Shapes::ShapeRef.new(shape: VersionString)
@@ -1579,6 +1610,19 @@ module Aws::OpenSearchService
1579
1610
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1580
1611
  end)
1581
1612
 
1613
+ api.add_operation(:describe_dry_run_progress, Seahorse::Model::Operation.new.tap do |o|
1614
+ o.name = "DescribeDryRunProgress"
1615
+ o.http_method = "GET"
1616
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dryRun"
1617
+ o.input = Shapes::ShapeRef.new(shape: DescribeDryRunProgressRequest)
1618
+ o.output = Shapes::ShapeRef.new(shape: DescribeDryRunProgressResponse)
1619
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1620
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1621
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1624
+ end)
1625
+
1582
1626
  api.add_operation(:describe_inbound_connections, Seahorse::Model::Operation.new.tap do |o|
1583
1627
  o.name = "DescribeInboundConnections"
1584
1628
  o.http_method = "POST"
@@ -50,6 +50,9 @@ module Aws::OpenSearchService
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::OpenSearchService
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -277,6 +277,20 @@ module Aws::OpenSearchService
277
277
  end
278
278
  end
279
279
 
280
+ class DescribeDryRunProgress
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::OpenSearchService::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
280
294
  class DescribeInboundConnections
281
295
  def self.build(context)
282
296
  unless context.config.regional_endpoint
@@ -94,6 +94,8 @@ module Aws::OpenSearchService
94
94
  Aws::OpenSearchService::Endpoints::DescribeDomainConfig.build(context)
95
95
  when :describe_domains
96
96
  Aws::OpenSearchService::Endpoints::DescribeDomains.build(context)
97
+ when :describe_dry_run_progress
98
+ Aws::OpenSearchService::Endpoints::DescribeDryRunProgress.build(context)
97
99
  when :describe_inbound_connections
98
100
  Aws::OpenSearchService::Endpoints::DescribeInboundConnections.build(context)
99
101
  when :describe_instance_type_limits
@@ -1232,7 +1232,8 @@ module Aws::OpenSearchService
1232
1232
  end
1233
1233
 
1234
1234
  # @!attribute [rw] domain_arn
1235
- # The Amazon Resource Name (ARN) of the domain to grant access to.
1235
+ # The Amazon Resource Name (ARN) of the domain to create the endpoint
1236
+ # for.
1236
1237
  # @return [String]
1237
1238
  #
1238
1239
  # @!attribute [rw] vpc_options
@@ -1590,6 +1591,52 @@ module Aws::OpenSearchService
1590
1591
  include Aws::Structure
1591
1592
  end
1592
1593
 
1594
+ # @!attribute [rw] domain_name
1595
+ # The name of the domain.
1596
+ # @return [String]
1597
+ #
1598
+ # @!attribute [rw] dry_run_id
1599
+ # The unique identifier of the dry run.
1600
+ # @return [String]
1601
+ #
1602
+ # @!attribute [rw] load_dry_run_config
1603
+ # Whether to include the configuration of the dry run in the response.
1604
+ # The configuration specifies the updates that you're planning to
1605
+ # make on the domain.
1606
+ # @return [Boolean]
1607
+ #
1608
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDryRunProgressRequest AWS API Documentation
1609
+ #
1610
+ class DescribeDryRunProgressRequest < Struct.new(
1611
+ :domain_name,
1612
+ :dry_run_id,
1613
+ :load_dry_run_config)
1614
+ SENSITIVE = []
1615
+ include Aws::Structure
1616
+ end
1617
+
1618
+ # @!attribute [rw] dry_run_progress_status
1619
+ # The current status of the dry run, including any validation errors.
1620
+ # @return [Types::DryRunProgressStatus]
1621
+ #
1622
+ # @!attribute [rw] dry_run_config
1623
+ # Details about the changes you're planning to make on the domain.
1624
+ # @return [Types::DomainStatus]
1625
+ #
1626
+ # @!attribute [rw] dry_run_results
1627
+ # The results of the dry run.
1628
+ # @return [Types::DryRunResults]
1629
+ #
1630
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDryRunProgressResponse AWS API Documentation
1631
+ #
1632
+ class DescribeDryRunProgressResponse < Struct.new(
1633
+ :dry_run_progress_status,
1634
+ :dry_run_config,
1635
+ :dry_run_results)
1636
+ SENSITIVE = []
1637
+ include Aws::Structure
1638
+ end
1639
+
1593
1640
  # Container for the parameters to the `DescribeInboundConnections`
1594
1641
  # operation.
1595
1642
  #
@@ -2403,6 +2450,40 @@ module Aws::OpenSearchService
2403
2450
  include Aws::Structure
2404
2451
  end
2405
2452
 
2453
+ # Information about the progress of a pre-upgrade dry run analysis.
2454
+ #
2455
+ # @!attribute [rw] dry_run_id
2456
+ # The unique identifier of the dry run.
2457
+ # @return [String]
2458
+ #
2459
+ # @!attribute [rw] dry_run_status
2460
+ # The current status of the dry run.
2461
+ # @return [String]
2462
+ #
2463
+ # @!attribute [rw] creation_date
2464
+ # The timestamp when the dry run was initiated.
2465
+ # @return [String]
2466
+ #
2467
+ # @!attribute [rw] update_date
2468
+ # The timestamp when the dry run was last updated.
2469
+ # @return [String]
2470
+ #
2471
+ # @!attribute [rw] validation_failures
2472
+ # Any validation failures that occurred as a result of the dry run.
2473
+ # @return [Array<Types::ValidationFailure>]
2474
+ #
2475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DryRunProgressStatus AWS API Documentation
2476
+ #
2477
+ class DryRunProgressStatus < Struct.new(
2478
+ :dry_run_id,
2479
+ :dry_run_status,
2480
+ :creation_date,
2481
+ :update_date,
2482
+ :validation_failures)
2483
+ SENSITIVE = []
2484
+ include Aws::Structure
2485
+ end
2486
+
2406
2487
  # Results of a dry run performed in an update domain request.
2407
2488
  #
2408
2489
  # @!attribute [rw] deployment_type
@@ -4462,10 +4543,25 @@ module Aws::OpenSearchService
4462
4543
  #
4463
4544
  # @!attribute [rw] dry_run
4464
4545
  # This flag, when set to True, specifies whether the `UpdateDomain`
4465
- # request should return the results of validation check without
4466
- # actually applying the change.
4546
+ # request should return the results of a dry run analysis without
4547
+ # actually applying the change. A dry run determines what type of
4548
+ # deployment the update will cause.
4467
4549
  # @return [Boolean]
4468
4550
  #
4551
+ # @!attribute [rw] dry_run_mode
4552
+ # The type of dry run to perform.
4553
+ #
4554
+ # * `Basic` only returns the type of deployment (blue/green or
4555
+ # dynamic) that the update will cause.
4556
+ #
4557
+ # * `Verbose` runs an additional check to validate the changes you're
4558
+ # making. For more information, see [Validating a domain update][1].
4559
+ #
4560
+ #
4561
+ #
4562
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check
4563
+ # @return [String]
4564
+ #
4469
4565
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
4470
4566
  #
4471
4567
  class UpdateDomainConfigRequest < Struct.new(
@@ -4483,7 +4579,8 @@ module Aws::OpenSearchService
4483
4579
  :node_to_node_encryption_options,
4484
4580
  :advanced_security_options,
4485
4581
  :auto_tune_options,
4486
- :dry_run)
4582
+ :dry_run,
4583
+ :dry_run_mode)
4487
4584
  SENSITIVE = []
4488
4585
  include Aws::Structure
4489
4586
  end
@@ -4496,14 +4593,19 @@ module Aws::OpenSearchService
4496
4593
  # @return [Types::DomainConfig]
4497
4594
  #
4498
4595
  # @!attribute [rw] dry_run_results
4499
- # Results of a dry run performed in an update domain request.
4596
+ # Results of the dry run performed in the update domain request.
4500
4597
  # @return [Types::DryRunResults]
4501
4598
  #
4599
+ # @!attribute [rw] dry_run_progress_status
4600
+ # The status of the dry run being performed on the domain, if any.
4601
+ # @return [Types::DryRunProgressStatus]
4602
+ #
4502
4603
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigResponse AWS API Documentation
4503
4604
  #
4504
4605
  class UpdateDomainConfigResponse < Struct.new(
4505
4606
  :domain_config,
4506
- :dry_run_results)
4607
+ :dry_run_results,
4608
+ :dry_run_progress_status)
4507
4609
  SENSITIVE = []
4508
4610
  include Aws::Structure
4509
4611
  end
@@ -4841,6 +4943,26 @@ module Aws::OpenSearchService
4841
4943
  #
4842
4944
  class ValidationException < Aws::EmptyStructure; end
4843
4945
 
4946
+ # A validation failure that occurred as the result of a pre-update
4947
+ # validation check (verbose dry run) on a domain.
4948
+ #
4949
+ # @!attribute [rw] code
4950
+ # The error code of the failure.
4951
+ # @return [String]
4952
+ #
4953
+ # @!attribute [rw] message
4954
+ # A message corresponding to the failure.
4955
+ # @return [String]
4956
+ #
4957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ValidationFailure AWS API Documentation
4958
+ #
4959
+ class ValidationFailure < Struct.new(
4960
+ :code,
4961
+ :message)
4962
+ SENSITIVE = []
4963
+ include Aws::Structure
4964
+ end
4965
+
4844
4966
  # The status of the the OpenSearch or Elasticsearch version options for
4845
4967
  # the specified Amazon OpenSearch Service domain.
4846
4968
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchService
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.15.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core