aws-sdk-cloudwatchevidently 1.7.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -517,6 +517,10 @@ module Aws::CloudWatchEvidently
517
517
  # data as a hash:
518
518
  #
519
519
  # {
520
+ # app_config_resource: {
521
+ # application_id: "AppConfigResourceId",
522
+ # environment_id: "AppConfigResourceId",
523
+ # },
520
524
  # data_delivery: {
521
525
  # cloud_watch_logs: {
522
526
  # log_group: "CwLogGroupSafeName",
@@ -533,6 +537,28 @@ module Aws::CloudWatchEvidently
533
537
  # },
534
538
  # }
535
539
  #
540
+ # @!attribute [rw] app_config_resource
541
+ # Use this parameter if the project will use *client-side evaluation
542
+ # powered by AppConfig*. Client-side evaluation allows your
543
+ # application to assign variations to user sessions locally instead of
544
+ # by calling the [EvaluateFeature][1] operation. This mitigates the
545
+ # latency and availability risks that come with an API call. For more
546
+ # information, see [ Client-side evaluation - powered by
547
+ # AppConfig.][2]
548
+ #
549
+ # This parameter is a structure that contains information about the
550
+ # AppConfig application and environment that will be used as for
551
+ # client-side evaluation.
552
+ #
553
+ # To create a project that uses client-side evaluation, you must have
554
+ # the `evidently:ExportProjectAsConfiguration` permission.
555
+ #
556
+ #
557
+ #
558
+ # [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
559
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html
560
+ # @return [Types::ProjectAppConfigResourceConfig]
561
+ #
536
562
  # @!attribute [rw] data_delivery
537
563
  # A structure that contains information about where Evidently is to
538
564
  # store evaluation events for longer term storage, if you choose to do
@@ -566,6 +592,7 @@ module Aws::CloudWatchEvidently
566
592
  # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProjectRequest AWS API Documentation
567
593
  #
