aws-sdk-opensearchservice 1.105.0 → 1.106.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
2
  SHA256:
3
- metadata.gz: 90333fd0c72b1c35edc01291aa59726e712b113a2a68d8374038c959c6bc3079
4
- data.tar.gz: cfb90ac0b7562e9b43201f7dafcbfa39a9adbd0a174923a1cbbf85e658012605
3
+ metadata.gz: 3e3b66ca1bbc27d9fb338a8bad88cbf904e0cafc15b6d78334a613d8f826a3cf
4
+ data.tar.gz: 9d54ef066c3ba9f2f7837f84b49ebef5410d50aa88c4ef6f4771471afea8e1a1
5
5
  SHA512:
6
- metadata.gz: f0cd6aaba61ad21962022a7afbce4a9d83cb1991be2a938116108d827af3444f2f495b4e4a9b3e55c69315bfe12b751a91d0f667c367b6b344270d7bc407fe45
7
- data.tar.gz: 27a263f80ffd3e8b4fa4a022d04ae204cc8d43770e2d431e11d3471ffa7dfd6bf151ab8d9cb9cf232d982eb1cc07f3f92db5b6e8c12a7f296058408f74e1b328
6
+ metadata.gz: a904ccd59fb14846bea917a3c55ba9a3828ba6bb311dd285883d9b91d46480ad5568161a23d8683948f039b0042072ce7712032ae9d1360c5f43d4772503e151
7
+ data.tar.gz: b16531e6b48975c0d037773c53409e296feaae50f6e6f2138c711828d7f2fff2aa3b9673119a97f061a1d25612ab023304680074134d975418e27a7e483a46b9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.106.0 (2026-07-06)
5
+ ------------------
6
+
7
+ * Feature - This release introduces Saved Object Migration APIs, enabling users to migrate dashboards, visualizations, index patterns, and other saved objects from a data source into an Amazon OpenSearch Service application workspace with configurable export filters and conflict resolution strategies.
8
+
4
9
  1.105.0 (2026-07-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.105.0
1
+ 1.106.0
@@ -4368,6 +4368,53 @@ module Aws::OpenSearchService
4368
4368
  req.send_request(options)
4369
4369
  end
4370
4370
 
4371
+ # Retrieves the current status and progress of a migration job,
4372
+ # including the number of exported and imported objects and error
4373
+ # details if the migration failed.
4374
+ #
4375
+ # @option params [required, String] :migration_id
4376
+ # The unique identifier of the migration job to retrieve.
4377
+ #
4378
+ # @return [Types::GetMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4379
+ #
4380
+ # * {Types::GetMigrationResponse#migration_id #migration_id} => String
4381
+ # * {Types::GetMigrationResponse#status #status} => String
4382
+ # * {Types::GetMigrationResponse#application_id #application_id} => String
4383
+ # * {Types::GetMigrationResponse#source #source} => Types::MigrationSource
4384
+ # * {Types::GetMigrationResponse#exported_count #exported_count} => Integer
4385
+ # * {Types::GetMigrationResponse#imported_count #imported_count} => Integer
4386
+ # * {Types::GetMigrationResponse#error #error} => Types::MigrationError
4387
+ # * {Types::GetMigrationResponse#created_at #created_at} => Time
4388
+ # * {Types::GetMigrationResponse#updated_at #updated_at} => Time
4389
+ #
4390
+ # @example Request syntax with placeholder values
4391
+ #
4392
+ # resp = client.get_migration({
4393
+ # migration_id: "String", # required
4394
+ # })
4395
+ #
4396
+ # @example Response structure
4397
+ #
4398
+ # resp.migration_id #=> String
4399
+ # resp.status #=> String
4400
+ # resp.application_id #=> String
4401
+ # resp.source.datasource_arn #=> String
4402
+ # resp.exported_count #=> Integer
4403
+ # resp.imported_count #=> Integer
4404
+ # resp.error.code #=> String
4405
+ # resp.error.message #=> String
4406
+ # resp.created_at #=> Time
4407
+ # resp.updated_at #=> Time
4408
+ #
4409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetMigration AWS API Documentation
4410
+ #
4411
+ # @overload get_migration(params = {})
4412
+ # @param [Hash] params ({})
4413
+ def get_migration(params = {}, options = {})
4414
+ req = build_request(:get_migration, params)
4415
+ req.send_request(options)
4416
+ end
4417
+
4371
4418
  # Returns a list of Amazon OpenSearch Service package versions, along
4372
4419
  # with their creation time, commit message, and plugin properties (if
4373
4420
  # the package is a zip plugin package). For more information, see
@@ -5044,6 +5091,63 @@ module Aws::OpenSearchService
5044
5091
  req.send_request(options)
5045
5092
  end
5046
5093
 
5094
+ # Lists migration jobs for an Amazon OpenSearch Service application. You
5095
+ # can filter results by migration status. Use pagination to ensure that
5096
+ # the operation returns quickly and successfully.
5097
+ #
5098
+ # @option params [required, String] :application_id
5099
+ # The unique identifier of the OpenSearch application to list migrations
5100
+ # for.
5101
+ #
5102
+ # @option params [String] :status
5103
+ # Filters the results by migration status. Valid values are `PENDING`,
5104
+ # `IN_PROGRESS`, `SUCCEEDED`, and `FAILED`.
5105
+ #
5106
+ # @option params [Integer] :max_results
5107
+ # The maximum number of results to return in a single call.
5108
+ #
5109
+ # @option params [String] :next_token
5110
+ # The pagination token from a previous call to retrieve the next set of
5111
+ # results.
5112
+ #
5113
+ # @return [Types::ListMigrationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5114
+ #
5115
+ # * {Types::ListMigrationsResponse#migrations #migrations} => Array<Types::MigrationSummary>
5116
+ # * {Types::ListMigrationsResponse#next_token #next_token} => String
5117
+ #
5118
+ # @example Request syntax with placeholder values
5119
+ #
5120
+ # resp = client.list_migrations({
5121
+ # application_id: "ApplicationId", # required
5122
+ # status: "String",
5123
+ # max_results: 1,
5124
+ # next_token: "String",
5125
+ # })
5126
+ #
5127
+ # @example Response structure
5128
+ #
5129
+ # resp.migrations #=> Array
5130
+ # resp.migrations[0].migration_id #=> String
5131
+ # resp.migrations[0].status #=> String
5132
+ # resp.migrations[0].application_id #=> String
5133
+ # resp.migrations[0].source.datasource_arn #=> String
5134
+ # resp.migrations[0].exported_count #=> Integer
5135
+ # resp.migrations[0].imported_count #=> Integer
5136
+ # resp.migrations[0].error.code #=> String
5137
+ # resp.migrations[0].error.message #=> String
5138
+ # resp.migrations[0].created_at #=> Time
5139
+ # resp.migrations[0].updated_at #=> Time
5140
+ # resp.next_token #=> String
5141
+ #
5142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListMigrations AWS API Documentation
5143
+ #
5144
+ # @overload list_migrations(params = {})
5145
+ # @param [Hash] params ({})
5146
+ def list_migrations(params = {}, options = {})
5147
+ req = build_request(:list_migrations, params)
5148
+ req.send_request(options)
5149
+ end
5150
+
5047
5151
  # Lists all packages associated with an Amazon OpenSearch Service
5048
5152
  # domain. For more information, see [Custom packages for Amazon
5049
5153
  # OpenSearch Service][1].
@@ -5694,6 +5798,76 @@ module Aws::OpenSearchService
5694
5798
  req.send_request(options)
5695
5799
  end
5696
5800
 
5801
+ # Initiates a migration job to migrate saved objects from a data source
5802
+ # to an Amazon OpenSearch Service application workspace. Saved objects
5803
+ # include dashboards, visualizations, index patterns, and searches. You
5804
+ # can specify export filters to control the scope of the migration and a
5805
+ # conflict resolution strategy for handling existing objects in the
5806
+ # target workspace.
5807
+ #
5808
+ # @option params [required, String] :application_id
5809
+ # The unique identifier of the OpenSearch application to migrate saved
5810
+ # objects into.
5811
+ #
5812
+ # @option params [required, Types::MigrationOptions] :migration_options
5813
+ # The configuration options for the migration, including the source data
5814
+ # source, target workspace, export filters, and conflict resolution
5815
+ # strategy.
5816
+ #
5817
+ # @option params [String] :client_token
5818
+ # A unique, case-sensitive identifier to ensure that the operation
5819
+ # completes no more than one time. If this token matches a previous
5820
+ # request, Amazon OpenSearch Service ignores the request but does not
5821
+ # return an error.
5822
+ #
5823
+ # @return [Types::StartMigrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5824
+ #
5825
+ # * {Types::StartMigrationResponse#migration_id #migration_id} => String
5826
+ # * {Types::StartMigrationResponse#status #status} => String
5827
+ #
5828
+ # @example Request syntax with placeholder values
5829
+ #
5830
+ # resp = client.start_migration({
5831
+ # application_id: "ApplicationId", # required
5832
+ # migration_options: { # required
5833
+ # source: { # required
5834
+ # datasource_arn: "ARN", # required
5835
+ # },
5836
+ # workspace: { # required
5837
+ # workspace_id: "String",
5838
+ # create_workspace: false,
5839
+ # name: "String",
5840
+ # type: "String",
5841
+ # },
5842
+ # export_options: {
5843
+ # types: ["String"],
5844
+ # objects: [
5845
+ # {
5846
+ # type: "String", # required
5847
+ # id: "String", # required
5848
+ # },
5849
+ # ],
5850
+ # include_references_deep: false,
5851
+ # },
5852
+ # conflict_resolution: "String",
5853
+ # },
5854
+ # client_token: "ClientToken",
5855
+ # })
5856
+ #
5857
+ # @example Response structure
5858
+ #
5859
+ # resp.migration_id #=> String
5860
+ # resp.status #=> String
5861
+ #
5862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartMigration AWS API Documentation
5863
+ #
5864
+ # @overload start_migration(params = {})
5865
+ # @param [Hash] params ({})
5866
+ def start_migration(params = {}, options = {})
5867
+ req = build_request(:start_migration, params)
5868
+ req.send_request(options)
5869
+ end
5870
+
5697
5871
  # Schedules a service software update for an Amazon OpenSearch Service
5698
5872
  # domain. For more information, see [Service software updates in Amazon
5699
5873
  # OpenSearch Service][1].
@@ -6923,7 +7097,7 @@ module Aws::OpenSearchService
6923
7097
  tracer: tracer
6924
7098
  )
