aws-sdk-appconfig 1.82.0 → 1.83.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.
@@ -55,7 +55,7 @@ module Aws::AppConfig
55
55
  autoload :EndpointProvider, 'aws-sdk-appconfig/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-appconfig/endpoints'
57
57
 
58
- GEM_VERSION = '1.82.0'
58
+ GEM_VERSION = '1.83.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -172,6 +172,44 @@ module Aws
172
172
  ) -> _CreateEnvironmentResponseSuccess
173
173
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEnvironmentResponseSuccess
174
174
 
175
+ interface _CreateExperimentDefinitionResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentDefinition]
177
+ def application_id: () -> ::String
178
+ def id: () -> ::String
179
+ def name: () -> ::String
180
+ def hypothesis: () -> ::String
181
+ def status: () -> ("ACTIVE" | "IDLE" | "ARCHIVED")
182
+ def configuration_profile_id: () -> ::String
183
+ def environment_id: () -> ::String
184
+ def flag_key: () -> ::String
185
+ def audience_rule: () -> ::String
186
+ def audience_description: () -> ::String
187
+ def launch_criteria: () -> ::String
188
+ def treatments: () -> ::Array[Types::Treatment]
189
+ def control: () -> Types::Treatment
190
+ def created_at: () -> ::Time
191
+ def updated_at: () -> ::Time
192
+ def kms_key_identifier: () -> ::String
193
+ end
194
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#create_experiment_definition-instance_method
195
+ def create_experiment_definition: (
196
+ application_identifier: ::String,
197
+ name: ::String,
198
+ configuration_profile_identifier: ::String,
199
+ environment_identifier: ::String,
200
+ flag_key: ::String,
201
+ treatments: Array[
202
+ Params::treatment_input
203
+ ],
204
+ control: Params::treatment_input,
205
+ audience_rule: ::String,
206
+ ?hypothesis: ::String,
207
+ ?audience_description: ::String,
208
+ ?launch_criteria: ::String,
209
+ ?tags: Hash[::String, ::String]
210
+ ) -> _CreateExperimentDefinitionResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateExperimentDefinitionResponseSuccess
212
+
175
213
  interface _CreateExtensionResponseSuccess
176
214
  include ::Seahorse::Client::_ResponseSuccess[Types::Extension]
177
215
  def id: () -> ::String
@@ -274,6 +312,14 @@ module Aws
274
312
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
275
313
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
276
314
 
315
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_experiment_definition-instance_method
316
+ def delete_experiment_definition: (
317
+ application_identifier: ::String,
318
+ experiment_definition_identifier: ::String,
319
+ ?delete_type: ("ARCHIVE" | "DESTROY")
320
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
322
+
277
323
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#delete_extension-instance_method
278
324
  def delete_extension: (
279
325
  extension_identifier: ::String,
@@ -298,6 +344,7 @@ module Aws
298
344
  interface _GetAccountSettingsResponseSuccess
299
345
  include ::Seahorse::Client::_ResponseSuccess[Types::AccountSettings]
300
346
  def deletion_protection: () -> Types::DeletionProtectionSettings
347
+ def vended_metrics: () -> Types::VendedMetricsSettings
301
348
  end
302
349
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_account_settings-instance_method
303
350
  def get_account_settings: () -> _GetAccountSettingsResponseSuccess
@@ -417,6 +464,55 @@ module Aws
417
464
  ) -> _GetEnvironmentResponseSuccess
418
465
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnvironmentResponseSuccess
419
466
 
467
+ interface _GetExperimentDefinitionResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentDefinition]
469
+ def application_id: () -> ::String
470
+ def id: () -> ::String
471
+ def name: () -> ::String
472
+ def hypothesis: () -> ::String
473
+ def status: () -> ("ACTIVE" | "IDLE" | "ARCHIVED")
474
+ def configuration_profile_id: () -> ::String
475
+ def environment_id: () -> ::String
476
+ def flag_key: () -> ::String
477
+ def audience_rule: () -> ::String
478
+ def audience_description: () -> ::String
479
+ def launch_criteria: () -> ::String
480
+ def treatments: () -> ::Array[Types::Treatment]
481
+ def control: () -> Types::Treatment
482
+ def created_at: () -> ::Time
483
+ def updated_at: () -> ::Time
484
+ def kms_key_identifier: () -> ::String
485
+ end
486
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_experiment_definition-instance_method
487
+ def get_experiment_definition: (
488
+ application_identifier: ::String,
489
+ experiment_definition_identifier: ::String
490
+ ) -> _GetExperimentDefinitionResponseSuccess
491
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentDefinitionResponseSuccess
492
+
493
+ interface _GetExperimentRunResponseSuccess
494
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRun]
495
+ def application_id: () -> ::String
496
+ def experiment_definition_id: () -> ::String
497
+ def run: () -> ::Integer
498
+ def description: () -> ::String
499
+ def status: () -> ("RUNNING" | "DONE")
500
+ def exposure_percentage: () -> ::Float
501
+ def treatment_overrides: () -> Types::TreatmentOverrides
502
+ def result: () -> Types::ExperimentRunResult
503
+ def started_at: () -> ::Time
504
+ def updated_at: () -> ::Time
505
+ def ended_at: () -> ::Time
506
+ def experiment_definition_snapshot: () -> Types::ExperimentDefinitionSnapshot
507
+ end
508
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#get_experiment_run-instance_method
509
+ def get_experiment_run: (
510
+ application_identifier: ::String,
511
+ experiment_definition_identifier: ::String,
512
+ run: ::Integer
513
+ ) -> _GetExperimentRunResponseSuccess
514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExperimentRunResponseSuccess
515
+
420
516
  interface _GetExtensionResponseSuccess
421
517
  include ::Seahorse::Client::_ResponseSuccess[Types::Extension]
422
518
  def id: () -> ::String
@@ -533,6 +629,52 @@ module Aws
533
629
  ) -> _ListEnvironmentsResponseSuccess
534
630
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnvironmentsResponseSuccess
535
631
 
632
+ interface _ListExperimentDefinitionsResponseSuccess
633
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentDefinitions]
634
+ def items: () -> ::Array[Types::ExperimentDefinitionSummary]
635
+ def next_token: () -> ::String
636
+ end
637
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#list_experiment_definitions-instance_method
638
+ def list_experiment_definitions: (
639
+ ?application_identifier: ::String,
640
+ ?configuration_profile_identifier: ::String,
641
+ ?environment_identifier: ::String,
642
+ ?status: ("ACTIVE" | "IDLE" | "ARCHIVED"),
643
+ ?max_results: ::Integer,
644
+ ?next_token: ::String
645
+ ) -> _ListExperimentDefinitionsResponseSuccess
646
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExperimentDefinitionsResponseSuccess
647
+
648
+ interface _ListExperimentRunEventsResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRunEvents]
650
+ def items: () -> ::Array[Types::ExperimentRunEvent]
651
+ def next_token: () -> ::String
652
+ end
653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#list_experiment_run_events-instance_method
654
+ def list_experiment_run_events: (
655
+ application_identifier: ::String,
656
+ experiment_definition_identifier: ::String,
657
+ run: ::Integer,
658
+ ?max_results: ::Integer,
659
+ ?next_token: ::String
660
+ ) -> _ListExperimentRunEventsResponseSuccess
661
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExperimentRunEventsResponseSuccess
662
+
663
+ interface _ListExperimentRunsResponseSuccess
664
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRuns]
665
+ def items: () -> ::Array[Types::ExperimentRunSummary]
666
+ def next_token: () -> ::String
667
+ end
668
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#list_experiment_runs-instance_method
669
+ def list_experiment_runs: (
670
+ application_identifier: ::String,
671
+ experiment_definition_identifier: ::String,
672
+ ?max_results: ::Integer,
673
+ ?next_token: ::String,
674
+ ?status: ("RUNNING" | "DONE")
675
+ ) -> _ListExperimentRunsResponseSuccess
676
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExperimentRunsResponseSuccess
677
+
536
678
  interface _ListExtensionAssociationsResponseSuccess
537
679
  include ::Seahorse::Client::_ResponseSuccess[Types::ExtensionAssociations]
538
680
  def items: () -> ::Array[Types::ExtensionAssociationSummary]
@@ -621,10 +763,43 @@ module Aws
621
763
  ?description: ::String,
622
764
  ?tags: Hash[::String, ::String],