568
594
  class CreateProjectRequest < Struct.new(
595
+ :app_config_resource,
569
596
  :data_delivery,
570
597
  :description,
571
598
  :name,
@@ -612,7 +639,7 @@ module Aws::CloudWatchEvidently
612
639
  #
613
640
  #
614
641
  #
615
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html
642
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html
616
643
  # @return [String]
617
644
  #
618
645
  # @!attribute [rw] tags
@@ -2543,6 +2570,11 @@ module Aws::CloudWatchEvidently
2543
2570
  # The number of ongoing launches currently in the project.
2544
2571
  # @return [Integer]
2545
2572
  #
2573
+ # @!attribute [rw] app_config_resource
2574
+ # This structure defines the configuration of how your application
2575
+ # integrates with AppConfig to run client-side evaluation.
2576
+ # @return [Types::ProjectAppConfigResource]
2577
+ #
2546
2578
  # @!attribute [rw] arn
2547
2579
  # The name or ARN of the project.
2548
2580
  # @return [String]
@@ -2597,6 +2629,7 @@ module Aws::CloudWatchEvidently
2597
2629
  class Project < Struct.new(
2598
2630
  :active_experiment_count,
2599
2631
  :active_launch_count,
2632
+ :app_config_resource,
2600
2633
  :arn,
2601
2634
  :created_time,
2602
2635
  :data_delivery,
@@ -2612,6 +2645,77 @@ module Aws::CloudWatchEvidently
2612
2645
  include Aws::Structure
2613
2646
  end
2614
2647
 
2648
+ # This is a structure that defines the configuration of how your
2649
+ # application integrates with AppConfig to run client-side evaluation.
2650
+ #
2651
+ # @!attribute [rw] application_id
2652
+ # The ID of the AppConfig application to use for client-side
2653
+ # evaluation.
2654
+ # @return [String]
2655
+ #
2656
+ # @!attribute [rw] configuration_profile_id
2657
+ # The ID of the AppConfig profile to use for client-side evaluation.
2658
+ # @return [String]
2659
+ #
2660
+ # @!attribute [rw] environment_id
2661
+ # The ID of the AppConfig environment to use for client-side
2662
+ # evaluation. This must be an environment that is within the
2663
+ # application that you specify for `applicationId`.
2664
+ # @return [String]
2665
+ #
2666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ProjectAppConfigResource AWS API Documentation
2667
+ #
2668
+ class ProjectAppConfigResource < Struct.new(
2669
+ :application_id,
2670
+ :configuration_profile_id,
2671
+ :environment_id)
2672
+ SENSITIVE = []
2673
+ include Aws::Structure
2674
+ end
2675
+
2676
+ # Use this parameter to configure client-side evaluation for your
2677
+ # project. Client-side evaluation allows your application to assign
2678
+ # variations to user sessions locally instead of by calling the
2679
+ # [EvaluateFeature][1] operation to assign the variations. This
2680
+ # mitigates the latency and availability risks that come with an API
2681
+ # call.
2682
+ #
2683
+ # `ProjectAppConfigResource` is a structure that defines the
2684
+ # configuration of how your application integrates with AppConfig to run
2685
+ # client-side evaluation.
2686
+ #
2687
+ #
2688
+ #
2689
+ # [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
2690
+ #
2691
+ # @note When making an API call, you may pass ProjectAppConfigResourceConfig
2692
+ # data as a hash:
2693
+ #
2694
+ # {
2695
+ # application_id: "AppConfigResourceId",
2696
+ # environment_id: "AppConfigResourceId",
2697
+ # }
2698
+ #
2699
+ # @!attribute [rw] application_id
2700
+ # The ID of the AppConfig application to use for client-side
2701
+ # evaluation.
2702
+ # @return [String]
2703
+ #
2704
+ # @!attribute [rw] environment_id
2705
+ # The ID of the AppConfig environment to use for client-side
2706
+ # evaluation. This must be an environment that is within the
2707
+ # application that you specify for `applicationId`.
2708
+ # @return [String]
2709
+ #
2710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ProjectAppConfigResourceConfig AWS API Documentation
2711
+ #
2712
+ class ProjectAppConfigResourceConfig < Struct.new(
2713
+ :application_id,
2714
+ :environment_id)
2715
+ SENSITIVE = []
2716
+ include Aws::Structure
2717
+ end
2718
+
2615
2719
  # A structure that contains information about where Evidently is to
2616
2720
  # store evaluation events for longer term storage.
2617
2721
  #
@@ -3139,6 +3243,13 @@ module Aws::CloudWatchEvidently
3139
3243
  # @return [String]
3140
3244
  #
3141
3245
  # @!attribute [rw] pattern
3246
+ # The pattern that defines the attributes to use to evalute whether a
3247
+ # user session will be in the segment. For more information about the
3248
+ # pattern syntax, see [Segment rule pattern syntax][1].
3249
+ #
3250
+ #
3251
+ #
3252
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html
3142
3253
  # @return [String]
3143
3254
  #
3144
3255
  # @!attribute [rw] tags
@@ -4028,10 +4139,29 @@ module Aws::CloudWatchEvidently
4028
4139
  # data as a hash:
4029
4140
  #
4030
4141
  # {
4142
+ # app_config_resource: {
4143
+ # application_id: "AppConfigResourceId",
4144
+ # environment_id: "AppConfigResourceId",
4145
+ # },
4031
4146
  # description: "Description",
4032
4147
  # project: "ProjectRef", # required
4033
4148
  # }
4034
4149
  #
4150
+ # @!attribute [rw] app_config_resource
4151
+ # Use this parameter if the project will use client-side evaluation
4152
+ # powered by AppConfig. Client-side evaluation allows your application
4153
+ # to assign variations to user sessions locally instead of by calling
4154
+ # the [EvaluateFeature][1] operation. This mitigates the latency and
4155
+ # availability risks that come with an API call. allows you to
4156
+ #
4157
+ # This parameter is a structure that contains information about the
4158
+ # AppConfig application that will be used for client-side evaluation.
4159
+ #
4160
+ #
4161
+ #
4162
+ # [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
4163
+ # @return [Types::ProjectAppConfigResourceConfig]
4164
+ #
4035
4165
  # @!attribute [rw] description
4036
4166
  # An optional description of the project.
4037
4167
  # @return [String]
@@ -4043,6 +4173,7 @@ module Aws::CloudWatchEvidently
4043
4173
  # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectRequest AWS API Documentation
4044
4174
  #
4045
4175
  class UpdateProjectRequest < Struct.new(
4176
+ :app_config_resource,
4046
4177
  :description,
4047
4178
  :project)
4048
4179
  SENSITIVE = []
@@ -13,9 +13,13 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-cloudwatchevidently/types'
15
15
  require_relative 'aws-sdk-cloudwatchevidently/client_api'
16
+ require_relative 'aws-sdk-cloudwatchevidently/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-cloudwatchevidently/client'
17
18
  require_relative 'aws-sdk-cloudwatchevidently/errors'
18
19
  require_relative 'aws-sdk-cloudwatchevidently/resource'
20
+ require_relative 'aws-sdk-cloudwatchevidently/endpoint_parameters'
21
+ require_relative 'aws-sdk-cloudwatchevidently/endpoint_provider'
22
+ require_relative 'aws-sdk-cloudwatchevidently/endpoints'
19
23
  require_relative 'aws-sdk-cloudwatchevidently/customizations'
20
24
 
21
25
  # This module provides support for Amazon CloudWatch Evidently. This module is available in the
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchevidently/customizations'
48
52
  # @!group service
49
53
  module Aws::CloudWatchEvidently
50
54
 
51
- GEM_VERSION = '1.7.0'
55
+ GEM_VERSION = '1.9.0'
52
56
 
53
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchevidently
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.9.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: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2022-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.127.0
22
+ version: 3.165.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.127.0
32
+ version: 3.165.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,11 @@ files:
59
59
  - lib/aws-sdk-cloudwatchevidently/client.rb
60
60
  - lib/aws-sdk-cloudwatchevidently/client_api.rb
61
61
  - lib/aws-sdk-cloudwatchevidently/customizations.rb
62
+ - lib/aws-sdk-cloudwatchevidently/endpoint_parameters.rb
63
+ - lib/aws-sdk-cloudwatchevidently/endpoint_provider.rb
64
+ - lib/aws-sdk-cloudwatchevidently/endpoints.rb
62
65
  - lib/aws-sdk-cloudwatchevidently/errors.rb
66
+ - lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb
63
67
  - lib/aws-sdk-cloudwatchevidently/resource.rb
64
68
  - lib/aws-sdk-cloudwatchevidently/types.rb
65
69
  homepage: https://github.com/aws/aws-sdk-ruby