6925
7099
  context[:gem_name] = 'aws-sdk-opensearchservice'
6926
- context[:gem_version] = '1.105.0'
7100
+ context[:gem_version] = '1.106.0'
6927
7101
  Seahorse::Client::Request.new(handlers, context)
6928
7102
  end
6929
7103
 
@@ -277,6 +277,7 @@ module Aws::OpenSearchService
277
277
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
278
278
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
279
279
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
280
+ ExportOptions = Shapes::StructureShape.new(name: 'ExportOptions')
280
281
  Filter = Shapes::StructureShape.new(name: 'Filter')
281
282
  FilterList = Shapes::ListShape.new(name: 'FilterList')
282
283
  GUID = Shapes::StringShape.new(name: 'GUID')
@@ -297,6 +298,8 @@ module Aws::OpenSearchService
297
298
  GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
298
299
  GetIndexRequest = Shapes::StructureShape.new(name: 'GetIndexRequest')
299
300
  GetIndexResponse = Shapes::StructureShape.new(name: 'GetIndexResponse')
301
+ GetMigrationRequest = Shapes::StructureShape.new(name: 'GetMigrationRequest')
302
+ GetMigrationResponse = Shapes::StructureShape.new(name: 'GetMigrationResponse')
300
303
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
301
304
  GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
302
305
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
@@ -396,6 +399,8 @@ module Aws::OpenSearchService
396
399
  ListInsightsResponse = Shapes::StructureShape.new(name: 'ListInsightsResponse')
397
400
  ListInstanceTypeDetailsRequest = Shapes::StructureShape.new(name: 'ListInstanceTypeDetailsRequest')
398
401
  ListInstanceTypeDetailsResponse = Shapes::StructureShape.new(name: 'ListInstanceTypeDetailsResponse')
402
+ ListMigrationsRequest = Shapes::StructureShape.new(name: 'ListMigrationsRequest')
403
+ ListMigrationsResponse = Shapes::StructureShape.new(name: 'ListMigrationsResponse')
399
404
  ListPackagesForDomainRequest = Shapes::StructureShape.new(name: 'ListPackagesForDomainRequest')
400
405
  ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