623
765
  ?kms_key_identifier: ::String,
624
- ?dynamic_extension_parameters: Hash[::String, ::String]
766
+ ?dynamic_extension_parameters: Hash[::String, ::String],
767
+ ?latest_deployment_number: ::Integer
625
768
  ) -> _StartDeploymentResponseSuccess
626
769
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartDeploymentResponseSuccess
627
770
 
771
+ interface _StartExperimentRunResponseSuccess
772
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRun]
773
+ def application_id: () -> ::String
774
+ def experiment_definition_id: () -> ::String
775
+ def run: () -> ::Integer
776
+ def description: () -> ::String
777
+ def status: () -> ("RUNNING" | "DONE")
778
+ def exposure_percentage: () -> ::Float
779
+ def treatment_overrides: () -> Types::TreatmentOverrides
780
+ def result: () -> Types::ExperimentRunResult
781
+ def started_at: () -> ::Time
782
+ def updated_at: () -> ::Time
783
+ def ended_at: () -> ::Time
784
+ def experiment_definition_snapshot: () -> Types::ExperimentDefinitionSnapshot
785
+ end
786
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#start_experiment_run-instance_method
787
+ def start_experiment_run: (
788
+ application_identifier: ::String,
789
+ experiment_definition_identifier: ::String,
790
+ ?description: ::String,
791
+ ?exposure_percentage: ::Float,
792
+ ?treatment_overrides: {
793
+ inline: Hash[::String, ::String]?
794
+ },
795
+ ?tags: Hash[::String, ::String],
796
+ ?deployment_parameters: {
797
+ dynamic_extension_parameters: Hash[::String, ::String]?,
798
+ tags: Hash[::String, ::String]?
799
+ }
800
+ ) -> _StartExperimentRunResponseSuccess
801
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartExperimentRunResponseSuccess
802
+
628
803
  interface _StopDeploymentResponseSuccess
629
804
  include ::Seahorse::Client::_ResponseSuccess[Types::Deployment]
630
805
  def application_id: () -> ::String
@@ -659,6 +834,38 @@ module Aws
659
834
  ) -> _StopDeploymentResponseSuccess
660
835
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopDeploymentResponseSuccess
661
836
 
837
+ interface _StopExperimentRunResponseSuccess
838
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRun]
839
+ def application_id: () -> ::String
840
+ def experiment_definition_id: () -> ::String
841
+ def run: () -> ::Integer
842
+ def description: () -> ::String
843
+ def status: () -> ("RUNNING" | "DONE")
844
+ def exposure_percentage: () -> ::Float
845
+ def treatment_overrides: () -> Types::TreatmentOverrides
846
+ def result: () -> Types::ExperimentRunResult
847
+ def started_at: () -> ::Time
848
+ def updated_at: () -> ::Time
849
+ def ended_at: () -> ::Time
850
+ def experiment_definition_snapshot: () -> Types::ExperimentDefinitionSnapshot
851
+ end
852
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#stop_experiment_run-instance_method
853
+ def stop_experiment_run: (
854
+ application_identifier: ::String,
855
+ experiment_definition_identifier: ::String,
856
+ run: ::Integer,
857
+ ?result: {
858
+ executive_summary: ::String?,
859
+ reasons_to_launch: ::String?,
860
+ reasons_not_to_launch: ::String?
861
+ },
862
+ ?deployment_parameters: {
863
+ dynamic_extension_parameters: Hash[::String, ::String]?,
864
+ tags: Hash[::String, ::String]?
865
+ }
866
+ ) -> _StopExperimentRunResponseSuccess
867
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopExperimentRunResponseSuccess
868
+
662
869
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#tag_resource-instance_method
663
870
  def tag_resource: (
664
871
  resource_arn: ::String,
@@ -676,12 +883,16 @@ module Aws
676
883
  interface _UpdateAccountSettingsResponseSuccess
677
884
  include ::Seahorse::Client::_ResponseSuccess[Types::AccountSettings]
678
885
  def deletion_protection: () -> Types::DeletionProtectionSettings
886
+ def vended_metrics: () -> Types::VendedMetricsSettings
679
887
  end
680
888
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_account_settings-instance_method
681
889
  def update_account_settings: (
682
890
  ?deletion_protection: {
683
891
  enabled: bool?,
684
892
  protection_period_in_minutes: ::Integer?
893
+ },
894
+ ?vended_metrics: {
895
+ enabled: bool?
685
896
  }
686
897
  ) -> _UpdateAccountSettingsResponseSuccess
687
898
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
@@ -776,6 +987,72 @@ module Aws
776
987
  ) -> _UpdateEnvironmentResponseSuccess
