aws-sdk-elasticsearchservice 1.41.0 → 1.46.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: 4c61d75764d5917786f4449e4e32d04df3349e10499b02df0350d3b447a6807b
4
- data.tar.gz: 80f0fed51aed4efb226e8a3b27f00014019a3f4d544fb18a93200f69552f6261
3
+ metadata.gz: 7fa83ca0de550bdaa4626470abda0f9d5dbedfcb971db3b8817150afc1b5cfaa
4
+ data.tar.gz: ec6a6fee1d8b498b912159be72625e1f59394fec372f029c3f9557c9508a9fff
5
5
  SHA512:
6
- metadata.gz: 7a2156de6324133855cf959bb782142efe9dfbf554d0eddae04ea1e429d15e03be7c82b52639f4764de26a34c0462876ec7293f04f90fd603c0a168d4160c4bb
7
- data.tar.gz: ddfe358b1d21e4cbeac925d131200be5f9491240ab222896e1ae060991853f72cd58624a90a247616dc57afbef5d014fbb497b0a8089ed98d0ba447c32dc723a
6
+ metadata.gz: '08dbb0e11e7c6d2e9df98c1fd9183d8151f48a9199e3e520cc427a486cc338b015f8a18ed980223c5d287b5ef20e577bb0b5dd660e302fd66ee967b794f8887a'
7
+ data.tar.gz: 939648b0d67ae9798665e9cb6cdce5be27665d4ee321cb6db8f5078d5bd9df8646df67931f1be4160816a34c970af091b96d270fb55b15d6e71879db40925b68
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ElasticsearchService
50
50
 
51
- GEM_VERSION = '1.41.0'
51
+ GEM_VERSION = '1.46.0'
52
52
 
53
53
  end
@@ -426,6 +426,7 @@ module Aws::ElasticsearchService
426
426
  # resp.domain_package_details.last_updated #=> Time
427
427
  # resp.domain_package_details.domain_name #=> String
428
428
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
429
+ # resp.domain_package_details.package_version #=> String
429
430
  # resp.domain_package_details.reference_path #=> String
430
431
  # resp.domain_package_details.error_details.error_type #=> String
431
432
  # resp.domain_package_details.error_details.error_message #=> String
@@ -620,6 +621,9 @@ module Aws::ElasticsearchService
620
621
  # domain_endpoint_options: {
621
622
  # enforce_https: false,
622
623
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
624
+ # custom_endpoint_enabled: false,
625
+ # custom_endpoint: "DomainNameFqdn",
626
+ # custom_endpoint_certificate_arn: "ARN",
623
627
  # },
624
628
  # advanced_security_options: {
625
629
  # enabled: false,
@@ -629,6 +633,18 @@ module Aws::ElasticsearchService
629
633
  # master_user_name: "Username",
630
634
  # master_user_password: "Password",
631
635
  # },
636
+ # saml_options: {
637
+ # enabled: false,
638
+ # idp: {
639
+ # metadata_content: "SAMLMetadata", # required
640
+ # entity_id: "SAMLEntityId", # required
641
+ # },
642
+ # master_user_name: "Username",
643
+ # master_backend_role: "BackendRole",
644
+ # subject_key: "String",
645
+ # roles_key: "String",
646
+ # session_timeout_minutes: 1,
647
+ # },
632
648
  # },
633
649
  # })
634
650
  #
@@ -690,8 +706,17 @@ module Aws::ElasticsearchService
690
706
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
691
707
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
692
708
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
709
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
710
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
711
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
693
712
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
694
713
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
714
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
715
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
716
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
717
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
718
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
719
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
695
720
  #
696
721
  # @overload create_elasticsearch_domain(params = {})
697
722
  # @param [Hash] params ({})
@@ -796,6 +821,8 @@ module Aws::ElasticsearchService
796
821
  # resp.package_details.package_description #=> String
797
822
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
798
823
  # resp.package_details.created_at #=> Time
824
+ # resp.package_details.last_updated_at #=> Time
825
+ # resp.package_details.available_package_version #=> String
799
826
  # resp.package_details.error_details.error_type #=> String
800
827
  # resp.package_details.error_details.error_message #=> String
801
828
  #
@@ -881,8 +908,17 @@ module Aws::ElasticsearchService
881
908
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
882
909
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
883
910
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
911
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
912
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
913
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
884
914
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
885
915
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
916
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
917
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
918
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
919
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
920
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
921
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
886
922
  #
887
923
  # @overload delete_elasticsearch_domain(params = {})
888
924
  # @param [Hash] params ({})
@@ -1006,6 +1042,8 @@ module Aws::ElasticsearchService
1006
1042
  # resp.package_details.package_description #=> String
1007
1043
  # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1008
1044
  # resp.package_details.created_at #=> Time
1045
+ # resp.package_details.last_updated_at #=> Time
1046
+ # resp.package_details.available_package_version #=> String
1009
1047
  # resp.package_details.error_details.error_type #=> String
1010
1048
  # resp.package_details.error_details.error_message #=> String
1011
1049
  #
@@ -1091,8 +1129,17 @@ module Aws::ElasticsearchService
1091
1129
  # resp.domain_status.service_software_options.optional_deployment #=> Boolean
1092
1130
  # resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
1093
1131
  # resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1132
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
1133
+ # resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
1134
+ # resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
1094
1135
  # resp.domain_status.advanced_security_options.enabled #=> Boolean
1095
1136
  # resp.domain_status.advanced_security_options.internal_user_database_enabled #=> Boolean
1137
+ # resp.domain_status.advanced_security_options.saml_options.enabled #=> Boolean
1138
+ # resp.domain_status.advanced_security_options.saml_options.idp.metadata_content #=> String
1139
+ # resp.domain_status.advanced_security_options.saml_options.idp.entity_id #=> String
1140
+ # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1141
+ # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1142
+ # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1096
1143
  #
1097
1144
  # @overload describe_elasticsearch_domain(params = {})
1098
1145
  # @param [Hash] params ({})
@@ -1213,6 +1260,9 @@ module Aws::ElasticsearchService
1213
1260
  # resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
1214
1261
  # resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
1215
1262
  # resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1263
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
1264
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
1265
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
1216
1266
  # resp.domain_config.domain_endpoint_options.status.creation_date #=> Time
1217
1267
  # resp.domain_config.domain_endpoint_options.status.update_date #=> Time
1218
1268
  # resp.domain_config.domain_endpoint_options.status.update_version #=> Integer
@@ -1220,6 +1270,12 @@ module Aws::ElasticsearchService
1220
1270
  # resp.domain_config.domain_endpoint_options.status.pending_deletion #=> Boolean
1221
1271
  # resp.domain_config.advanced_security_options.options.enabled #=> Boolean
1222
1272
  # resp.domain_config.advanced_security_options.options.internal_user_database_enabled #=> Boolean
1273
+ # resp.domain_config.advanced_security_options.options.saml_options.enabled #=> Boolean
1274
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.metadata_content #=> String
1275
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.entity_id #=> String
1276
+ # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
1277
+ # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
1278
+ # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
1223
1279
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
1224
1280
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
1225
1281
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -1309,8 +1365,17 @@ module Aws::ElasticsearchService
1309
1365
  # resp.domain_status_list[0].service_software_options.optional_deployment #=> Boolean
1310
1366
  # resp.domain_status_list[0].domain_endpoint_options.enforce_https #=> Boolean
1311
1367
  # resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
1368
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_enabled #=> Boolean
1369
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint #=> String
1370
+ # resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_certificate_arn #=> String
1312
1371
  # resp.domain_status_list[0].advanced_security_options.enabled #=> Boolean
1313
1372
  # resp.domain_status_list[0].advanced_security_options.internal_user_database_enabled #=> Boolean
1373
+ # resp.domain_status_list[0].advanced_security_options.saml_options.enabled #=> Boolean
1374
+ # resp.domain_status_list[0].advanced_security_options.saml_options.idp.metadata_content #=> String
1375
+ # resp.domain_status_list[0].advanced_security_options.saml_options.idp.entity_id #=> String
1376
+ # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1377
+ # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1378
+ # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1314
1379
  #
1315
1380
  # @overload describe_elasticsearch_domains(params = {})
1316
1381
  # @param [Hash] params ({})
@@ -1538,6 +1603,8 @@ module Aws::ElasticsearchService
1538
1603
  # resp.package_details_list[0].package_description #=> String
1539
1604
  # resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1540
1605
  # resp.package_details_list[0].created_at #=> Time
1606
+ # resp.package_details_list[0].last_updated_at #=> Time
1607
+ # resp.package_details_list[0].available_package_version #=> String
1541
1608
  # resp.package_details_list[0].error_details.error_type #=> String
1542
1609
  # resp.package_details_list[0].error_details.error_message #=> String
1543
1610
  # resp.next_token #=> String
@@ -1687,6 +1754,7 @@ module Aws::ElasticsearchService
1687
1754
  # resp.domain_package_details.last_updated #=> Time
1688
1755
  # resp.domain_package_details.domain_name #=> String
1689
1756
  # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1757
+ # resp.domain_package_details.package_version #=> String
1690
1758
  # resp.domain_package_details.reference_path #=> String
1691
1759
  # resp.domain_package_details.error_details.error_type #=> String
1692
1760
  # resp.domain_package_details.error_details.error_message #=> String
@@ -1732,6 +1800,52 @@ module Aws::ElasticsearchService
1732
1800
  req.send_request(options)
1733
1801
  end
1734
1802
 
1803
+ # Returns a list of versions of the package, along with their creation
1804
+ # time and commit message.
1805
+ #
1806
+ # @option params [required, String] :package_id
1807
+ # Returns an audit history of versions of the package.
1808
+ #
1809
+ # @option params [Integer] :max_results
1810
+ # Limits results to a maximum number of versions.
1811
+ #
1812
+ # @option params [String] :next_token
1813
+ # Used for pagination. Only necessary if a previous API call includes a
1814
+ # non-null NextToken value. If provided, returns results for the next
1815
+ # page.
1816
+ #
1817
+ # @return [Types::GetPackageVersionHistoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1818
+ #
1819
+ # * {Types::GetPackageVersionHistoryResponse#package_id #package_id} => String
1820
+ # * {Types::GetPackageVersionHistoryResponse#package_version_history_list #package_version_history_list} => Array<Types::PackageVersionHistory>
1821
+ # * {Types::GetPackageVersionHistoryResponse#next_token #next_token} => String
1822
+ #
1823
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1824
+ #
1825
+ # @example Request syntax with placeholder values
1826
+ #
1827
+ # resp = client.get_package_version_history({
1828
+ # package_id: "PackageID", # required
1829
+ # max_results: 1,
1830
+ # next_token: "NextToken",
1831
+ # })
1832
+ #
1833
+ # @example Response structure
1834
+ #
1835
+ # resp.package_id #=> String
1836
+ # resp.package_version_history_list #=> Array
1837
+ # resp.package_version_history_list[0].package_version #=> String
1838
+ # resp.package_version_history_list[0].commit_message #=> String
1839
+ # resp.package_version_history_list[0].created_at #=> Time
1840
+ # resp.next_token #=> String
1841
+ #
1842
+ # @overload get_package_version_history(params = {})
1843
+ # @param [Hash] params ({})
1844
+ def get_package_version_history(params = {}, options = {})
1845
+ req = build_request(:get_package_version_history, params)
1846
+ req.send_request(options)
1847
+ end
1848
+
1735
1849
  # Retrieves the complete history of the last 10 upgrades that were
1736
1850
  # performed on the domain.
1737
1851
  #
@@ -1875,6 +1989,7 @@ module Aws::ElasticsearchService
1875
1989
  # resp.domain_package_details_list[0].last_updated #=> Time
1876
1990
  # resp.domain_package_details_list[0].domain_name #=> String
1877
1991
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1992
+ # resp.domain_package_details_list[0].package_version #=> String
1878
1993
  # resp.domain_package_details_list[0].reference_path #=> String
1879
1994
  # resp.domain_package_details_list[0].error_details.error_type #=> String
1880
1995
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2011,6 +2126,7 @@ module Aws::ElasticsearchService
2011
2126
  # resp.domain_package_details_list[0].last_updated #=> Time
2012
2127
  # resp.domain_package_details_list[0].domain_name #=> String
2013
2128
  # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
2129
+ # resp.domain_package_details_list[0].package_version #=> String
2014
2130
  # resp.domain_package_details_list[0].reference_path #=> String
2015
2131
  # resp.domain_package_details_list[0].error_details.error_type #=> String
2016
2132
  # resp.domain_package_details_list[0].error_details.error_message #=> String
@@ -2298,6 +2414,9 @@ module Aws::ElasticsearchService
2298
2414
  # domain_endpoint_options: {
2299
2415
  # enforce_https: false,
2300
2416
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
2417
+ # custom_endpoint_enabled: false,
2418
+ # custom_endpoint: "DomainNameFqdn",
2419
+ # custom_endpoint_certificate_arn: "ARN",
2301
2420
  # },
2302
2421
  # advanced_security_options: {
2303
2422
  # enabled: false,
@@ -2307,6 +2426,18 @@ module Aws::ElasticsearchService
2307
2426
  # master_user_name: "Username",
2308
2427
  # master_user_password: "Password",
2309
2428
  # },
2429
+ # saml_options: {
2430
+ # enabled: false,
2431
+ # idp: {
2432
+ # metadata_content: "SAMLMetadata", # required
2433
+ # entity_id: "SAMLEntityId", # required
2434
+ # },
2435
+ # master_user_name: "Username",
2436
+ # master_backend_role: "BackendRole",
2437
+ # subject_key: "String",
2438
+ # roles_key: "String",
2439
+ # session_timeout_minutes: 1,
2440
+ # },
2310
2441
  # },
2311
2442
  # })
2312
2443
  #
@@ -2405,6 +2536,9 @@ module Aws::ElasticsearchService
2405
2536
  # resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
2406
2537
  # resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
2407
2538
  # resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
2539
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
2540
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
2541
+ # resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
2408
2542
  # resp.domain_config.domain_endpoint_options.status.creation_date #=> Time
2409
2543
  # resp.domain_config.domain_endpoint_options.status.update_date #=> Time
2410
2544
  # resp.domain_config.domain_endpoint_options.status.update_version #=> Integer
@@ -2412,6 +2546,12 @@ module Aws::ElasticsearchService
2412
2546
  # resp.domain_config.domain_endpoint_options.status.pending_deletion #=> Boolean
2413
2547
  # resp.domain_config.advanced_security_options.options.enabled #=> Boolean
2414
2548
  # resp.domain_config.advanced_security_options.options.internal_user_database_enabled #=> Boolean
2549
+ # resp.domain_config.advanced_security_options.options.saml_options.enabled #=> Boolean
2550
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.metadata_content #=> String
2551
+ # resp.domain_config.advanced_security_options.options.saml_options.idp.entity_id #=> String
2552
+ # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
2553
+ # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
2554
+ # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
2415
2555
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
2416
2556
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
2417
2557
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -2425,6 +2565,58 @@ module Aws::ElasticsearchService
2425
2565
  req.send_request(options)
2426
2566
  end
2427
2567
 
2568
+ # Updates a package for use with Amazon ES domains.
2569
+ #
2570
+ # @option params [required, String] :package_id
2571
+ # Unique identifier for the package.
2572
+ #
2573
+ # @option params [required, Types::PackageSource] :package_source
2574
+ # The S3 location for importing the package specified as `S3BucketName`
2575
+ # and `S3Key`
2576
+ #
2577
+ # @option params [String] :package_description
2578
+ # New description of the package.
2579
+ #
2580
+ # @option params [String] :commit_message
2581
+ # An info message for the new version which will be shown as part of
2582
+ # `GetPackageVersionHistoryResponse`.
2583
+ #
2584
+ # @return [Types::UpdatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2585
+ #
2586
+ # * {Types::UpdatePackageResponse#package_details #package_details} => Types::PackageDetails
2587
+ #
2588
+ # @example Request syntax with placeholder values
2589
+ #
2590
+ # resp = client.update_package({
2591
+ # package_id: "PackageID", # required
2592
+ # package_source: { # required
2593
+ # s3_bucket_name: "S3BucketName",
2594
+ # s3_key: "S3Key",
2595
+ # },
2596
+ # package_description: "PackageDescription",
2597
+ # commit_message: "CommitMessage",
2598
+ # })
2599
+ #
2600
+ # @example Response structure
2601
+ #
2602
+ # resp.package_details.package_id #=> String
2603
+ # resp.package_details.package_name #=> String
2604
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
2605
+ # resp.package_details.package_description #=> String
2606
+ # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
2607
+ # resp.package_details.created_at #=> Time
2608
+ # resp.package_details.last_updated_at #=> Time
2609
+ # resp.package_details.available_package_version #=> String
2610
+ # resp.package_details.error_details.error_type #=> String
2611
+ # resp.package_details.error_details.error_message #=> String
2612
+ #
2613
+ # @overload update_package(params = {})
2614
+ # @param [Hash] params ({})
2615
+ def update_package(params = {}, options = {})
2616
+ req = build_request(:update_package, params)
2617
+ req.send_request(options)
2618
+ end
2619
+
2428
2620
  # Allows you to either upgrade your domain or perform an Upgrade
2429
2621
  # eligibility check to a compatible Elasticsearch version.
2430
2622
  #
@@ -2482,7 +2674,7 @@ module Aws::ElasticsearchService
2482
2674
  params: params,
2483
2675
  config: config)
2484
2676
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2485
- context[:gem_version] = '1.41.0'
2677
+ context[:gem_version] = '1.46.0'
2486
2678
  Seahorse::Client::Request.new(handlers, context)
2487
2679
  end
2488
2680
 
@@ -28,6 +28,7 @@ module Aws::ElasticsearchService
28
28
  AdvancedSecurityOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsStatus')
29
29
  AssociatePackageRequest = Shapes::StructureShape.new(name: 'AssociatePackageRequest')
30
30
  AssociatePackageResponse = Shapes::StructureShape.new(name: 'AssociatePackageResponse')
31
+ BackendRole = Shapes::StringShape.new(name: 'BackendRole')
31
32
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
32
33
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
34
  CancelElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'CancelElasticsearchServiceSoftwareUpdateRequest')
@@ -35,6 +36,7 @@ module Aws::ElasticsearchService
35
36
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
36
37
  CognitoOptions = Shapes::StructureShape.new(name: 'CognitoOptions')
37
38
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
39
+ CommitMessage = Shapes::StringShape.new(name: 'CommitMessage')
38
40
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
39
41
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
40
42
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -91,6 +93,7 @@ module Aws::ElasticsearchService
91
93
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
92
94
  DomainInformation = Shapes::StructureShape.new(name: 'DomainInformation')
93
95
  DomainName = Shapes::StringShape.new(name: 'DomainName')
96
+ DomainNameFqdn = Shapes::StringShape.new(name: 'DomainNameFqdn')
94
97
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
95
98
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
96
99
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
@@ -120,6 +123,8 @@ module Aws::ElasticsearchService
120
123
  GUID = Shapes::StringShape.new(name: 'GUID')
121
124
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
122
125
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
126
+ GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
127
+ GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
123
128
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
124
129
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
125
130
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
@@ -186,6 +191,9 @@ module Aws::ElasticsearchService
186
191
  PackageSource = Shapes::StructureShape.new(name: 'PackageSource')
187
192
  PackageStatus = Shapes::StringShape.new(name: 'PackageStatus')
188
193
  PackageType = Shapes::StringShape.new(name: 'PackageType')
194
+ PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
195
+ PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
196
+ PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
189
197
  Password = Shapes::StringShape.new(name: 'Password')
190
198
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
191
199
  PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
@@ -208,6 +216,11 @@ module Aws::ElasticsearchService
208
216
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
209
217
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
210
218
  S3Key = Shapes::StringShape.new(name: 'S3Key')
219
+ SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
220
+ SAMLIdp = Shapes::StructureShape.new(name: 'SAMLIdp')
221
+ SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
222
+ SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
223
+ SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
211
224
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
212
225
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
213
226
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
@@ -231,6 +244,8 @@ module Aws::ElasticsearchService
231
244
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
232
245
  UpdateElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigRequest')
233
246
  UpdateElasticsearchDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateElasticsearchDomainConfigResponse')
247
+ UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
248
+ UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
234
249
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
235
250
  UpgradeElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainRequest')
236
251
  UpgradeElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'UpgradeElasticsearchDomainResponse')
@@ -282,11 +297,13 @@ module Aws::ElasticsearchService
282
297
 
283
298
  AdvancedSecurityOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
284
299
  AdvancedSecurityOptions.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
300
+ AdvancedSecurityOptions.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsOutput, location_name: "SAMLOptions"))
285
301
  AdvancedSecurityOptions.struct_class = Types::AdvancedSecurityOptions
286
302
 
287
303
  AdvancedSecurityOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
288
304
  AdvancedSecurityOptionsInput.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
289
305
  AdvancedSecurityOptionsInput.add_member(:master_user_options, Shapes::ShapeRef.new(shape: MasterUserOptions, location_name: "MasterUserOptions"))
306
+ AdvancedSecurityOptionsInput.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsInput, location_name: "SAMLOptions"))
290
307
  AdvancedSecurityOptionsInput.struct_class = Types::AdvancedSecurityOptionsInput
291
308
 
292
309
  AdvancedSecurityOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, required: true, location_name: "Options"))
@@ -481,6 +498,9 @@ module Aws::ElasticsearchService
481
498
 
482
499
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
483
500
  DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
501
+ DomainEndpointOptions.add_member(:custom_endpoint_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "CustomEndpointEnabled"))
502
+ DomainEndpointOptions.add_member(:custom_endpoint, Shapes::ShapeRef.new(shape: DomainNameFqdn, location_name: "CustomEndpoint"))
503
+ DomainEndpointOptions.add_member(:custom_endpoint_certificate_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CustomEndpointCertificateArn"))
484
504
  DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
485
505
 
486
506
  DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
@@ -505,6 +525,7 @@ module Aws::ElasticsearchService
505
525
  DomainPackageDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
506
526
  DomainPackageDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
507
527
  DomainPackageDetails.add_member(:domain_package_status, Shapes::ShapeRef.new(shape: DomainPackageStatus, location_name: "DomainPackageStatus"))
528
+ DomainPackageDetails.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
508
529
  DomainPackageDetails.add_member(:reference_path, Shapes::ShapeRef.new(shape: ReferencePath, location_name: "ReferencePath"))
509
530
  DomainPackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
510
531
  DomainPackageDetails.struct_class = Types::DomainPackageDetails
@@ -614,6 +635,16 @@ module Aws::ElasticsearchService
614
635
  GetCompatibleElasticsearchVersionsResponse.add_member(:compatible_elasticsearch_versions, Shapes::ShapeRef.new(shape: CompatibleElasticsearchVersionsList, location_name: "CompatibleElasticsearchVersions"))
615
636
  GetCompatibleElasticsearchVersionsResponse.struct_class = Types::GetCompatibleElasticsearchVersionsResponse
616
637
 
638
+ GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
639
+ GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
640
+ GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
641
+ GetPackageVersionHistoryRequest.struct_class = Types::GetPackageVersionHistoryRequest
642
+
643
+ GetPackageVersionHistoryResponse.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
644
+ GetPackageVersionHistoryResponse.add_member(:package_version_history_list, Shapes::ShapeRef.new(shape: PackageVersionHistoryList, location_name: "PackageVersionHistoryList"))
645
+ GetPackageVersionHistoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
646
+ GetPackageVersionHistoryResponse.struct_class = Types::GetPackageVersionHistoryResponse
647
+
617
648
  GetUpgradeHistoryRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
618
649
  GetUpgradeHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
619
650
  GetUpgradeHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -764,6 +795,8 @@ module Aws::ElasticsearchService
764
795
  PackageDetails.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
765
796
  PackageDetails.add_member(:package_status, Shapes::ShapeRef.new(shape: PackageStatus, location_name: "PackageStatus"))
766
797
  PackageDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
798
+ PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
799
+ PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
767
800
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
768
801
  PackageDetails.struct_class = Types::PackageDetails
769
802
 
@@ -773,6 +806,13 @@ module Aws::ElasticsearchService
773
806
  PackageSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
774
807
  PackageSource.struct_class = Types::PackageSource
775
808
 
809
+ PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
810
+ PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
811
+ PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
812
+ PackageVersionHistory.struct_class = Types::PackageVersionHistory
813
+
814
+ PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
815
+
776
816
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
777
817
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
778
818
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -831,6 +871,26 @@ module Aws::ElasticsearchService
831
871
 
832
872
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
833
873
 
874
+ SAMLIdp.add_member(:metadata_content, Shapes::ShapeRef.new(shape: SAMLMetadata, required: true, location_name: "MetadataContent"))
875
+ SAMLIdp.add_member(:entity_id, Shapes::ShapeRef.new(shape: SAMLEntityId, required: true, location_name: "EntityId"))
876
+ SAMLIdp.struct_class = Types::SAMLIdp
877
+
878
+ SAMLOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
879
+ SAMLOptionsInput.add_member(:idp, Shapes::ShapeRef.new(shape: SAMLIdp, location_name: "Idp"))
880
+ SAMLOptionsInput.add_member(:master_user_name, Shapes::ShapeRef.new(shape: Username, location_name: "MasterUserName"))
881
+ SAMLOptionsInput.add_member(:master_backend_role, Shapes::ShapeRef.new(shape: BackendRole, location_name: "MasterBackendRole"))
882
+ SAMLOptionsInput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey"))
883
+ SAMLOptionsInput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey"))
884
+ SAMLOptionsInput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
885
+ SAMLOptionsInput.struct_class = Types::SAMLOptionsInput
886
+
887
+ SAMLOptionsOutput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
888
+ SAMLOptionsOutput.add_member(:idp, Shapes::ShapeRef.new(shape: SAMLIdp, location_name: "Idp"))
889
+ SAMLOptionsOutput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey"))
890
+ SAMLOptionsOutput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey"))
891
+ SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
892
+ SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
893
+
834
894
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
835
895
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
836
896
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -891,6 +951,15 @@ module Aws::ElasticsearchService
891
951
  UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
892
952
  UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
893
953
 
954
+ UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
955
+ UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
956
+ UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
957
+ UpdatePackageRequest.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
958
+ UpdatePackageRequest.struct_class = Types::UpdatePackageRequest
959
+
960
+ UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
961
+ UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
962
+
894
963
  UpgradeElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
895
964
  UpgradeElasticsearchDomainRequest.add_member(:target_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location_name: "TargetVersion"))
896
965
  UpgradeElasticsearchDomainRequest.add_member(:perform_check_only, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformCheckOnly"))
@@ -1265,6 +1334,25 @@ module Aws::ElasticsearchService
1265
1334
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1266
1335
  end)
1267
1336
 
1337
+ api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1338
+ o.name = "GetPackageVersionHistory"
1339
+ o.http_method = "GET"
1340
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}/history"
1341
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryRequest)
1342
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionHistoryResponse)
1343
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1344
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1348
+ o[:pager] = Aws::Pager.new(
1349
+ limit_key: "max_results",
1350
+ tokens: {
1351
+ "next_token" => "next_token"
1352
+ }
1353
+ )
1354
+ end)
1355
+
1268
1356
  api.add_operation(:get_upgrade_history, Seahorse::Model::Operation.new.tap do |o|
1269
1357
  o.name = "GetUpgradeHistory"
1270
1358
  o.http_method = "GET"
@@ -1454,6 +1542,20 @@ module Aws::ElasticsearchService
1454
1542
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1455
1543
  end)
1456
1544
 
1545
+ api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
1546
+ o.name = "UpdatePackage"
1547
+ o.http_method = "POST"
1548
+ o.http_request_uri = "/2015-01-01/packages/update"
1549
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageRequest)
1550
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageResponse)
1551
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1554
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1556
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1557
+ end)
1558
+
1457
1559
  api.add_operation(:upgrade_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
1458
1560
  o.name = "UpgradeElasticsearchDomain"
1459
1561
  o.http_method = "POST"
@@ -173,9 +173,14 @@ module Aws::ElasticsearchService
173
173
  # True if the internal user database is enabled.
174
174
  # @return [Boolean]
175
175
  #
176
+ # @!attribute [rw] saml_options
177
+ # Describes the SAML application configured for a domain.
178
+ # @return [Types::SAMLOptionsOutput]
179
+ #
176
180
  class AdvancedSecurityOptions < Struct.new(
177
181
  :enabled,
178
- :internal_user_database_enabled)
182
+ :internal_user_database_enabled,
183
+ :saml_options)
179
184
  SENSITIVE = []
180
185
  include Aws::Structure
181
186
  end
@@ -196,6 +201,18 @@ module Aws::ElasticsearchService
196
201
  # master_user_name: "Username",
197
202
  # master_user_password: "Password",
198
203
  # },
204
+ # saml_options: {
205
+ # enabled: false,
206
+ # idp: {
207
+ # metadata_content: "SAMLMetadata", # required
208
+ # entity_id: "SAMLEntityId", # required
209
+ # },
210
+ # master_user_name: "Username",
211
+ # master_backend_role: "BackendRole",
212
+ # subject_key: "String",
213
+ # roles_key: "String",
214
+ # session_timeout_minutes: 1,
215
+ # },
199
216
  # }
200
217
  #
201
218
  # @!attribute [rw] enabled
@@ -211,10 +228,15 @@ module Aws::ElasticsearchService
211
228
  # both.
212
229
  # @return [Types::MasterUserOptions]
213
230
  #
231
+ # @!attribute [rw] saml_options
232
+ # Specifies the SAML application configuration for the domain.
233
+ # @return [Types::SAMLOptionsInput]
234
+ #
214
235
  class AdvancedSecurityOptionsInput < Struct.new(
215
236
  :enabled,
216
237
  :internal_user_database_enabled,
217
- :master_user_options)
238
+ :master_user_options,
239
+ :saml_options)
218
240
  SENSITIVE = []
219
241
  include Aws::Structure
220
242
  end
@@ -470,6 +492,9 @@ module Aws::ElasticsearchService
470
492
  # domain_endpoint_options: {
471
493
  # enforce_https: false,
472
494
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
495
+ # custom_endpoint_enabled: false,
496
+ # custom_endpoint: "DomainNameFqdn",
497
+ # custom_endpoint_certificate_arn: "ARN",
473
498
  # },
474
499
  # advanced_security_options: {
475
500
  # enabled: false,
@@ -479,6 +504,18 @@ module Aws::ElasticsearchService
479
504
  # master_user_name: "Username",
480
505
  # master_user_password: "Password",
481
506
  # },
507
+ # saml_options: {
508
+ # enabled: false,
509
+ # idp: {
510
+ # metadata_content: "SAMLMetadata", # required
511
+ # entity_id: "SAMLEntityId", # required
512
+ # },
513
+ # master_user_name: "Username",
514
+ # master_backend_role: "BackendRole",
515
+ # subject_key: "String",
516
+ # roles_key: "String",
517
+ # session_timeout_minutes: 1,
518
+ # },
482
519
  # },
483
520
  # }
484
521
  #
@@ -1403,6 +1440,9 @@ module Aws::ElasticsearchService
1403
1440
  # {
1404
1441
  # enforce_https: false,
1405
1442
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
1443
+ # custom_endpoint_enabled: false,
1444
+ # custom_endpoint: "DomainNameFqdn",
1445
+ # custom_endpoint_certificate_arn: "ARN",
1406
1446
  # }
1407
1447
  #
1408
1448
  # @!attribute [rw] enforce_https
@@ -1420,9 +1460,25 @@ module Aws::ElasticsearchService
1420
1460
  # supports only TLSv1.2
1421
1461
  # @return [String]
1422
1462
  #
1463
+ # @!attribute [rw] custom_endpoint_enabled
1464
+ # Specify if custom endpoint should be enabled for the Elasticsearch
1465
+ # domain.
1466
+ # @return [Boolean]
1467
+ #
1468
+ # @!attribute [rw] custom_endpoint
1469
+ # Specify the fully qualified domain for your custom endpoint.
1470
+ # @return [String]
1471
+ #
1472
+ # @!attribute [rw] custom_endpoint_certificate_arn
1473
+ # Specify ACM certificate ARN for your custom endpoint.
1474
+ # @return [String]
1475
+ #
1423
1476
  class DomainEndpointOptions < Struct.new(
1424
1477
  :enforce_https,
1425
- :tls_security_policy)
1478
+ :tls_security_policy,
1479
+ :custom_endpoint_enabled,
1480
+ :custom_endpoint,
1481
+ :custom_endpoint_certificate_arn)
1426
1482
  SENSITIVE = []
1427
1483
  include Aws::Structure
1428
1484
  end
@@ -1513,6 +1569,9 @@ module Aws::ElasticsearchService
1513
1569
  # ASSOCIATING/ASSOCIATION\_FAILED/ACTIVE/DISSOCIATING/DISSOCIATION\_FAILED.
1514
1570
  # @return [String]
1515
1571
  #
1572
+ # @!attribute [rw] package_version
1573
+ # @return [String]
1574
+ #
1516
1575
  # @!attribute [rw] reference_path
1517
1576
  # The relative path on Amazon ES nodes, which can be used as
1518
1577
  # synonym\_path when the package is synonym file.
@@ -1530,6 +1589,7 @@ module Aws::ElasticsearchService
1530
1589
  :last_updated,
1531
1590
  :domain_name,
1532
1591
  :domain_package_status,
1592
+ :package_version,
1533
1593
  :reference_path,
1534
1594
  :error_details)
1535
1595
  SENSITIVE = []
@@ -2098,6 +2158,61 @@ module Aws::ElasticsearchService
2098
2158
  include Aws::Structure
2099
2159
  end
2100
2160
 
2161
+ # Container for request parameters to ` GetPackageVersionHistory `
2162
+ # operation.
2163
+ #
2164
+ # @note When making an API call, you may pass GetPackageVersionHistoryRequest
2165
+ # data as a hash:
2166
+ #
2167
+ # {
2168
+ # package_id: "PackageID", # required
2169
+ # max_results: 1,
2170
+ # next_token: "NextToken",
2171
+ # }
2172
+ #
2173
+ # @!attribute [rw] package_id
2174
+ # Returns an audit history of versions of the package.
2175
+ # @return [String]
2176
+ #
2177
+ # @!attribute [rw] max_results
2178
+ # Limits results to a maximum number of versions.
2179
+ # @return [Integer]
2180
+ #
2181
+ # @!attribute [rw] next_token
2182
+ # Used for pagination. Only necessary if a previous API call includes
2183
+ # a non-null NextToken value. If provided, returns results for the
2184
+ # next page.
2185
+ # @return [String]
2186
+ #
2187
+ class GetPackageVersionHistoryRequest < Struct.new(
2188
+ :package_id,
2189
+ :max_results,
2190
+ :next_token)
2191
+ SENSITIVE = []
2192
+ include Aws::Structure
2193
+ end
2194
+
2195
+ # Container for response returned by ` GetPackageVersionHistory `
2196
+ # operation.
2197
+ #
2198
+ # @!attribute [rw] package_id
2199
+ # @return [String]
2200
+ #
2201
+ # @!attribute [rw] package_version_history_list
2202
+ # List of `PackageVersionHistory` objects.
2203
+ # @return [Array<Types::PackageVersionHistory>]
2204
+ #
2205
+ # @!attribute [rw] next_token
2206
+ # @return [String]
2207
+ #
2208
+ class GetPackageVersionHistoryResponse < Struct.new(
2209
+ :package_id,
2210
+ :package_version_history_list,
2211
+ :next_token)
2212
+ SENSITIVE = []
2213
+ include Aws::Structure
2214
+ end
2215
+
2101
2216
  # Container for request parameters to ` GetUpgradeHistory ` operation.
2102
2217
  #
2103
2218
  # @note When making an API call, you may pass GetUpgradeHistoryRequest
@@ -2869,6 +2984,12 @@ module Aws::ElasticsearchService
2869
2984
  # Timestamp which tells creation date of the package.
2870
2985
  # @return [Time]
2871
2986
  #
2987
+ # @!attribute [rw] last_updated_at
2988
+ # @return [Time]
2989
+ #
2990
+ # @!attribute [rw] available_package_version
2991
+ # @return [String]
2992
+ #
2872
2993
  # @!attribute [rw] error_details
2873
2994
  # Additional information if the package is in an error state. Null
2874
2995
  # otherwise.
@@ -2881,6 +3002,8 @@ module Aws::ElasticsearchService
2881
3002
  :package_description,
2882
3003
  :package_status,
2883
3004
  :created_at,
3005
+ :last_updated_at,
3006
+ :available_package_version,
2884
3007
  :error_details)
2885
3008
  SENSITIVE = []
2886
3009
  include Aws::Structure
@@ -2912,6 +3035,28 @@ module Aws::ElasticsearchService
2912
3035
  include Aws::Structure
2913
3036
  end
2914
3037
 
3038
+ # Details of a package version.
3039
+ #
3040
+ # @!attribute [rw] package_version
3041
+ # Version of the package.
3042
+ # @return [String]
3043
+ #
3044
+ # @!attribute [rw] commit_message
3045
+ # A message associated with the version.
3046
+ # @return [String]
3047
+ #
3048
+ # @!attribute [rw] created_at
3049
+ # Timestamp which tells creation time of the package version.
3050
+ # @return [Time]
3051
+ #
3052
+ class PackageVersionHistory < Struct.new(
3053
+ :package_version,
3054
+ :commit_message,
3055
+ :created_at)
3056
+ SENSITIVE = []
3057
+ include Aws::Structure
3058
+ end
3059
+
2915
3060
  # Container for parameters to
2916
3061
  # `PurchaseReservedElasticsearchInstanceOffering`
2917
3062
  #
@@ -3184,6 +3329,125 @@ module Aws::ElasticsearchService
3184
3329
  #
3185
3330
  class ResourceNotFoundException < Aws::EmptyStructure; end
3186
3331
 
3332
+ # Specifies the SAML Identity Provider's information.
3333
+ #
3334
+ # @note When making an API call, you may pass SAMLIdp
3335
+ # data as a hash:
3336
+ #
3337
+ # {
3338
+ # metadata_content: "SAMLMetadata", # required
3339
+ # entity_id: "SAMLEntityId", # required
3340
+ # }
3341
+ #
3342
+ # @!attribute [rw] metadata_content
3343
+ # The Metadata of the SAML application in xml format.
3344
+ # @return [String]
3345
+ #
3346
+ # @!attribute [rw] entity_id
3347
+ # The unique Entity ID of the application in SAML Identity Provider.
3348
+ # @return [String]
3349
+ #
3350
+ class SAMLIdp < Struct.new(
3351
+ :metadata_content,
3352
+ :entity_id)
3353
+ SENSITIVE = []
3354
+ include Aws::Structure
3355
+ end
3356
+
3357
+ # Specifies the SAML application configuration for the domain.
3358
+ #
3359
+ # @note When making an API call, you may pass SAMLOptionsInput
3360
+ # data as a hash:
3361
+ #
3362
+ # {
3363
+ # enabled: false,
3364
+ # idp: {
3365
+ # metadata_content: "SAMLMetadata", # required
3366
+ # entity_id: "SAMLEntityId", # required
3367
+ # },
3368
+ # master_user_name: "Username",
3369
+ # master_backend_role: "BackendRole",
3370
+ # subject_key: "String",
3371
+ # roles_key: "String",
3372
+ # session_timeout_minutes: 1,
3373
+ # }
3374
+ #
3375
+ # @!attribute [rw] enabled
3376
+ # True if SAML is enabled.
3377
+ # @return [Boolean]
3378
+ #
3379
+ # @!attribute [rw] idp
3380
+ # Specifies the SAML Identity Provider's information.
3381
+ # @return [Types::SAMLIdp]
3382
+ #
3383
+ # @!attribute [rw] master_user_name
3384
+ # The SAML master username, which is stored in the Amazon
3385
+ # Elasticsearch Service domain's internal database.
3386
+ # @return [String]
3387
+ #
3388
+ # @!attribute [rw] master_backend_role
3389
+ # The backend role to which the SAML master user is mapped to.
3390
+ # @return [String]
3391
+ #
3392
+ # @!attribute [rw] subject_key
3393
+ # The key to use for matching the SAML Subject attribute.
3394
+ # @return [String]
3395
+ #
3396
+ # @!attribute [rw] roles_key
3397
+ # The key to use for matching the SAML Roles attribute.
3398
+ # @return [String]
3399
+ #
3400
+ # @!attribute [rw] session_timeout_minutes
3401
+ # The duration, in minutes, after which a user session becomes
3402
+ # inactive. Acceptable values are between 1 and 1440, and the default
3403
+ # value is 60.
3404
+ # @return [Integer]
3405
+ #
3406
+ class SAMLOptionsInput < Struct.new(
3407
+ :enabled,
3408
+ :idp,
3409
+ :master_user_name,
3410
+ :master_backend_role,
3411
+ :subject_key,
3412
+ :roles_key,
3413
+ :session_timeout_minutes)
3414
+ SENSITIVE = [:master_user_name]
3415
+ include Aws::Structure
3416
+ end
3417
+
3418
+ # Describes the SAML application configured for the domain.
3419
+ #
3420
+ # @!attribute [rw] enabled
3421
+ # True if SAML is enabled.
3422
+ # @return [Boolean]
3423
+ #
3424
+ # @!attribute [rw] idp
3425
+ # Describes the SAML Identity Provider's information.
3426
+ # @return [Types::SAMLIdp]
3427
+ #
3428
+ # @!attribute [rw] subject_key
3429
+ # The key used for matching the SAML Subject attribute.
3430
+ # @return [String]
3431
+ #
3432
+ # @!attribute [rw] roles_key
3433
+ # The key used for matching the SAML Roles attribute.
3434
+ # @return [String]
3435
+ #
3436
+ # @!attribute [rw] session_timeout_minutes
3437
+ # The duration, in minutes, after which a user session becomes
3438
+ # inactive.
3439
+ # @return [Integer]
3440
+ #
3441
+ class SAMLOptionsOutput < Struct.new(
3442
+ :enabled,
3443
+ :idp,
3444
+ :subject_key,
3445
+ :roles_key,
3446
+ :session_timeout_minutes)
3447
+ SENSITIVE = []
3448
+ include Aws::Structure
3449
+ end
3450
+
3187
3451
  # The current options of an Elasticsearch domain service software
3188
3452
  # options.
3189
3453
  #
@@ -3456,6 +3720,9 @@ module Aws::ElasticsearchService
3456
3720
  # domain_endpoint_options: {
3457
3721
  # enforce_https: false,
3458
3722
  # tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
3723
+ # custom_endpoint_enabled: false,
3724
+ # custom_endpoint: "DomainNameFqdn",
3725
+ # custom_endpoint_certificate_arn: "ARN",
3459
3726
  # },
3460
3727
  # advanced_security_options: {
3461
3728
  # enabled: false,
@@ -3465,6 +3732,18 @@ module Aws::ElasticsearchService
3465
3732
  # master_user_name: "Username",
3466
3733
  # master_user_password: "Password",
3467
3734
  # },
3735
+ # saml_options: {
3736
+ # enabled: false,
3737
+ # idp: {
3738
+ # metadata_content: "SAMLMetadata", # required
3739
+ # entity_id: "SAMLEntityId", # required
3740
+ # },
3741
+ # master_user_name: "Username",
3742
+ # master_backend_role: "BackendRole",
3743
+ # subject_key: "String",
3744
+ # roles_key: "String",
3745
+ # session_timeout_minutes: 1,
3746
+ # },
3468
3747
  # },
3469
3748
  # }
3470
3749
  #
@@ -3564,6 +3843,60 @@ module Aws::ElasticsearchService
3564
3843
  include Aws::Structure
3565
3844
  end
3566
3845
 
3846
+ # Container for request parameters to ` UpdatePackage ` operation.
3847
+ #
3848
+ # @note When making an API call, you may pass UpdatePackageRequest
3849
+ # data as a hash:
3850
+ #
3851
+ # {
3852
+ # package_id: "PackageID", # required
3853
+ # package_source: { # required
3854
+ # s3_bucket_name: "S3BucketName",
3855
+ # s3_key: "S3Key",
3856
+ # },
3857
+ # package_description: "PackageDescription",
3858
+ # commit_message: "CommitMessage",
3859
+ # }
3860
+ #
3861
+ # @!attribute [rw] package_id
3862
+ # Unique identifier for the package.
3863
+ # @return [String]
3864
+ #
3865
+ # @!attribute [rw] package_source
3866
+ # The S3 location for importing the package specified as
3867
+ # `S3BucketName` and `S3Key`
3868
+ # @return [Types::PackageSource]
3869
+ #
3870
+ # @!attribute [rw] package_description
3871
+ # New description of the package.
3872
+ # @return [String]
3873
+ #
3874
+ # @!attribute [rw] commit_message
3875
+ # An info message for the new version which will be shown as part of
3876
+ # `GetPackageVersionHistoryResponse`.
3877
+ # @return [String]
3878
+ #
3879
+ class UpdatePackageRequest < Struct.new(
3880
+ :package_id,
3881
+ :package_source,
3882
+ :package_description,
3883
+ :commit_message)
3884
+ SENSITIVE = []
3885
+ include Aws::Structure
3886
+ end
3887
+
3888
+ # Container for response returned by ` UpdatePackage ` operation.
3889
+ #
3890
+ # @!attribute [rw] package_details
3891
+ # Information about the package `PackageDetails`.
3892
+ # @return [Types::PackageDetails]
3893
+ #
3894
+ class UpdatePackageResponse < Struct.new(
3895
+ :package_details)
3896
+ SENSITIVE = []
3897
+ include Aws::Structure
3898
+ end
3899
+
3567
3900
  # Container for request parameters to ` UpgradeElasticsearchDomain `
3568
3901
  # operation.
3569
3902
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.46.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: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement