@aws-sdk/client-amp 3.687.0 → 3.692.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.
@@ -56,7 +56,7 @@ export interface CreateAlertManagerDefinitionRequest {
56
56
  * Case-sensitive.</p>
57
57
  * @public
58
58
  */
59
- clientToken?: string;
59
+ clientToken?: string | undefined;
60
60
  }
61
61
  /**
62
62
  * @public
@@ -106,7 +106,7 @@ export interface AlertManagerDefinitionStatus {
106
106
  * <p>If there is a failure, the reason for the failure.</p>
107
107
  * @public
108
108
  */
109
- statusReason?: string;
109
+ statusReason?: string | undefined;
110
110
  }
111
111
  /**
112
112
  * <p>Represents the output of a <code>CreateAlertManagerDefinition</code> operation.</p>
@@ -131,7 +131,7 @@ export declare class InternalServerException extends __BaseException {
131
131
  * <p>Advice to clients on when the call can be safely retried.</p>
132
132
  * @public
133
133
  */
134
- retryAfterSeconds?: number;
134
+ retryAfterSeconds?: number | undefined;
135
135
  /**
136
136
  * @internal
137
137
  */
@@ -203,17 +203,17 @@ export declare class ThrottlingException extends __BaseException {
203
203
  * <p>Service quotas code for the originating service.</p>
204
204
  * @public
205
205
  */
206
- serviceCode?: string;
206
+ serviceCode?: string | undefined;
207
207
  /**
208
208
  * <p>Service quotas code for the originating quota.</p>
209
209
  * @public
210
210
  */
211
- quotaCode?: string;
211
+ quotaCode?: string | undefined;
212
212
  /**
213
213
  * <p>Advice to clients on when the call can be safely retried.</p>
214
214
  * @public
215
215
  */
216
- retryAfterSeconds?: number;
216
+ retryAfterSeconds?: number | undefined;
217
217
  /**
218
218
  * @internal
219
219
  */
@@ -266,7 +266,7 @@ export declare class ValidationException extends __BaseException {
266
266
  * <p>The field that caused the error, if applicable.</p>
267
267
  * @public
268
268
  */
269
- fieldList?: ValidationExceptionField[];
269
+ fieldList?: ValidationExceptionField[] | undefined;
270
270
  /**
271
271
  * @internal
272
272
  */
@@ -287,7 +287,7 @@ export interface DeleteAlertManagerDefinitionRequest {
287
287
  * Case-sensitive.</p>
288
288
  * @public
289
289
  */
290
- clientToken?: string;
290
+ clientToken?: string | undefined;
291
291
  }
292
292
  /**
293
293
  * <p>Represents the input of a <code>DescribeAlertManagerDefinition</code> operation.</p>
@@ -361,7 +361,7 @@ export interface PutAlertManagerDefinitionRequest {
361
361
  * Case-sensitive.</p>
362
362
  * @public
363
363
  */
364
- clientToken?: string;
364
+ clientToken?: string | undefined;
365
365
  }
366
366
  /**
367
367
  * <p>Represents the output of a <code>PutAlertManagerDefinition</code> operation.</p>
@@ -412,7 +412,7 @@ export interface ListTagsForResourceResponse {
412
412
  * <p>The list of tag keys and values associated with the resource.</p>
413
413
  * @public
414
414
  */
415
- tags?: Record<string, string>;
415
+ tags?: Record<string, string> | undefined;
416
416
  }
417
417
  /**
418
418
  * <p>The <code>AmpConfiguration</code> structure defines the Amazon Managed Service for Prometheus instance a scraper
@@ -502,7 +502,7 @@ export interface EksConfiguration {
502
502
  * <p>A list of the security group IDs for the Amazon EKS cluster VPC configuration.</p>
503
503
  * @public
504
504
  */
505
- securityGroupIds?: string[];
505
+ securityGroupIds?: string[] | undefined;
506
506
  /**
507
507
  * <p>A list of subnet IDs for the Amazon EKS cluster VPC configuration.</p>
508
508
  * @public
@@ -549,7 +549,7 @@ export interface CreateScraperRequest {
549
549
  * need to be unique.</p>
550
550
  * @public
551
551
  */
552
- alias?: string;
552
+ alias?: string | undefined;
553
553
  /**
554
554
  * <p>The configuration file to use in the new scraper. For more information, see <a href="https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration">Scraper configuration</a> in the <i>Amazon Managed Service for Prometheus User
555
555
  * Guide</i>.</p>
@@ -571,12 +571,12 @@ export interface CreateScraperRequest {
571
571
  * idempotency of the request.</p>
572
572
  * @public
573
573
  */
574
- clientToken?: string;
574
+ clientToken?: string | undefined;
575
575
  /**
576
576
  * <p>(Optional) The list of tag keys and values to associate with the scraper.</p>
577
577
  * @public
578
578
  */
579
- tags?: Record<string, string>;
579
+ tags?: Record<string, string> | undefined;
580
580
  }
581
581
  /**
582
582
  * @public
@@ -652,7 +652,7 @@ export interface CreateScraperResponse {
652
652
  * <p>The list of tag keys and values that are associated with the scraper.</p>
653
653
  * @public
654
654
  */
655
- tags?: Record<string, string>;
655
+ tags?: Record<string, string> | undefined;
656
656
  }
657
657
  /**
658
658
  * <p>Represents the input of a <code>DeleteScraper</code> operation.</p>
@@ -669,7 +669,7 @@ export interface DeleteScraperRequest {
669
669
  * idempotency of the request.</p>
670
670
  * @public
671
671
  */
672
- clientToken?: string;
672
+ clientToken?: string | undefined;
673
673
  }
674
674
  /**
675
675
  * <p>Represents the output of a <code>DeleteScraper</code> operation.</p>
@@ -708,7 +708,7 @@ export interface ScraperDescription {
708
708
  * <p>(Optional) A name associated with the scraper.</p>
709
709
  * @public
710
710
  */
711
- alias?: string;
711
+ alias?: string | undefined;
712
712
  /**
713
713
  * <p>The ID of the scraper. For example, <code>s-example1-1234-abcd-5678-ef9012abcd34</code>.</p>
714
714
  * @public
@@ -746,12 +746,12 @@ export interface ScraperDescription {
746
746
  * <p>(Optional) The list of tag keys and values associated with the scraper.</p>
747
747
  * @public
748
748
  */
749
- tags?: Record<string, string>;
749
+ tags?: Record<string, string> | undefined;
750
750
  /**
751
751
  * <p>If there is a failure, the reason for the failure.</p>
752
752
  * @public
753
753
  */
754
- statusReason?: string;
754
+ statusReason?: string | undefined;
755
755
  /**
756
756
  * <p>The configuration in use by the scraper.</p>
757
757
  * @public
@@ -801,13 +801,13 @@ export interface ListScrapersRequest {
801
801
  * the filter.</p>
802
802
  * @public
803
803
  */
804
- filters?: Record<string, string[]>;
804
+ filters?: Record<string, string[]> | undefined;
805
805
  /**
806
806
  * <p>(Optional) The token for the next set of
807
807
  * items to return. (You received this token from a previous call.)</p>
808
808
  * @public
809
809
  */
810
- nextToken?: string;
810
+ nextToken?: string | undefined;
811
811
  /**
812
812
  * <p>Optional) The maximum number of
813
813
  * scrapers to return in one <code>ListScrapers</code> operation. The range is
@@ -815,7 +815,7 @@ export interface ListScrapersRequest {
815
815
  * <p>If you omit this parameter, the default of 100 is used.</p>
816
816
  * @public
817
817
  */
818
- maxResults?: number;
818
+ maxResults?: number | undefined;
819
819
  }
820
820
  /**
821
821
  * <p>The <code>ScraperSummary</code> structure contains a summary of the details about one
@@ -827,7 +827,7 @@ export interface ScraperSummary {
827
827
  * <p>(Optional) A name associated with the scraper.</p>
828
828
  * @public
829
829
  */
830
- alias?: string;
830
+ alias?: string | undefined;
831
831
  /**
832
832
  * <p>The ID of the scraper.</p>
833
833
  * @public
@@ -863,12 +863,12 @@ export interface ScraperSummary {
863
863
  * <p>(Optional) The list of tag keys and values associated with the scraper.</p>
864
864
  * @public
865
865
  */
866
- tags?: Record<string, string>;
866
+ tags?: Record<string, string> | undefined;
867
867
  /**
868
868
  * <p>If there is a failure, the reason for the failure.</p>
869
869
  * @public
870
870
  */
871
- statusReason?: string;
871
+ statusReason?: string | undefined;
872
872
  /**
873
873
  * <p>The Amazon EKS cluster from which the scraper collects metrics.</p>
874
874
  * @public
@@ -897,7 +897,7 @@ export interface ListScrapersResponse {
897
897
  * <code>ListScrapers</code> operation to retrieve those results.</p>
898
898
  * @public
899
899
  */
900
- nextToken?: string;
900
+ nextToken?: string | undefined;
901
901
  }
902
902
  /**
903
903
  * @public
@@ -912,7 +912,7 @@ export interface UpdateScraperRequest {
912
912
  * <p>The new alias of the scraper.</p>
913
913
  * @public
914
914
  */
915
- alias?: string;
915
+ alias?: string | undefined;
916
916
  /**
917
917
  * <p>Contains the base-64 encoded YAML configuration for the scraper.</p>
918
918
  * <note>
@@ -922,18 +922,18 @@ export interface UpdateScraperRequest {
922
922
  * </note>
923
923
  * @public
924
924
  */
925
- scrapeConfiguration?: ScrapeConfiguration;
925
+ scrapeConfiguration?: ScrapeConfiguration | undefined;
926
926
  /**
927
927
  * <p>The new Amazon Managed Service for Prometheus workspace to send metrics to.</p>
928
928
  * @public
929
929
  */
930
- destination?: Destination;
930
+ destination?: Destination | undefined;
931
931
  /**
932
932
  * <p>A unique identifier that you can provide to ensure the idempotency of the request.
933
933
  * Case-sensitive.</p>
934
934
  * @public
935
935
  */
936
- clientToken?: string;
936
+ clientToken?: string | undefined;
937
937
  }
938
938
  /**
939
939
  * @public
@@ -958,7 +958,7 @@ export interface UpdateScraperResponse {
958
958
  * <p>The list of tag keys and values that are associated with the scraper.</p>
959
959
  * @public
960
960
  */
961
- tags?: Record<string, string>;
961
+ tags?: Record<string, string> | undefined;
962
962
  }
