aws-sdk-migrationhub 1.41.0 → 1.42.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 +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-migrationhub/client.rb +1 -1
- data/lib/aws-sdk-migrationhub/endpoint_provider.rb +35 -95
- data/lib/aws-sdk-migrationhub/types.rb +0 -206
- data/lib/aws-sdk-migrationhub.rb +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: ba26959a78328194f1afc03dec3c8020caba06c9995f78915d56c8e46b97f51b
         | 
| 4 | 
            +
              data.tar.gz: 5a20177d6042a403db63eafc383ec0806384fe3e2a5b237268e74fd620bd6f42
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: '064992b97bb224e2cc72f04858c13dcf33d5838666a955fa29e1cac7c077ee8883e251dfbb7104d4a332759a0f0dcdc50acc585e9a240991caeb4eaaac74ccf9'
         | 
| 7 | 
            +
              data.tar.gz: e260a7b70a216d0c07427fef405dee2a744cd778c4ace314308012eed9d08bf6871842ec9e251cbc4809c85ccecd492eb8949e21bda588a37234ebaebc549fbe
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,13 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.42.0 (2023-01-18)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * Issue - Replace runtime endpoint resolution approach with generated ruby code.
         | 
| 10 | 
            +
             | 
| 4 11 | 
             
            1.41.0 (2022-10-25)
         | 
| 5 12 | 
             
            ------------------
         | 
| 6 13 |  | 
| @@ -223,4 +230,4 @@ Unreleased Changes | |
| 223 230 | 
             
            1.0.0.rc1 (2017-08-14)
         | 
| 224 231 | 
             
            ------------------
         | 
| 225 232 |  | 
| 226 | 
            -
            * Feature - Initial release of `aws-sdk-migrationhub`.
         | 
| 233 | 
            +
            * Feature - Initial release of `aws-sdk-migrationhub`.
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.42.0
         | 
| @@ -1211,7 +1211,7 @@ module Aws::MigrationHub | |
| 1211 1211 | 
             
                    params: params,
         | 
| 1212 1212 | 
             
                    config: config)
         | 
| 1213 1213 | 
             
                  context[:gem_name] = 'aws-sdk-migrationhub'
         | 
| 1214 | 
            -
                  context[:gem_version] = '1. | 
| 1214 | 
            +
                  context[:gem_version] = '1.42.0'
         | 
| 1215 1215 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1216 1216 | 
             
                end
         | 
| 1217 1217 |  | 
| @@ -9,103 +9,43 @@ | |
| 9 9 |  | 
| 10 10 | 
             
            module Aws::MigrationHub
         | 
| 11 11 | 
             
              class EndpointProvider
         | 
| 12 | 
            -
                def  | 
| 13 | 
            -
                   | 
| 14 | 
            -
             | 
| 15 | 
            -
             | 
| 16 | 
            -
             | 
| 17 | 
            -
             | 
| 18 | 
            -
             | 
| 19 | 
            -
                       | 
| 20 | 
            -
             | 
| 12 | 
            +
                def resolve_endpoint(parameters)
         | 
| 13 | 
            +
                  region = parameters.region
         | 
| 14 | 
            +
                  use_dual_stack = parameters.use_dual_stack
         | 
| 15 | 
            +
                  use_fips = parameters.use_fips
         | 
| 16 | 
            +
                  endpoint = parameters.endpoint
         | 
| 17 | 
            +
                  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         | 
| 18 | 
            +
                    if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
         | 
| 19 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 20 | 
            +
                        raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         | 
| 21 | 
            +
                      end
         | 
| 22 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 23 | 
            +
                        raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         | 
| 24 | 
            +
                      end
         | 
| 25 | 
            +
                      return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         | 
| 26 | 
            +
                    end
         | 
| 27 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 28 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 29 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://mgh-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 30 | 
            +
                      end
         | 
| 31 | 
            +
                      raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 32 | 
            +
                    end
         | 
| 33 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 34 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         | 
| 35 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://mgh-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 36 | 
            +
                      end
         | 
| 37 | 
            +
                      raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| 38 | 
            +
                    end
         | 
| 39 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 40 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 41 | 
            +
                        return Aws::Endpoints::Endpoint.new(url: "https://mgh.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 42 | 
            +
                      end
         | 
| 43 | 
            +
                      raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         | 
| 44 | 
            +
                    end
         | 
| 45 | 
            +
                    return Aws::Endpoints::Endpoint.new(url: "https://mgh.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 21 46 | 
             
                  end
         | 
| 22 | 
            -
                   | 
| 23 | 
            -
                end
         | 
| 47 | 
            +
                  raise ArgumentError, 'No endpoint could be resolved'
         | 
| 24 48 |  | 
| 25 | 
            -
                def resolve_endpoint(parameters)
         | 
| 26 | 
            -
                  @provider.resolve_endpoint(parameters)
         | 
| 27 49 | 
             
                end
         | 
| 28 | 
            -
             | 
| 29 | 
            -
                # @api private
         | 
| 30 | 
            -
                RULES = <<-JSON
         | 
| 31 | 
            -
            eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
         | 
| 32 | 
            -
            bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
         | 
| 33 | 
            -
            dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
         | 
| 34 | 
            -
            cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
         | 
| 35 | 
            -
            dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
         | 
| 36 | 
            -
            ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
         | 
| 37 | 
            -
            ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
         | 
| 38 | 
            -
            ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
         | 
| 39 | 
            -
            aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
         | 
| 40 | 
            -
            OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
         | 
| 41 | 
            -
            UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
         | 
| 42 | 
            -
            dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZCB0aGlzIHJlcXVlc3QgdG8gdGhlIEZJ
         | 
| 43 | 
            -
            UFMtY29tcGxpYW50IHJlZ2lvbmFsIGVuZHBvaW50LiBJZiB0aGUgY29uZmln
         | 
| 44 | 
            -
            dXJlZCBlbmRwb2ludCBkb2VzIG5vdCBoYXZlIGEgRklQUyBjb21wbGlhbnQg
         | 
| 45 | 
            -
            ZW5kcG9pbnQsIGRpc3BhdGNoaW5nIHRoZSByZXF1ZXN0IHdpbGwgcmV0dXJu
         | 
| 46 | 
            -
            IGFuIGVycm9yLiIsInR5cGUiOiJCb29sZWFuIn0sIkVuZHBvaW50Ijp7ImJ1
         | 
| 47 | 
            -
            aWx0SW4iOiJTREs6OkVuZHBvaW50IiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1
         | 
| 48 | 
            -
            bWVudGF0aW9uIjoiT3ZlcnJpZGUgdGhlIGVuZHBvaW50IHVzZWQgdG8gc2Vu
         | 
| 49 | 
            -
            ZCB0aGlzIHJlcXVlc3QiLCJ0eXBlIjoiU3RyaW5nIn19LCJydWxlcyI6W3si
         | 
| 50 | 
            -
            Y29uZGl0aW9ucyI6W3siZm4iOiJhd3MucGFydGl0aW9uIiwiYXJndiI6W3si
         | 
| 51 | 
            -
            cmVmIjoiUmVnaW9uIn1dLCJhc3NpZ24iOiJQYXJ0aXRpb25SZXN1bHQifV0s
         | 
| 52 | 
            -
            InR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZuIjoi
         | 
| 53 | 
            -
            aXNTZXQiLCJhcmd2IjpbeyJyZWYiOiJFbmRwb2ludCJ9XX0seyJmbiI6InBh
         | 
| 54 | 
            -
            cnNlVVJMIiwiYXJndiI6W3sicmVmIjoiRW5kcG9pbnQifV0sImFzc2lnbiI6
         | 
| 55 | 
            -
            InVybCJ9XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 56 | 
            -
            W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQ
         | 
| 57 | 
            -
            UyJ9LHRydWVdfV0sImVycm9yIjoiSW52YWxpZCBDb25maWd1cmF0aW9uOiBG
         | 
| 58 | 
            -
            SVBTIGFuZCBjdXN0b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0
         | 
| 59 | 
            -
            eXBlIjoiZXJyb3IifSx7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIs
         | 
| 60 | 
            -
            InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 61 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJlcnJv
         | 
| 62 | 
            -
            ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRHVhbHN0YWNrIGFuZCBjdXN0
         | 
| 63 | 
            -
            b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0eXBlIjoiZXJyb3Ii
         | 
| 64 | 
            -
            fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOnsicmVmIjoi
         | 
| 65 | 
            -
            RW5kcG9pbnQifSwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
         | 
| 66 | 
            -
            ZSI6ImVuZHBvaW50In1dfV19LHsiY29uZGl0aW9ucyI6W3siZm4iOiJib29s
         | 
| 67 | 
            -
            ZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQUyJ9LHRydWVdfSx7
         | 
| 68 | 
            -
            ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUR1YWxT
         | 
| 69 | 
            -
            dGFjayJ9LHRydWVdfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 70 | 
            -
            dGlvbnMiOlt7ImZuIjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsi
         | 
| 71 | 
            -
            Zm4iOiJnZXRBdHRyIiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0
         | 
| 72 | 
            -
            In0sInN1cHBvcnRzRklQUyJdfV19LHsiZm4iOiJib29sZWFuRXF1YWxzIiwi
         | 
| 73 | 
            -
            YXJndiI6W3RydWUseyJmbiI6ImdldEF0dHIiLCJhcmd2IjpbeyJyZWYiOiJQ
         | 
| 74 | 
            -
            YXJ0aXRpb25SZXN1bHQifSwic3VwcG9ydHNEdWFsU3RhY2siXX1dfV0sInR5
         | 
| 75 | 
            -
            cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
         | 
| 76 | 
            -
            dCI6eyJ1cmwiOiJodHRwczovL21naC1maXBzLntSZWdpb259LntQYXJ0aXRp
         | 
| 77 | 
            -
            b25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
         | 
| 78 | 
            -
            LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRp
         | 
| 79 | 
            -
            b25zIjpbXSwiZXJyb3IiOiJGSVBTIGFuZCBEdWFsU3RhY2sgYXJlIGVuYWJs
         | 
| 80 | 
            -
            ZWQsIGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IG9uZSBv
         | 
| 81 | 
            -
            ciBib3RoIiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOlt7ImZu
         | 
| 82 | 
            -
            IjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt7InJlZiI6IlVzZUZJUFMifSx0
         | 
| 83 | 
            -
            cnVlXX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpb
         | 
| 84 | 
            -
            eyJmbiI6ImJvb2xlYW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0
         | 
| 85 | 
            -
            QXR0ciIsImFyZ3YiOlt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBw
         | 
| 86 | 
            -
            b3J0c0ZJUFMiXX1dfV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRp
         | 
| 87 | 
            -
            dGlvbnMiOltdLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25z
         | 
| 88 | 
            -
            IjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9tZ2gtZmlwcy57UmVn
         | 
| 89 | 
            -
            aW9ufS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVz
         | 
| 90 | 
            -
            Ijp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0seyJj
         | 
| 91 | 
            -
            b25kaXRpb25zIjpbXSwiZXJyb3IiOiJGSVBTIGlzIGVuYWJsZWQgYnV0IHRo
         | 
| 92 | 
            -
            aXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRklQUyIsInR5cGUiOiJl
         | 
| 93 | 
            -
            cnJvciJ9XX0seyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
         | 
| 94 | 
            -
            LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJ0eXBl
         | 
| 95 | 
            -
            IjoidHJlZSIsInJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xl
         | 
| 96 | 
            -
            YW5FcXVhbHMiLCJhcmd2IjpbdHJ1ZSx7ImZuIjoiZ2V0QXR0ciIsImFyZ3Yi
         | 
| 97 | 
            -
            Olt7InJlZiI6IlBhcnRpdGlvblJlc3VsdCJ9LCJzdXBwb3J0c0R1YWxTdGFj
         | 
| 98 | 
            -
            ayJdfV19XSwidHlwZSI6InRyZWUiLCJydWxlcyI6W3siY29uZGl0aW9ucyI6
         | 
| 99 | 
            -
            W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vbWdoLntSZWdpb259LntQ
         | 
| 100 | 
            -
            YXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRp
         | 
| 101 | 
            -
            ZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJj
         | 
| 102 | 
            -
            b25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
         | 
| 103 | 
            -
            dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
         | 
| 104 | 
            -
            LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
         | 
| 105 | 
            -
            Ijp7InVybCI6Imh0dHBzOi8vbWdoLntSZWdpb259LntQYXJ0aXRpb25SZXN1
         | 
| 106 | 
            -
            bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
         | 
| 107 | 
            -
            InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
         | 
| 108 | 
            -
             | 
| 109 | 
            -
                JSON
         | 
| 110 50 | 
             
              end
         | 
| 111 51 | 
             
            end
         | 
| @@ -50,19 +50,6 @@ module Aws::MigrationHub | |
| 50 50 | 
             
                  include Aws::Structure
         | 
| 51 51 | 
             
                end
         | 
| 52 52 |  | 
| 53 | 
            -
                # @note When making an API call, you may pass AssociateCreatedArtifactRequest
         | 
| 54 | 
            -
                #   data as a hash:
         | 
| 55 | 
            -
                #
         | 
| 56 | 
            -
                #       {
         | 
| 57 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 58 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 59 | 
            -
                #         created_artifact: { # required
         | 
| 60 | 
            -
                #           name: "CreatedArtifactName", # required
         | 
| 61 | 
            -
                #           description: "CreatedArtifactDescription",
         | 
| 62 | 
            -
                #         },
         | 
| 63 | 
            -
                #         dry_run: false,
         | 
| 64 | 
            -
                #       }
         | 
| 65 | 
            -
                #
         | 
| 66 53 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 67 54 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 68 55 | 
             
                #   @return [String]
         | 
| @@ -97,19 +84,6 @@ module Aws::MigrationHub | |
| 97 84 | 
             
                #
         | 
| 98 85 | 
             
                class AssociateCreatedArtifactResult < Aws::EmptyStructure; end
         | 
| 99 86 |  | 
| 100 | 
            -
                # @note When making an API call, you may pass AssociateDiscoveredResourceRequest
         | 
| 101 | 
            -
                #   data as a hash:
         | 
| 102 | 
            -
                #
         | 
| 103 | 
            -
                #       {
         | 
| 104 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 105 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 106 | 
            -
                #         discovered_resource: { # required
         | 
| 107 | 
            -
                #           configuration_id: "ConfigurationId", # required
         | 
| 108 | 
            -
                #           description: "DiscoveredResourceDescription",
         | 
| 109 | 
            -
                #         },
         | 
| 110 | 
            -
                #         dry_run: false,
         | 
| 111 | 
            -
                #       }
         | 
| 112 | 
            -
                #
         | 
| 113 87 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 114 88 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 115 89 | 
             
                #   @return [String]
         | 
| @@ -143,14 +117,6 @@ module Aws::MigrationHub | |
| 143 117 | 
             
                #
         | 
| 144 118 | 
             
                class AssociateDiscoveredResourceResult < Aws::EmptyStructure; end
         | 
| 145 119 |  | 
| 146 | 
            -
                # @note When making an API call, you may pass CreateProgressUpdateStreamRequest
         | 
| 147 | 
            -
                #   data as a hash:
         | 
| 148 | 
            -
                #
         | 
| 149 | 
            -
                #       {
         | 
| 150 | 
            -
                #         progress_update_stream_name: "ProgressUpdateStream", # required
         | 
| 151 | 
            -
                #         dry_run: false,
         | 
| 152 | 
            -
                #       }
         | 
| 153 | 
            -
                #
         | 
| 154 120 | 
             
                # @!attribute [rw] progress_update_stream_name
         | 
| 155 121 | 
             
                #   The name of the ProgressUpdateStream. *Do not store personal data in
         | 
| 156 122 | 
             
                #   this field.*
         | 
| @@ -177,14 +143,6 @@ module Aws::MigrationHub | |
| 177 143 | 
             
                # An ARN of the AWS cloud resource target receiving the migration (e.g.,
         | 
| 178 144 | 
             
                # AMI, EC2 instance, RDS instance, etc.).
         | 
| 179 145 | 
             
                #
         | 
| 180 | 
            -
                # @note When making an API call, you may pass CreatedArtifact
         | 
| 181 | 
            -
                #   data as a hash:
         | 
| 182 | 
            -
                #
         | 
| 183 | 
            -
                #       {
         | 
| 184 | 
            -
                #         name: "CreatedArtifactName", # required
         | 
| 185 | 
            -
                #         description: "CreatedArtifactDescription",
         | 
| 186 | 
            -
                #       }
         | 
| 187 | 
            -
                #
         | 
| 188 146 | 
             
                # @!attribute [rw] name
         | 
| 189 147 | 
             
                #   An ARN that uniquely identifies the result of a migration task.
         | 
| 190 148 | 
             
                #   @return [String]
         | 
| @@ -203,14 +161,6 @@ module Aws::MigrationHub | |
| 203 161 | 
             
                  include Aws::Structure
         | 
| 204 162 | 
             
                end
         | 
| 205 163 |  | 
| 206 | 
            -
                # @note When making an API call, you may pass DeleteProgressUpdateStreamRequest
         | 
| 207 | 
            -
                #   data as a hash:
         | 
| 208 | 
            -
                #
         | 
| 209 | 
            -
                #       {
         | 
| 210 | 
            -
                #         progress_update_stream_name: "ProgressUpdateStream", # required
         | 
| 211 | 
            -
                #         dry_run: false,
         | 
| 212 | 
            -
                #       }
         | 
| 213 | 
            -
                #
         | 
| 214 164 | 
             
                # @!attribute [rw] progress_update_stream_name
         | 
| 215 165 | 
             
                #   The name of the ProgressUpdateStream. *Do not store personal data in
         | 
| 216 166 | 
             
                #   this field.*
         | 
| @@ -234,13 +184,6 @@ module Aws::MigrationHub | |
| 234 184 | 
             
                #
         | 
| 235 185 | 
             
                class DeleteProgressUpdateStreamResult < Aws::EmptyStructure; end
         | 
| 236 186 |  | 
| 237 | 
            -
                # @note When making an API call, you may pass DescribeApplicationStateRequest
         | 
| 238 | 
            -
                #   data as a hash:
         | 
| 239 | 
            -
                #
         | 
| 240 | 
            -
                #       {
         | 
| 241 | 
            -
                #         application_id: "ApplicationId", # required
         | 
| 242 | 
            -
                #       }
         | 
| 243 | 
            -
                #
         | 
| 244 187 | 
             
                # @!attribute [rw] application_id
         | 
| 245 188 | 
             
                #   The configurationId in Application Discovery Service that uniquely
         | 
| 246 189 | 
             
                #   identifies the grouped application.
         | 
| @@ -271,14 +214,6 @@ module Aws::MigrationHub | |
| 271 214 | 
             
                  include Aws::Structure
         | 
| 272 215 | 
             
                end
         | 
| 273 216 |  | 
| 274 | 
            -
                # @note When making an API call, you may pass DescribeMigrationTaskRequest
         | 
| 275 | 
            -
                #   data as a hash:
         | 
| 276 | 
            -
                #
         | 
| 277 | 
            -
                #       {
         | 
| 278 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 279 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 280 | 
            -
                #       }
         | 
| 281 | 
            -
                #
         | 
| 282 217 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 283 218 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 284 219 | 
             
                #   @return [String]
         | 
| @@ -309,16 +244,6 @@ module Aws::MigrationHub | |
| 309 244 | 
             
                  include Aws::Structure
         | 
| 310 245 | 
             
                end
         | 
| 311 246 |  | 
| 312 | 
            -
                # @note When making an API call, you may pass DisassociateCreatedArtifactRequest
         | 
| 313 | 
            -
                #   data as a hash:
         | 
| 314 | 
            -
                #
         | 
| 315 | 
            -
                #       {
         | 
| 316 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 317 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 318 | 
            -
                #         created_artifact_name: "CreatedArtifactName", # required
         | 
| 319 | 
            -
                #         dry_run: false,
         | 
| 320 | 
            -
                #       }
         | 
| 321 | 
            -
                #
         | 
| 322 247 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 323 248 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 324 249 | 
             
                #   @return [String]
         | 
| @@ -354,16 +279,6 @@ module Aws::MigrationHub | |
| 354 279 | 
             
                #
         | 
| 355 280 | 
             
                class DisassociateCreatedArtifactResult < Aws::EmptyStructure; end
         | 
| 356 281 |  | 
| 357 | 
            -
                # @note When making an API call, you may pass DisassociateDiscoveredResourceRequest
         | 
| 358 | 
            -
                #   data as a hash:
         | 
| 359 | 
            -
                #
         | 
| 360 | 
            -
                #       {
         | 
| 361 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 362 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 363 | 
            -
                #         configuration_id: "ConfigurationId", # required
         | 
| 364 | 
            -
                #         dry_run: false,
         | 
| 365 | 
            -
                #       }
         | 
| 366 | 
            -
                #
         | 
| 367 282 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 368 283 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 369 284 | 
             
                #   @return [String]
         | 
| @@ -400,14 +315,6 @@ module Aws::MigrationHub | |
| 400 315 |  | 
| 401 316 | 
             
                # Object representing the on-premises resource being migrated.
         | 
| 402 317 | 
             
                #
         | 
| 403 | 
            -
                # @note When making an API call, you may pass DiscoveredResource
         | 
| 404 | 
            -
                #   data as a hash:
         | 
| 405 | 
            -
                #
         | 
| 406 | 
            -
                #       {
         | 
| 407 | 
            -
                #         configuration_id: "ConfigurationId", # required
         | 
| 408 | 
            -
                #         description: "DiscoveredResourceDescription",
         | 
| 409 | 
            -
                #       }
         | 
| 410 | 
            -
                #
         | 
| 411 318 | 
             
                # @!attribute [rw] configuration_id
         | 
| 412 319 | 
             
                #   The configurationId in Application Discovery Service that uniquely
         | 
| 413 320 | 
             
                #   identifies the on-premise resource.
         | 
| @@ -454,15 +361,6 @@ module Aws::MigrationHub | |
| 454 361 | 
             
                  include Aws::Structure
         | 
| 455 362 | 
             
                end
         | 
| 456 363 |  | 
| 457 | 
            -
                # @note When making an API call, you may pass ImportMigrationTaskRequest
         | 
| 458 | 
            -
                #   data as a hash:
         | 
| 459 | 
            -
                #
         | 
| 460 | 
            -
                #       {
         | 
| 461 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 462 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 463 | 
            -
                #         dry_run: false,
         | 
| 464 | 
            -
                #       }
         | 
| 465 | 
            -
                #
         | 
| 466 364 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 467 365 | 
             
                #   The name of the ProgressUpdateStream. >
         | 
| 468 366 | 
             
                #   @return [String]
         | 
| @@ -519,15 +417,6 @@ module Aws::MigrationHub | |
| 519 417 | 
             
                  include Aws::Structure
         | 
| 520 418 | 
             
                end
         | 
| 521 419 |  | 
| 522 | 
            -
                # @note When making an API call, you may pass ListApplicationStatesRequest
         | 
| 523 | 
            -
                #   data as a hash:
         | 
| 524 | 
            -
                #
         | 
| 525 | 
            -
                #       {
         | 
| 526 | 
            -
                #         application_ids: ["ApplicationId"],
         | 
| 527 | 
            -
                #         next_token: "Token",
         | 
| 528 | 
            -
                #         max_results: 1,
         | 
| 529 | 
            -
                #       }
         | 
| 530 | 
            -
                #
         | 
| 531 420 | 
             
                # @!attribute [rw] application_ids
         | 
| 532 421 | 
             
                #   The configurationIds from the Application Discovery Service that
         | 
| 533 422 | 
             
                #   uniquely identifies your applications.
         | 
| @@ -572,16 +461,6 @@ module Aws::MigrationHub | |
| 572 461 | 
             
                  include Aws::Structure
         | 
| 573 462 | 
             
                end
         | 
| 574 463 |  | 
| 575 | 
            -
                # @note When making an API call, you may pass ListCreatedArtifactsRequest
         | 
| 576 | 
            -
                #   data as a hash:
         | 
| 577 | 
            -
                #
         | 
| 578 | 
            -
                #       {
         | 
| 579 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 580 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 581 | 
            -
                #         next_token: "Token",
         | 
| 582 | 
            -
                #         max_results: 1,
         | 
| 583 | 
            -
                #       }
         | 
| 584 | 
            -
                #
         | 
| 585 464 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 586 465 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 587 466 | 
             
                #   @return [String]
         | 
| @@ -632,16 +511,6 @@ module Aws::MigrationHub | |
| 632 511 | 
             
                  include Aws::Structure
         | 
| 633 512 | 
             
                end
         | 
| 634 513 |  | 
| 635 | 
            -
                # @note When making an API call, you may pass ListDiscoveredResourcesRequest
         | 
| 636 | 
            -
                #   data as a hash:
         | 
| 637 | 
            -
                #
         | 
| 638 | 
            -
                #       {
         | 
| 639 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 640 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 641 | 
            -
                #         next_token: "Token",
         | 
| 642 | 
            -
                #         max_results: 1,
         | 
| 643 | 
            -
                #       }
         | 
| 644 | 
            -
                #
         | 
| 645 514 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 646 515 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 647 516 | 
             
                #   @return [String]
         | 
| @@ -692,15 +561,6 @@ module Aws::MigrationHub | |
| 692 561 | 
             
                  include Aws::Structure
         | 
| 693 562 | 
             
                end
         | 
| 694 563 |  | 
| 695 | 
            -
                # @note When making an API call, you may pass ListMigrationTasksRequest
         | 
| 696 | 
            -
                #   data as a hash:
         | 
| 697 | 
            -
                #
         | 
| 698 | 
            -
                #       {
         | 
| 699 | 
            -
                #         next_token: "Token",
         | 
| 700 | 
            -
                #         max_results: 1,
         | 
| 701 | 
            -
                #         resource_name: "ResourceName",
         | 
| 702 | 
            -
                #       }
         | 
| 703 | 
            -
                #
         | 
| 704 564 | 
             
                # @!attribute [rw] next_token
         | 
| 705 565 | 
             
                #   If a `NextToken` was returned by a previous call, there are more
         | 
| 706 566 | 
             
                #   results available. To retrieve the next page of results, make the
         | 
| @@ -746,14 +606,6 @@ module Aws::MigrationHub | |
| 746 606 | 
             
                  include Aws::Structure
         | 
| 747 607 | 
             
                end
         | 
| 748 608 |  | 
| 749 | 
            -
                # @note When making an API call, you may pass ListProgressUpdateStreamsRequest
         | 
| 750 | 
            -
                #   data as a hash:
         | 
| 751 | 
            -
                #
         | 
| 752 | 
            -
                #       {
         | 
| 753 | 
            -
                #         next_token: "Token",
         | 
| 754 | 
            -
                #         max_results: 1,
         | 
| 755 | 
            -
                #       }
         | 
| 756 | 
            -
                #
         | 
| 757 609 | 
             
                # @!attribute [rw] next_token
         | 
| 758 610 | 
             
                #   If a `NextToken` was returned by a previous call, there are more
         | 
| 759 611 | 
             
                #   results available. To retrieve the next page of results, make the
         | 
| @@ -873,16 +725,6 @@ module Aws::MigrationHub | |
| 873 725 | 
             
                  include Aws::Structure
         | 
| 874 726 | 
             
                end
         | 
| 875 727 |  | 
| 876 | 
            -
                # @note When making an API call, you may pass NotifyApplicationStateRequest
         | 
| 877 | 
            -
                #   data as a hash:
         | 
| 878 | 
            -
                #
         | 
| 879 | 
            -
                #       {
         | 
| 880 | 
            -
                #         application_id: "ApplicationId", # required
         | 
| 881 | 
            -
                #         status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, COMPLETED
         | 
| 882 | 
            -
                #         update_date_time: Time.now,
         | 
| 883 | 
            -
                #         dry_run: false,
         | 
| 884 | 
            -
                #       }
         | 
| 885 | 
            -
                #
         | 
| 886 728 | 
             
                # @!attribute [rw] application_id
         | 
| 887 729 | 
             
                #   The configurationId in Application Discovery Service that uniquely
         | 
| 888 730 | 
             
                #   identifies the grouped application.
         | 
| @@ -916,22 +758,6 @@ module Aws::MigrationHub | |
| 916 758 | 
             
                #
         | 
| 917 759 | 
             
                class NotifyApplicationStateResult < Aws::EmptyStructure; end
         | 
| 918 760 |  | 
| 919 | 
            -
                # @note When making an API call, you may pass NotifyMigrationTaskStateRequest
         | 
| 920 | 
            -
                #   data as a hash:
         | 
| 921 | 
            -
                #
         | 
| 922 | 
            -
                #       {
         | 
| 923 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 924 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 925 | 
            -
                #         task: { # required
         | 
| 926 | 
            -
                #           status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED
         | 
| 927 | 
            -
                #           status_detail: "StatusDetail",
         | 
| 928 | 
            -
                #           progress_percent: 1,
         | 
| 929 | 
            -
                #         },
         | 
| 930 | 
            -
                #         update_date_time: Time.now, # required
         | 
| 931 | 
            -
                #         next_update_seconds: 1, # required
         | 
| 932 | 
            -
                #         dry_run: false,
         | 
| 933 | 
            -
                #       }
         | 
| 934 | 
            -
                #
         | 
| 935 761 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 936 762 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 937 763 | 
             
                #   @return [String]
         | 
| @@ -1010,21 +836,6 @@ module Aws::MigrationHub | |
| 1010 836 | 
             
                  include Aws::Structure
         | 
| 1011 837 | 
             
                end
         | 
| 1012 838 |  | 
| 1013 | 
            -
                # @note When making an API call, you may pass PutResourceAttributesRequest
         | 
| 1014 | 
            -
                #   data as a hash:
         | 
| 1015 | 
            -
                #
         | 
| 1016 | 
            -
                #       {
         | 
| 1017 | 
            -
                #         progress_update_stream: "ProgressUpdateStream", # required
         | 
| 1018 | 
            -
                #         migration_task_name: "MigrationTaskName", # required
         | 
| 1019 | 
            -
                #         resource_attribute_list: [ # required
         | 
| 1020 | 
            -
                #           {
         | 
| 1021 | 
            -
                #             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
         | 
| 1022 | 
            -
                #             value: "ResourceAttributeValue", # required
         | 
| 1023 | 
            -
                #           },
         | 
| 1024 | 
            -
                #         ],
         | 
| 1025 | 
            -
                #         dry_run: false,
         | 
| 1026 | 
            -
                #       }
         | 
| 1027 | 
            -
                #
         | 
| 1028 839 | 
             
                # @!attribute [rw] progress_update_stream
         | 
| 1029 840 | 
             
                #   The name of the ProgressUpdateStream.
         | 
| 1030 841 | 
             
                #   @return [String]
         | 
| @@ -1109,14 +920,6 @@ module Aws::MigrationHub | |
| 1109 920 | 
             
                #
         | 
| 1110 921 | 
             
                # : `^[^<>\{\}\\\\/?,=\\p\{Cntrl\}]\{1,256\}$`
         | 
| 1111 922 | 
             
                #
         | 
| 1112 | 
            -
                # @note When making an API call, you may pass ResourceAttribute
         | 
| 1113 | 
            -
                #   data as a hash:
         | 
| 1114 | 
            -
                #
         | 
| 1115 | 
            -
                #       {
         | 
| 1116 | 
            -
                #         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
         | 
| 1117 | 
            -
                #         value: "ResourceAttributeValue", # required
         | 
| 1118 | 
            -
                #       }
         | 
| 1119 | 
            -
                #
         | 
| 1120 923 | 
             
                # @!attribute [rw] type
         | 
| 1121 924 | 
             
                #   Type of resource.
         | 
| 1122 925 | 
             
                #   @return [String]
         | 
| @@ -1166,15 +969,6 @@ module Aws::MigrationHub | |
| 1166 969 |  | 
| 1167 970 | 
             
                # Task object encapsulating task information.
         | 
| 1168 971 | 
             
                #
         | 
| 1169 | 
            -
                # @note When making an API call, you may pass Task
         | 
| 1170 | 
            -
                #   data as a hash:
         | 
| 1171 | 
            -
                #
         | 
| 1172 | 
            -
                #       {
         | 
| 1173 | 
            -
                #         status: "NOT_STARTED", # required, accepts NOT_STARTED, IN_PROGRESS, FAILED, COMPLETED
         | 
| 1174 | 
            -
                #         status_detail: "StatusDetail",
         | 
| 1175 | 
            -
                #         progress_percent: 1,
         | 
| 1176 | 
            -
                #       }
         | 
| 1177 | 
            -
                #
         | 
| 1178 972 | 
             
                # @!attribute [rw] status
         | 
| 1179 973 | 
             
                #   Status of the task - Not Started, In-Progress, Complete.
         | 
| 1180 974 | 
             
                #   @return [String]
         | 
    
        data/lib/aws-sdk-migrationhub.rb
    CHANGED
    
    
    
        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. | 
| 4 | 
            +
              version: 1.42.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:  | 
| 11 | 
            +
            date: 2023-01-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |