aws-sdk-personalize 1.25.0 → 1.26.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-personalize.rb +1 -1
- data/lib/aws-sdk-personalize/client.rb +48 -4
- data/lib/aws-sdk-personalize/client_api.rb +15 -0
- data/lib/aws-sdk-personalize/types.rb +24 -0
- 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: 194be392d73123ca313a31dacb7e886f024b6e71534c2730f4381df224bdf743
         | 
| 4 | 
            +
              data.tar.gz: 52fb96d262b4e0a6e0cf7227d3b0d5724c8546f4f045167b60b5fdb3f1e44dd2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 99b75866b7ddee9238297bd436b285a36962777ffbfad7f0b744b14ebbacdd8010d252399691b3dc0c80d4d2933007e9c2e6a2929ce74cf63e24b7aedecd5769
         | 
| 7 | 
            +
              data.tar.gz: ccf78c81ae3bb28fea0e160f1bf4e0ef989fc94c683412491e3b80f61fdbd76c6b8a07473afa7cf054da47a33683dba093f6930a01a3ff3684e3a5d20cd576d5
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.26.0
         | 
    
        data/lib/aws-sdk-personalize.rb
    CHANGED
    
    
| @@ -1198,10 +1198,17 @@ module Aws::Personalize | |
| 1198 1198 | 
             
                #
         | 
| 1199 1199 | 
             
                # A solution version can be in one of the following states:
         | 
| 1200 1200 | 
             
                #
         | 
| 1201 | 
            -
                # * CREATE PENDING | 
| 1202 | 
            -
                #   FAILED
         | 
| 1201 | 
            +
                # * CREATE PENDING
         | 
| 1203 1202 | 
             
                #
         | 
| 1204 | 
            -
                #  | 
| 1203 | 
            +
                # * CREATE IN\_PROGRESS
         | 
| 1204 | 
            +
                #
         | 
| 1205 | 
            +
                # * ACTIVE
         | 
| 1206 | 
            +
                #
         | 
| 1207 | 
            +
                # * CREATE FAILED
         | 
| 1208 | 
            +
                #
         | 
| 1209 | 
            +
                # * CREATE STOPPING
         | 
| 1210 | 
            +
                #
         | 
| 1211 | 
            +
                # * CREATE STOPPED
         | 
| 1205 1212 | 
             
                #
         | 
| 1206 1213 | 
             
                # To get the status of the version, call DescribeSolutionVersion. Wait
         | 
| 1207 1214 | 
             
                # until the status shows as ACTIVE before calling `CreateCampaign`.
         | 
| @@ -2716,6 +2723,43 @@ module Aws::Personalize | |
| 2716 2723 | 
             
                  req.send_request(options)
         | 
| 2717 2724 | 
             
                end
         | 
| 2718 2725 |  | 
| 2726 | 
            +
                # Stops creating a solution version that is in a state of
         | 
| 2727 | 
            +
                # CREATE\_PENDING or CREATE IN\_PROGRESS.
         | 
| 2728 | 
            +
                #
         | 
| 2729 | 
            +
                # Depending on the current state of the solution version, the solution
         | 
| 2730 | 
            +
                # version state changes as follows:
         | 
| 2731 | 
            +
                #
         | 
| 2732 | 
            +
                # * CREATE\_PENDING > CREATE\_STOPPED
         | 
| 2733 | 
            +
                #
         | 
| 2734 | 
            +
                #   or
         | 
| 2735 | 
            +
                #
         | 
| 2736 | 
            +
                # * CREATE\_IN\_PROGRESS > CREATE\_STOPPING > CREATE\_STOPPED
         | 
| 2737 | 
            +
                #
         | 
| 2738 | 
            +
                # You are billed for all of the training completed up until you stop the
         | 
| 2739 | 
            +
                # solution version creation. You cannot resume creating a solution
         | 
| 2740 | 
            +
                # version once it has been stopped.
         | 