401
406
  ListScheduledActionsRequest = Shapes::StructureShape.new(name: 'ListScheduledActionsRequest')
@@ -423,6 +428,12 @@ module Aws::OpenSearchService
423
428
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
424
429
  MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
425
430
  Message = Shapes::StringShape.new(name: 'Message')
431
+ MigrationError = Shapes::StructureShape.new(name: 'MigrationError')
432
+ MigrationOptions = Shapes::StructureShape.new(name: 'MigrationOptions')
433
+ MigrationSource = Shapes::StructureShape.new(name: 'MigrationSource')
434
+ MigrationSummary = Shapes::StructureShape.new(name: 'MigrationSummary')
435
+ MigrationSummaryList = Shapes::ListShape.new(name: 'MigrationSummaryList')
436
+ MigrationWorkspace = Shapes::StructureShape.new(name: 'MigrationWorkspace')
426
437
  MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
427
438
  ModifyingProperties = Shapes::StructureShape.new(name: 'ModifyingProperties')
428
439
  ModifyingPropertiesList = Shapes::ListShape.new(name: 'ModifyingPropertiesList')
@@ -532,6 +543,8 @@ module Aws::OpenSearchService
532
543
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
533
544
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
534
545
  SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
546
+ SavedObjectIdentifier = Shapes::StructureShape.new(name: 'SavedObjectIdentifier')
547
+ SavedObjectIdentifierList = Shapes::ListShape.new(name: 'SavedObjectIdentifierList')
535
548
  ScheduleAt = Shapes::StringShape.new(name: 'ScheduleAt')
536
549
  ScheduledAction = Shapes::StructureShape.new(name: 'ScheduledAction')
537
550
  ScheduledActionsList = Shapes::ListShape.new(name: 'ScheduledActionsList')
@@ -556,6 +569,8 @@ module Aws::OpenSearchService
556
569
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
557
570
  StartDomainMaintenanceRequest = Shapes::StructureShape.new(name: 'StartDomainMaintenanceRequest')
558
571
  StartDomainMaintenanceResponse = Shapes::StructureShape.new(name: 'StartDomainMaintenanceResponse')
572
+ StartMigrationRequest = Shapes::StructureShape.new(name: 'StartMigrationRequest')
573
+ StartMigrationResponse = Shapes::StructureShape.new(name: 'StartMigrationResponse')
559
574
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
560
575
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
561
576
  StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
@@ -1568,6 +1583,11 @@ module Aws::OpenSearchService
1568
1583
  ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
1569
1584
  ErrorDetails.struct_class = Types::ErrorDetails
1570
1585
 
1586
+ ExportOptions.add_member(:types, Shapes::ShapeRef.new(shape: StringList, location_name: "types"))
1587
+ ExportOptions.add_member(:objects, Shapes::ShapeRef.new(shape: SavedObjectIdentifierList, location_name: "objects"))
1588
+ ExportOptions.add_member(:include_references_deep, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeReferencesDeep"))
1589
+ ExportOptions.struct_class = Types::ExportOptions
1590
+
1571
1591
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
1572
1592
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
1573
1593
  Filter.struct_class = Types::Filter
@@ -1654,6 +1674,20 @@ module Aws::OpenSearchService
1654
1674
  GetIndexResponse.add_member(:index_schema, Shapes::ShapeRef.new(shape: IndexSchema, required: true, location_name: "IndexSchema"))
1655
1675
  GetIndexResponse.struct_class = Types::GetIndexResponse
1656
1676
 
1677
+ GetMigrationRequest.add_member(:migration_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "migrationId"))
1678
+ GetMigrationRequest.struct_class = Types::GetMigrationRequest
1679
+
1680
+ GetMigrationResponse.add_member(:migration_id, Shapes::ShapeRef.new(shape: String, location_name: "migrationId"))
1681
+ GetMigrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
1682
+ GetMigrationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
1683
+ GetMigrationResponse.add_member(:source, Shapes::ShapeRef.new(shape: MigrationSource, location_name: "source"))
1684
+ GetMigrationResponse.add_member(:exported_count, Shapes::ShapeRef.new(shape: Integer, location_name: "exportedCount"))
1685
+ GetMigrationResponse.add_member(:imported_count, Shapes::ShapeRef.new(shape: Integer, location_name: "importedCount"))
1686
+ GetMigrationResponse.add_member(:error, Shapes::ShapeRef.new(shape: MigrationError, location_name: "error"))
1687
+ GetMigrationResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "createdAt"))
1688
+ GetMigrationResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "updatedAt"))
1689
+ GetMigrationResponse.struct_class = Types::GetMigrationResponse
1690
+
1657
1691
  GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
1658
1692
  GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1659
1693
  GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1918,6 +1952,16 @@ module Aws::OpenSearchService
1918
1952
  ListInstanceTypeDetailsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1919
1953
  ListInstanceTypeDetailsResponse.struct_class = Types::ListInstanceTypeDetailsResponse
1920
1954
 
1955
+ ListMigrationsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location: "querystring", location_name: "applicationId"))
1956
+ ListMigrationsRequest.add_member(:status, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "status"))
1957
+ ListMigrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
1958
+ ListMigrationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
1959
+ ListMigrationsRequest.struct_class = Types::ListMigrationsRequest
1960
+
1961
+ ListMigrationsResponse.add_member(:migrations, Shapes::ShapeRef.new(shape: MigrationSummaryList, location_name: "migrations"))
1962
+ ListMigrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1963
+ ListMigrationsResponse.struct_class = Types::ListMigrationsResponse
1964
+
1921
1965
  ListPackagesForDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1922
1966
  ListPackagesForDomainRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1923
1967
  ListPackagesForDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1989,6 +2033,38 @@ module Aws::OpenSearchService
1989
2033
  MasterUserOptions.add_member(:master_user_password, Shapes::ShapeRef.new(shape: Password, location_name: "MasterUserPassword"))
1990
2034
  MasterUserOptions.struct_class = Types::MasterUserOptions
1991
2035
 
2036
+ MigrationError.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "code"))
2037
+ MigrationError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2038
+ MigrationError.struct_class = Types::MigrationError
2039
+
2040
+ MigrationOptions.add_member(:source, Shapes::ShapeRef.new(shape: MigrationSource, required: true, location_name: "source"))
2041
+ MigrationOptions.add_member(:workspace, Shapes::ShapeRef.new(shape: MigrationWorkspace, required: true, location_name: "workspace"))
2042
+ MigrationOptions.add_member(:export_options, Shapes::ShapeRef.new(shape: ExportOptions, location_name: "exportOptions"))
2043
+ MigrationOptions.add_member(:conflict_resolution, Shapes::ShapeRef.new(shape: String, location_name: "conflictResolution"))
2044
+ MigrationOptions.struct_class = Types::MigrationOptions
2045
+
2046
+ MigrationSource.add_member(:datasource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "datasourceArn"))
2047
+ MigrationSource.struct_class = Types::MigrationSource
2048
+
2049
+ MigrationSummary.add_member(:migration_id, Shapes::ShapeRef.new(shape: String, location_name: "migrationId"))
2050
+ MigrationSummary.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
2051
+ MigrationSummary.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, location_name: "applicationId"))
2052
+ MigrationSummary.add_member(:source, Shapes::ShapeRef.new(shape: MigrationSource, location_name: "source"))
2053
+ MigrationSummary.add_member(:exported_count, Shapes::ShapeRef.new(shape: Integer, location_name: "exportedCount"))
2054
+ MigrationSummary.add_member(:imported_count, Shapes::ShapeRef.new(shape: Integer, location_name: "importedCount"))
2055
+ MigrationSummary.add_member(:error, Shapes::ShapeRef.new(shape: MigrationError, location_name: "error"))
2056
+ MigrationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "createdAt"))
2057
+ MigrationSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "updatedAt"))
2058
+ MigrationSummary.struct_class = Types::MigrationSummary
2059
+
2060
+ MigrationSummaryList.member = Shapes::ShapeRef.new(shape: MigrationSummary)
2061
+
2062
+ MigrationWorkspace.add_member(:workspace_id, Shapes::ShapeRef.new(shape: String, location_name: "workspaceId"))
2063
+ MigrationWorkspace.add_member(:create_workspace, Shapes::ShapeRef.new(shape: Boolean, location_name: "createWorkspace"))
2064
+ MigrationWorkspace.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
2065
+ MigrationWorkspace.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
2066
+ MigrationWorkspace.struct_class = Types::MigrationWorkspace
2067
+
1992
2068
  ModifyingProperties.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1993
2069
  ModifyingProperties.add_member(:active_value, Shapes::ShapeRef.new(shape: String, location_name: "ActiveValue"))
1994
2070
  ModifyingProperties.add_member(:pending_value, Shapes::ShapeRef.new(shape: String, location_name: "PendingValue"))
@@ -2251,6 +2327,12 @@ module Aws::OpenSearchService
2251
2327
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
2252
2328
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
2253
2329
 
2330
+ SavedObjectIdentifier.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
2331
+ SavedObjectIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
2332
+ SavedObjectIdentifier.struct_class = Types::SavedObjectIdentifier
2333
+
2334
+ SavedObjectIdentifierList.member = Shapes::ShapeRef.new(shape: SavedObjectIdentifier)
2335
+
2254
2336
  ScheduledAction.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
2255
2337
  ScheduledAction.add_member(:type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "Type"))
2256
2338
  ScheduledAction.add_member(:severity, Shapes::ShapeRef.new(shape: ActionSeverity, required: true, location_name: "Severity"))
@@ -2319,6 +2401,15 @@ module Aws::OpenSearchService
2319
2401
  StartDomainMaintenanceResponse.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
2320
2402
  StartDomainMaintenanceResponse.struct_class = Types::StartDomainMaintenanceResponse
2321
2403
 
2404
+ StartMigrationRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
2405
+ StartMigrationRequest.add_member(:migration_options, Shapes::ShapeRef.new(shape: MigrationOptions, required: true, location_name: "migrationOptions"))
2406
+ StartMigrationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
2407
+ StartMigrationRequest.struct_class = Types::StartMigrationRequest
2408
+
2409
+ StartMigrationResponse.add_member(:migration_id, Shapes::ShapeRef.new(shape: String, location_name: "migrationId"))
2410
+ StartMigrationResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
2411
+ StartMigrationResponse.struct_class = Types::StartMigrationResponse
2412
+
2322
2413
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
2323
2414
  StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
2324
2415
  StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
@@ -3328,6 +3419,19 @@ module Aws::OpenSearchService
3328
3419
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3329
3420
  end)
3330
3421
 
3422
+ api.add_operation(:get_migration, Seahorse::Model::Operation.new.tap do |o|
3423
+ o.name = "GetMigration"
3424
+ o.http_method = "GET"
3425
+ o.http_request_uri = "/2021-01-01/opensearch/app-migrations/{migrationId}"
3426
+ o.input = Shapes::ShapeRef.new(shape: GetMigrationRequest)
3427
+ o.output = Shapes::ShapeRef.new(shape: GetMigrationResponse)
3428
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3429
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3430
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
3431
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3432
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3433
+ end)
3434
+
3331
3435
  api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
3332
3436
  o.name = "GetPackageVersionHistory"
3333
3437
  o.http_method = "GET"
@@ -3533,6 +3637,18 @@ module Aws::OpenSearchService
3533
3637
  )
3534
3638
  end)
3535
3639
 
3640
+ api.add_operation(:list_migrations, Seahorse::Model::Operation.new.tap do |o|
3641
+ o.name = "ListMigrations"
3642
+ o.http_method = "GET"
3643
+ o.http_request_uri = "/2021-01-01/opensearch/app-migrations"
3644
+ o.input = Shapes::ShapeRef.new(shape: ListMigrationsRequest)
3645
+ o.output = Shapes::ShapeRef.new(shape: ListMigrationsResponse)
3646
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3647
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3648
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
3649
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3650
+ end)
3651
+
3536
3652
  api.add_operation(:list_packages_for_domain, Seahorse::Model::Operation.new.tap do |o|
3537
3653
  o.name = "ListPackagesForDomain"
3538
3654
  o.http_method = "GET"
@@ -3737,6 +3853,20 @@ module Aws::OpenSearchService
3737
3853
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3738
3854
  end)
3739
3855
 
3856
+ api.add_operation(:start_migration, Seahorse::Model::Operation.new.tap do |o|
3857
+ o.name = "StartMigration"
3858
+ o.http_method = "POST"
3859
+ o.http_request_uri = "/2021-01-01/opensearch/app-migrations"
3860
+ o.input = Shapes::ShapeRef.new(shape: StartMigrationRequest)
3861
+ o.output = Shapes::ShapeRef.new(shape: StartMigrationResponse)
3862
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3863
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3864
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
3865
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3866
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3867
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3868
+ end)
3869
+
3740
3870
  api.add_operation(:start_service_software_update, Seahorse::Model::Operation.new.tap do |o|
3741
3871
  o.name = "StartServiceSoftwareUpdate"
3742
3872
  o.http_method = "POST"
@@ -4813,6 +4813,35 @@ module Aws::OpenSearchService
4813
4813
  include Aws::Structure
4814
4814
  end
4815
4815
 
4816
+ # Options to filter the scope of saved objects to export during a
4817
+ # migration.
4818
+ #
4819
+ # @!attribute [rw] types
4820
+ # A list of saved object types to include in the migration. Valid
4821
+ # values include `dashboard`, `visualization`, `index-pattern`,
4822
+ # `search`, and `query`.
4823
+ # @return [Array<String>]
4824
+ #
4825
+ # @!attribute [rw] objects
4826
+ # A list of specific saved objects to include in the migration,
4827
+ # identified by type and ID.
4828
+ # @return [Array<Types::SavedObjectIdentifier>]
4829
+ #
4830
+ # @!attribute [rw] include_references_deep
4831
+ # Specifies whether to include all objects referenced by the exported
4832
+ # objects, recursively.
4833
+ # @return [Boolean]
4834
+ #
4835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ExportOptions AWS API Documentation
4836
+ #
4837
+ class ExportOptions < Struct.new(
4838
+ :types,
4839
+ :objects,
4840
+ :include_references_deep)
4841
+ SENSITIVE = []
4842
+ include Aws::Structure
4843
+ end
4844
+
4816
4845
  # A filter used to limit results when describing inbound or outbound
4817
4846
  # cross-cluster connections. You can specify multiple values per filter.
4818
4847
  # A cross-cluster connection must match at least one of the specified
@@ -5231,6 +5260,74 @@ module Aws::OpenSearchService
5231
5260
  include Aws::Structure
5232
5261
  end
5233
5262
 
5263
+ # @!attribute [rw] migration_id
5264
+ # The unique identifier of the migration job to retrieve.
5265
+ # @return [String]
5266
+ #
5267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetMigrationRequest AWS API Documentation
5268
+ #
5269
+ class GetMigrationRequest < Struct.new(
5270
+ :migration_id)
5271
+ SENSITIVE = []
5272
+ include Aws::Structure
5273
+ end
5274
+
5275
+ # @!attribute [rw] migration_id
5276
+ # The unique identifier of the migration job.
5277
+ # @return [String]
5278
+ #
5279
+ # @!attribute [rw] status
5280
+ # The current status of the migration job. Valid values are `PENDING`,
5281
+ # `IN_PROGRESS`, `SUCCEEDED`, and `FAILED`.
5282
+ # @return [String]
5283
+ #
5284
+ # @!attribute [rw] application_id
5285
+ # The unique identifier of the OpenSearch application associated with
5286
+ # the migration.
5287
+ # @return [String]
5288
+ #
5289
+ # @!attribute [rw] source
5290
+ # The source configuration for the migration, including the data
5291
+ # source ARN.
5292
+ # @return [Types::MigrationSource]
5293
+ #
5294
+ # @!attribute [rw] exported_count
5295
+ # The number of saved objects exported from the source data source.
5296
+ # @return [Integer]
5297
+ #
5298
+ # @!attribute [rw] imported_count
5299
+ # The number of saved objects successfully imported into the target
5300
+ # workspace.
5301
+ # @return [Integer]
5302
+ #
5303
+ # @!attribute [rw] error
5304
+ # Error details if the migration failed or completed with errors.
5305
+ # @return [Types::MigrationError]
5306
+ #
5307
+ # @!attribute [rw] created_at
5308
+ # The date and time when the migration job was created.
5309
+ # @return [Time]
5310
+ #
5311
+ # @!attribute [rw] updated_at
5312
+ # The date and time when the migration job was last updated.
5313
+ # @return [Time]
5314
+ #
5315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetMigrationResponse AWS API Documentation
5316
+ #
5317
+ class GetMigrationResponse < Struct.new(
5318
+ :migration_id,
5319
+ :status,
5320
+ :application_id,
5321
+ :source,
5322
+ :exported_count,
5323
+ :imported_count,
5324
+ :error,
5325
+ :created_at,
5326
+ :updated_at)
5327
+ SENSITIVE = []
5328
+ include Aws::Structure
5329
+ end
5330
+
5234
5331
  # Container for the request parameters to the `GetPackageVersionHistory`
5235
5332
  # operation.
5236
5333
  #
@@ -6579,6 +6676,54 @@ module Aws::OpenSearchService
6579
6676
  include Aws::Structure
6580
6677
  end
6581
6678
 
6679
+ # @!attribute [rw] application_id
6680
+ # The unique identifier of the OpenSearch application to list
6681
+ # migrations for.
6682
+ # @return [String]
6683
+ #
6684
+ # @!attribute [rw] status
6685
+ # Filters the results by migration status. Valid values are `PENDING`,
6686
+ # `IN_PROGRESS`, `SUCCEEDED`, and `FAILED`.
6687
+ # @return [String]
6688
+ #
6689
+ # @!attribute [rw] max_results
6690
+ # The maximum number of results to return in a single call.
6691
+ # @return [Integer]
6692
+ #
6693
+ # @!attribute [rw] next_token
6694
+ # The pagination token from a previous call to retrieve the next set
6695
+ # of results.
6696
+ # @return [String]
6697
+ #
6698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListMigrationsRequest AWS API Documentation
6699
+ #
6700
+ class ListMigrationsRequest < Struct.new(
6701
+ :application_id,
6702
+ :status,
6703
+ :max_results,
6704
+ :next_token)
6705
+ SENSITIVE = []
6706
+ include Aws::Structure
6707
+ end
6708
+
6709
+ # @!attribute [rw] migrations
6710
+ # A list of migration job summaries for the specified application.
6711
+ # @return [Array<Types::MigrationSummary>]
6712
+ #
6713
+ # @!attribute [rw] next_token
6714
+ # The pagination token to use in a subsequent call to retrieve the
6715
+ # next set of results.
6716
+ # @return [String]
6717
+ #
6718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListMigrationsResponse AWS API Documentation
6719
+ #
6720
+ class ListMigrationsResponse < Struct.new(
6721
+ :migrations,
6722
+ :next_token)
6723
+ SENSITIVE = []
6724
+ include Aws::Structure
6725
+ end
6726
+
6582
6727
  # Container for the request parameters to the `ListPackagesForDomain`
6583
6728
  # operation.
6584
6729
  #
@@ -6953,6 +7098,167 @@ module Aws::OpenSearchService
6953
7098
  include Aws::Structure
6954
7099
  end
6955
7100
 
7101
+ # Contains error details for a migration that failed or completed with
7102
+ # errors.
7103
+ #
7104
+ # @!attribute [rw] code
7105
+ # The error code identifying the type of failure.
7106
+ # @return [String]
7107
+ #
7108
+ # @!attribute [rw] message
7109
+ # A human-readable description of the error.
7110
+ # @return [String]
7111
+ #
7112
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/MigrationError AWS API Documentation
7113
+ #
7114
+ class MigrationError < Struct.new(
7115
+ :code,
7116
+ :message)
7117
+ SENSITIVE = []
7118
+ include Aws::Structure
7119
+ end
7120
+
7121
+ # The configuration options for a saved objects migration job.
7122
+ #
7123
+ # @!attribute [rw] source
7124
+ # The data source from which to export saved objects.
7125
+ # @return [Types::MigrationSource]
7126
+ #
7127
+ # @!attribute [rw] workspace
7128
+ # The target workspace configuration for importing saved objects. You
7129
+ # can specify an existing workspace or request creation of a new
7130
+ # workspace.
7131
+ # @return [Types::MigrationWorkspace]
7132
+ #
7133
+ # @!attribute [rw] export_options
7134
+ # Options to filter the scope of saved objects to export from the
7135
+ # source.
7136
+ # @return [Types::ExportOptions]
7137
+ #
7138
+ # @!attribute [rw] conflict_resolution
7139
+ # The strategy for resolving conflicts when saved objects already
7140
+ # exist in the target workspace. Valid values are `CREATE_NEW_COPIES`,
7141
+ # which creates new objects with unique IDs, and `overwrite`, which
7142
+ # replaces existing objects.
7143
+ # @return [String]
7144
+ #
7145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/MigrationOptions AWS API Documentation
7146
+ #
7147
+ class MigrationOptions < Struct.new(
7148
+ :source,
7149
+ :workspace,
7150
+ :export_options,
7151
+ :conflict_resolution)
7152
+ SENSITIVE = []
7153
+ include Aws::Structure
7154
+ end
7155
+
7156
+ # The source configuration for a migration, specifying the data source
7157
+ # from which to export saved objects.
7158
+ #
7159
+ # @!attribute [rw] datasource_arn
7160
+ # The Amazon Resource Name (ARN) of the data source to migrate saved
7161
+ # objects from.
7162
+ # @return [String]
7163
+ #
7164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/MigrationSource AWS API Documentation
7165
+ #
7166
+ class MigrationSource < Struct.new(
7167
+ :datasource_arn)
7168
+ SENSITIVE = []
7169
+ include Aws::Structure
7170
+ end
7171
+
7172
+ # A summary of a migration job, including its status and progress.
7173
+ #
7174
+ # @!attribute [rw] migration_id
7175
+ # The unique identifier of the migration job.
7176
+ # @return [String]
7177
+ #
7178
+ # @!attribute [rw] status
7179
+ # The current status of the migration job.
7180
+ # @return [String]
7181
+ #
7182
+ # @!attribute [rw] application_id
7183
+ # The unique identifier of the OpenSearch application associated with
7184
+ # the migration.
7185
+ # @return [String]
7186
+ #
7187
+ # @!attribute [rw] source
7188
+ # The source configuration for the migration.
7189
+ # @return [Types::MigrationSource]
7190
+ #
7191
+ # @!attribute [rw] exported_count
7192
+ # The number of saved objects exported from the source data source.
7193
+ # @return [Integer]
7194
+ #
7195
+ # @!attribute [rw] imported_count
7196
+ # The number of saved objects successfully imported into the target
7197
+ # workspace.
7198
+ # @return [Integer]
7199
+ #
7200
+ # @!attribute [rw] error
7201
+ # Error details if the migration failed or completed with errors.
7202
+ # @return [Types::MigrationError]
7203
+ #
7204
+ # @!attribute [rw] created_at
7205
+ # The date and time when the migration job was created.
7206
+ # @return [Time]
7207
+ #
7208
+ # @!attribute [rw] updated_at
7209
+ # The date and time when the migration job was last updated.
7210
+ # @return [Time]
7211
+ #
7212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/MigrationSummary AWS API Documentation
7213
+ #
7214
+ class MigrationSummary < Struct.new(
7215
+ :migration_id,
7216
+ :status,
7217
+ :application_id,
7218
+ :source,
7219
+ :exported_count,
7220
+ :imported_count,
7221
+ :error,
7222
+ :created_at,
7223
+ :updated_at)
7224
+ SENSITIVE = []
7225
+ include Aws::Structure
7226
+ end
7227
+
7228
+ # The target workspace configuration for a migration. You can specify an
7229
+ # existing workspace by ID or request creation of a new workspace.
7230
+ #
7231
+ # @!attribute [rw] workspace_id
7232
+ # The unique identifier of an existing workspace to use as the
7233
+ # migration target. Specify either this parameter or
7234
+ # `createWorkspace`.
7235
+ # @return [String]
7236
+ #
7237
+ # @!attribute [rw] create_workspace
7238
+ # Specifies whether to create a new workspace as the migration target.
7239
+ # If `true`, you must also specify `name`.
7240
+ # @return [Boolean]
7241
+ #
7242
+ # @!attribute [rw] name
7243
+ # The name of the new workspace to create. Required when
7244
+ # `createWorkspace` is `true`.
7245
+ # @return [String]
7246
+ #
7247
+ # @!attribute [rw] type
7248
+ # The type of the new workspace to create.
7249
+ # @return [String]
7250
+ #
7251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/MigrationWorkspace AWS API Documentation
7252
+ #
7253
+ class MigrationWorkspace < Struct.new(
7254
+ :workspace_id,
7255
+ :create_workspace,
7256
+ :name,
7257
+ :type)
7258
+ SENSITIVE = []
7259
+ include Aws::Structure
7260
+ end
7261
+
6956
7262
  # Information about the domain properties that are currently being
6957
7263
  # modified.
6958
7264
  #
@@ -8231,6 +8537,26 @@ module Aws::OpenSearchService
8231
8537
  include Aws::Structure
8232
8538
  end
8233
8539
 
8540
+ # Identifies a specific saved object by its type and unique identifier.
8541
+ #
8542
+ # @!attribute [rw] type
8543
+ # The type of the saved object, such as `dashboard`, `visualization`,
8544
+ # `index-pattern`, `search`, or `query`.
8545
+ # @return [String]
8546
+ #
8547
+ # @!attribute [rw] id
8548
+ # The unique identifier of the saved object.
8549
+ # @return [String]
8550
+ #
8551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/SavedObjectIdentifier AWS API Documentation
8552
+ #
8553
+ class SavedObjectIdentifier < Struct.new(
8554
+ :type,
8555
+ :id)
8556
+ SENSITIVE = []
8557
+ include Aws::Structure
8558
+ end
8559
+
8234
8560
  # Information about a scheduled configuration change for an OpenSearch
8235
8561
  # Service domain. This actions can be a [service software update][1] or
8236
8562
  # a [blue/green Auto-Tune enhancement][2].
@@ -8583,6 +8909,52 @@ module Aws::OpenSearchService
8583
8909
  include Aws::Structure
8584
8910
  end
8585
8911
 
8912
+ # @!attribute [rw] application_id
8913
+ # The unique identifier of the OpenSearch application to migrate saved
8914
+ # objects into.
8915
+ # @return [String]
8916
+ #
8917
+ # @!attribute [rw] migration_options
8918
+ # The configuration options for the migration, including the source
8919
+ # data source, target workspace, export filters, and conflict
8920
+ # resolution strategy.
8921
+ # @return [Types::MigrationOptions]
8922
+ #
8923
+ # @!attribute [rw] client_token
8924
+ # A unique, case-sensitive identifier to ensure that the operation
8925
+ # completes no more than one time. If this token matches a previous
8926
+ # request, Amazon OpenSearch Service ignores the request but does not
8927
+ # return an error.
8928
+ # @return [String]
8929
+ #
8930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartMigrationRequest AWS API Documentation
8931
+ #
8932
+ class StartMigrationRequest < Struct.new(
8933
+ :application_id,
8934
+ :migration_options,
8935
+ :client_token)
8936
+ SENSITIVE = []
8937
+ include Aws::Structure
8938
+ end
8939
+
8940
+ # @!attribute [rw] migration_id
8941
+ # The unique identifier of the migration job.
8942
+ # @return [String]
8943
+ #
8944
+ # @!attribute [rw] status
8945
+ # The initial status of the migration job. The status is `PENDING`
8946
+ # when a migration is first created.
8947
+ # @return [String]
8948
+ #
8949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartMigrationResponse AWS API Documentation
8950
+ #
8951
+ class StartMigrationResponse < Struct.new(
8952
+ :migration_id,
8953
+ :status)
8954
+ SENSITIVE = []
8955
+ include Aws::Structure
8956
+ end
8957
+
8586
8958
  # Container for the request parameters to the
8587
8959
  # `StartServiceSoftwareUpdate` operation.
8588
8960
  #
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.105.0'
57
+ GEM_VERSION = '1.106.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -943,6 +943,23 @@ module Aws
943
943
  ) -> _GetIndexResponseSuccess
944
944
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexResponseSuccess
945
945
 
946
+ interface _GetMigrationResponseSuccess
947
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationResponse]
948
+ def migration_id: () -> ::String
949
+ def status: () -> ::String
950
+ def application_id: () -> ::String
951
+ def source: () -> Types::MigrationSource
952
+ def exported_count: () -> ::Integer
953
+ def imported_count: () -> ::Integer
954
+ def created_at: () -> ::Time
955
+ def updated_at: () -> ::Time
956
+ end
957
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_migration-instance_method
958
+ def get_migration: (
959
+ migration_id: ::String
960
+ ) -> _GetMigrationResponseSuccess
961
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMigrationResponseSuccess
962
+
946
963
  interface _GetPackageVersionHistoryResponseSuccess
947
964
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionHistoryResponse]
948
965
  def package_id: () -> ::String
@@ -1120,6 +1137,20 @@ module Aws
1120
1137
  ) -> _ListInstanceTypeDetailsResponseSuccess
1121
1138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstanceTypeDetailsResponseSuccess
1122
1139
 
1140
+ interface _ListMigrationsResponseSuccess
1141
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMigrationsResponse]
1142
+ def migrations: () -> ::Array[Types::MigrationSummary]
1143
+ def next_token: () -> ::String
1144
+ end
1145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#list_migrations-instance_method
1146
+ def list_migrations: (
1147
+ application_id: ::String,
1148
+ ?status: ::String,
1149
+ ?max_results: ::Integer,
1150
+ ?next_token: ::String
1151
+ ) -> _ListMigrationsResponseSuccess
1152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMigrationsResponseSuccess
1153
+
1123
1154
  interface _ListPackagesForDomainResponseSuccess
1124
1155
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPackagesForDomainResponse]
1125
1156
  def domain_package_details_list: () -> ::Array[Types::DomainPackageDetails]
@@ -1298,6 +1329,40 @@ module Aws
1298
1329
  ) -> _StartDomainMaintenanceResponseSuccess
1299
1330
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDomainMaintenanceResponseSuccess
1300
1331
 
1332
+ interface _StartMigrationResponseSuccess
1333
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMigrationResponse]
1334
+ def migration_id: () -> ::String
1335
+ def status: () -> ::String
1336
+ end
1337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#start_migration-instance_method
1338
+ def start_migration: (
1339
+ application_id: ::String,
1340
+ migration_options: {
1341
+ source: {
1342
+ datasource_arn: ::String
1343
+ },
1344
+ workspace: {
1345
+ workspace_id: ::String?,
1346
+ create_workspace: bool?,
1347
+ name: ::String?,
1348
+ type: ::String?
1349
+ },
1350
+ export_options: {
1351
+ types: Array[::String]?,
1352
+ objects: Array[
1353
+ {
1354
+ type: ::String,
1355
+ id: ::String
1356
+ }
1357
+ ]?,
1358
+ include_references_deep: bool?
1359
+ }?,
1360
+ conflict_resolution: ::String?
1361
+ },
1362
+ ?client_token: ::String
1363
+ ) -> _StartMigrationResponseSuccess
1364
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMigrationResponseSuccess
1365
+
1301
1366
  interface _StartServiceSoftwareUpdateResponseSuccess
1302
1367
  include ::Seahorse::Client::_ResponseSuccess[Types::StartServiceSoftwareUpdateResponse]
1303
1368
  def service_software_options: () -> Types::ServiceSoftwareOptions
data/sig/types.rbs CHANGED
@@ -1219,6 +1219,13 @@ module Aws::OpenSearchService
1219
1219
  SENSITIVE: []
1220
1220
  end
1221
1221
 
1222
+ class ExportOptions
1223
+ attr_accessor types: ::Array[::String]
1224
+ attr_accessor objects: ::Array[Types::SavedObjectIdentifier]
1225
+ attr_accessor include_references_deep: bool
1226
+ SENSITIVE: []
1227
+ end
1228
+
1222
1229
  class Filter
1223
1230
  attr_accessor name: ::String
1224
1231
  attr_accessor values: ::Array[::String]
@@ -1334,6 +1341,24 @@ module Aws::OpenSearchService
1334
1341
  SENSITIVE: []
1335
1342
  end
1336
1343
 
1344
+ class GetMigrationRequest
1345
+ attr_accessor migration_id: ::String
1346
+ SENSITIVE: []
1347
+ end
1348
+
1349
+ class GetMigrationResponse
1350
+ attr_accessor migration_id: ::String
1351
+ attr_accessor status: ::String
1352
+ attr_accessor application_id: ::String
1353
+ attr_accessor source: Types::MigrationSource
1354
+ attr_accessor exported_count: ::Integer
1355
+ attr_accessor imported_count: ::Integer
1356
+ attr_accessor error: Types::MigrationError
1357
+ attr_accessor created_at: ::Time
1358
+ attr_accessor updated_at: ::Time
1359
+ SENSITIVE: []
1360
+ end
1361
+
1337
1362
  class GetPackageVersionHistoryRequest
1338
1363
  attr_accessor package_id: ::String
1339
1364
  attr_accessor max_results: ::Integer
@@ -1681,6 +1706,20 @@ module Aws::OpenSearchService
1681
1706
  SENSITIVE: []
1682
1707
  end
1683
1708
 
1709
+ class ListMigrationsRequest
1710
+ attr_accessor application_id: ::String
1711
+ attr_accessor status: ::String
1712
+ attr_accessor max_results: ::Integer
1713
+ attr_accessor next_token: ::String
1714
+ SENSITIVE: []
1715
+ end
1716
+
1717
+ class ListMigrationsResponse
1718
+ attr_accessor migrations: ::Array[Types::MigrationSummary]
1719
+ attr_accessor next_token: ::String
1720
+ SENSITIVE: []
1721
+ end
1722
+
1684
1723
  class ListPackagesForDomainRequest
1685
1724
  attr_accessor domain_name: ::String
1686
1725
  attr_accessor max_results: ::Integer
@@ -1783,6 +1822,46 @@ module Aws::OpenSearchService
1783
1822
  SENSITIVE: [:master_user_name, :master_user_password]
1784
1823
  end
1785
1824
 
1825
+ class MigrationError
1826
+ attr_accessor code: ::String
1827
+ attr_accessor message: ::String
1828
+ SENSITIVE: []
1829
+ end
1830
+
1831
+ class MigrationOptions
1832
+ attr_accessor source: Types::MigrationSource
1833
+ attr_accessor workspace: Types::MigrationWorkspace
1834
+ attr_accessor export_options: Types::ExportOptions
1835
+ attr_accessor conflict_resolution: ::String
1836
+ SENSITIVE: []
1837
+ end
1838
+
1839
+ class MigrationSource
1840
+ attr_accessor datasource_arn: ::String
1841
+ SENSITIVE: []
1842
+ end
1843
+
1844
+ class MigrationSummary
1845
+ attr_accessor migration_id: ::String
1846
+ attr_accessor status: ::String
1847
+ attr_accessor application_id: ::String
1848
+ attr_accessor source: Types::MigrationSource
1849
+ attr_accessor exported_count: ::Integer
1850
+ attr_accessor imported_count: ::Integer
1851
+ attr_accessor error: Types::MigrationError
1852
+ attr_accessor created_at: ::Time
1853
+ attr_accessor updated_at: ::Time
1854
+ SENSITIVE: []
1855
+ end
1856
+
1857
+ class MigrationWorkspace
1858
+ attr_accessor workspace_id: ::String
1859
+ attr_accessor create_workspace: bool
1860
+ attr_accessor name: ::String
1861
+ attr_accessor type: ::String
1862
+ SENSITIVE: []
1863
+ end
1864
+
1786
1865
  class ModifyingProperties
1787
1866
  attr_accessor name: ::String
1788
1867
  attr_accessor active_value: ::String
@@ -2112,6 +2191,12 @@ module Aws::OpenSearchService
2112
2191
  SENSITIVE: []
2113
2192
  end
2114
2193
 
2194
+ class SavedObjectIdentifier
2195
+ attr_accessor type: ::String
2196
+ attr_accessor id: ::String
2197
+ SENSITIVE: []
2198
+ end
2199
+
2115
2200
  class ScheduledAction
2116
2201
  attr_accessor id: ::String
2117
2202
  attr_accessor type: ("SERVICE_SOFTWARE_UPDATE" | "JVM_HEAP_SIZE_TUNING" | "JVM_YOUNG_GEN_TUNING")
@@ -2203,6 +2288,19 @@ module Aws::OpenSearchService
2203
2288
  SENSITIVE: []
2204
2289
  end
2205
2290
 
2291
+ class StartMigrationRequest
2292
+ attr_accessor application_id: ::String
2293
+ attr_accessor migration_options: Types::MigrationOptions
2294
+ attr_accessor client_token: ::String
2295
+ SENSITIVE: []
2296
+ end
2297
+
2298
+ class StartMigrationResponse
2299
+ attr_accessor migration_id: ::String
2300
+ attr_accessor status: ::String
2301
+ SENSITIVE: []
2302
+ end
2303
+
2206
2304
  class StartServiceSoftwareUpdateRequest
2207
2305
  attr_accessor domain_name: ::String
2208
2306
  attr_accessor schedule_at: ("NOW" | "TIMESTAMP" | "OFF_PEAK_WINDOW")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.105.0
4
+ version: 1.106.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services