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.
@@ -23,10 +23,15 @@ module Aws::AppConfig
23
23
  # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
24
24
  # @return [Types::DeletionProtectionSettings]
25
25
  #
26
+ # @!attribute [rw] vended_metrics
27
+ # Configuration for vended metrics in the account.
28
+ # @return [Types::VendedMetricsSettings]
29
+ #
26
30
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/AccountSettings AWS API Documentation
27
31
  #
28
32
  class AccountSettings < Struct.new(
29
- :deletion_protection)
33
+ :deletion_protection,
34
+ :vended_metrics)
30
35
  SENSITIVE = []
31
36
  include Aws::Structure
32
37
  end
@@ -207,6 +212,54 @@ module Aws::AppConfig
207
212
  include Aws::Structure
208
213
  end
209
214
 
215
+ # A value for a feature flag attribute. Only one of the members can be
216
+ # set.
217
+ #
218
+ # @note AttributeValue is a union - when making an API calls you must set exactly one of the members.
219
+ #
220
+ # @note AttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AttributeValue corresponding to the set member.
221
+ #
222
+ # @!attribute [rw] string_value
223
+ # A string value for the attribute.
224
+ # @return [String]
225
+ #
226
+ # @!attribute [rw] number_value
227
+ # A numeric value for the attribute.
228
+ # @return [Float]
229
+ #
230
+ # @!attribute [rw] boolean_value
231
+ # A Boolean value for the attribute.
232
+ # @return [Boolean]
233
+ #
234
+ # @!attribute [rw] string_array
235
+ # An array of string values for the attribute.
236
+ # @return [Array<String>]
237
+ #
238
+ # @!attribute [rw] number_array
239
+ # An array of numeric values for the attribute.
240
+ # @return [Array<Float>]
241
+ #
242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/AttributeValue AWS API Documentation
243
+ #
244
+ class AttributeValue < Struct.new(
245
+ :string_value,
246
+ :number_value,
247
+ :boolean_value,
248
+ :string_array,
249
+ :number_array,
250
+ :unknown)
251
+ SENSITIVE = []
252
+ include Aws::Structure
253
+ include Aws::Structure::Union
254
+
255
+ class StringValue < AttributeValue; end
256
+ class NumberValue < AttributeValue; end
257
+ class BooleanValue < AttributeValue; end
258
+ class StringArray < AttributeValue; end
259
+ class NumberArray < AttributeValue; end
260
+ class Unknown < AttributeValue; end
261
+ end
262
+
210
263
  # Detailed information about the input that failed to satisfy the
211
264
  # constraints specified by a call.
212
265
  #
@@ -567,6 +620,21 @@ module Aws::AppConfig
567
620
  #
568
621
  # @!attribute [rw] deployment_duration_in_minutes
569
622
  # Total amount of time for a deployment to last.
623
+ #
624
+ # <note markdown="1"> AppConfig Agent supports deploying feature flag or free-form
625
+ # configuration data to specific segments or individual users during a
626
+ # gradual rollout. Entity-based gradual deployments ensure that once a
627
+ # user or segment receives a configuration version, they continue to
628
+ # receive that same version throughout the deployment period,
629
+ # regardless of which compute resource serves their requests. For more
630
+ # information, see [Using AppConfig Agent for user-based or
631
+ # entity-based gradual deployments][1]
632
+ #
633
+ # </note>
634
+ #
635
+ #
636
+ #
637
+ # [1]: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-agent-how-to-use.html#appconfig-entity-based-gradual-deployments
570
638
  # @return [Integer]
571
639
  #
572
640
  # @!attribute [rw] final_bake_time_in_minutes
@@ -678,6 +746,79 @@ module Aws::AppConfig
678
746
  include Aws::Structure
679
747
  end
680
748
 
749
+ # @!attribute [rw] application_identifier
750
+ # The application ID or name.
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] name
754
+ # A name for the experiment definition.
755
+ # @return [String]
756
+ #
757
+ # @!attribute [rw] configuration_profile_identifier
758
+ # The configuration profile ID or name that stores the feature flag.
759
+ # @return [String]
760
+ #
761
+ # @!attribute [rw] environment_identifier
762
+ # The environment ID or name where the experiment will run.
763
+ # @return [String]
764
+ #
765
+ # @!attribute [rw] flag_key
766
+ # The key of the existing feature flag to use with the experiment.
767
+ # @return [String]
768
+ #
769
+ # @!attribute [rw] treatments
770
+ # A list of treatments to evaluate during the experiment. Each
771
+ # treatment defines a distinct variation compared to the control.
772
+ # @return [Array<Types::TreatmentInput>]
773
+ #
774
+ # @!attribute [rw] control
775
+ # The control treatment that represents the baseline experience for
776
+ # comparison.
777
+ # @return [Types::TreatmentInput]
778
+ #
779
+ # @!attribute [rw] audience_rule
780
+ # A rule that defines which users are eligible to be assigned to
781
+ # treatments during the experiment.
782
+ # @return [String]
783
+ #
784
+ # @!attribute [rw] hypothesis
785
+ # A description of the goal or hypothesis the experiment is designed
786
+ # to validate.
787
+ # @return [String]
788
+ #
789
+ # @!attribute [rw] audience_description
790
+ # A description of the intended audience for the experiment.
791
+ # @return [String]
792
+ #
793
+ # @!attribute [rw] launch_criteria
794
+ # Information about the conditions under which you would launch the
795
+ # winning treatment.
796
+ # @return [String]
797
+ #
798
+ # @!attribute [rw] tags
799
+ # The tags to assign to the experiment definition. Tags help organize
800
+ # and categorize your AppConfig resources.
801
+ # @return [Hash<String,String>]
802
+ #
803
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateExperimentDefinitionRequest AWS API Documentation
804
+ #
805
+ class CreateExperimentDefinitionRequest < Struct.new(
806
+ :application_identifier,
807
+ :name,
808
+ :configuration_profile_identifier,
809
+ :environment_identifier,
810
+ :flag_key,
811
+ :treatments,
812
+ :control,
813
+ :audience_rule,
814
+ :hypothesis,
815
+ :audience_description,
816
+ :launch_criteria,
817
+ :tags)
818
+ SENSITIVE = []
819
+ include Aws::Structure
820
+ end
821
+
681
822
  # @!attribute [rw] extension_identifier
682
823
  # The name, the ID, or the Amazon Resource Name (ARN) of the
683
824
  # extension.
@@ -773,6 +914,10 @@ module Aws::AppConfig
773
914
  #
774
915
  # @!attribute [rw] description
775
916
  # A description of the configuration.
917
+ #
918
+ # <note markdown="1"> Due to HTTP limitations, this field only supports ASCII characters.
919
+ #
920
+ # </note>
776
921
  # @return [String]
777
922
  #
778
923
  # @!attribute [rw] content
@@ -937,6 +1082,29 @@ module Aws::AppConfig
937
1082
  include Aws::Structure
938
1083
  end
939
1084
 
1085
+ # @!attribute [rw] application_identifier
1086
+ # The application ID or name.
1087
+ # @return [String]
1088
+ #
1089
+ # @!attribute [rw] experiment_definition_identifier
1090
+ # The experiment definition ID or name.
1091
+ # @return [String]
1092
+ #
1093
+ # @!attribute [rw] delete_type
1094
+ # The type of deletion to perform. Valid values include archive (hide
1095
+ # but preserve) and permanent (delete permanently).
1096
+ # @return [String]
1097
+ #
1098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteExperimentDefinitionRequest AWS API Documentation
1099
+ #
1100
+ class DeleteExperimentDefinitionRequest < Struct.new(
1101
+ :application_identifier,
1102
+ :experiment_definition_identifier,
1103
+ :delete_type)
1104
+ SENSITIVE = []
1105
+ include Aws::Structure
1106
+ end
1107
+
940
1108
  # @!attribute [rw] extension_association_id
941
1109
  # The ID of the extension association to delete.
942
1110
  # @return [String]
@@ -1207,6 +1375,26 @@ module Aws::AppConfig
1207
1375
  include Aws::Structure
1208
1376
  end
1209
1377
 
1378
+ # Optional deployment parameters for an experiment run, including
1379
+ # extension parameters and tags.
1380
+ #
1381
+ # @!attribute [rw] dynamic_extension_parameters
1382
+ # A map of extension parameters for the deployment.
1383
+ # @return [Hash<String,String>]
1384
+ #
1385
+ # @!attribute [rw] tags
1386
+ # The tags to assign to the deployment.
1387
+ # @return [Hash<String,String>]
1388
+ #
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentParameters AWS API Documentation
1390
+ #
1391
+ class DeploymentParameters < Struct.new(
1392
+ :dynamic_extension_parameters,
1393
+ :tags)
1394
+ SENSITIVE = [:dynamic_extension_parameters]
1395
+ include Aws::Structure
1396
+ end
1397
+
1210
1398
  # @!attribute [rw] items
1211
1399
  # The elements from this collection.
1212
1400
  # @return [Array<Types::DeploymentStrategy>]
@@ -1281,6 +1469,10 @@ module Aws::AppConfig
1281
1469
  # The sequence number of the deployment.
1282
1470
  # @return [Integer]
1283
1471
  #
1472
+ # @!attribute [rw] configuration_profile_id
1473
+ # The ID of the configuration profile that was deployed.
1474
+ # @return [String]
1475
+ #
1284
1476
  # @!attribute [rw] configuration_name
1285
1477
  # The name of the configuration.
1286
1478
  # @return [String]
@@ -1328,10 +1520,15 @@ module Aws::AppConfig
1328
1520
  # A user-defined label for an AppConfig hosted configuration version.
1329
1521
  # @return [String]
1330
1522
  #
1523
+ # @!attribute [rw] type
1524
+ # The type of deployment.
1525
+ # @return [String]
1526
+ #
1331
1527
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeploymentSummary AWS API Documentation
1332
1528
  #
1333
1529
  class DeploymentSummary < Struct.new(
1334
1530
  :deployment_number,
1531
+ :configuration_profile_id,
1335
1532
  :configuration_name,
1336
1533
  :configuration_version,
1337
1534
  :deployment_duration_in_minutes,
@@ -1342,7 +1539,8 @@ module Aws::AppConfig
1342
1539
  :percentage_complete,
1343
1540
  :started_at,
1344
1541
  :completed_at,
1345
- :version_label)
1542
+ :version_label,
1543
+ :type)
1346
1544
  SENSITIVE = []
1347
1545
  include Aws::Structure
1348
1546
  end
@@ -1422,161 +1620,637 @@ module Aws::AppConfig
1422
1620
  include Aws::Structure
1423
1621
  end
1424
1622
 
1623
+ # Describes an experiment definition, including the target audience,
1624
+ # feature flag, treatments, and current status.
1625
+ #
1626
+ # @!attribute [rw] application_id
1627
+ # The application ID.
1628
+ # @return [String]
1629
+ #
1425
1630
  # @!attribute [rw] id
1426
- # The system-generated ID of the extension.
1631
+ # The experiment definition ID.
1427
1632
  # @return [String]
1428
1633
  #
1429
1634
  # @!attribute [rw] name
1430
- # The extension name.
1635
+ # The name of the experiment definition.
1431
1636
  # @return [String]
1432
1637
  #
1433
- # @!attribute [rw] version_number
1434
- # The extension version number.
1435
- # @return [Integer]
1638
+ # @!attribute [rw] hypothesis
1639
+ # The hypothesis that the experiment is designed to validate.
1640
+ # @return [String]
1436
1641
  #
1437
- # @!attribute [rw] arn
1438
- # The system-generated Amazon Resource Name (ARN) for the extension.
1642
+ # @!attribute [rw] status
1643
+ # The current status of the experiment definition. Valid values:
1644
+ # `ACTIVE`, `IDLE`, `ARCHIVED`.
1439
1645
  # @return [String]
1440
1646
  #
1441
- # @!attribute [rw] description
1442
- # Information about the extension.
1647
+ # @!attribute [rw] configuration_profile_id
1648
+ # The configuration profile ID associated with the experiment.
1443
1649
  # @return [String]
1444
1650
  #
1445
- # @!attribute [rw] actions
1446
- # The actions defined in the extension.
1447
- # @return [Hash<String,Array<Types::Action>>]
1651
+ # @!attribute [rw] environment_id
1652
+ # The environment ID where the experiment runs.
1653
+ # @return [String]
1448
1654
  #
1449
- # @!attribute [rw] parameters
1450
- # The parameters accepted by the extension. You specify parameter
1451
- # values when you associate the extension to an AppConfig resource by
1452
- # using the `CreateExtensionAssociation` API action. For Lambda
1453
- # extension actions, these parameters are included in the Lambda
1454
- # request object.
1455
- # @return [Hash<String,Types::Parameter>]
1655
+ # @!attribute [rw] flag_key
1656
+ # The key of the feature flag used by the experiment.
1657
+ # @return [String]
1456
1658
  #
1457
- # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Extension AWS API Documentation
1659
+ # @!attribute [rw] audience_rule
1660
+ # The rule that defines which users are eligible to be assigned to
1661
+ # treatments.
1662
+ # @return [String]
1458
1663
  #
1459
- class Extension < Struct.new(
1664
+ # @!attribute [rw] audience_description
1665
+ # A description of the intended audience for the experiment.
1666
+ # @return [String]
1667
+ #
1668
+ # @!attribute [rw] launch_criteria
1669
+ # The conditions under which the winning treatment should be launched.
1670
+ # @return [String]
1671
+ #
1672
+ # @!attribute [rw] treatments
1673
+ # The list of treatments defined for the experiment.
1674
+ # @return [Array<Types::Treatment>]
1675
+ #
1676
+ # @!attribute [rw] control
1677
+ # The control treatment used as the baseline for comparison.
1678
+ # @return [Types::Treatment]
1679
+ #
1680
+ # @!attribute [rw] created_at
1681
+ # The date and time the experiment definition was created, in ISO 8601
1682
+ # format.
1683
+ # @return [Time]
1684
+ #
1685
+ # @!attribute [rw] updated_at
1686
+ # The date and time the experiment definition was last updated, in ISO
1687
+ # 8601 format.
1688
+ # @return [Time]
1689
+ #
1690
+ # @!attribute [rw] kms_key_identifier
1691
+ # The Amazon Resource Name (ARN) of the KMS key used to encrypt
1692
+ # experiment data.
1693
+ # @return [String]
1694
+ #
1695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentDefinition AWS API Documentation
1696
+ #
1697
+ class ExperimentDefinition < Struct.new(
1698
+ :application_id,
1460
1699
  :id,
1461
1700
  :name,
1462
- :version_number,
1463
- :arn,
1464
- :description,
1465
- :actions,
1466
- :parameters)
1701
+ :hypothesis,
1702
+ :status,
1703
+ :configuration_profile_id,
1704
+ :environment_id,
1705
+ :flag_key,
1706
+ :audience_rule,
1707
+ :audience_description,
1708
+ :launch_criteria,
1709
+ :treatments,
1710
+ :control,
1711
+ :created_at,
1712
+ :updated_at,
1713
+ :kms_key_identifier)
1467
1714
  SENSITIVE = []