| 2741 | 
            +
                #
         | 
| 2742 | 
            +
                # @option params [required, String] :solution_version_arn
         | 
| 2743 | 
            +
                #   The Amazon Resource Name (ARN) of the solution version you want to
         | 
| 2744 | 
            +
                #   stop creating.
         | 
| 2745 | 
            +
                #
         | 
| 2746 | 
            +
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 2747 | 
            +
                #
         | 
| 2748 | 
            +
                # @example Request syntax with placeholder values
         | 
| 2749 | 
            +
                #
         | 
| 2750 | 
            +
                #   resp = client.stop_solution_version_creation({
         | 
| 2751 | 
            +
                #     solution_version_arn: "Arn", # required
         | 
| 2752 | 
            +
                #   })
         | 
| 2753 | 
            +
                #
         | 
| 2754 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreation AWS API Documentation
         | 
| 2755 | 
            +
                #
         | 
| 2756 | 
            +
                # @overload stop_solution_version_creation(params = {})
         | 
| 2757 | 
            +
                # @param [Hash] params ({})
         | 
| 2758 | 
            +
                def stop_solution_version_creation(params = {}, options = {})
         | 
| 2759 | 
            +
                  req = build_request(:stop_solution_version_creation, params)
         | 
| 2760 | 
            +
                  req.send_request(options)
         | 
| 2761 | 
            +
                end
         | 
| 2762 | 
            +
             | 
| 2719 2763 | 
             
                # Updates a campaign by either deploying a new solution or changing the
         | 
| 2720 2764 | 
             
                # value of the campaign's `minProvisionedTPS` parameter.
         | 
| 2721 2765 | 
             
                #
         | 
| @@ -2785,7 +2829,7 @@ module Aws::Personalize | |
| 2785 2829 | 
             
                    params: params,
         | 
| 2786 2830 | 
             
                    config: config)
         | 
| 2787 2831 | 
             
                  context[:gem_name] = 'aws-sdk-personalize'
         | 
| 2788 | 
            -
                  context[:gem_version] = '1. | 
| 2832 | 
            +
                  context[:gem_version] = '1.26.0'
         | 
| 2789 2833 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 2790 2834 | 
             
                end
         | 
| 2791 2835 |  | 
| @@ -217,6 +217,7 @@ module Aws::Personalize | |
| 217 217 | 
             
                SolutionVersions = Shapes::ListShape.new(name: 'SolutionVersions')
         | 
| 218 218 | 
             
                Solutions = Shapes::ListShape.new(name: 'Solutions')
         | 
| 219 219 | 
             
                Status = Shapes::StringShape.new(name: 'Status')
         | 
| 220 | 
            +
                StopSolutionVersionCreationRequest = Shapes::StructureShape.new(name: 'StopSolutionVersionCreationRequest')
         | 
| 220 221 | 
             
                TrackingId = Shapes::StringShape.new(name: 'TrackingId')
         | 
| 221 222 | 
             
                TrainingHours = Shapes::FloatShape.new(name: 'TrainingHours')
         | 
| 222 223 | 
             
                TrainingInputMode = Shapes::StringShape.new(name: 'TrainingInputMode')
         | 
| @@ -979,6 +980,9 @@ module Aws::Personalize | |
| 979 980 |  | 
| 980 981 | 
             
                Solutions.member = Shapes::ShapeRef.new(shape: SolutionSummary)
         | 
| 981 982 |  | 
| 983 | 
            +
                StopSolutionVersionCreationRequest.add_member(:solution_version_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "solutionVersionArn"))
         | 
| 984 | 
            +
                StopSolutionVersionCreationRequest.struct_class = Types::StopSolutionVersionCreationRequest
         | 
| 985 | 
            +
             | 
| 982 986 | 
             
                TunedHPOParams.add_member(:algorithm_hyper_parameters, Shapes::ShapeRef.new(shape: HyperParameters, location_name: "algorithmHyperParameters"))
         | 