777
988
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnvironmentResponseSuccess
778
989
 
990
+ interface _UpdateExperimentDefinitionResponseSuccess
991
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentDefinition]
992
+ def application_id: () -> ::String
993
+ def id: () -> ::String
994
+ def name: () -> ::String
995
+ def hypothesis: () -> ::String
996
+ def status: () -> ("ACTIVE" | "IDLE" | "ARCHIVED")
997
+ def configuration_profile_id: () -> ::String
998
+ def environment_id: () -> ::String
999
+ def flag_key: () -> ::String
1000
+ def audience_rule: () -> ::String
1001
+ def audience_description: () -> ::String
1002
+ def launch_criteria: () -> ::String
1003
+ def treatments: () -> ::Array[Types::Treatment]
1004
+ def control: () -> Types::Treatment
1005
+ def created_at: () -> ::Time
1006
+ def updated_at: () -> ::Time
1007
+ def kms_key_identifier: () -> ::String
1008
+ end
1009
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_experiment_definition-instance_method
1010
+ def update_experiment_definition: (
1011
+ application_identifier: ::String,
1012
+ experiment_definition_identifier: ::String,
1013
+ ?treatments: Array[
1014
+ Params::treatment_input
1015
+ ],
1016
+ ?control: Params::treatment_input,
1017
+ ?hypothesis: ::String,
1018
+ ?audience_rule: ::String,
1019
+ ?audience_description: ::String,
1020
+ ?launch_criteria: ::String
1021
+ ) -> _UpdateExperimentDefinitionResponseSuccess
1022
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExperimentDefinitionResponseSuccess
1023
+
1024
+ interface _UpdateExperimentRunResponseSuccess
1025
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExperimentRun]
1026
+ def application_id: () -> ::String
1027
+ def experiment_definition_id: () -> ::String
1028
+ def run: () -> ::Integer
1029
+ def description: () -> ::String
1030
+ def status: () -> ("RUNNING" | "DONE")
1031
+ def exposure_percentage: () -> ::Float
1032
+ def treatment_overrides: () -> Types::TreatmentOverrides
1033
+ def result: () -> Types::ExperimentRunResult
1034
+ def started_at: () -> ::Time
1035
+ def updated_at: () -> ::Time
1036
+ def ended_at: () -> ::Time
1037
+ def experiment_definition_snapshot: () -> Types::ExperimentDefinitionSnapshot
1038
+ end
1039
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppConfig/Client.html#update_experiment_run-instance_method
1040
+ def update_experiment_run: (
1041
+ application_identifier: ::String,
1042
+ experiment_definition_identifier: ::String,
1043
+ run: ::Integer,
1044
+ ?description: ::String,
1045
+ ?exposure_percentage: ::Float,
1046
+ ?treatment_overrides: {
1047
+ inline: Hash[::String, ::String]?
1048
+ },
1049
+ ?deployment_parameters: {
1050
+ dynamic_extension_parameters: Hash[::String, ::String]?,
1051
+ tags: Hash[::String, ::String]?
1052
+ }
1053
+ ) -> _UpdateExperimentRunResponseSuccess
1054
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateExperimentRunResponseSuccess
1055
+
779
1056
  interface _UpdateExtensionResponseSuccess
780
1057
  include ::Seahorse::Client::_ResponseSuccess[Types::Extension]
781
1058
  def id: () -> ::String
data/sig/params.rbs ADDED
@@ -0,0 +1,24 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module AppConfig
10
+ module Params
11
+ type flag_value = {
12
+ enabled: bool,
13
+ attribute_values: Hash[::String, untyped]?
14
+ }
15
+
16
+ type treatment_input = {
17
+ weight: ::Float,
18
+ description: ::String?,
19
+ flag_value: Params::flag_value
20
+ }
21
+
22
+ end
23
+ end
24
+ end