aws-sdk-elasticsearchservice 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 004206072f3b830908d5d55d38b840e47493c7a0446f962d7614507d563a3ac0
4
- data.tar.gz: ce7926f710c665858ee5088fd0bcf7995fa5995ed86d55b951fda56d7ec0006b
2
+ SHA1:
3
+ metadata.gz: e5216afb691bac3ea5145b14ccc77d008fc5e115
4
+ data.tar.gz: 4c4c6bc3f786a4a4e3769c19b816c65d192723ff
5
5
  SHA512:
6
- metadata.gz: c040b723ad1bfd362c3f66f43f0639a0349e3cf45b28643b06ed5178c2f623a35c0a4ff6868575954b4824f407a3c598ee4038863c2d0bd7d57c7f3c1f0f1f97
7
- data.tar.gz: 25360d137cefadb9c7abf14b4120a2ede632b1c13df4737c9ee648f0afb2bae4e4cc51c38e5a585f6c933166a58bacd2fb4098be076a0ea4f96b2e88e28465cd
6
+ metadata.gz: e34c4a1317d6113ec63553c6031b18987423469e998566e152dfe4c1e110846f3c7b374528b53fb95065ef631e37a59c9634dd17d492a76020947b95874940bb
7
+ data.tar.gz: 9a15112b0f84f554cc898bd4424384aa80f4b5cb3a4f1df9a06e93cf88d7edb871b783e70195358a9c848075f26366b0463c04e31833d69b3e69a12d1cce67dd
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
45
45
  # @service
46
46
  module Aws::ElasticsearchService
47
47
 
48
- GEM_VERSION = '1.31.0'
48
+ GEM_VERSION = '1.32.0'
49
49
 
50
50
  end
@@ -269,8 +269,7 @@ module Aws::ElasticsearchService
269
269
  #
270
270
  # @option options [Integer] :http_read_timeout (60) The default
271
271
  # number of seconds to wait for response data. This value can
272
- # safely be set
273
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
274
273
  #
275
274
  # @option options [Float] :http_idle_timeout (5) The number of
276
275
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +281,7 @@ module Aws::ElasticsearchService
282
281
  # request body. This option has no effect unless the request has
283
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
283
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
286
285
  #
287
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
287
  # HTTP debug output will be sent to the `:logger`.
@@ -345,6 +344,45 @@ module Aws::ElasticsearchService
345
344
  req.send_request(options)
346
345
  end
347
346
 
347
+ # Associates a package with an Amazon ES domain.
348
+ #
349
+ # @option params [required, String] :package_id
350
+ # Internal ID of the package that you want to associate with a domain.
351
+ # Use `DescribePackages` to find this value.
352
+ #
353
+ # @option params [required, String] :domain_name
354
+ # Name of the domain that you want to associate the package with.
355
+ #
356
+ # @return [Types::AssociatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
357
+ #
358
+ # * {Types::AssociatePackageResponse#domain_package_details #domain_package_details} => Types::DomainPackageDetails
359
+ #
360
+ # @example Request syntax with placeholder values
361
+ #
362
+ # resp = client.associate_package({
363
+ # package_id: "PackageID", # required
364
+ # domain_name: "DomainName", # required
365
+ # })
366
+ #
367
+ # @example Response structure
368
+ #
369
+ # resp.domain_package_details.package_id #=> String
370
+ # resp.domain_package_details.package_name #=> String
371
+ # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
372
+ # resp.domain_package_details.last_updated #=> Time
373
+ # resp.domain_package_details.domain_name #=> String
374
+ # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
375
+ # resp.domain_package_details.reference_path #=> String
376
+ # resp.domain_package_details.error_details.error_type #=> String
377
+ # resp.domain_package_details.error_details.error_message #=> String
378
+ #
379
+ # @overload associate_package(params = {})
380
+ # @param [Hash] params ({})
381
+ def associate_package(params = {}, options = {})
382
+ req = build_request(:associate_package, params)
383
+ req.send_request(options)
384
+ end
385
+
348
386
  # Cancels a scheduled service software update for an Amazon ES domain.
349
387
  # You can only perform this operation before the `AutomatedUpdateDate`
350
388
  # and when the `UpdateStatus` is in the `PENDING_UPDATE` state.
@@ -606,6 +644,54 @@ module Aws::ElasticsearchService
606
644
  req.send_request(options)
607
645
  end
608
646
 
647
+ # Create a package for use with Amazon ES domains.
648
+ #
649
+ # @option params [required, String] :package_name
650
+ # Unique identifier for the package.
651
+ #
652
+ # @option params [required, String] :package_type
653
+ # Type of package. Currently supports only TXT-DICTIONARY.
654
+ #
655
+ # @option params [String] :package_description
656
+ # Description of the package.
657
+ #
658
+ # @option params [required, Types::PackageSource] :package_source
659
+ # The customer S3 location `PackageSource` for importing the package.
660
+ #
661
+ # @return [Types::CreatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
662
+ #
663
+ # * {Types::CreatePackageResponse#package_details #package_details} => Types::PackageDetails
664
+ #
665
+ # @example Request syntax with placeholder values
666
+ #
667
+ # resp = client.create_package({
668
+ # package_name: "PackageName", # required
669
+ # package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY
670
+ # package_description: "PackageDescription",
671
+ # package_source: { # required
672
+ # s3_bucket_name: "S3BucketName",
673
+ # s3_key: "S3Key",
674
+ # },
675
+ # })
676
+ #
677
+ # @example Response structure
678
+ #
679
+ # resp.package_details.package_id #=> String
680
+ # resp.package_details.package_name #=> String
681
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
682
+ # resp.package_details.package_description #=> String
683
+ # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
684
+ # resp.package_details.created_at #=> Time
685
+ # resp.package_details.error_details.error_type #=> String
686
+ # resp.package_details.error_details.error_message #=> String
687
+ #
688
+ # @overload create_package(params = {})
689
+ # @param [Hash] params ({})
690
+ def create_package(params = {}, options = {})
691
+ req = build_request(:create_package, params)
692
+ req.send_request(options)
693
+ end
694
+
609
695
  # Permanently deletes the specified Elasticsearch domain and all of its
610
696
  # data. Once a domain is deleted, it cannot be recovered.
611
697
  #
@@ -710,6 +796,40 @@ module Aws::ElasticsearchService
710
796
  req.send_request(options)
711
797
  end
712
798
 
799
+ # Delete the package.
800
+ #
801
+ # @option params [required, String] :package_id
802
+ # Internal ID of the package that you want to delete. Use
803
+ # `DescribePackages` to find this value.
804
+ #
805
+ # @return [Types::DeletePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
806
+ #
807
+ # * {Types::DeletePackageResponse#package_details #package_details} => Types::PackageDetails
808
+ #
809
+ # @example Request syntax with placeholder values
810
+ #
811
+ # resp = client.delete_package({
812
+ # package_id: "PackageID", # required
813
+ # })
814
+ #
815
+ # @example Response structure
816
+ #
817
+ # resp.package_details.package_id #=> String
818
+ # resp.package_details.package_name #=> String
819
+ # resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
820
+ # resp.package_details.package_description #=> String
821
+ # resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
822
+ # resp.package_details.created_at #=> Time
823
+ # resp.package_details.error_details.error_type #=> String
824
+ # resp.package_details.error_details.error_message #=> String
825
+ #
826
+ # @overload delete_package(params = {})
827
+ # @param [Hash] params ({})
828
+ def delete_package(params = {}, options = {})
829
+ req = build_request(:delete_package, params)
830
+ req.send_request(options)
831
+ end
832
+
713
833
  # Returns domain configuration information about the specified
714
834
  # Elasticsearch domain, including the domain ID, domain endpoint, and
715
835
  # domain ARN.
@@ -1063,6 +1183,61 @@ module Aws::ElasticsearchService
1063
1183
  req.send_request(options)
1064
1184
  end
1065
1185
 
1186
+ # Describes all packages available to Amazon ES. Includes options for
1187
+ # filtering, limiting the number of results, and pagination.
1188
+ #
1189
+ # @option params [Array<Types::DescribePackagesFilter>] :filters
1190
+ # Only returns packages that match the `DescribePackagesFilterList`
1191
+ # values.
1192
+ #
1193
+ # @option params [Integer] :max_results
1194
+ # Limits results to a maximum number of packages.
1195
+ #
1196
+ # @option params [String] :next_token
1197
+ # Used for pagination. Only necessary if a previous API call includes a
1198
+ # non-null NextToken value. If provided, returns results for the next
1199
+ # page.
1200
+ #
1201
+ # @return [Types::DescribePackagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1202
+ #
1203
+ # * {Types::DescribePackagesResponse#package_details_list #package_details_list} => Array&lt;Types::PackageDetails&gt;
1204
+ # * {Types::DescribePackagesResponse#next_token #next_token} => String
1205
+ #
1206
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1207
+ #
1208
+ # @example Request syntax with placeholder values
1209
+ #
1210
+ # resp = client.describe_packages({
1211
+ # filters: [
1212
+ # {
1213
+ # name: "PackageID", # accepts PackageID, PackageName, PackageStatus
1214
+ # value: ["DescribePackagesFilterValue"],
1215
+ # },
1216
+ # ],
1217
+ # max_results: 1,
1218
+ # next_token: "NextToken",
1219
+ # })
1220
+ #
1221
+ # @example Response structure
1222
+ #
1223
+ # resp.package_details_list #=> Array
1224
+ # resp.package_details_list[0].package_id #=> String
1225
+ # resp.package_details_list[0].package_name #=> String
1226
+ # resp.package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
1227
+ # resp.package_details_list[0].package_description #=> String
1228
+ # resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
1229
+ # resp.package_details_list[0].created_at #=> Time
1230
+ # resp.package_details_list[0].error_details.error_type #=> String
1231
+ # resp.package_details_list[0].error_details.error_message #=> String
1232
+ # resp.next_token #=> String
1233
+ #
1234
+ # @overload describe_packages(params = {})
1235
+ # @param [Hash] params ({})
1236
+ def describe_packages(params = {}, options = {})
1237
+ req = build_request(:describe_packages, params)
1238
+ req.send_request(options)
1239
+ end
1240
+
1066
1241
  # Lists available reserved Elasticsearch instance offerings.
1067
1242
  #
1068
1243
  # @option params [String] :reserved_elasticsearch_instance_offering_id
@@ -1083,6 +1258,8 @@ module Aws::ElasticsearchService
1083
1258
  # * {Types::DescribeReservedElasticsearchInstanceOfferingsResponse#next_token #next_token} => String
1084
1259
  # * {Types::DescribeReservedElasticsearchInstanceOfferingsResponse#reserved_elasticsearch_instance_offerings #reserved_elasticsearch_instance_offerings} => Array&lt;Types::ReservedElasticsearchInstanceOffering&gt;
1085
1260
  #
1261
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1262
+ #
1086
1263
  # @example Request syntax with placeholder values
1087
1264
  #
1088
1265
  # resp = client.describe_reserved_elasticsearch_instance_offerings({
@@ -1134,6 +1311,8 @@ module Aws::ElasticsearchService
1134
1311
  # * {Types::DescribeReservedElasticsearchInstancesResponse#next_token #next_token} => String
1135
1312
  # * {Types::DescribeReservedElasticsearchInstancesResponse#reserved_elasticsearch_instances #reserved_elasticsearch_instances} => Array&lt;Types::ReservedElasticsearchInstance&gt;
1136
1313
  #
1314
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1315
+ #
1137
1316
  # @example Request syntax with placeholder values
1138
1317
  #
1139
1318
  # resp = client.describe_reserved_elasticsearch_instances({
@@ -1169,6 +1348,45 @@ module Aws::ElasticsearchService
1169
1348
  req.send_request(options)
1170
1349
  end
1171
1350
 
1351
+ # Dissociates a package from the Amazon ES domain.
1352
+ #
1353
+ # @option params [required, String] :package_id
1354
+ # Internal ID of the package that you want to associate with a domain.
1355
+ # Use `DescribePackages` to find this value.
1356
+ #
1357
+ # @option params [required, String] :domain_name
1358
+ # Name of the domain that you want to associate the package with.
1359
+ #
1360
+ # @return [Types::DissociatePackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1361
+ #
1362
+ # * {Types::DissociatePackageResponse#domain_package_details #domain_package_details} => Types::DomainPackageDetails
1363
+ #
1364
+ # @example Request syntax with placeholder values
1365
+ #
1366
+ # resp = client.dissociate_package({
1367
+ # package_id: "PackageID", # required
1368
+ # domain_name: "DomainName", # required
1369
+ # })
1370
+ #
1371
+ # @example Response structure
1372
+ #
1373
+ # resp.domain_package_details.package_id #=> String
1374
+ # resp.domain_package_details.package_name #=> String
1375
+ # resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
1376
+ # resp.domain_package_details.last_updated #=> Time
1377
+ # resp.domain_package_details.domain_name #=> String
1378
+ # resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1379
+ # resp.domain_package_details.reference_path #=> String
1380
+ # resp.domain_package_details.error_details.error_type #=> String
1381
+ # resp.domain_package_details.error_details.error_message #=> String
1382
+ #
1383
+ # @overload dissociate_package(params = {})
1384
+ # @param [Hash] params ({})
1385
+ def dissociate_package(params = {}, options = {})
1386
+ req = build_request(:dissociate_package, params)
1387
+ req.send_request(options)
1388
+ end
1389
+
1172
1390
  # Returns a list of upgrade compatible Elastisearch versions. You can
1173
1391
  # optionally pass a ` DomainName ` to get all upgrade compatible
1174
1392
  # Elasticsearch versions for that specific domain.
@@ -1225,6 +1443,8 @@ module Aws::ElasticsearchService
1225
1443
  # * {Types::GetUpgradeHistoryResponse#upgrade_histories #upgrade_histories} => Array&lt;Types::UpgradeHistory&gt;
1226
1444
  # * {Types::GetUpgradeHistoryResponse#next_token #next_token} => String
1227
1445
  #
1446
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1447
+ #
1228
1448
  # @example Request syntax with placeholder values
1229
1449
  #
1230
1450
  # resp = client.get_upgrade_history({
@@ -1307,6 +1527,55 @@ module Aws::ElasticsearchService
1307
1527
  req.send_request(options)
1308
1528
  end
1309
1529
 
1530
+ # Lists all Amazon ES domains associated with the package.
1531
+ #
1532
+ # @option params [required, String] :package_id
1533
+ # The package for which to list domains.
1534
+ #
1535
+ # @option params [Integer] :max_results
1536
+ # Limits results to a maximum number of domains.
1537
+ #
1538
+ # @option params [String] :next_token
1539
+ # Used for pagination. Only necessary if a previous API call includes a
1540
+ # non-null NextToken value. If provided, returns results for the next
1541
+ # page.
1542
+ #
1543
+ # @return [Types::ListDomainsForPackageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1544
+ #
1545
+ # * {Types::ListDomainsForPackageResponse#domain_package_details_list #domain_package_details_list} => Array&lt;Types::DomainPackageDetails&gt;
1546
+ # * {Types::ListDomainsForPackageResponse#next_token #next_token} => String
1547
+ #
1548
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1549
+ #
1550
+ # @example Request syntax with placeholder values
1551
+ #
1552
+ # resp = client.list_domains_for_package({
1553
+ # package_id: "PackageID", # required
1554
+ # max_results: 1,
1555
+ # next_token: "NextToken",
1556
+ # })
1557
+ #
1558
+ # @example Response structure
1559
+ #
1560
+ # resp.domain_package_details_list #=> Array
1561
+ # resp.domain_package_details_list[0].package_id #=> String
1562
+ # resp.domain_package_details_list[0].package_name #=> String
1563
+ # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
1564
+ # resp.domain_package_details_list[0].last_updated #=> Time
1565
+ # resp.domain_package_details_list[0].domain_name #=> String
1566
+ # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1567
+ # resp.domain_package_details_list[0].reference_path #=> String
1568
+ # resp.domain_package_details_list[0].error_details.error_type #=> String
1569
+ # resp.domain_package_details_list[0].error_details.error_message #=> String
1570
+ # resp.next_token #=> String
1571
+ #
1572
+ # @overload list_domains_for_package(params = {})
1573
+ # @param [Hash] params ({})
1574
+ def list_domains_for_package(params = {}, options = {})
1575
+ req = build_request(:list_domains_for_package, params)
1576
+ req.send_request(options)
1577
+ end
1578
+
1310
1579
  # List all Elasticsearch instance types that are supported for given
1311
1580
  # ElasticsearchVersion
1312
1581
  #
@@ -1332,6 +1601,8 @@ module Aws::ElasticsearchService
1332
1601
  # * {Types::ListElasticsearchInstanceTypesResponse#elasticsearch_instance_types #elasticsearch_instance_types} => Array&lt;String&gt;
1333
1602
  # * {Types::ListElasticsearchInstanceTypesResponse#next_token #next_token} => String
1334
1603
  #
1604
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1605
+ #
1335
1606
  # @example Request syntax with placeholder values
1336
1607
  #
1337
1608
  # resp = client.list_elasticsearch_instance_types({
@@ -1370,6 +1641,8 @@ module Aws::ElasticsearchService
1370
1641
  # * {Types::ListElasticsearchVersionsResponse#elasticsearch_versions #elasticsearch_versions} => Array&lt;String&gt;
1371
1642
  # * {Types::ListElasticsearchVersionsResponse#next_token #next_token} => String
1372
1643
  #
1644
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1645
+ #
1373
1646
  # @example Request syntax with placeholder values
1374
1647
  #
1375
1648
  # resp = client.list_elasticsearch_versions({
@@ -1390,6 +1663,55 @@ module Aws::ElasticsearchService
1390
1663
  req.send_request(options)
1391
1664
  end
1392
1665
 
1666
+ # Lists all packages associated with the Amazon ES domain.
1667
+ #
1668
+ # @option params [required, String] :domain_name
1669
+ # The name of the domain for which you want to list associated packages.
1670
+ #
1671
+ # @option params [Integer] :max_results
1672
+ # Limits results to a maximum number of packages.
1673
+ #
1674
+ # @option params [String] :next_token
1675
+ # Used for pagination. Only necessary if a previous API call includes a
1676
+ # non-null NextToken value. If provided, returns results for the next
1677
+ # page.
1678
+ #
1679
+ # @return [Types::ListPackagesForDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1680
+ #
1681
+ # * {Types::ListPackagesForDomainResponse#domain_package_details_list #domain_package_details_list} => Array&lt;Types::DomainPackageDetails&gt;
1682
+ # * {Types::ListPackagesForDomainResponse#next_token #next_token} => String
1683
+ #
1684
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1685
+ #
1686
+ # @example Request syntax with placeholder values
1687
+ #
1688
+ # resp = client.list_packages_for_domain({
1689
+ # domain_name: "DomainName", # required
1690
+ # max_results: 1,
1691
+ # next_token: "NextToken",
1692
+ # })
1693
+ #
1694
+ # @example Response structure
1695
+ #
1696
+ # resp.domain_package_details_list #=> Array
1697
+ # resp.domain_package_details_list[0].package_id #=> String
1698
+ # resp.domain_package_details_list[0].package_name #=> String
1699
+ # resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
1700
+ # resp.domain_package_details_list[0].last_updated #=> Time
1701
+ # resp.domain_package_details_list[0].domain_name #=> String
1702
+ # resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
1703
+ # resp.domain_package_details_list[0].reference_path #=> String
1704
+ # resp.domain_package_details_list[0].error_details.error_type #=> String
1705
+ # resp.domain_package_details_list[0].error_details.error_message #=> String
1706
+ # resp.next_token #=> String
1707
+ #
1708
+ # @overload list_packages_for_domain(params = {})
1709
+ # @param [Hash] params ({})
1710
+ def list_packages_for_domain(params = {}, options = {})
1711
+ req = build_request(:list_packages_for_domain, params)
1712
+ req.send_request(options)
1713
+ end
1714
+
1393
1715
  # Returns all tags for the given Elasticsearch domain.
1394
1716
  #
1395
1717
  # @option params [required, String] :arn
@@ -1813,7 +2135,7 @@ module Aws::ElasticsearchService
1813
2135
  params: params,
1814
2136
  config: config)
1815
2137
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
1816
- context[:gem_version] = '1.31.0'
2138
+ context[:gem_version] = '1.32.0'
1817
2139
  Seahorse::Client::Request.new(handlers, context)
1818
2140
  end
1819
2141
 
@@ -12,6 +12,7 @@ module Aws::ElasticsearchService
12
12
  include Seahorse::Model
13
13
 
14
14
  ARN = Shapes::StringShape.new(name: 'ARN')
15
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
16
  AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
16
17
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
17
18
  AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
@@ -21,6 +22,8 @@ module Aws::ElasticsearchService
21
22
  AdvancedSecurityOptions = Shapes::StructureShape.new(name: 'AdvancedSecurityOptions')
22
23
  AdvancedSecurityOptionsInput = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsInput')
23
24
  AdvancedSecurityOptionsStatus = Shapes::StructureShape.new(name: 'AdvancedSecurityOptionsStatus')
25
+ AssociatePackageRequest = Shapes::StructureShape.new(name: 'AssociatePackageRequest')
26
+ AssociatePackageResponse = Shapes::StructureShape.new(name: 'AssociatePackageResponse')
24
27
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
25
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
29
  CancelElasticsearchServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'CancelElasticsearchServiceSoftwareUpdateRequest')
@@ -30,10 +33,16 @@ module Aws::ElasticsearchService
30
33
  CognitoOptionsStatus = Shapes::StructureShape.new(name: 'CognitoOptionsStatus')
31
34
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
32
35
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
36
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
33
37
  CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
34
38
  CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
39
+ CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
40
+ CreatePackageResponse = Shapes::StructureShape.new(name: 'CreatePackageResponse')
41
+ CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
35
42
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
36
43
  DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
44
+ DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
45
+ DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
37
46
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
38
47
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
39
48
  DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
@@ -44,11 +53,20 @@ module Aws::ElasticsearchService
44
53
  DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
45
54
  DescribeElasticsearchInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsRequest')
46
55
  DescribeElasticsearchInstanceTypeLimitsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsResponse')
56
+ DescribePackagesFilter = Shapes::StructureShape.new(name: 'DescribePackagesFilter')
57
+ DescribePackagesFilterList = Shapes::ListShape.new(name: 'DescribePackagesFilterList')
58
+ DescribePackagesFilterName = Shapes::StringShape.new(name: 'DescribePackagesFilterName')
59
+ DescribePackagesFilterValue = Shapes::StringShape.new(name: 'DescribePackagesFilterValue')
60
+ DescribePackagesFilterValues = Shapes::ListShape.new(name: 'DescribePackagesFilterValues')
61
+ DescribePackagesRequest = Shapes::StructureShape.new(name: 'DescribePackagesRequest')
62
+ DescribePackagesResponse = Shapes::StructureShape.new(name: 'DescribePackagesResponse')
47
63
  DescribeReservedElasticsearchInstanceOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstanceOfferingsRequest')
48
64
  DescribeReservedElasticsearchInstanceOfferingsResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstanceOfferingsResponse')
49
65
  DescribeReservedElasticsearchInstancesRequest = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesRequest')
50
66
  DescribeReservedElasticsearchInstancesResponse = Shapes::StructureShape.new(name: 'DescribeReservedElasticsearchInstancesResponse')
51
67
  DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
68
+ DissociatePackageRequest = Shapes::StructureShape.new(name: 'DissociatePackageRequest')
69
+ DissociatePackageResponse = Shapes::StructureShape.new(name: 'DissociatePackageResponse')
52
70
  DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
53
71
  DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
54
72
  DomainId = Shapes::StringShape.new(name: 'DomainId')
@@ -56,6 +74,9 @@ module Aws::ElasticsearchService
56
74
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
57
75
  DomainName = Shapes::StringShape.new(name: 'DomainName')
58
76
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
77
+ DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
78
+ DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
79
+ DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
59
80
  Double = Shapes::FloatShape.new(name: 'Double')
60
81
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
61
82
  EBSOptionsStatus = Shapes::StructureShape.new(name: 'EBSOptionsStatus')
@@ -73,7 +94,9 @@ module Aws::ElasticsearchService
73
94
  EncryptionAtRestOptions = Shapes::StructureShape.new(name: 'EncryptionAtRestOptions')
74
95
  EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
75
96
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
97
+ ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
76
98
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
99
+ ErrorType = Shapes::StringShape.new(name: 'ErrorType')
77
100
  GUID = Shapes::StringShape.new(name: 'GUID')
78
101
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
79
102
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
@@ -93,6 +116,7 @@ module Aws::ElasticsearchService
93
116
  Issue = Shapes::StringShape.new(name: 'Issue')
94
117
  Issues = Shapes::ListShape.new(name: 'Issues')
95
118
  KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
119
+ LastUpdated = Shapes::TimestampShape.new(name: 'LastUpdated')
96
120
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
97
121
  LimitName = Shapes::StringShape.new(name: 'LimitName')
98
122
  LimitValue = Shapes::StringShape.new(name: 'LimitValue')
@@ -100,10 +124,14 @@ module Aws::ElasticsearchService
100
124
  Limits = Shapes::StructureShape.new(name: 'Limits')
101
125
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
102
126
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
127
+ ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
128
+ ListDomainsForPackageResponse = Shapes::StructureShape.new(name: 'ListDomainsForPackageResponse')
103
129
  ListElasticsearchInstanceTypesRequest = Shapes::StructureShape.new(name: 'ListElasticsearchInstanceTypesRequest')
104
130
  ListElasticsearchInstanceTypesResponse = Shapes::StructureShape.new(name: 'ListElasticsearchInstanceTypesResponse')
105
131
  ListElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'ListElasticsearchVersionsRequest')
106
132
  ListElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'ListElasticsearchVersionsResponse')
133
+ ListPackagesForDomainRequest = Shapes::StructureShape.new(name: 'ListPackagesForDomainRequest')
134
+ ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
107
135
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
108
136
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
109
137
  LogPublishingOption = Shapes::StructureShape.new(name: 'LogPublishingOption')
@@ -119,12 +147,21 @@ module Aws::ElasticsearchService
119
147
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
120
148
  OptionState = Shapes::StringShape.new(name: 'OptionState')
121
149
  OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
150
+ PackageDescription = Shapes::StringShape.new(name: 'PackageDescription')
151
+ PackageDetails = Shapes::StructureShape.new(name: 'PackageDetails')
152
+ PackageDetailsList = Shapes::ListShape.new(name: 'PackageDetailsList')
153
+ PackageID = Shapes::StringShape.new(name: 'PackageID')
154
+ PackageName = Shapes::StringShape.new(name: 'PackageName')
155
+ PackageSource = Shapes::StructureShape.new(name: 'PackageSource')
156
+ PackageStatus = Shapes::StringShape.new(name: 'PackageStatus')
157
+ PackageType = Shapes::StringShape.new(name: 'PackageType')
122
158
  Password = Shapes::StringShape.new(name: 'Password')
123
159
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
124
160
  PurchaseReservedElasticsearchInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingRequest')
125
161
  PurchaseReservedElasticsearchInstanceOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedElasticsearchInstanceOfferingResponse')
126
162
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
127
163
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
164
+ ReferencePath = Shapes::StringShape.new(name: 'ReferencePath')
128
165
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
129
166
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
130
167
  ReservedElasticsearchInstance = Shapes::StructureShape.new(name: 'ReservedElasticsearchInstance')
@@ -135,6 +172,8 @@ module Aws::ElasticsearchService
135
172
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
136
173
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
137
174
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
175
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
176
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
138
177
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
139
178
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
140
179
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
@@ -177,6 +216,8 @@ module Aws::ElasticsearchService
177
216
  VolumeType = Shapes::StringShape.new(name: 'VolumeType')
178
217
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
179
218
 
219
+ AccessDeniedException.struct_class = Types::AccessDeniedException
220
+
180
221
  AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
181
222
  AccessPoliciesStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
182
223
  AccessPoliciesStatus.struct_class = Types::AccessPoliciesStatus
@@ -211,6 +252,13 @@ module Aws::ElasticsearchService
211
252
  AdvancedSecurityOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
212
253
  AdvancedSecurityOptionsStatus.struct_class = Types::AdvancedSecurityOptionsStatus
213
254
 
255
+ AssociatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
256
+ AssociatePackageRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
257
+ AssociatePackageRequest.struct_class = Types::AssociatePackageRequest
258
+
259
+ AssociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
260
+ AssociatePackageResponse.struct_class = Types::AssociatePackageResponse
261
+
214
262
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
215
263
  BaseException.struct_class = Types::BaseException
216
264
 
@@ -236,6 +284,8 @@ module Aws::ElasticsearchService
236
284
  CompatibleVersionsMap.add_member(:target_versions, Shapes::ShapeRef.new(shape: ElasticsearchVersionList, location_name: "TargetVersions"))
237
285
  CompatibleVersionsMap.struct_class = Types::CompatibleVersionsMap
238
286
 
287
+ ConflictException.struct_class = Types::ConflictException
288
+
239
289
  CreateElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
240
290
  CreateElasticsearchDomainRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, location_name: "ElasticsearchVersion"))
241
291
  CreateElasticsearchDomainRequest.add_member(:elasticsearch_cluster_config, Shapes::ShapeRef.new(shape: ElasticsearchClusterConfig, location_name: "ElasticsearchClusterConfig"))
@@ -255,12 +305,27 @@ module Aws::ElasticsearchService
255
305
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
256
306
  CreateElasticsearchDomainResponse.struct_class = Types::CreateElasticsearchDomainResponse
257
307
 
308
+ CreatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "PackageName"))
309
+ CreatePackageRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, required: true, location_name: "PackageType"))
310
+ CreatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
311
+ CreatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
312
+ CreatePackageRequest.struct_class = Types::CreatePackageRequest
313
+
314
+ CreatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
315
+ CreatePackageResponse.struct_class = Types::CreatePackageResponse
316
+
258
317
  DeleteElasticsearchDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
259
318
  DeleteElasticsearchDomainRequest.struct_class = Types::DeleteElasticsearchDomainRequest
260
319
 
261
320
  DeleteElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
262
321
  DeleteElasticsearchDomainResponse.struct_class = Types::DeleteElasticsearchDomainResponse
263
322
 
323
+ DeletePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
324
+ DeletePackageRequest.struct_class = Types::DeletePackageRequest
325
+
326
+ DeletePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
327
+ DeletePackageResponse.struct_class = Types::DeletePackageResponse
328
+
264
329
  DescribeElasticsearchDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
265
330
  DescribeElasticsearchDomainConfigRequest.struct_class = Types::DescribeElasticsearchDomainConfigRequest
266
331
 
@@ -287,6 +352,23 @@ module Aws::ElasticsearchService
287
352
  DescribeElasticsearchInstanceTypeLimitsResponse.add_member(:limits_by_role, Shapes::ShapeRef.new(shape: LimitsByRole, location_name: "LimitsByRole"))
288
353
  DescribeElasticsearchInstanceTypeLimitsResponse.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsResponse
289
354
 
355
+ DescribePackagesFilter.add_member(:name, Shapes::ShapeRef.new(shape: DescribePackagesFilterName, location_name: "Name"))
356
+ DescribePackagesFilter.add_member(:value, Shapes::ShapeRef.new(shape: DescribePackagesFilterValues, location_name: "Value"))
357
+ DescribePackagesFilter.struct_class = Types::DescribePackagesFilter
358
+
359
+ DescribePackagesFilterList.member = Shapes::ShapeRef.new(shape: DescribePackagesFilter)
360
+
361
+ DescribePackagesFilterValues.member = Shapes::ShapeRef.new(shape: DescribePackagesFilterValue)
362
+
363
+ DescribePackagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DescribePackagesFilterList, location_name: "Filters"))
364
+ DescribePackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
365
+ DescribePackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
366
+ DescribePackagesRequest.struct_class = Types::DescribePackagesRequest
367
+
368
+ DescribePackagesResponse.add_member(:package_details_list, Shapes::ShapeRef.new(shape: PackageDetailsList, location_name: "PackageDetailsList"))
369
+ DescribePackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
370
+ DescribePackagesResponse.struct_class = Types::DescribePackagesResponse
371
+
290
372
  DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, location: "querystring", location_name: "offeringId"))
291
373
  DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
292
374
  DescribeReservedElasticsearchInstanceOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -307,6 +389,13 @@ module Aws::ElasticsearchService
307
389
 
308
390
  DisabledOperationException.struct_class = Types::DisabledOperationException
309
391
 
392
+ DissociatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
393
+ DissociatePackageRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
394
+ DissociatePackageRequest.struct_class = Types::DissociatePackageRequest
395
+
396
+ DissociatePackageResponse.add_member(:domain_package_details, Shapes::ShapeRef.new(shape: DomainPackageDetails, location_name: "DomainPackageDetails"))
397
+ DissociatePackageResponse.struct_class = Types::DissociatePackageResponse
398
+
310
399
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
311
400
  DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
312
401
  DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
@@ -322,6 +411,18 @@ module Aws::ElasticsearchService
322
411
 
323
412
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
324
413
 
414
+ DomainPackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
415
+ DomainPackageDetails.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "PackageName"))
416
+ DomainPackageDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
417
+ DomainPackageDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdated"))
418
+ DomainPackageDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
419
+ DomainPackageDetails.add_member(:domain_package_status, Shapes::ShapeRef.new(shape: DomainPackageStatus, location_name: "DomainPackageStatus"))
420
+ DomainPackageDetails.add_member(:reference_path, Shapes::ShapeRef.new(shape: ReferencePath, location_name: "ReferencePath"))
421
+ DomainPackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
422
+ DomainPackageDetails.struct_class = Types::DomainPackageDetails
423
+
424
+ DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
425
+
325
426
  EBSOptions.add_member(:ebs_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EBSEnabled"))
326
427
  EBSOptions.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
327
428
  EBSOptions.add_member(:volume_size, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "VolumeSize"))
@@ -409,6 +510,10 @@ module Aws::ElasticsearchService
409
510
  EndpointsMap.key = Shapes::ShapeRef.new(shape: String)
410
511
  EndpointsMap.value = Shapes::ShapeRef.new(shape: ServiceUrl)
411
512
 
513
+ ErrorDetails.add_member(:error_type, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorType"))
514
+ ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
515
+ ErrorDetails.struct_class = Types::ErrorDetails
516
+
412
517
  GetCompatibleElasticsearchVersionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
413
518
  GetCompatibleElasticsearchVersionsRequest.struct_class = Types::GetCompatibleElasticsearchVersionsRequest
414
519
 
@@ -460,6 +565,15 @@ module Aws::ElasticsearchService
460
565
  ListDomainNamesResponse.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainInfoList, location_name: "DomainNames"))
461
566
  ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
462
567
 
568
+ ListDomainsForPackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
569
+ ListDomainsForPackageRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
570
+ ListDomainsForPackageRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
571
+ ListDomainsForPackageRequest.struct_class = Types::ListDomainsForPackageRequest
572
+
573
+ ListDomainsForPackageResponse.add_member(:domain_package_details_list, Shapes::ShapeRef.new(shape: DomainPackageDetailsList, location_name: "DomainPackageDetailsList"))
574
+ ListDomainsForPackageResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
575
+ ListDomainsForPackageResponse.struct_class = Types::ListDomainsForPackageResponse
576
+
463
577
  ListElasticsearchInstanceTypesRequest.add_member(:elasticsearch_version, Shapes::ShapeRef.new(shape: ElasticsearchVersionString, required: true, location: "uri", location_name: "ElasticsearchVersion"))
464
578
  ListElasticsearchInstanceTypesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
465
579
  ListElasticsearchInstanceTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -478,6 +592,15 @@ module Aws::ElasticsearchService
478
592
  ListElasticsearchVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
479
593
  ListElasticsearchVersionsResponse.struct_class = Types::ListElasticsearchVersionsResponse
480
594
 
595
+ ListPackagesForDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
596
+ ListPackagesForDomainRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
597
+ ListPackagesForDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
598
+ ListPackagesForDomainRequest.struct_class = Types::ListPackagesForDomainRequest
599
+
600
+ ListPackagesForDomainResponse.add_member(:domain_package_details_list, Shapes::ShapeRef.new(shape: DomainPackageDetailsList, location_name: "DomainPackageDetailsList"))
601
+ ListPackagesForDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
602
+ ListPackagesForDomainResponse.struct_class = Types::ListPackagesForDomainResponse
603
+
481
604
  ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
482
605
  ListTagsRequest.struct_class = Types::ListTagsRequest
483
606
 
@@ -514,6 +637,21 @@ module Aws::ElasticsearchService
514
637
  OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
515
638
  OptionStatus.struct_class = Types::OptionStatus
516
639
 
640
+ PackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
641
+ PackageDetails.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "PackageName"))
642
+ PackageDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
643
+ PackageDetails.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
644
+ PackageDetails.add_member(:package_status, Shapes::ShapeRef.new(shape: PackageStatus, location_name: "PackageStatus"))
645
+ PackageDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
646
+ PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
647
+ PackageDetails.struct_class = Types::PackageDetails
648
+
649
+ PackageDetailsList.member = Shapes::ShapeRef.new(shape: PackageDetails)
650
+
651
+ PackageSource.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "S3BucketName"))
652
+ PackageSource.add_member(:s3_key, Shapes::ShapeRef.new(shape: S3Key, location_name: "S3Key"))
653
+ PackageSource.struct_class = Types::PackageSource
654
+
517
655
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reserved_elasticsearch_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedElasticsearchInstanceOfferingId"))
518
656
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
519
657
  PurchaseReservedElasticsearchInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -698,6 +836,20 @@ module Aws::ElasticsearchService
698
836
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
699
837
  end)
700
838
 
839
+ api.add_operation(:associate_package, Seahorse::Model::Operation.new.tap do |o|
840
+ o.name = "AssociatePackage"
841
+ o.http_method = "POST"
842
+ o.http_request_uri = "/2015-01-01/packages/associate/{PackageID}/{DomainName}"
843
+ o.input = Shapes::ShapeRef.new(shape: AssociatePackageRequest)
844
+ o.output = Shapes::ShapeRef.new(shape: AssociatePackageResponse)
845
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
846
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
848
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
851
+ end)
852
+
701
853
  api.add_operation(:cancel_elasticsearch_service_software_update, Seahorse::Model::Operation.new.tap do |o|
702
854
  o.name = "CancelElasticsearchServiceSoftwareUpdate"
703
855
  o.http_method = "POST"
@@ -725,6 +877,21 @@ module Aws::ElasticsearchService
725
877
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
726
878
  end)
727
879
 
880
+ api.add_operation(:create_package, Seahorse::Model::Operation.new.tap do |o|
881
+ o.name = "CreatePackage"
882
+ o.http_method = "POST"
883
+ o.http_request_uri = "/2015-01-01/packages"
884
+ o.input = Shapes::ShapeRef.new(shape: CreatePackageRequest)
885
+ o.output = Shapes::ShapeRef.new(shape: CreatePackageResponse)
886
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
887
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
888
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
889
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
890
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
891
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
892
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
893
+ end)
894
+
728
895
  api.add_operation(:delete_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
729
896
  o.name = "DeleteElasticsearchDomain"
730
897
  o.http_method = "DELETE"
@@ -748,6 +915,20 @@ module Aws::ElasticsearchService
748
915
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
749
916
  end)
750
917
 
918
+ api.add_operation(:delete_package, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "DeletePackage"
920
+ o.http_method = "DELETE"
921
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}"
922
+ o.input = Shapes::ShapeRef.new(shape: DeletePackageRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: DeletePackageResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
925
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
927
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
928
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
929
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
930
+ end)
931
+
751
932
  api.add_operation(:describe_elasticsearch_domain, Seahorse::Model::Operation.new.tap do |o|
752
933
  o.name = "DescribeElasticsearchDomain"
753
934
  o.http_method = "GET"
@@ -797,6 +978,25 @@ module Aws::ElasticsearchService
797
978
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
979
  end)
799
980
 
981
+ api.add_operation(:describe_packages, Seahorse::Model::Operation.new.tap do |o|
982
+ o.name = "DescribePackages"
983
+ o.http_method = "POST"
984
+ o.http_request_uri = "/2015-01-01/packages/describe"
985
+ o.input = Shapes::ShapeRef.new(shape: DescribePackagesRequest)
986
+ o.output = Shapes::ShapeRef.new(shape: DescribePackagesResponse)
987
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
988
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
989
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
990
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
991
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
992
+ o[:pager] = Aws::Pager.new(
993
+ limit_key: "max_results",
994
+ tokens: {
995
+ "next_token" => "next_token"
996
+ }
997
+ )
998
+ end)
999
+
800
1000
  api.add_operation(:describe_reserved_elasticsearch_instance_offerings, Seahorse::Model::Operation.new.tap do |o|
801
1001
  o.name = "DescribeReservedElasticsearchInstanceOfferings"
802
1002
  o.http_method = "GET"
@@ -833,6 +1033,20 @@ module Aws::ElasticsearchService
833
1033
  )
834
1034
  end)
835
1035
 
1036
+ api.add_operation(:dissociate_package, Seahorse::Model::Operation.new.tap do |o|
1037
+ o.name = "DissociatePackage"
1038
+ o.http_method = "POST"
1039
+ o.http_request_uri = "/2015-01-01/packages/dissociate/{PackageID}/{DomainName}"
1040
+ o.input = Shapes::ShapeRef.new(shape: DissociatePackageRequest)
1041
+ o.output = Shapes::ShapeRef.new(shape: DissociatePackageResponse)
1042
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1044
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1048
+ end)
1049
+
836
1050
  api.add_operation(:get_compatible_elasticsearch_versions, Seahorse::Model::Operation.new.tap do |o|
837
1051
  o.name = "GetCompatibleElasticsearchVersions"
838
1052
  o.http_method = "GET"
@@ -888,6 +1102,25 @@ module Aws::ElasticsearchService
888
1102
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
889
1103
  end)
890
1104
 
1105
+ api.add_operation(:list_domains_for_package, Seahorse::Model::Operation.new.tap do |o|
1106
+ o.name = "ListDomainsForPackage"
1107
+ o.http_method = "GET"
1108
+ o.http_request_uri = "/2015-01-01/packages/{PackageID}/domains"
1109
+ o.input = Shapes::ShapeRef.new(shape: ListDomainsForPackageRequest)
1110
+ o.output = Shapes::ShapeRef.new(shape: ListDomainsForPackageResponse)
1111
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1116
+ o[:pager] = Aws::Pager.new(
1117
+ limit_key: "max_results",
1118
+ tokens: {
1119
+ "next_token" => "next_token"
1120
+ }
1121
+ )
1122
+ end)
1123
+
891
1124
  api.add_operation(:list_elasticsearch_instance_types, Seahorse::Model::Operation.new.tap do |o|
892
1125
  o.name = "ListElasticsearchInstanceTypes"
893
1126
  o.http_method = "GET"
@@ -924,6 +1157,25 @@ module Aws::ElasticsearchService
924
1157
  )
925
1158
  end)
926
1159
 
1160
+ api.add_operation(:list_packages_for_domain, Seahorse::Model::Operation.new.tap do |o|
1161
+ o.name = "ListPackagesForDomain"
1162
+ o.http_method = "GET"
1163
+ o.http_request_uri = "/2015-01-01/domain/{DomainName}/packages"
1164
+ o.input = Shapes::ShapeRef.new(shape: ListPackagesForDomainRequest)
1165
+ o.output = Shapes::ShapeRef.new(shape: ListPackagesForDomainResponse)
1166
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1167
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1169
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1170
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1171
+ o[:pager] = Aws::Pager.new(
1172
+ limit_key: "max_results",
1173
+ tokens: {
1174
+ "next_token" => "next_token"
1175
+ }
1176
+ )
1177
+ end)
1178
+
927
1179
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
928
1180
  o.name = "ListTags"
929
1181
  o.http_method = "GET"