| 983 987 | 
             
                TunedHPOParams.struct_class = Types::TunedHPOParams
         | 
| 984 988 |  | 
| @@ -1565,6 +1569,17 @@ module Aws::Personalize | |
| 1565 1569 | 
             
                    )
         | 
| 1566 1570 | 
             
                  end)
         | 
| 1567 1571 |  | 
| 1572 | 
            +
                  api.add_operation(:stop_solution_version_creation, Seahorse::Model::Operation.new.tap do |o|
         | 
| 1573 | 
            +
                    o.name = "StopSolutionVersionCreation"
         | 
| 1574 | 
            +
                    o.http_method = "POST"
         | 
| 1575 | 
            +
                    o.http_request_uri = "/"
         | 
| 1576 | 
            +
                    o.input = Shapes::ShapeRef.new(shape: StopSolutionVersionCreationRequest)
         | 
| 1577 | 
            +
                    o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
         | 
| 1578 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
         | 
| 1579 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         | 
| 1580 | 
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
         | 
| 1581 | 
            +
                  end)
         | 
| 1582 | 
            +
             | 
| 1568 1583 | 
             
                  api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o|
         | 
| 1569 1584 | 
             
                    o.name = "UpdateCampaign"
         | 
| 1570 1585 | 
             
                    o.http_method = "POST"
         | 
| @@ -4294,6 +4294,10 @@ module Aws::Personalize | |
| 4294 4294 | 
             
                #   * ACTIVE
         | 
| 4295 4295 | 
             
                #
         | 
| 4296 4296 | 
             
                #   * CREATE FAILED
         | 
| 4297 | 
            +
                #
         | 
| 4298 | 
            +
                #   * CREATE STOPPING
         | 
| 4299 | 
            +
                #
         | 
| 4300 | 
            +
                #   * CREATE STOPPED
         | 
| 4297 4301 | 
             
                #   @return [String]
         | 
| 4298 4302 | 
             
                #
         | 
| 4299 4303 | 
             
                # @!attribute [rw] failure_reason
         | 
| @@ -4375,6 +4379,26 @@ module Aws::Personalize | |
| 4375 4379 | 
             
                  include Aws::Structure
         | 
| 4376 4380 | 
             
                end
         | 
| 4377 4381 |  | 
| 4382 | 
            +
                # @note When making an API call, you may pass StopSolutionVersionCreationRequest
         | 
| 4383 | 
            +
                #   data as a hash:
         | 
| 4384 | 
            +
                #
         | 
| 4385 | 
            +
                #       {
         | 
| 4386 | 
            +
                #         solution_version_arn: "Arn", # required
         | 
| 4387 | 
            +
                #       }
         | 
| 4388 | 
            +
                #
         | 
| 4389 | 
            +
                # @!attribute [rw] solution_version_arn
         | 
| 4390 | 
            +
                #   The Amazon Resource Name (ARN) of the solution version you want to
         | 
| 4391 | 
            +
                #   stop creating.
         | 
| 4392 | 
            +
                #   @return [String]
         | 
| 4393 | 
            +
                #
         | 
| 4394 | 
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreationRequest AWS API Documentation
         | 
| 4395 | 
            +
                #
         | 
| 4396 | 
            +
                class StopSolutionVersionCreationRequest < Struct.new(
         | 
| 4397 | 
            +
                  :solution_version_arn)
         | 
| 4398 | 
            +
                  SENSITIVE = []
         | 
| 4399 | 
            +
                  include Aws::Structure
         | 
| 4400 | 
            +
                end
         | 
| 4401 | 
            +
             | 
| 4378 4402 | 
             
                # If hyperparameter optimization (HPO) was performed, contains the
         | 
| 4379 4403 | 
             
                # hyperparameter values of the best performing model.
         | 
| 4380 4404 | 
             
                #
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-personalize
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.26.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: 2021-05- | 
| 11 | 
            +
            date: 2021-05-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |