aws-sdk-migrationhub 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-migrationhub.rb +1 -1
- data/lib/aws-sdk-migrationhub/client.rb +30 -12
- data/lib/aws-sdk-migrationhub/types.rb +40 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 760d88d7c645bc5ac6932738a6e958e34873b0c8
|
4
|
+
data.tar.gz: '0058e5c5e0ab701f526273c87426728258ce9c4e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca1142b6c09be3a343b60e91222c892d221f739df127f077a0484bf447eaad65fb0ba9686b82f93060bf07c1154c3cf1b5074eff69510f624f7a3be07feb4647
|
7
|
+
data.tar.gz: 913f84124d085c8dc41ca8a8eaf308a5e4ead02e51ac08549b12fd704819e8a0f864dd597f11d315c5fda834ca060e8f27698ea10d7ea02e11ca1dd092f9d5f1
|
data/lib/aws-sdk-migrationhub.rb
CHANGED
@@ -286,9 +286,8 @@ module Aws::MigrationHub
|
|
286
286
|
# stream name (same as a `CreateProgressUpdateStream` call).
|
287
287
|
#
|
288
288
|
# * The call will return, and a background process will asynchronously
|
289
|
-
#
|
290
|
-
#
|
291
|
-
# artifacts).
|
289
|
+
# delete the stream and all of its resources (tasks, associated
|
290
|
+
# resources, resource attributes, created artifacts).
|
292
291
|
#
|
293
292
|
# * If the stream takes time to be deleted, it might still show up on a
|
294
293
|
# `ListProgressUpdateStreams` call.
|
@@ -389,7 +388,7 @@ module Aws::MigrationHub
|
|
389
388
|
# resp.migration_task.task.progress_percent #=> Integer
|
390
389
|
# resp.migration_task.update_date_time #=> Time
|
391
390
|
# resp.migration_task.resource_attribute_list #=> Array
|
392
|
-
# resp.migration_task.resource_attribute_list[0].type #=> String, one of "IPV4_ADDRESS", "IPV6_ADDRESS", "MAC_ADDRESS", "FQDN", "VM_MANAGER_ID", "VM_MANAGED_OBJECT_REFERENCE", "VM_NAME", "VM_PATH", "BIOS_ID", "MOTHERBOARD_SERIAL_NUMBER"
|
391
|
+
# resp.migration_task.resource_attribute_list[0].type #=> String, one of "IPV4_ADDRESS", "IPV6_ADDRESS", "MAC_ADDRESS", "FQDN", "VM_MANAGER_ID", "VM_MANAGED_OBJECT_REFERENCE", "VM_NAME", "VM_PATH", "BIOS_ID", "MOTHERBOARD_SERIAL_NUMBER"
|
393
392
|
# resp.migration_task.resource_attribute_list[0].value #=> String
|
394
393
|
#
|
395
394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask AWS API Documentation
|
@@ -818,15 +817,19 @@ module Aws::MigrationHub
|
|
818
817
|
# repository. This association occurs asynchronously after
|
819
818
|
# `PutResourceAttributes` returns.
|
820
819
|
#
|
821
|
-
# Keep in mind that subsequent calls to PutResourceAttributes will
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
820
|
+
# * Keep in mind that subsequent calls to PutResourceAttributes will
|
821
|
+
# override previously stored attributes. For example, if it is first
|
822
|
+
# called with a MAC address, but later, it is desired to *add* an IP
|
823
|
+
# address, it will then be required to call it with *both* the IP and
|
824
|
+
# MAC addresses to prevent overiding the MAC address.
|
825
|
+
#
|
826
|
+
# * Note the instructions regarding the special use case of the
|
827
|
+
# `ResourceAttributeList` parameter when specifying any "VM" related
|
828
|
+
# value.
|
826
829
|
#
|
827
830
|
# <note markdown="1"> Because this is an asynchronous call, it will always return 200,
|
828
831
|
# whether an association occurs or not. To confirm if an association was
|
829
|
-
# found based on the provided details, call `
|
832
|
+
# found based on the provided details, call `ListDiscoveredResources`.
|
830
833
|
#
|
831
834
|
# </note>
|
832
835
|
#
|
@@ -841,6 +844,21 @@ module Aws::MigrationHub
|
|
841
844
|
# be used to map the task to a resource in the Application Discovery
|
842
845
|
# Service (ADS)'s repository.
|
843
846
|
#
|
847
|
+
# <note markdown="1"> In the `ResourceAttribute` object array, the `Type` field is reserved
|
848
|
+
# for the following values: `IPV4_ADDRESS | IPV6_ADDRESS | MAC_ADDRESS |
|
849
|
+
# FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE | VM_NAME | VM_PATH
|
850
|
+
# | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER`, and the identifying value can
|
851
|
+
# be a string up to 256 characters.
|
852
|
+
#
|
853
|
+
# </note>
|
854
|
+
#
|
855
|
+
# If any "VM" related value is used for a `ResourceAttribute` object,
|
856
|
+
# it is required that `VM_MANAGER_ID`, as a minimum, is always used. If
|
857
|
+
# it is not used, the server will not be associated in the Application
|
858
|
+
# Discovery Service (ADS)'s repository using any of the other "VM"
|
859
|
+
# related values, and you will experience data loss. See the Example
|
860
|
+
# section below for a use case of specifying "VM" related values.
|
861
|
+
#
|
844
862
|
# @option params [Boolean] :dry_run
|
845
863
|
# Optional boolean flag to indicate whether any effect should take
|
846
864
|
# place. Used to test if the caller has permission to make the call.
|
@@ -854,7 +872,7 @@ module Aws::MigrationHub
|
|
854
872
|
# migration_task_name: "MigrationTaskName", # required
|
855
873
|
# resource_attribute_list: [ # required
|
856
874
|
# {
|
857
|
-
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
875
|
+
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
858
876
|
# value: "ResourceAttributeValue", # required
|
859
877
|
# },
|
860
878
|
# ],
|
@@ -883,7 +901,7 @@ module Aws::MigrationHub
|
|
883
901
|
params: params,
|
884
902
|
config: config)
|
885
903
|
context[:gem_name] = 'aws-sdk-migrationhub'
|
886
|
-
context[:gem_version] = '1.0
|
904
|
+
context[:gem_version] = '1.1.0'
|
887
905
|
Seahorse::Client::Request.new(handlers, context)
|
888
906
|
end
|
889
907
|
|
@@ -801,7 +801,7 @@ module Aws::MigrationHub
|
|
801
801
|
# migration_task_name: "MigrationTaskName", # required
|
802
802
|
# resource_attribute_list: [ # required
|
803
803
|
# {
|
804
|
-
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
804
|
+
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
805
805
|
# value: "ResourceAttributeValue", # required
|
806
806
|
# },
|
807
807
|
# ],
|
@@ -820,6 +820,22 @@ module Aws::MigrationHub
|
|
820
820
|
# Information about the resource that is being migrated. This data
|
821
821
|
# will be used to map the task to a resource in the Application
|
822
822
|
# Discovery Service (ADS)'s repository.
|
823
|
+
#
|
824
|
+
# <note markdown="1"> In the `ResourceAttribute` object array, the `Type` field is
|
825
|
+
# reserved for the following values: `IPV4_ADDRESS | IPV6_ADDRESS |
|
826
|
+
# MAC_ADDRESS | FQDN | VM_MANAGER_ID | VM_MANAGED_OBJECT_REFERENCE |
|
827
|
+
# VM_NAME | VM_PATH | BIOS_ID | MOTHERBOARD_SERIAL_NUMBER`, and the
|
828
|
+
# identifying value can be a string up to 256 characters.
|
829
|
+
#
|
830
|
+
# </note>
|
831
|
+
#
|
832
|
+
# If any "VM" related value is used for a `ResourceAttribute`
|
833
|
+
# object, it is required that `VM_MANAGER_ID`, as a minimum, is always
|
834
|
+
# used. If it is not used, the server will not be associated in the
|
835
|
+
# Application Discovery Service (ADS)'s repository using any of the
|
836
|
+
# other "VM" related values, and you will experience data loss. See
|
837
|
+
# the Example section below for a use case of specifying "VM"
|
838
|
+
# related values.
|
823
839
|
# @return [Array<Types::ResourceAttribute>]
|
824
840
|
#
|
825
841
|
# @!attribute [rw] dry_run
|
@@ -843,11 +859,33 @@ module Aws::MigrationHub
|
|
843
859
|
|
844
860
|
# Attribute associated with a resource.
|
845
861
|
#
|
862
|
+
# Note the corresponding format required per type listed below:
|
863
|
+
#
|
864
|
+
# IPV4
|
865
|
+
#
|
866
|
+
# : `x.x.x.x`
|
867
|
+
#
|
868
|
+
# *where x is an integer in the range \[0,255\]*
|
869
|
+
#
|
870
|
+
# IPV6
|
871
|
+
#
|
872
|
+
# : `y : y : y : y : y : y : y : y`
|
873
|
+
#
|
874
|
+
# *where y is a hexadecimal between 0 and FFFF. \[0, FFFF\]*
|
875
|
+
#
|
876
|
+
# MAC\_ADDRESS
|
877
|
+
#
|
878
|
+
# : `^([0-9A-Fa-f]\{2\}[:-])\{5\}([0-9A-Fa-f]\{2\})$`
|
879
|
+
#
|
880
|
+
# FQDN
|
881
|
+
#
|
882
|
+
# : `^[^<>\{\}\\\\/?,=\\p\{Cntrl\}]\{1,256\}$`
|
883
|
+
#
|
846
884
|
# @note When making an API call, you may pass ResourceAttribute
|
847
885
|
# data as a hash:
|
848
886
|
#
|
849
887
|
# {
|
850
|
-
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
888
|
+
# type: "IPV4_ADDRESS", # required, accepts IPV4_ADDRESS, IPV6_ADDRESS, MAC_ADDRESS, FQDN, VM_MANAGER_ID, VM_MANAGED_OBJECT_REFERENCE, VM_NAME, VM_PATH, BIOS_ID, MOTHERBOARD_SERIAL_NUMBER
|
851
889
|
# value: "ResourceAttributeValue", # required
|
852
890
|
# }
|
853
891
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-migrationhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.5.
|
78
|
+
rubygems_version: 2.5.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: AWS SDK for Ruby - AWS Migration Hub
|