963
963
  /**
964
964
  * @public
@@ -1013,18 +1013,18 @@ export interface CreateWorkspaceRequest {
1013
1013
  * from the value used.</p>
1014
1014
  * @public
1015
1015
  */
1016
- alias?: string;
1016
+ alias?: string | undefined;
1017
1017
  /**
1018
1018
  * <p>A unique identifier that you can provide to ensure the idempotency of the request.
1019
1019
  * Case-sensitive.</p>
1020
1020
  * @public
1021
1021
  */
1022
- clientToken?: string;
1022
+ clientToken?: string | undefined;
1023
1023
  /**
1024
1024
  * <p>The list of tag keys and values to associate with the workspace.</p>
1025
1025
  * @public
1026
1026
  */
1027
- tags?: Record<string, string>;
1027
+ tags?: Record<string, string> | undefined;
1028
1028
  /**
1029
1029
  * <p>(optional) The ARN for a customer managed KMS key to use for
1030
1030
  * encrypting data within your workspace. For more information about using your
@@ -1032,7 +1032,7 @@ export interface CreateWorkspaceRequest {
1032
1032
  * Guide</i>.</p>
1033
1033
  * @public
1034
1034
  */
1035
- kmsKeyArn?: string;
1035
+ kmsKeyArn?: string | undefined;
1036
1036
  }
1037
1037
  /**
1038
1038
  * @public
@@ -1100,13 +1100,13 @@ export interface CreateWorkspaceResponse {
1100
1100
  * <p>The list of tag keys and values that are associated with the workspace.</p>
1101
1101
  * @public
1102
1102
  */
1103
- tags?: Record<string, string>;
1103
+ tags?: Record<string, string> | undefined;
1104
1104
  /**
1105
1105
  * <p>(optional) If the workspace was created with a customer managed KMS
1106
1106
  * key, the ARN for the key used.</p>
1107
1107
  * @public
1108
1108
  */
1109
- kmsKeyArn?: string;
1109
+ kmsKeyArn?: string | undefined;
1110
1110
  }
1111
1111
  /**
1112
1112
  * <p>Represents the input of a <code>DeleteWorkspace</code> operation.</p>
@@ -1123,7 +1123,7 @@ export interface DeleteWorkspaceRequest {
1123
1123
  * Case-sensitive.</p>
1124
1124
  * @public
1125
1125
  */
1126
- clientToken?: string;
1126
+ clientToken?: string | undefined;
1127
1127
  }
1128
1128
  /**
1129
1129
  * <p>Represents the input of a <code>DescribeWorkspace</code> operation.</p>
@@ -1152,7 +1152,7 @@ export interface WorkspaceDescription {
1152
1152
  * to be unique.</p>
1153
1153
  * @public
1154
1154
  */
1155
- alias?: string;
1155
+ alias?: string | undefined;
1156
1156
  /**
1157
1157
  * <p>The ARN of the workspace. For example,
1158
1158
  * <code>arn:aws:aps:&lt;region&gt;:123456789012:workspace/ws-example1-1234-abcd-5678-ef90abcd1234</code>.</p>
@@ -1169,7 +1169,7 @@ export interface WorkspaceDescription {
1169
1169
  * <code>https://aps-workspaces.&lt;region&gt;.amazonaws.com/workspaces/ws-example1-1234-abcd-5678-ef90abcd1234/api/v1/</code>.</p>
1170
1170
  * @public
1171
1171
  */
1172
- prometheusEndpoint?: string;
1172
+ prometheusEndpoint?: string | undefined;
1173
1173
  /**
1174
1174
  * <p>The date and time that the workspace was created.</p>
1175
1175
  * @public
@@ -1179,13 +1179,13 @@ export interface WorkspaceDescription {
1179
1179
  * <p>The list of tag keys and values that are associated with the workspace.</p>
1180
1180
  * @public
1181
1181
  */
1182
- tags?: Record<string, string>;
1182
+ tags?: Record<string, string> | undefined;
1183
1183
  /**
1184
1184
  * <p>(optional) If the workspace was created with a customer managed KMS
1185
1185
  * key, the ARN for the key used.</p>
1186
1186
  * @public
1187
1187
  */
1188
- kmsKeyArn?: string;
1188
+ kmsKeyArn?: string | undefined;
1189
1189
  }
1190
1190
  /**
1191
1191
  * <p>Represents the output of a <code>DescribeWorkspace</code> operation.</p>
@@ -1213,7 +1213,7 @@ export interface ListWorkspacesRequest {
1213
1213
  * remaining 2 workspaces.</p>
1214
1214
  * @public
1215
1215
  */
1216
- nextToken?: string;
1216
+ nextToken?: string | undefined;
1217
1217
  /**
1218
1218
  * <p>If this is included, it filters the results to only the workspaces with names that
1219
1219
  * start with the value that you specify here.</p>
@@ -1221,12 +1221,12 @@ export interface ListWorkspacesRequest {
1221
1221
  * and end of the alias that you specify.</p>
1222
1222
  * @public
1223
1223
  */
1224
- alias?: string;
1224
+ alias?: string | undefined;
1225
1225
  /**
1226
1226
  * <p>The maximum number of workspaces to return per request. The default is 100.</p>
1227
1227
  * @public
1228
1228
  */
1229
- maxResults?: number;
1229
+ maxResults?: number | undefined;
1230
1230
  }
1231
1231
  /**
1232
1232
  * <p>The information about one Amazon Managed Service for Prometheus workspace in your account. </p>
@@ -1243,7 +1243,7 @@ export interface WorkspaceSummary {
1243
1243
  * need to be unique.</p>
1244
1244
  * @public
1245
1245
  */
1246
- alias?: string;
1246
+ alias?: string | undefined;
1247
1247
  /**
1248
1248
  * <p>The ARN of the workspace.</p>
1249
1249
  * @public
@@ -1263,13 +1263,13 @@ export interface WorkspaceSummary {
1263
1263
  * <p>The list of tag keys and values that are associated with the workspace.</p>
1264
1264
  * @public
1265
1265
  */
1266
- tags?: Record<string, string>;
1266
+ tags?: Record<string, string> | undefined;
1267
1267
  /**
1268
1268
  * <p>(optional) If the workspace was created with a customer managed KMS
1269
1269
  * key, the ARN for the key used.</p>
1270
1270
  * @public
1271
1271
  */
1272
- kmsKeyArn?: string;
1272
+ kmsKeyArn?: string | undefined;
1273
1273
  }
1274
1274
  /**
1275
1275
  * <p>Represents the output of a <code>ListWorkspaces</code> operation.</p>
@@ -1287,7 +1287,7 @@ export interface ListWorkspacesResponse {
1287
1287
  * part of your next <code>ListWorkspaces</code> request to retrieve those results.</p>
1288
1288
  * @public
1289
1289
  */
1290
- nextToken?: string;
1290
+ nextToken?: string | undefined;
1291
1291
  }
1292
1292
  /**
1293
1293
  * <p>Represents the input of a <code>CreateLoggingConfiguration</code> operation.</p>
@@ -1310,7 +1310,7 @@ export interface CreateLoggingConfigurationRequest {
1310
1310
  * Case-sensitive.</p>
1311
1311
  * @public
1312
1312
  */
1313
- clientToken?: string;
1313
+ clientToken?: string | undefined;
1314
1314
  }
1315
1315
  /**
1316
1316
  * @public
@@ -1360,7 +1360,7 @@ export interface LoggingConfigurationStatus {
1360
1360
  * <p>If failed, the reason for the failure.</p>
1361
1361
  * @public
1362
1362
  */
1363
- statusReason?: string;
1363
+ statusReason?: string | undefined;
1364
1364
  }
1365
1365
  /**
1366
1366
  * <p>Represents the output of a <code>CreateLoggingConfiguration</code> operation.</p>
@@ -1388,7 +1388,7 @@ export interface DeleteLoggingConfigurationRequest {
1388
1388
  * Case-sensitive.</p>
1389
1389
  * @public
1390
1390
  */
1391
- clientToken?: string;
1391
+ clientToken?: string | undefined;
1392
1392
  }
1393
1393
  /**
1394
1394
  * <p>Represents the input of a <code>DescribeLoggingConfiguration</code> operation.</p>
@@ -1465,7 +1465,7 @@ export interface UpdateLoggingConfigurationRequest {
1465
1465
  * Case-sensitive.</p>
1466
1466
  * @public
1467
1467
  */
1468
- clientToken?: string;
1468
+ clientToken?: string | undefined;
1469
1469
  }
1470
1470
  /**
1471
1471
  * <p>Represents the output of an <code>UpdateLoggingConfiguration</code> operation.</p>
@@ -1505,12 +1505,12 @@ export interface CreateRuleGroupsNamespaceRequest {
1505
1505
  * Case-sensitive.</p>
1506
1506
  * @public
1507
1507
  */
1508
- clientToken?: string;
1508
+ clientToken?: string | undefined;
1509
1509
  /**
1510
1510
  * <p>The list of tag keys and values to associate with the rule groups namespace.</p>
1511
1511
  * @public
1512
1512
  */
1513
- tags?: Record<string, string>;
1513
+ tags?: Record<string, string> | undefined;
1514
1514
  }
1515
1515
  /**
1516
1516
  * @public
@@ -1560,7 +1560,7 @@ export interface RuleGroupsNamespaceStatus {
1560
1560
  * <p>The reason for the failure, if any.</p>
1561
1561
  * @public
1562
1562
  */
1563
- statusReason?: string;
1563
+ statusReason?: string | undefined;
1564
1564
  }
1565
1565
  /**
1566
1566
  * <p>Represents the output of a <code>CreateRuleGroupsNamespace</code> operation.</p>
@@ -1586,7 +1586,7 @@ export interface CreateRuleGroupsNamespaceResponse {
1586
1586
  * <p>The list of tag keys and values that are associated with the namespace.</p>
1587
1587
  * @public
1588
1588
  */
1589
- tags?: Record<string, string>;
1589
+ tags?: Record<string, string> | undefined;
1590
1590
  }
1591
1591
  /**
1592
1592
  * <p>Represents the input of a <code>DeleteRuleGroupsNamespace</code> operation.</p>
@@ -1609,7 +1609,7 @@ export interface DeleteRuleGroupsNamespaceRequest {
1609
1609
  * Case-sensitive.</p>
1610
1610
  * @public
1611
1611
  */
1612
- clientToken?: string;
1612
+ clientToken?: string | undefined;
1613
1613
  }
1614
1614
  /**
1615
1615
  * <p>Represents the input of a <code>DescribeRuleGroupsNamespace</code> operation.</p>
@@ -1669,7 +1669,7 @@ export interface RuleGroupsNamespaceDescription {
1669
1669
  * namespace.</p>
1670
1670
  * @public
1671
1671
  */
1672
- tags?: Record<string, string>;
1672
+ tags?: Record<string, string> | undefined;
1673
1673
  }
1674
1674
  /**
1675
1675
  * <p>Represents the output of a <code>DescribeRuleGroupsNamespace</code> operation.</p>
@@ -1697,7 +1697,7 @@ export interface ListRuleGroupsNamespacesRequest {
1697
1697
  * namespaces with names that begin with the value that you specify are returned.</p>
1698
1698
  * @public
1699
1699
  */
1700
- name?: string;
1700
+ name?: string | undefined;
1701
1701
  /**
1702
1702
  * <p>The token for the next set of items to return. You receive this token from a previous
1703
1703
  * call, and use it to get the next page of results. The other parameters must be the same
@@ -1708,12 +1708,12 @@ export interface ListRuleGroupsNamespacesRequest {
1708
1708
  * remaining 2 namespaces.</p>
1709
1709
  * @public
1710
1710
  */
1711
- nextToken?: string;
1711
+ nextToken?: string | undefined;
1712
1712
  /**
1713
1713
  * <p>The maximum number of results to return. The default is 100.</p>
1714
1714
  * @public
1715
1715
  */
1716
- maxResults?: number;
1716
+ maxResults?: number | undefined;
1717
1717
  }
1718
1718
  /**
1719
1719
  * <p>The high-level information about a rule groups namespace. To retrieve more
@@ -1751,7 +1751,7 @@ export interface RuleGroupsNamespaceSummary {
1751
1751
  * namespace.</p>
1752
1752
  * @public
1753
1753
  */
1754
- tags?: Record<string, string>;
1754
+ tags?: Record<string, string> | undefined;
1755
1755
  }
1756
1756
  /**
1757
1757
  * <p>Represents the output of a <code>ListRuleGroupsNamespaces</code> operation.</p>
@@ -1769,7 +1769,7 @@ export interface ListRuleGroupsNamespacesResponse {
1769
1769
  * results.</p>
1770
1770
  * @public
1771
1771
  */
1772
- nextToken?: string;
1772
+ nextToken?: string | undefined;
1773
1773
  }
1774
1774
  /**
1775
1775
  * <p>Represents the input of a <code>PutRuleGroupsNamespace</code> operation.</p>
@@ -1798,7 +1798,7 @@ export interface PutRuleGroupsNamespaceRequest {
1798
1798
  * Case-sensitive.</p>
1799
1799
  * @public
1800
1800
  */
1801
- clientToken?: string;
1801
+ clientToken?: string | undefined;
1802
1802
  }
1803
1803
  /**
1804
1804
  * <p>Represents the output of a <code>PutRuleGroupsNamespace</code> operation.</p>
@@ -1824,7 +1824,7 @@ export interface PutRuleGroupsNamespaceResponse {
1824
1824
  * <p>The list of tag keys and values that are associated with the namespace.</p>
1825
1825
  * @public
1826
1826
  */
1827
- tags?: Record<string, string>;
1827
+ tags?: Record<string, string> | undefined;
1828
1828
  }
1829
1829
  /**
1830
1830
  * <p>Represents the input of an <code>UpdateWorkspaceAlias</code> operation.</p>
@@ -1842,11 +1842,11 @@ export interface UpdateWorkspaceAliasRequest {
1842
1842
  * and end of the alias that you specify.</p>
1843
1843
  * @public
1844
1844
  */
1845
- alias?: string;
1845
+ alias?: string | undefined;
1846
1846
  /**
1847
1847
  * <p>A unique identifier that you can provide to ensure the idempotency of the request.
1848
1848
  * Case-sensitive.</p>
1849
1849
  * @public
1850
1850
  */
1851
- clientToken?: string;
1851
+ clientToken?: string | undefined;
1852
1852
  }
@@ -17,7 +17,7 @@ export declare class ConflictException extends __BaseException {
17
17
  export interface CreateAlertManagerDefinitionRequest {
18
18
  workspaceId: string | undefined;
19
19
  data: Uint8Array | undefined;
20
- clientToken?: string;
20
+ clientToken?: string | undefined;
21
21
  }
22
22
  export declare const AlertManagerDefinitionStatusCode: {
23
23
  readonly ACTIVE: "ACTIVE";
@@ -31,7 +31,7 @@ export type AlertManagerDefinitionStatusCode =
31
31
  (typeof AlertManagerDefinitionStatusCode)[keyof typeof AlertManagerDefinitionStatusCode];
32
32
  export interface AlertManagerDefinitionStatus {
33
33
  statusCode: AlertManagerDefinitionStatusCode | undefined;
34
- statusReason?: string;
34
+ statusReason?: string | undefined;
35
35
  }
36
36
  export interface CreateAlertManagerDefinitionResponse {
37
37
  status: AlertManagerDefinitionStatus | undefined;
@@ -40,7 +40,7 @@ export declare class InternalServerException extends __BaseException {
40
40
  readonly name: "InternalServerException";
41
41
  readonly $fault: "server";
42
42
  $retryable: {};
43
- retryAfterSeconds?: number;
43
+ retryAfterSeconds?: number | undefined;
44
44
  constructor(
45
45
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
46
46
  );
@@ -69,9 +69,9 @@ export declare class ThrottlingException extends __BaseException {
69
69
  readonly name: "ThrottlingException";
70
70
  readonly $fault: "client";
71
71
  $retryable: {};
72
- serviceCode?: string;
73
- quotaCode?: string;
74
- retryAfterSeconds?: number;
72
+ serviceCode?: string | undefined;
73
+ quotaCode?: string | undefined;
74
+ retryAfterSeconds?: number | undefined;
75
75
  constructor(
76
76
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
77
77
  );
@@ -92,14 +92,14 @@ export declare class ValidationException extends __BaseException {
92
92
  readonly name: "ValidationException";
93
93
  readonly $fault: "client";
94
94
  reason: ValidationExceptionReason | undefined;
95
- fieldList?: ValidationExceptionField[];
95
+ fieldList?: ValidationExceptionField[] | undefined;
96
96
  constructor(
97
97
  opts: __ExceptionOptionType<ValidationException, __BaseException>
98
98
  );
99
99
  }
100
100
  export interface DeleteAlertManagerDefinitionRequest {
101
101
  workspaceId: string | undefined;
102
- clientToken?: string;
102
+ clientToken?: string | undefined;
103
103
  }
104
104
  export interface DescribeAlertManagerDefinitionRequest {
105
105
  workspaceId: string | undefined;
@@ -116,7 +116,7 @@ export interface DescribeAlertManagerDefinitionResponse {
116
116
  export interface PutAlertManagerDefinitionRequest {
117
117
  workspaceId: string | undefined;
118
118
  data: Uint8Array | undefined;
119
- clientToken?: string;
119
+ clientToken?: string | undefined;
120
120
  }
121
121
  export interface PutAlertManagerDefinitionResponse {
122
122
  status: AlertManagerDefinitionStatus | undefined;
@@ -129,7 +129,7 @@ export interface ListTagsForResourceRequest {
129
129
  resourceArn: string | undefined;
130
130
  }
131
131
  export interface ListTagsForResourceResponse {
132
- tags?: Record<string, string>;
132
+ tags?: Record<string, string> | undefined;
133
133
  }
134
134
  export interface AmpConfiguration {
135
135
  workspaceArn: string | undefined;
@@ -172,7 +172,7 @@ export declare namespace ScrapeConfiguration {
172
172
  }
173
173
  export interface EksConfiguration {
174
174
  clusterArn: string | undefined;
175
- securityGroupIds?: string[];
175
+ securityGroupIds?: string[] | undefined;
176
176
  subnetIds: string[] | undefined;
177
177
  }
178
178
  export type Source = Source.EksConfigurationMember | Source.$UnknownMember;
@@ -192,12 +192,12 @@ export declare namespace Source {
192
192
  const visit: <T>(value: Source, visitor: Visitor<T>) => T;
193
193
  }
194
194
  export interface CreateScraperRequest {
195
- alias?: string;
195
+ alias?: string | undefined;
196
196
  scrapeConfiguration: ScrapeConfiguration | undefined;
197
197
  source: Source | undefined;
198
198
  destination: Destination | undefined;
199
- clientToken?: string;
200
- tags?: Record<string, string>;
199
+ clientToken?: string | undefined;
200
+ tags?: Record<string, string> | undefined;
201
201
  }
202
202
  export declare const ScraperStatusCode: {
203
203
  readonly ACTIVE: "ACTIVE";
@@ -217,11 +217,11 @@ export interface CreateScraperResponse {
217
217
  scraperId: string | undefined;
218
218
  arn: string | undefined;
219
219
  status: ScraperStatus | undefined;
220
- tags?: Record<string, string>;
220
+ tags?: Record<string, string> | undefined;
221
221
  }
222
222
  export interface DeleteScraperRequest {
223
223
  scraperId: string | undefined;
224
- clientToken?: string;
224
+ clientToken?: string | undefined;
225
225
  }
226
226
  export interface DeleteScraperResponse {
227
227
  scraperId: string | undefined;
@@ -231,15 +231,15 @@ export interface DescribeScraperRequest {
231
231
  scraperId: string | undefined;
232
232
  }
233
233
  export interface ScraperDescription {
234
- alias?: string;
234
+ alias?: string | undefined;
235
235
  scraperId: string | undefined;
236
236
  arn: string | undefined;
237
237
  roleArn: string | undefined;
238
238
  status: ScraperStatus | undefined;
239
239
  createdAt: Date | undefined;
240
240
  lastModifiedAt: Date | undefined;
241
- tags?: Record<string, string>;
242
- statusReason?: string;
241
+ tags?: Record<string, string> | undefined;
242
+ statusReason?: string | undefined;
243
243
  scrapeConfiguration: ScrapeConfiguration | undefined;
244
244
  source: Source | undefined;
245
245
  destination: Destination | undefined;
@@ -248,39 +248,39 @@ export interface DescribeScraperResponse {
248
248
  scraper: ScraperDescription | undefined;
249
249
  }
250
250
  export interface ListScrapersRequest {
251
- filters?: Record<string, string[]>;
252
- nextToken?: string;
253
- maxResults?: number;
251
+ filters?: Record<string, string[]> | undefined;
252
+ nextToken?: string | undefined;
253
+ maxResults?: number | undefined;
254
254
  }
255
255
  export interface ScraperSummary {
256
- alias?: string;
256
+ alias?: string | undefined;
257
257
  scraperId: string | undefined;
258
258
  arn: string | undefined;
259
259
  roleArn: string | undefined;
260
260
  status: ScraperStatus | undefined;
261
261
  createdAt: Date | undefined;
262
262
  lastModifiedAt: Date | undefined;
263
- tags?: Record<string, string>;
264
- statusReason?: string;
263
+ tags?: Record<string, string> | undefined;
264
+ statusReason?: string | undefined;
265
265
  source: Source | undefined;
266
266
  destination: Destination | undefined;
267
267
  }
268
268
  export interface ListScrapersResponse {
269
269
  scrapers: ScraperSummary[] | undefined;
270
- nextToken?: string;
270
+ nextToken?: string | undefined;
271
271
  }
272
272
  export interface UpdateScraperRequest {
273
273
  scraperId: string | undefined;
274
- alias?: string;
275
- scrapeConfiguration?: ScrapeConfiguration;
276
- destination?: Destination;
277
- clientToken?: string;
274
+ alias?: string | undefined;
275
+ scrapeConfiguration?: ScrapeConfiguration | undefined;
276
+ destination?: Destination | undefined;
277
+ clientToken?: string | undefined;
278
278
  }
279
279
  export interface UpdateScraperResponse {
280
280
  scraperId: string | undefined;
281
281
  arn: string | undefined;
282
282
  status: ScraperStatus | undefined;
283
- tags?: Record<string, string>;
283
+ tags?: Record<string, string> | undefined;
284
284
  }
285
285
  export interface TagResourceRequest {
286
286
  resourceArn: string | undefined;
@@ -293,10 +293,10 @@ export interface UntagResourceRequest {
293
293
  }
294
294
  export interface UntagResourceResponse {}
295
295
  export interface CreateWorkspaceRequest {
296
- alias?: string;
297
- clientToken?: string;
298
- tags?: Record<string, string>;
299
- kmsKeyArn?: string;
296
+ alias?: string | undefined;
297
+ clientToken?: string | undefined;
298
+ tags?: Record<string, string> | undefined;
299
+ kmsKeyArn?: string | undefined;
300
300
  }
301
301
  export declare const WorkspaceStatusCode: {
302
302
  readonly ACTIVE: "ACTIVE";
@@ -314,51 +314,51 @@ export interface CreateWorkspaceResponse {
314
314
  workspaceId: string | undefined;
315
315
  arn: string | undefined;
316
316
  status: WorkspaceStatus | undefined;
317
- tags?: Record<string, string>;
318
- kmsKeyArn?: string;
317
+ tags?: Record<string, string> | undefined;
318
+ kmsKeyArn?: string | undefined;
319
319
  }
320
320
  export interface DeleteWorkspaceRequest {
321
321
  workspaceId: string | undefined;
322
- clientToken?: string;
322
+ clientToken?: string | undefined;
323
323
  }
324
324
  export interface DescribeWorkspaceRequest {
325
325
  workspaceId: string | undefined;
326
326
  }
327
327
  export interface WorkspaceDescription {
328
328
  workspaceId: string | undefined;
329
- alias?: string;
329
+ alias?: string | undefined;
330
330
  arn: string | undefined;
331
331
  status: WorkspaceStatus | undefined;
332
- prometheusEndpoint?: string;
332
+ prometheusEndpoint?: string | undefined;
333
333
  createdAt: Date | undefined;
334
- tags?: Record<string, string>;
335
- kmsKeyArn?: string;
334
+ tags?: Record<string, string> | undefined;
335
+ kmsKeyArn?: string | undefined;
336
336
  }
337
337
  export interface DescribeWorkspaceResponse {
338
338
  workspace: WorkspaceDescription | undefined;
339
339
  }
340
340
  export interface ListWorkspacesRequest {
341
- nextToken?: string;
342
- alias?: string;
343
- maxResults?: number;
341
+ nextToken?: string | undefined;
342
+ alias?: string | undefined;
343
+ maxResults?: number | undefined;
344
344
  }
345
345
  export interface WorkspaceSummary {
346
346
  workspaceId: string | undefined;
347
- alias?: string;
347
+ alias?: string | undefined;
348
348
  arn: string | undefined;
349
349
  status: WorkspaceStatus | undefined;
350
350
  createdAt: Date | undefined;
351
- tags?: Record<string, string>;
352
- kmsKeyArn?: string;
351
+ tags?: Record<string, string> | undefined;
352
+ kmsKeyArn?: string | undefined;
353
353
  }
354
354
  export interface ListWorkspacesResponse {
355
355
  workspaces: WorkspaceSummary[] | undefined;
356
- nextToken?: string;
356
+ nextToken?: string | undefined;
357
357
  }
358
358
  export interface CreateLoggingConfigurationRequest {
359
359
  workspaceId: string | undefined;
360
360
  logGroupArn: string | undefined;
361
- clientToken?: string;
361
+ clientToken?: string | undefined;
362
362
  }
363
363
  export declare const LoggingConfigurationStatusCode: {
364
364
  readonly ACTIVE: "ACTIVE";
@@ -372,14 +372,14 @@ export type LoggingConfigurationStatusCode =
372
372
  (typeof LoggingConfigurationStatusCode)[keyof typeof LoggingConfigurationStatusCode];
373
373
  export interface LoggingConfigurationStatus {
374
374
  statusCode: LoggingConfigurationStatusCode | undefined;
375
- statusReason?: string;
375
+ statusReason?: string | undefined;
376
376
  }
377
377
  export interface CreateLoggingConfigurationResponse {
378
378
  status: LoggingConfigurationStatus | undefined;
379
379
  }
380
380
  export interface DeleteLoggingConfigurationRequest {
381
381
  workspaceId: string | undefined;
382
- clientToken?: string;
382
+ clientToken?: string | undefined;
383
383
  }
384
384
  export interface DescribeLoggingConfigurationRequest {
385
385
  workspaceId: string | undefined;
@@ -397,7 +397,7 @@ export interface DescribeLoggingConfigurationResponse {
397
397
  export interface UpdateLoggingConfigurationRequest {
398
398
  workspaceId: string | undefined;
399
399
  logGroupArn: string | undefined;
400
- clientToken?: string;
400
+ clientToken?: string | undefined;
401
401
  }
402
402
  export interface UpdateLoggingConfigurationResponse {
403
403
  status: LoggingConfigurationStatus | undefined;
@@ -406,8 +406,8 @@ export interface CreateRuleGroupsNamespaceRequest {
406
406
  workspaceId: string | undefined;
407
407
  name: string | undefined;
408
408
  data: Uint8Array | undefined;
409
- clientToken?: string;
410
- tags?: Record<string, string>;
409
+ clientToken?: string | undefined;
410
+ tags?: Record<string, string> | undefined;
411
411
  }
412
412
  export declare const RuleGroupsNamespaceStatusCode: {
413
413
  readonly ACTIVE: "ACTIVE";
@@ -421,18 +421,18 @@ export type RuleGroupsNamespaceStatusCode =
421
421
  (typeof RuleGroupsNamespaceStatusCode)[keyof typeof RuleGroupsNamespaceStatusCode];
422
422
  export interface RuleGroupsNamespaceStatus {
423
423
  statusCode: RuleGroupsNamespaceStatusCode | undefined;
424
- statusReason?: string;
424
+ statusReason?: string | undefined;
425
425
  }
426
426
  export interface CreateRuleGroupsNamespaceResponse {
427
427
  name: string | undefined;
428
428
  arn: string | undefined;
429
429
  status: RuleGroupsNamespaceStatus | undefined;
430
- tags?: Record<string, string>;
430
+ tags?: Record<string, string> | undefined;
431
431
  }
432
432
  export interface DeleteRuleGroupsNamespaceRequest {
433
433
  workspaceId: string | undefined;
434
434
  name: string | undefined;
435
- clientToken?: string;
435
+ clientToken?: string | undefined;
436
436
  }
437
437
  export interface DescribeRuleGroupsNamespaceRequest {
438
438
  workspaceId: string | undefined;
@@ -445,16 +445,16 @@ export interface RuleGroupsNamespaceDescription {
445
445
  data: Uint8Array | undefined;
446
446
  createdAt: Date | undefined;
447
447
  modifiedAt: Date | undefined;
448
- tags?: Record<string, string>;
448
+ tags?: Record<string, string> | undefined;
449
449
  }
450
450
  export interface DescribeRuleGroupsNamespaceResponse {
451
451
  ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
452
452
  }
453
453
  export interface ListRuleGroupsNamespacesRequest {
454
454
  workspaceId: string | undefined;
455
- name?: string;
456
- nextToken?: string;
457
- maxResults?: number;
455
+ name?: string | undefined;
456
+ nextToken?: string | undefined;
457
+ maxResults?: number | undefined;
458
458
  }
459
459
  export interface RuleGroupsNamespaceSummary {
460
460
  arn: string | undefined;
@@ -462,26 +462,26 @@ export interface RuleGroupsNamespaceSummary {
462
462
  status: RuleGroupsNamespaceStatus | undefined;
463
463
  createdAt: Date | undefined;
464
464
  modifiedAt: Date | undefined;
465
- tags?: Record<string, string>;
465
+ tags?: Record<string, string> | undefined;
466
466
  }
467
467
  export interface ListRuleGroupsNamespacesResponse {
468
468
  ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
469
- nextToken?: string;
469
+ nextToken?: string | undefined;
470
470
  }
471
471
  export interface PutRuleGroupsNamespaceRequest {
472
472
  workspaceId: string | undefined;
473
473
  name: string | undefined;
474
474
  data: Uint8Array | undefined;
475
- clientToken?: string;
475
+ clientToken?: string | undefined;
476
476
  }
477
477
  export interface PutRuleGroupsNamespaceResponse {
478
478
  name: string | undefined;
479
479
  arn: string | undefined;
480
480
  status: RuleGroupsNamespaceStatus | undefined;
481
- tags?: Record<string, string>;
481
+ tags?: Record<string, string> | undefined;
482
482
  }
483
483
  export interface UpdateWorkspaceAliasRequest {
484
484
  workspaceId: string | undefined;
485
- alias?: string;
486
- clientToken?: string;
485
+ alias?: string | undefined;
486
+ clientToken?: string | undefined;
487
487
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amp",
3
3
  "description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-amp",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.7",
61
+ "@smithy/util-waiter": "^3.1.8",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",
64
64
  "uuid": "^9.0.1"