1468
1715
  include Aws::Structure
1469
1716
  end
1470
1717
 
1718
+ # A snapshot of the experiment definition captured at the time an
1719
+ # experiment run was started. This preserves the configuration that was
1720
+ # active during the run.
1721
+ #
1722
+ # @!attribute [rw] application_id
1723
+ # The application ID at the time the run was started.
1724
+ # @return [String]
1725
+ #
1471
1726
  # @!attribute [rw] id
1472
- # The system-generated ID for the association.
1727
+ # The experiment definition ID.
1473
1728
  # @return [String]
1474
1729
  #
1475
- # @!attribute [rw] extension_arn
1476
- # The ARN of the extension defined in the association.
1730
+ # @!attribute [rw] name
1731
+ # The name of the experiment definition at the time the run was
1732
+ # started.
1477
1733
  # @return [String]
1478
1734
  #
1479
- # @!attribute [rw] resource_arn
1480
- # The ARNs of applications, configuration profiles, or environments
1481
- # defined in the association.
1735
+ # @!attribute [rw] hypothesis
1736
+ # The hypothesis at the time the run was started.
1482
1737
  # @return [String]
1483
1738
  #
1484
- # @!attribute [rw] arn
1485
- # The system-generated Amazon Resource Name (ARN) for the extension.
1739
+ # @!attribute [rw] configuration_profile_id
1740
+ # The configuration profile ID at the time the run was started.
1486
1741
  # @return [String]
1487
1742
  #
1488
- # @!attribute [rw] parameters
1489
- # The parameter names and values defined in the association.
1490
- # @return [Hash<String,String>]
1743
+ # @!attribute [rw] environment_id
1744
+ # The environment ID at the time the run was started.
1745
+ # @return [String]
1491
1746
  #
1492
- # @!attribute [rw] extension_version_number
1493
- # The version number for the extension defined in the association.
1494
- # @return [Integer]
1747
+ # @!attribute [rw] flag_key
1748
+ # The feature flag key at the time the run was started.
1749
+ # @return [String]
1495
1750
  #
1496
- # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociation AWS API Documentation
1751
+ # @!attribute [rw] audience_rule
1752
+ # The audience rule at the time the run was started.
1753
+ # @return [String]
1497
1754
  #
1498
- class ExtensionAssociation < Struct.new(
1755
+ # @!attribute [rw] audience_description
1756
+ # The audience description at the time the run was started.
1757
+ # @return [String]
1758
+ #
1759
+ # @!attribute [rw] launch_criteria
1760
+ # The launch criteria at the time the run was started.
1761
+ # @return [String]
1762
+ #
1763
+ # @!attribute [rw] treatments
1764
+ # The treatments at the time the run was started.
1765
+ # @return [Array<Types::Treatment>]
1766
+ #
1767
+ # @!attribute [rw] control
1768
+ # The control treatment at the time the run was started.
1769
+ # @return [Types::Treatment]
1770
+ #
1771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentDefinitionSnapshot AWS API Documentation
1772
+ #
1773
+ class ExperimentDefinitionSnapshot < Struct.new(
1774
+ :application_id,
1499
1775
  :id,
1500
- :extension_arn,
1501
- :resource_arn,
1502
- :arn,
1503
- :parameters,
1504
- :extension_version_number)
1776
+ :name,
1777
+ :hypothesis,
1778
+ :configuration_profile_id,
1779
+ :environment_id,
1780
+ :flag_key,
1781
+ :audience_rule,
1782
+ :audience_description,
1783
+ :launch_criteria,
1784
+ :treatments,
1785
+ :control)
1505
1786
  SENSITIVE = []
1506
1787
  include Aws::Structure
1507
1788
  end
1508
1789
 
1509
- # Information about an association between an extension and an AppConfig
1510
- # resource such as an application, environment, or configuration
1511
- # profile. Call `GetExtensionAssociation` to get more information about
1512
- # an association.
1790
+ # Summary information about an experiment definition.
1791
+ #
1792
+ # @!attribute [rw] application_id
1793
+ # The application ID.
1794
+ # @return [String]
1513
1795
  #
1514
1796
  # @!attribute [rw] id
1515
- # The extension association ID. This ID is used to call other
1516
- # `ExtensionAssociation` API actions such as `GetExtensionAssociation`
1517
- # or `DeleteExtensionAssociation`.
1797
+ # The experiment definition ID.
1518
1798
  # @return [String]
1519
1799
  #
1520
- # @!attribute [rw] extension_arn
1521
- # The system-generated Amazon Resource Name (ARN) for the extension.
1800
+ # @!attribute [rw] name
1801
+ # The name of the experiment definition.
1522
1802
  # @return [String]
1523
1803
  #
1524
- # @!attribute [rw] resource_arn
1525
- # The ARNs of applications, configuration profiles, or environments
1526
- # defined in the association.
1804
+ # @!attribute [rw] hypothesis
1805
+ # The hypothesis that the experiment is designed to validate.
1527
1806
  # @return [String]
1528
1807
  #
1529
- # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociationSummary AWS API Documentation
1808
+ # @!attribute [rw] status
1809
+ # The current status of the experiment definition.
1810
+ # @return [String]
1530
1811
  #
1531
- class ExtensionAssociationSummary < Struct.new(
1812
+ # @!attribute [rw] configuration_profile_id
1813
+ # The configuration profile ID associated with the experiment.
1814
+ # @return [String]
1815
+ #
1816
+ # @!attribute [rw] environment_id
1817
+ # The environment ID where the experiment runs.
1818
+ # @return [String]
1819
+ #
1820
+ # @!attribute [rw] flag_key
1821
+ # The key of the feature flag used by the experiment.
1822
+ # @return [String]
1823
+ #
1824
+ # @!attribute [rw] created_at
1825
+ # The date and time the experiment definition was created, in ISO 8601
1826
+ # format.
1827
+ # @return [Time]
1828
+ #
1829
+ # @!attribute [rw] updated_at
1830
+ # The date and time the experiment definition was last updated, in ISO
1831
+ # 8601 format.
1832
+ # @return [Time]
1833
+ #
1834
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentDefinitionSummary AWS API Documentation
1835
+ #
1836
+ class ExperimentDefinitionSummary < Struct.new(
1837
+ :application_id,
1532
1838
  :id,
1533
- :extension_arn,
1534
- :resource_arn)
1839
+ :name,
1840
+ :hypothesis,
1841
+ :status,
1842
+ :configuration_profile_id,
1843
+ :environment_id,
1844
+ :flag_key,
1845
+ :created_at,
1846
+ :updated_at)
1535
1847
  SENSITIVE = []
1536
1848
  include Aws::Structure
1537
1849
  end
1538
1850
 
1851
+ # The response for a list experiment definitions request.
1852
+ #
1539
1853
  # @!attribute [rw] items
1540
- # The list of extension associations. Each item represents an
1541
- # extension association to an application, environment, or
1542
- # configuration profile.
1543
- # @return [Array<Types::ExtensionAssociationSummary>]
1854
+ # The list of experiment definitions.
1855
+ # @return [Array<Types::ExperimentDefinitionSummary>]
1544
1856
  #
1545
1857
  # @!attribute [rw] next_token
1546
- # The token for the next set of items to return. Use this token to get
1547
- # the next set of results.
1858
+ # A token to use for the next set of results.
1548
1859
  # @return [String]
1549
1860
  #
1550
- # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociations AWS API Documentation
1861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentDefinitions AWS API Documentation
1551
1862
  #
1552
- class ExtensionAssociations < Struct.new(
1863
+ class ExperimentDefinitions < Struct.new(
1553
1864
  :items,
1554
1865
  :next_token)
1555
1866
  SENSITIVE = []
1556
1867
  include Aws::Structure
1557
1868
  end
1558
1869
 
1559
- # Information about an extension. Call `GetExtension` to get more
1560
- # information about an extension.
1870
+ # Describes an experiment run, including its status, exposure settings,
1871
+ # and treatment overrides.
1561
1872
  #
1562
- # @!attribute [rw] id
1563
- # The system-generated ID of the extension.
1873
+ # @!attribute [rw] application_id
1874
+ # The application ID.
1564
1875
  # @return [String]
1565
1876
  #
1566
- # @!attribute [rw] name
1567
- # The extension name.
1877
+ # @!attribute [rw] experiment_definition_id
1878
+ # The experiment definition ID.
1568
1879
  # @return [String]
1569
1880
  #
1570
- # @!attribute [rw] version_number
1571
- # The extension version number.
1881
+ # @!attribute [rw] run
1882
+ # The experiment run number.
1572
1883
  # @return [Integer]
1573
1884
  #
1574
- # @!attribute [rw] arn
1575
- # The system-generated Amazon Resource Name (ARN) for the extension.
1885
+ # @!attribute [rw] description
1886
+ # A description of the experiment run.
1576
1887
  # @return [String]
1577
1888
  #
1578
- # @!attribute [rw] description
1579
- # Information about the extension.
1889
+ # @!attribute [rw] status
1890
+ # The current status of the experiment run. Valid values: `RUNNING`,
1891
+ # `DONE`.
1892
+ # @return [String]
1893
+ #
1894
+ # @!attribute [rw] exposure_percentage
1895
+ # The percentage of the target audience exposed to treatments.
1896
+ # @return [Float]
1897
+ #
1898
+ # @!attribute [rw] treatment_overrides
1899
+ # Treatment assignment overrides that assign specific entity IDs to
1900
+ # treatments.
1901
+ # @return [Types::TreatmentOverrides]
1902
+ #
1903
+ # @!attribute [rw] result
1904
+ # The result of the experiment run, including the executive summary
1905
+ # and launch decision rationale.
1906
+ # @return [Types::ExperimentRunResult]
1907
+ #
1908
+ # @!attribute [rw] started_at
1909
+ # The date and time the experiment run started, in ISO 8601 format.
1910
+ # @return [Time]
1911
+ #
1912
+ # @!attribute [rw] updated_at
1913
+ # The date and time the experiment run was last updated, in ISO 8601
1914
+ # format.
1915
+ # @return [Time]
1916
+ #
1917
+ # @!attribute [rw] ended_at
1918
+ # The date and time the experiment run ended, in ISO 8601 format.
1919
+ # @return [Time]
1920
+ #
1921
+ # @!attribute [rw] experiment_definition_snapshot
1922
+ # A snapshot of the experiment definition at the time the run was
1923
+ # started.
1924
+ # @return [Types::ExperimentDefinitionSnapshot]
1925
+ #
1926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRun AWS API Documentation
1927
+ #
1928
+ class ExperimentRun < Struct.new(
1929
+ :application_id,
1930
+ :experiment_definition_id,
1931
+ :run,
1932
+ :description,
1933
+ :status,
1934
+ :exposure_percentage,
1935
+ :treatment_overrides,
1936
+ :result,
1937
+ :started_at,
1938
+ :updated_at,
1939
+ :ended_at,
1940
+ :experiment_definition_snapshot)
1941
+ SENSITIVE = []
1942
+ include Aws::Structure
1943
+ end
1944
+
1945
+ # Describes an event that occurred during an experiment run.
1946
+ #
1947
+ # @!attribute [rw] description
1948
+ # A description of the event.
1949
+ # @return [String]
1950
+ #
1951
+ # @!attribute [rw] associated_deployment
1952
+ # The Amazon Resource Name (ARN) of the deployment associated with
1953
+ # this event.
1954
+ # @return [String]
1955
+ #
1956
+ # @!attribute [rw] event_type
1957
+ # The type of event. Valid values: `RUN_STARTED`, `EXPOSURE_UPDATED`,
1958
+ # `OVERRIDES_UPDATED`, `RUN_STOPPED`.
1959
+ # @return [String]
1960
+ #
1961
+ # @!attribute [rw] occurred_at
1962
+ # The date and time the event occurred, in ISO 8601 format.
1963
+ # @return [Time]
1964
+ #
1965
+ # @!attribute [rw] triggered_by
1966
+ # The principal that triggered the event.
1967
+ # @return [String]
1968
+ #
1969
+ # @!attribute [rw] exposure_percentage
1970
+ # The exposure percentage at the time of the event.
1971
+ # @return [Float]
1972
+ #
1973
+ # @!attribute [rw] treatment_overrides
1974
+ # The treatment overrides at the time of the event.
1975
+ # @return [Types::TreatmentOverrides]
1976
+ #
1977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRunEvent AWS API Documentation
1978
+ #
1979
+ class ExperimentRunEvent < Struct.new(
1980
+ :description,
1981
+ :associated_deployment,
1982
+ :event_type,
1983
+ :occurred_at,
1984
+ :triggered_by,
1985
+ :exposure_percentage,
1986
+ :treatment_overrides)
1987
+ SENSITIVE = []
1988
+ include Aws::Structure
1989
+ end
1990
+
1991
+ # The response for a list experiment run events request.
1992
+ #
1993
+ # @!attribute [rw] items
1994
+ # The list of experiment run events.
1995
+ # @return [Array<Types::ExperimentRunEvent>]
1996
+ #
1997
+ # @!attribute [rw] next_token
1998
+ # A token to use for the next set of results.
1999
+ # @return [String]
2000
+ #
2001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRunEvents AWS API Documentation
2002
+ #
2003
+ class ExperimentRunEvents < Struct.new(
2004
+ :items,
2005
+ :next_token)
2006
+ SENSITIVE = []
2007
+ include Aws::Structure
2008
+ end
2009
+
2010
+ # The result of an experiment run, including the executive summary and
2011
+ # launch decision rationale.
2012
+ #
2013
+ # @!attribute [rw] executive_summary
2014
+ # A summary of the experiment outcome and key findings.
2015
+ # @return [String]
2016
+ #
2017
+ # @!attribute [rw] reasons_to_launch
2018
+ # Evidence in favor of launching the winning treatment.
2019
+ # @return [String]
2020
+ #
2021
+ # @!attribute [rw] reasons_not_to_launch
2022
+ # Evidence against launching the treatment.
2023
+ # @return [String]
2024
+ #
2025
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRunResult AWS API Documentation
2026
+ #
2027
+ class ExperimentRunResult < Struct.new(
2028
+ :executive_summary,
2029
+ :reasons_to_launch,
2030
+ :reasons_not_to_launch)
2031
+ SENSITIVE = []
2032
+ include Aws::Structure
2033
+ end
2034
+
2035
+ # Summary information about an experiment run.
2036
+ #
2037
+ # @!attribute [rw] experiment_definition_id
2038
+ # The experiment definition ID.
2039
+ # @return [String]
2040
+ #
2041
+ # @!attribute [rw] run
2042
+ # The experiment run number.
2043
+ # @return [Integer]
2044
+ #
2045
+ # @!attribute [rw] description
2046
+ # A description of the experiment run.
2047
+ # @return [String]
2048
+ #
2049
+ # @!attribute [rw] status
2050
+ # The current status of the experiment run.
2051
+ # @return [String]
2052
+ #
2053
+ # @!attribute [rw] started_at
2054
+ # The date and time the experiment run started, in ISO 8601 format.
2055
+ # @return [Time]
2056
+ #
2057
+ # @!attribute [rw] updated_at
2058
+ # The date and time the experiment run was last updated, in ISO 8601
2059
+ # format.
2060
+ # @return [Time]
2061
+ #
2062
+ # @!attribute [rw] ended_at
2063
+ # The date and time the experiment run ended, in ISO 8601 format.
2064
+ # @return [Time]
2065
+ #
2066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRunSummary AWS API Documentation
2067
+ #
2068
+ class ExperimentRunSummary < Struct.new(
2069
+ :experiment_definition_id,
2070
+ :run,
2071
+ :description,
2072
+ :status,
2073
+ :started_at,
2074
+ :updated_at,
2075
+ :ended_at)
2076
+ SENSITIVE = []
2077
+ include Aws::Structure
2078
+ end
2079
+
2080
+ # The response for a list experiment runs request.
2081
+ #
2082
+ # @!attribute [rw] items
2083
+ # The list of experiment runs.
2084
+ # @return [Array<Types::ExperimentRunSummary>]
2085
+ #
2086
+ # @!attribute [rw] next_token
2087
+ # A token to use for the next set of results.
2088
+ # @return [String]
2089
+ #
2090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExperimentRuns AWS API Documentation
2091
+ #
2092
+ class ExperimentRuns < Struct.new(
2093
+ :items,
2094
+ :next_token)
2095
+ SENSITIVE = []
2096
+ include Aws::Structure
2097
+ end
2098
+
2099
+ # @!attribute [rw] id
2100
+ # The system-generated ID of the extension.
2101
+ # @return [String]
2102
+ #
2103
+ # @!attribute [rw] name
2104
+ # The extension name.
2105
+ # @return [String]
2106
+ #
2107
+ # @!attribute [rw] version_number
2108
+ # The extension version number.
2109
+ # @return [Integer]
2110
+ #
2111
+ # @!attribute [rw] arn
2112
+ # The system-generated Amazon Resource Name (ARN) for the extension.
2113
+ # @return [String]
2114
+ #
2115
+ # @!attribute [rw] description
2116
+ # Information about the extension.
2117
+ # @return [String]
2118
+ #
2119
+ # @!attribute [rw] actions
2120
+ # The actions defined in the extension.
2121
+ # @return [Hash<String,Array<Types::Action>>]
2122
+ #
2123
+ # @!attribute [rw] parameters
2124
+ # The parameters accepted by the extension. You specify parameter
2125
+ # values when you associate the extension to an AppConfig resource by
2126
+ # using the `CreateExtensionAssociation` API action. For Lambda
2127
+ # extension actions, these parameters are included in the Lambda
2128
+ # request object.
2129
+ # @return [Hash<String,Types::Parameter>]
2130
+ #
2131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Extension AWS API Documentation
2132
+ #
2133
+ class Extension < Struct.new(
2134
+ :id,
2135
+ :name,
2136
+ :version_number,
2137
+ :arn,
2138
+ :description,
2139
+ :actions,
2140
+ :parameters)
2141
+ SENSITIVE = []
2142
+ include Aws::Structure
2143
+ end
2144
+
2145
+ # @!attribute [rw] id
2146
+ # The system-generated ID for the association.
2147
+ # @return [String]
2148
+ #
2149
+ # @!attribute [rw] extension_arn
2150
+ # The ARN of the extension defined in the association.
2151
+ # @return [String]
2152
+ #
2153
+ # @!attribute [rw] resource_arn
2154
+ # The ARNs of applications, configuration profiles, or environments
2155
+ # defined in the association.
2156
+ # @return [String]
2157
+ #
2158
+ # @!attribute [rw] arn
2159
+ # The system-generated Amazon Resource Name (ARN) for the extension.
2160
+ # @return [String]
2161
+ #
2162
+ # @!attribute [rw] parameters
2163
+ # The parameter names and values defined in the association.
2164
+ # @return [Hash<String,String>]
2165
+ #
2166
+ # @!attribute [rw] extension_version_number
2167
+ # The version number for the extension defined in the association.
2168
+ # @return [Integer]
2169
+ #
2170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociation AWS API Documentation
2171
+ #
2172
+ class ExtensionAssociation < Struct.new(
2173
+ :id,
2174
+ :extension_arn,
2175
+ :resource_arn,
2176
+ :arn,
2177
+ :parameters,
2178
+ :extension_version_number)
2179
+ SENSITIVE = []
2180
+ include Aws::Structure
2181
+ end
2182
+
2183
+ # Information about an association between an extension and an AppConfig
2184
+ # resource such as an application, environment, or configuration
2185
+ # profile. Call `GetExtensionAssociation` to get more information about
2186
+ # an association.
2187
+ #
2188
+ # @!attribute [rw] id
2189
+ # The extension association ID. This ID is used to call other
2190
+ # `ExtensionAssociation` API actions such as `GetExtensionAssociation`
2191
+ # or `DeleteExtensionAssociation`.
2192
+ # @return [String]
2193
+ #
2194
+ # @!attribute [rw] extension_arn
2195
+ # The system-generated Amazon Resource Name (ARN) for the extension.
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] resource_arn
2199
+ # The ARNs of applications, configuration profiles, or environments
2200
+ # defined in the association.
2201
+ # @return [String]
2202
+ #
2203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociationSummary AWS API Documentation
2204
+ #
2205
+ class ExtensionAssociationSummary < Struct.new(
2206
+ :id,
2207
+ :extension_arn,
2208
+ :resource_arn)
2209
+ SENSITIVE = []
2210
+ include Aws::Structure
2211
+ end
2212
+
2213
+ # @!attribute [rw] items
2214
+ # The list of extension associations. Each item represents an
2215
+ # extension association to an application, environment, or
2216
+ # configuration profile.
2217
+ # @return [Array<Types::ExtensionAssociationSummary>]
2218
+ #
2219
+ # @!attribute [rw] next_token
2220
+ # The token for the next set of items to return. Use this token to get
2221
+ # the next set of results.
2222
+ # @return [String]
2223
+ #
2224
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionAssociations AWS API Documentation
2225
+ #
2226
+ class ExtensionAssociations < Struct.new(
2227
+ :items,
2228
+ :next_token)
2229
+ SENSITIVE = []
2230
+ include Aws::Structure
2231
+ end
2232
+
2233
+ # Information about an extension. Call `GetExtension` to get more
2234
+ # information about an extension.
2235
+ #
2236
+ # @!attribute [rw] id
2237
+ # The system-generated ID of the extension.
2238
+ # @return [String]
2239
+ #
2240
+ # @!attribute [rw] name
2241
+ # The extension name.
2242
+ # @return [String]
2243
+ #
2244
+ # @!attribute [rw] version_number
2245
+ # The extension version number.
2246
+ # @return [Integer]
2247
+ #
2248
+ # @!attribute [rw] arn
2249
+ # The system-generated Amazon Resource Name (ARN) for the extension.
2250
+ # @return [String]
2251
+ #
2252
+ # @!attribute [rw] description
2253
+ # Information about the extension.
1580
2254
  # @return [String]
1581
2255
  #
1582
2256
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ExtensionSummary AWS API Documentation
@@ -1610,6 +2284,26 @@ module Aws::AppConfig
1610
2284
  include Aws::Structure
1611
2285
  end
1612
2286
 
2287
+ # The feature flag value configuration for a treatment, including the
2288
+ # enabled state and attribute values.
2289
+ #
2290
+ # @!attribute [rw] enabled
2291
+ # Whether the feature flag is enabled for this treatment.
2292
+ # @return [Boolean]
2293
+ #
2294
+ # @!attribute [rw] attribute_values
2295
+ # The attribute values associated with this flag value.
2296
+ # @return [Hash<String,Types::AttributeValue>]
2297
+ #
2298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/FlagValue AWS API Documentation
2299
+ #
2300
+ class FlagValue < Struct.new(
2301
+ :enabled,
2302
+ :attribute_values)
2303
+ SENSITIVE = []
2304
+ include Aws::Structure
2305
+ end
2306
+
1613
2307
  # @!attribute [rw] application_id
1614
2308
  # The ID of the application you want to get.
1615
2309
  # @return [String]
@@ -1759,6 +2453,45 @@ module Aws::AppConfig
1759
2453
  include Aws::Structure
1760
2454
  end
1761
2455
 
2456
+ # @!attribute [rw] application_identifier
2457
+ # The application ID or name.
2458
+ # @return [String]
2459
+ #
2460
+ # @!attribute [rw] experiment_definition_identifier
2461
+ # The experiment definition ID or name.
2462
+ # @return [String]
2463
+ #
2464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExperimentDefinitionRequest AWS API Documentation
2465
+ #
2466
+ class GetExperimentDefinitionRequest < Struct.new(
2467
+ :application_identifier,
2468
+ :experiment_definition_identifier)
2469
+ SENSITIVE = []
2470
+ include Aws::Structure
2471
+ end
2472
+
2473
+ # @!attribute [rw] application_identifier
2474
+ # The application ID or name.
2475
+ # @return [String]
2476
+ #
2477
+ # @!attribute [rw] experiment_definition_identifier
2478
+ # The experiment definition ID or name.
2479
+ # @return [String]
2480
+ #
2481
+ # @!attribute [rw] run
2482
+ # The run number to retrieve.
2483
+ # @return [Integer]
2484
+ #
2485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetExperimentRunRequest AWS API Documentation
2486
+ #
2487
+ class GetExperimentRunRequest < Struct.new(
2488
+ :application_identifier,
2489
+ :experiment_definition_identifier,
2490
+ :run)
2491
+ SENSITIVE = []
2492
+ include Aws::Structure
2493
+ end
2494
+
1762
2495
  # @!attribute [rw] extension_association_id
1763
2496
  # The extension association ID to get.
1764
2497
  # @return [String]
@@ -2119,6 +2852,107 @@ module Aws::AppConfig
2119
2852
  include Aws::Structure
2120
2853
  end
2121
2854
 
2855
+ # @!attribute [rw] application_identifier
2856
+ # The application ID or name to filter results.
2857
+ # @return [String]
2858
+ #
2859
+ # @!attribute [rw] configuration_profile_identifier
2860
+ # The configuration profile ID or name to filter results.
2861
+ # @return [String]
2862
+ #
2863
+ # @!attribute [rw] environment_identifier
2864
+ # The environment ID or name to filter results.
2865
+ # @return [String]
2866
+ #
2867
+ # @!attribute [rw] status
2868
+ # A filter for the experiment definition status.
2869
+ # @return [String]
2870
+ #
2871
+ # @!attribute [rw] max_results
2872
+ # The maximum number of items to return for this call.
2873
+ # @return [Integer]
2874
+ #
2875
+ # @!attribute [rw] next_token
2876
+ # A token to start the list from a previously truncated response.
2877
+ # @return [String]
2878
+ #
2879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExperimentDefinitionsRequest AWS API Documentation
2880
+ #
2881
+ class ListExperimentDefinitionsRequest < Struct.new(
2882
+ :application_identifier,
2883
+ :configuration_profile_identifier,
2884
+ :environment_identifier,
2885
+ :status,
2886
+ :max_results,
2887
+ :next_token)
2888
+ SENSITIVE = []
2889
+ include Aws::Structure
2890
+ end
2891
+
2892
+ # @!attribute [rw] application_identifier
2893
+ # The application ID or name.
2894
+ # @return [String]
2895
+ #
2896
+ # @!attribute [rw] experiment_definition_identifier
2897
+ # The experiment definition ID or name.
2898
+ # @return [String]
2899
+ #
2900
+ # @!attribute [rw] run
2901
+ # The run number.
2902
+ # @return [Integer]
2903
+ #
2904
+ # @!attribute [rw] max_results
2905
+ # The maximum number of items to return.
2906
+ # @return [Integer]
2907
+ #
2908
+ # @!attribute [rw] next_token
2909
+ # A token to start the list from a previously truncated response.
2910
+ # @return [String]
2911
+ #
2912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExperimentRunEventsRequest AWS API Documentation
2913
+ #
2914
+ class ListExperimentRunEventsRequest < Struct.new(
2915
+ :application_identifier,
2916
+ :experiment_definition_identifier,
2917
+ :run,
2918
+ :max_results,
2919
+ :next_token)
2920
+ SENSITIVE = []
2921
+ include Aws::Structure
2922
+ end
2923
+
2924
+ # @!attribute [rw] application_identifier
2925
+ # The application ID or name.
2926
+ # @return [String]
2927
+ #
2928
+ # @!attribute [rw] experiment_definition_identifier
2929
+ # The experiment definition ID or name.
2930
+ # @return [String]
2931
+ #
2932
+ # @!attribute [rw] max_results
2933
+ # The maximum number of items to return.
2934
+ # @return [Integer]
2935
+ #
2936
+ # @!attribute [rw] next_token
2937
+ # A token to start the list from a previously truncated response.
2938
+ # @return [String]
2939
+ #
2940
+ # @!attribute [rw] status
2941
+ # A filter for the experiment run status.
2942
+ # @return [String]
2943
+ #
2944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListExperimentRunsRequest AWS API Documentation
2945
+ #
2946
+ class ListExperimentRunsRequest < Struct.new(
2947
+ :application_identifier,
2948
+ :experiment_definition_identifier,
2949
+ :max_results,
2950
+ :next_token,
2951
+ :status)
2952
+ SENSITIVE = []
2953
+ include Aws::Structure
2954
+ end
2955
+
2122
2956
  # @!attribute [rw] resource_identifier
2123
2957
  # The ARN of an application, configuration profile, or environment.
2124
2958
  # @return [String]
@@ -2348,12 +3182,6 @@ module Aws::AppConfig
2348
3182
  #
2349
3183
  # Applications: 100 max
2350
3184
  #
2351
- # Deployment strategies: 20 max
2352
- #
2353
- # Configuration profiles: 100 max per application
2354
- #
2355
- # Environments: 20 max per application
2356
- #
2357
3185
  # To resolve this issue, you can delete one or more resources and try
2358
3186
  # again. Or, you can request a quota increase. For more information
2359
3187
  # about quotas and to request an increase, see [Service quotas for
@@ -2418,6 +3246,12 @@ module Aws::AppConfig
2418
3246
  # associated extensions with `PRE_START_DEPLOYMENT` actions.
2419
3247
  # @return [Hash<String,String>]
2420
3248
  #
3249
+ # @!attribute [rw] latest_deployment_number
3250
+ # The number of the latest deployment. Use this value to ensure that
3251
+ # the deployment starts from the expected state and to prevent
3252
+ # conflicting updates.
3253
+ # @return [Integer]
3254
+ #
2421
3255
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeploymentRequest AWS API Documentation
2422
3256
  #
2423
3257
  class StartDeploymentRequest < Struct.new(
@@ -2429,11 +3263,56 @@ module Aws::AppConfig
2429
3263
  :description,
2430
3264
  :tags,
2431
3265
  :kms_key_identifier,
2432
- :dynamic_extension_parameters)
3266
+ :dynamic_extension_parameters,
3267
+ :latest_deployment_number)
2433
3268
  SENSITIVE = [:dynamic_extension_parameters]
2434
3269
  include Aws::Structure
2435
3270
  end
2436
3271
 
3272
+ # @!attribute [rw] application_identifier
3273
+ # The application ID or name.
3274
+ # @return [String]
3275
+ #
3276
+ # @!attribute [rw] experiment_definition_identifier
3277
+ # The experiment definition ID or name.
3278
+ # @return [String]
3279
+ #
3280
+ # @!attribute [rw] description
3281
+ # A description of this experiment run.
3282
+ # @return [String]
3283
+ #
3284
+ # @!attribute [rw] exposure_percentage
3285
+ # The percentage of the target audience to expose to treatments. Set
3286
+ # to 0 to validate the experiment before exposing production users.
3287
+ # @return [Float]
3288
+ #
3289
+ # @!attribute [rw] treatment_overrides
3290
+ # Treatment assignment overrides that assign specific entity IDs to
3291
+ # treatments directly, bypassing random assignment.
3292
+ # @return [Types::TreatmentOverrides]
3293
+ #
3294
+ # @!attribute [rw] tags
3295
+ # The tags to assign to the experiment run.
3296
+ # @return [Hash<String,String>]
3297
+ #
3298
+ # @!attribute [rw] deployment_parameters
3299
+ # Optional deployment parameters including a KMS key for encryption.
3300
+ # @return [Types::DeploymentParameters]
3301
+ #
3302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartExperimentRunRequest AWS API Documentation
3303
+ #
3304
+ class StartExperimentRunRequest < Struct.new(
3305
+ :application_identifier,
3306
+ :experiment_definition_identifier,
3307
+ :description,
3308
+ :exposure_percentage,
3309
+ :treatment_overrides,
3310
+ :tags,
3311
+ :deployment_parameters)
3312
+ SENSITIVE = []
3313
+ include Aws::Structure
3314
+ end
3315
+
2437
3316
  # @!attribute [rw] application_id
2438
3317
  # The application ID.
2439
3318
  # @return [String]
@@ -2463,6 +3342,39 @@ module Aws::AppConfig
2463
3342
  include Aws::Structure
2464
3343
  end
2465
3344
 
3345
+ # @!attribute [rw] application_identifier
3346
+ # The application ID or name.
3347
+ # @return [String]
3348
+ #
3349
+ # @!attribute [rw] experiment_definition_identifier
3350
+ # The experiment definition ID or name.
3351
+ # @return [String]
3352
+ #
3353
+ # @!attribute [rw] run
3354
+ # The run number to stop.
3355
+ # @return [Integer]
3356
+ #
3357
+ # @!attribute [rw] result
3358
+ # The result of the experiment run, including an executive summary and
3359
+ # reasons for or against launching.
3360
+ # @return [Types::ExperimentRunResult]
3361
+ #
3362
+ # @!attribute [rw] deployment_parameters
3363
+ # Optional deployment parameters for the stop operation.
3364
+ # @return [Types::DeploymentParameters]
3365
+ #
3366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopExperimentRunRequest AWS API Documentation
3367
+ #
3368
+ class StopExperimentRunRequest < Struct.new(
3369
+ :application_identifier,
3370
+ :experiment_definition_identifier,
3371
+ :run,
3372
+ :result,
3373
+ :deployment_parameters)
3374
+ SENSITIVE = []
3375
+ include Aws::Structure
3376
+ end
3377
+
2466
3378
  # @!attribute [rw] resource_arn
2467
3379
  # The ARN of the resource for which to retrieve tags.
2468
3380
  # @return [String]
@@ -2482,6 +3394,87 @@ module Aws::AppConfig
2482
3394
  include Aws::Structure
2483
3395
  end
2484
3396
 
3397
+ # Describes a treatment in an experiment, including its traffic
3398
+ # allocation weight and feature flag value.
3399
+ #
3400
+ # @!attribute [rw] key
3401
+ # The unique key that identifies this treatment.
3402
+ # @return [String]
3403
+ #
3404
+ # @!attribute [rw] weight
3405
+ # The traffic allocation weight for this treatment.
3406
+ # @return [Float]
3407
+ #
3408
+ # @!attribute [rw] description
3409
+ # A description of the treatment.
3410
+ # @return [String]
3411
+ #
3412
+ # @!attribute [rw] flag_value
3413
+ # The feature flag value served to users assigned to this treatment.
3414
+ # @return [Types::FlagValue]
3415
+ #
3416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Treatment AWS API Documentation
3417
+ #
3418
+ class Treatment < Struct.new(
3419
+ :key,
3420
+ :weight,
3421
+ :description,
3422
+ :flag_value)
3423
+ SENSITIVE = []
3424
+ include Aws::Structure
3425
+ end
3426
+
3427
+ # Input structure for defining a treatment when creating or updating an
3428
+ # experiment definition.
3429
+ #
3430
+ # @!attribute [rw] weight
3431
+ # The traffic allocation weight for this treatment.
3432
+ # @return [Float]
3433
+ #
3434
+ # @!attribute [rw] description
3435
+ # A description of the treatment.
3436
+ # @return [String]
3437
+ #
3438
+ # @!attribute [rw] flag_value
3439
+ # The feature flag value to serve to users assigned to this treatment.
3440
+ # @return [Types::FlagValue]
3441
+ #
3442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TreatmentInput AWS API Documentation
3443
+ #
3444
+ class TreatmentInput < Struct.new(
3445
+ :weight,
3446
+ :description,
3447
+ :flag_value)
3448
+ SENSITIVE = []
3449
+ include Aws::Structure
3450
+ end
3451
+
3452
+ # Treatment assignment overrides that assign specific entity IDs to
3453
+ # treatments, bypassing random assignment.
3454
+ #
3455
+ # @note TreatmentOverrides is a union - when making an API calls you must set exactly one of the members.
3456
+ #
3457
+ # @note TreatmentOverrides is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TreatmentOverrides corresponding to the set member.
3458
+ #
3459
+ # @!attribute [rw] inline
3460
+ # A map of entity IDs to treatment keys. Each entry assigns the
3461
+ # specified entity to the specified treatment, bypassing random
3462
+ # assignment.
3463
+ # @return [Hash<String,String>]
3464
+ #
3465
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TreatmentOverrides AWS API Documentation
3466
+ #
3467
+ class TreatmentOverrides < Struct.new(
3468
+ :inline,
3469
+ :unknown)
3470
+ SENSITIVE = []
3471
+ include Aws::Structure
3472
+ include Aws::Structure::Union
3473
+
3474
+ class Inline < TreatmentOverrides; end
3475
+ class Unknown < TreatmentOverrides; end
3476
+ end
3477
+
2485
3478
  # @!attribute [rw] resource_arn
2486
3479
  # The ARN of the resource for which to remove tags.
2487
3480
  # @return [String]
@@ -2512,10 +3505,15 @@ module Aws::AppConfig
2512
3505
  # [1]: https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html
2513
3506
  # @return [Types::DeletionProtectionSettings]
2514
3507
  #
3508
+ # @!attribute [rw] vended_metrics
3509
+ # Configuration for vended metrics in the account.
3510
+ # @return [Types::VendedMetricsSettings]
3511
+ #
2515
3512
  # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateAccountSettingsRequest AWS API Documentation
2516
3513
  #
2517
3514
  class UpdateAccountSettingsRequest < Struct.new(
2518
- :deletion_protection)
3515
+ :deletion_protection,
3516
+ :vended_metrics)
2519
3517
  SENSITIVE = []
2520
3518
  include Aws::Structure
2521
3519
  end
@@ -2694,6 +3692,96 @@ module Aws::AppConfig
2694
3692
  include Aws::Structure
2695
3693
  end
2696
3694
 
3695
+ # @!attribute [rw] application_identifier
3696
+ # The application ID or name.
3697
+ # @return [String]
3698
+ #
3699
+ # @!attribute [rw] experiment_definition_identifier
3700
+ # The experiment definition ID or name.
3701
+ # @return [String]
3702
+ #
3703
+ # @!attribute [rw] treatments
3704
+ # An updated list of treatments.
3705
+ # @return [Array<Types::TreatmentInput>]
3706
+ #
3707
+ # @!attribute [rw] control
3708
+ # An updated control treatment.
3709
+ # @return [Types::TreatmentInput]
3710
+ #
3711
+ # @!attribute [rw] hypothesis
3712
+ # An updated hypothesis.
3713
+ # @return [String]
3714
+ #
3715
+ # @!attribute [rw] audience_rule
3716
+ # An updated audience rule.
3717
+ # @return [String]
3718
+ #
3719
+ # @!attribute [rw] audience_description
3720
+ # An updated audience description.
3721
+ # @return [String]
3722
+ #
3723
+ # @!attribute [rw] launch_criteria
3724
+ # Updated launch criteria.
3725
+ # @return [String]
3726
+ #
3727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExperimentDefinitionRequest AWS API Documentation
3728
+ #
3729
+ class UpdateExperimentDefinitionRequest < Struct.new(
3730
+ :application_identifier,
3731
+ :experiment_definition_identifier,
3732
+ :treatments,
3733
+ :control,
3734
+ :hypothesis,
3735
+ :audience_rule,
3736
+ :audience_description,
3737
+ :launch_criteria)
3738
+ SENSITIVE = []
3739
+ include Aws::Structure
3740
+ end
3741
+
3742
+ # @!attribute [rw] application_identifier
3743
+ # The application ID or name.
3744
+ # @return [String]
3745
+ #
3746
+ # @!attribute [rw] experiment_definition_identifier
3747
+ # The experiment definition ID or name.
3748
+ # @return [String]
3749
+ #
3750
+ # @!attribute [rw] run
3751
+ # The run number to update.
3752
+ # @return [Integer]
3753
+ #
3754
+ # @!attribute [rw] description
3755
+ # An updated description for the experiment run.
3756
+ # @return [String]
3757
+ #
3758
+ # @!attribute [rw] exposure_percentage
3759
+ # The new exposure percentage. This value can only be increased from
3760
+ # the current setting.
3761
+ # @return [Float]
3762
+ #
3763
+ # @!attribute [rw] treatment_overrides
3764
+ # Updated treatment assignment overrides.
3765
+ # @return [Types::TreatmentOverrides]
3766
+ #
3767
+ # @!attribute [rw] deployment_parameters
3768
+ # Updated deployment parameters.
3769
+ # @return [Types::DeploymentParameters]
3770
+ #
3771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateExperimentRunRequest AWS API Documentation
3772
+ #
3773
+ class UpdateExperimentRunRequest < Struct.new(
3774
+ :application_identifier,
3775
+ :experiment_definition_identifier,
3776
+ :run,
3777
+ :description,
3778
+ :exposure_percentage,
3779
+ :treatment_overrides,
3780
+ :deployment_parameters)
3781
+ SENSITIVE = []
3782
+ include Aws::Structure
3783
+ end
3784
+
2697
3785
  # @!attribute [rw] extension_association_id
2698
3786
  # The system-generated ID for the association.
2699
3787
  # @return [String]
@@ -2796,6 +3884,20 @@ module Aws::AppConfig
2796
3884
  include Aws::Structure
2797
3885
  end
2798
3886
 
3887
+ # Configuration settings for vended metrics.
3888
+ #
3889
+ # @!attribute [rw] enabled
3890
+ # Whether vended metrics are enabled for the account.
3891
+ # @return [Boolean]
3892
+ #
3893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/VendedMetricsSettings AWS API Documentation
3894
+ #
3895
+ class VendedMetricsSettings < Struct.new(
3896
+ :enabled)
3897
+ SENSITIVE = []
3898
+ include Aws::Structure
3899
+ end
3900
+
2799
3901
  end
2800
3902
  end
2801
3903