@aws-sdk/client-codeguruprofiler 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.
@@ -37,7 +37,7 @@ export interface Channel {
37
37
  * <p>Unique identifier for each <code>Channel</code> in the notification configuration of a Profiling Group. A random UUID for channelId is used when adding a channel to the notification configuration if not specified in the request.</p>
38
38
  * @public
39
39
  */
40
- id?: string;
40
+ id?: string | undefined;
41
41
  /**
42
42
  * <p>Unique arn of the resource to be used for notifications. We support a valid SNS topic arn as a channel uri.</p>
43
43
  * @public
@@ -76,7 +76,7 @@ export interface NotificationConfiguration {
76
76
  * the application profile.</p>
77
77
  * @public
78
78
  */
79
- channels?: Channel[];
79
+ channels?: Channel[] | undefined;
80
80
  }
81
81
  /**
82
82
  * <p>The structure representing the AddNotificationChannelsResponse.</p>
@@ -87,7 +87,7 @@ export interface AddNotificationChannelsResponse {
87
87
  * <p>The new notification configuration for this profiling group.</p>
88
88
  * @public
89
89
  */
90
- notificationConfiguration?: NotificationConfiguration;
90
+ notificationConfiguration?: NotificationConfiguration | undefined;
91
91
  }
92
92
  /**
93
93
  * <p>The requested operation would cause a conflict with the current state
@@ -272,7 +272,7 @@ export interface AgentConfiguration {
272
272
  * </ul>
273
273
  * @public
274
274
  */
275
- agentParameters?: Partial<Record<AgentParameterField, string>>;
275
+ agentParameters?: Partial<Record<AgentParameterField, string>> | undefined;
276
276
  }
277
277
  /**
278
278
  * <p>
@@ -339,7 +339,7 @@ export interface AggregatedProfileTime {
339
339
  * </p>
340
340
  * @public
341
341
  */
342
- start?: Date;
342
+ start?: Date | undefined;
343
343
  /**
344
344
  * <p>
345
345
  * The aggregation period. This indicates the period during which an aggregation profile
@@ -365,7 +365,7 @@ export interface AggregatedProfileTime {
365
365
  * </ul>
366
366
  * @public
367
367
  */
368
- period?: AggregationPeriod;
368
+ period?: AggregationPeriod | undefined;
369
369
  }
370
370
  /**
371
371
  * @public
@@ -429,12 +429,12 @@ export interface AnomalyInstance {
429
429
  * </p>
430
430
  * @public
431
431
  */
432
- endTime?: Date;
432
+ endTime?: Date | undefined;
433
433
  /**
434
434
  * <p>Feedback type on a specific instance of anomaly submitted by the user.</p>
435
435
  * @public
436
436
  */
437
- userFeedback?: UserFeedback;
437
+ userFeedback?: UserFeedback | undefined;
438
438
  }
439
439
  /**
440
440
  * @public
@@ -563,7 +563,7 @@ export interface BatchGetFrameMetricDataRequest {
563
563
  * </p>
564
564
  * @public
565
565
  */
566
- startTime?: Date;
566
+ startTime?: Date | undefined;
567
567
  /**
568
568
  * <p>
569
569
  * The end time of the time period for the returned time series values.
@@ -573,7 +573,7 @@ export interface BatchGetFrameMetricDataRequest {
573
573
  * </p>
574
574
  * @public
575
575
  */
576
- endTime?: Date;
576
+ endTime?: Date | undefined;
577
577
  /**
578
578
  * <p>
579
579
  * The duration of the frame metrics used to return the time series values.
@@ -582,7 +582,7 @@ export interface BatchGetFrameMetricDataRequest {
582
582
  * </p>
583
583
  * @public
584
584
  */
585
- period?: string;
585
+ period?: string | undefined;
586
586
  /**
587
587
  * <p>The requested resolution of time steps for the returned time series of values.
588
588
  * If the requested target resolution is not available due to data not being retained we provide a best effort
@@ -608,7 +608,7 @@ export interface BatchGetFrameMetricDataRequest {
608
608
  * </ul>
609
609
  * @public
610
610
  */
611
- targetResolution?: AggregationPeriod;
611
+ targetResolution?: AggregationPeriod | undefined;
612
612
  /**
613
613
  * <p>
614
614
  * The details of the metrics that are used to request a time series of values. The metric includes
@@ -616,7 +616,7 @@ export interface BatchGetFrameMetricDataRequest {
616
616
  * frame, and the thread states to use to get the count for the metric value of the frame.</p>
617
617
  * @public
618
618
  */
619
- frameMetrics?: FrameMetric[];
619
+ frameMetrics?: FrameMetric[] | undefined;
620
620
  }
621
621
  /**
622
622
  * <p>
@@ -747,7 +747,7 @@ export interface GetFindingsReportAccountSummaryRequest {
747
747
  * </note>
748
748
  * @public
749
749
  */
750
- nextToken?: string;
750
+ nextToken?: string | undefined;
751
751
  /**
752
752
  * <p>The maximum number of results returned by <code> GetFindingsReportAccountSummary</code> in paginated output.
753
753
  * When this parameter is used, <code>GetFindingsReportAccountSummary</code> only returns <code>maxResults</code>
@@ -756,14 +756,14 @@ export interface GetFindingsReportAccountSummaryRequest {
756
756
  * <code>nextToken</code> value.</p>
757
757
  * @public
758
758
  */
759
- maxResults?: number;
759
+ maxResults?: number | undefined;
760
760
  /**
761
761
  * <p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set
762
762
  * to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>,
763
763
  * analysis data is returned from smaller time windows (for example, one hour).</p>
764
764
  * @public
765
765
  */
766
- dailyReportsOnly?: boolean;
766
+ dailyReportsOnly?: boolean | undefined;
767
767
  }
768
768
  /**
769
769
  * <p>
@@ -777,12 +777,12 @@ export interface FindingsReportSummary {
777
777
  * <p>The universally unique identifier (UUID) of the recommendation report.</p>
778
778
  * @public
779
779
  */
780
- id?: string;
780
+ id?: string | undefined;
781
781
  /**
782
782
  * <p>The name of the profiling group that is associated with the analysis data.</p>
783
783
  * @public
784
784
  */
785
- profilingGroupName?: string;
785
+ profilingGroupName?: string | undefined;
786
786
  /**
787
787
  * <p>The start time of the profile the analysis data is about.
788
788
  * This is specified
@@ -790,7 +790,7 @@ export interface FindingsReportSummary {
790
790
  * millisecond past June 1, 2020 1:15:02 PM UTC.</p>
791
791
  * @public
792
792
  */
793
- profileStartTime?: Date;
793
+ profileStartTime?: Date | undefined;
794
794
  /**
795
795
  * <p>
796
796
  * The end time of the period during which the metric is flagged as anomalous.
@@ -800,12 +800,12 @@ export interface FindingsReportSummary {
800
800
  * </p>
801
801
  * @public
802
802
  */
803
- profileEndTime?: Date;
803
+ profileEndTime?: Date | undefined;
804
804
  /**
805
805
  * <p>The total number of different recommendations that were found by the analysis.</p>
806
806
  * @public
807
807
  */
808
- totalNumberOfFindings?: number;
808
+ totalNumberOfFindings?: number | undefined;
809
809
  }
810
810
  /**
811
811
  * <p>The structure representing the GetFindingsReportAccountSummaryResponse.</p>
@@ -828,7 +828,7 @@ export interface GetFindingsReportAccountSummaryResponse {
828
828
  * results to return.</p>
829
829
  * @public
830
830
  */
831
- nextToken?: string;
831
+ nextToken?: string | undefined;
832
832
  }
833
833
  /**
834
834
  * @public
@@ -853,7 +853,7 @@ export interface ListTagsForResourceResponse {
853
853
  * </p>
854
854
  * @public
855
855
  */
856
- tags?: Record<string, string>;
856
+ tags?: Record<string, string> | undefined;
857
857
  }
858
858
  /**
859
859
  * @public
@@ -919,7 +919,7 @@ export interface ConfigureAgentRequest {
919
919
  * Fargate container, it is the container's task ID. </p>
920
920
  * @public
921
921
  */
922
- fleetInstanceId?: string;
922
+ fleetInstanceId?: string | undefined;
923
923
  /**
924
924
  * <p> Metadata captured about the compute platform the agent is running on. It includes
925
925
  * information about sampling and reporting. The valid fields are:</p>
@@ -972,7 +972,7 @@ export interface ConfigureAgentRequest {
972
972
  * </ul>
973
973
  * @public
974
974
  */
975
- metadata?: Partial<Record<MetadataField, string>>;
975
+ metadata?: Partial<Record<MetadataField, string>> | undefined;
976
976
  }
977
977
  /**
978
978
  * <p>The structure representing the configureAgentResponse.</p>
@@ -1027,27 +1027,27 @@ export interface CreateProfilingGroupRequest {
1027
1027
  * </p>
1028
1028
  * @public
1029
1029
  */
1030
- computePlatform?: ComputePlatform;
1030
+ computePlatform?: ComputePlatform | undefined;
1031
1031
  /**
1032
1032
  * <p> Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the
1033
1033
  * accidental creation of duplicate profiling groups if there are failures and retries. </p>
1034
1034
  * @public
1035
1035
  */
1036
- clientToken?: string;
1036
+ clientToken?: string | undefined;
1037
1037
  /**
1038
1038
  * <p>
1039
1039
  * Specifies whether profiling is enabled or disabled for the created profiling group.
1040
1040
  * </p>
1041
1041
  * @public
1042
1042
  */
1043
- agentOrchestrationConfig?: AgentOrchestrationConfig;
1043
+ agentOrchestrationConfig?: AgentOrchestrationConfig | undefined;
1044
1044
  /**
1045
1045
  * <p>
1046
1046
  * A list of tags to add to the created profiling group.
1047
1047
  * </p>
1048
1048
  * @public
1049
1049
  */
1050
- tags?: Record<string, string>;
1050
+ tags?: Record<string, string> | undefined;
1051
1051
  }
1052
1052
  /**
1053
1053
  * <p>
@@ -1064,7 +1064,7 @@ export interface ProfilingStatus {
1064
1064
  * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1065
1065
  * @public
1066
1066
  */
1067
- latestAgentProfileReportedAt?: Date;
1067
+ latestAgentProfileReportedAt?: Date | undefined;
1068
1068
  /**
1069
1069
  * <p>
1070
1070
  * An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
@@ -1074,14 +1074,14 @@ export interface ProfilingStatus {
1074
1074
  * </p>
1075
1075
  * @public
1076
1076
  */
1077
- latestAggregatedProfile?: AggregatedProfileTime;
1077
+ latestAggregatedProfile?: AggregatedProfileTime | undefined;
1078
1078
  /**
1079
1079
  * <p>The date and time when the profiling agent most recently pinged back. Specify using
1080
1080
  * the ISO 8601 format. For example,
1081
1081
  * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1082
1082
  * @public
1083
1083
  */
1084
- latestAgentOrchestratedAt?: Date;
1084
+ latestAgentOrchestratedAt?: Date | undefined;
1085
1085
  }
1086
1086
  /**
1087
1087
  * <p>
@@ -1094,7 +1094,7 @@ export interface ProfilingGroupDescription {
1094
1094
  * <p>The name of the profiling group.</p>
1095
1095
  * @public
1096
1096
  */
1097
- name?: string;
1097
+ name?: string | undefined;
1098
1098
  /**
1099
1099
  * <p>
1100
1100
  * An <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AgentOrchestrationConfig.html">
@@ -1104,12 +1104,12 @@ export interface ProfilingGroupDescription {
1104
1104
  * </p>
1105
1105
  * @public
1106
1106
  */
1107
- agentOrchestrationConfig?: AgentOrchestrationConfig;
1107
+ agentOrchestrationConfig?: AgentOrchestrationConfig | undefined;
1108
1108
  /**
1109
1109
  * <p>The Amazon Resource Name (ARN) identifying the profiling group resource.</p>
1110
1110
  * @public
1111
1111
  */
1112
- arn?: string;
1112
+ arn?: string | undefined;
1113
1113
  /**
1114
1114
  * <p>The time when the profiling group was created. Specify using
1115
1115
  * the ISO 8601 format. For example,
@@ -1117,7 +1117,7 @@ export interface ProfilingGroupDescription {
1117
1117
  * </p>
1118
1118
  * @public
1119
1119
  */
1120
- createdAt?: Date;
1120
+ createdAt?: Date | undefined;
1121
1121
  /**
1122
1122
  * <p>
1123
1123
  * The date and time when the profiling group was last updated. Specify using
@@ -1126,7 +1126,7 @@ export interface ProfilingGroupDescription {
1126
1126
  * </p>
1127
1127
  * @public
1128
1128
  */
1129
- updatedAt?: Date;
1129
+ updatedAt?: Date | undefined;
1130
1130
  /**
1131
1131
  * <p>
1132
1132
  * A <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingStatus.html">
@@ -1138,7 +1138,7 @@ export interface ProfilingGroupDescription {
1138
1138
  * </p>
1139
1139
  * @public
1140
1140
  */
1141
- profilingStatus?: ProfilingStatus;
1141
+ profilingStatus?: ProfilingStatus | undefined;
1142
1142
  /**
1143
1143
  * <p>
1144
1144
  * The compute platform of the profiling group. If it is set to <code>AWSLambda</code>, then
@@ -1148,14 +1148,14 @@ export interface ProfilingGroupDescription {
1148
1148
  * </p>
1149
1149
  * @public
1150
1150
  */
1151
- computePlatform?: ComputePlatform;
1151
+ computePlatform?: ComputePlatform | undefined;
1152
1152
  /**
1153
1153
  * <p>
1154
1154
  * A list of the tags that belong to this profiling group.
1155
1155
  * </p>
1156
1156
  * @public
1157
1157
  */
1158
- tags?: Record<string, string>;
1158
+ tags?: Record<string, string> | undefined;
1159
1159
  }
1160
1160
  /**
1161
1161
  * <p>The structure representing the createProfilingGroupResponse.</p>
@@ -1289,7 +1289,7 @@ export interface GetProfileRequest {
1289
1289
  * </p>
1290
1290
  * @public
1291
1291
  */
1292
- startTime?: Date;
1292
+ startTime?: Date | undefined;
1293
1293
  /**
1294
1294
  * <p>
1295
1295
  * Used with <code>startTime</code> or <code>endTime</code> to specify
@@ -1302,7 +1302,7 @@ export interface GetProfileRequest {
1302
1302
  * </p>
1303
1303
  * @public
1304
1304
  */
1305
- period?: string;
1305
+ period?: string | undefined;
1306
1306
  /**
1307
1307
  * <p>
1308
1308
  * The end time of the requested profile. Specify using
@@ -1315,7 +1315,7 @@ export interface GetProfileRequest {
1315
1315
  * </p>
1316
1316
  * @public
1317
1317
  */
1318
- endTime?: Date;
1318
+ endTime?: Date | undefined;
1319
1319
  /**
1320
1320
  * <p>
1321
1321
  * The maximum depth of the stacks in the code that is represented in
@@ -1327,7 +1327,7 @@ export interface GetProfileRequest {
1327
1327
  * </p>
1328
1328
  * @public
1329
1329
  */
1330
- maxDepth?: number;
1330
+ maxDepth?: number | undefined;
1331
1331
  /**
1332
1332
  * <p>
1333
1333
  * The format of the returned profiling data. The format maps to the
@@ -1351,7 +1351,7 @@ export interface GetProfileRequest {
1351
1351
  * </ul>
1352
1352
  * @public
1353
1353
  */
1354
- accept?: string;
1354
+ accept?: string | undefined;
1355
1355
  }
1356
1356
  /**
1357
1357
  * <p>The structure representing the getProfileResponse.</p>
@@ -1374,7 +1374,7 @@ export interface GetProfileResponse {
1374
1374
  * <p>The content encoding of the profile.</p>
1375
1375
  * @public
1376
1376
  */
1377
- contentEncoding?: string;
1377
+ contentEncoding?: string | undefined;
1378
1378
  }
1379
1379
  /**
1380
1380
  * <p>The structure representing the GetRecommendationsRequest.</p>
@@ -1472,7 +1472,7 @@ export interface GetRecommendationsRequest {
1472
1472
  * </ul>
1473
1473
  * @public
1474
1474
  */
1475
- locale?: string;
1475
+ locale?: string | undefined;
1476
1476
  }
1477
1477
  /**
1478
1478
  * <p>
@@ -1485,31 +1485,31 @@ export interface Pattern {
1485
1485
  * <p>The universally unique identifier (UUID) of this pattern.</p>
1486
1486
  * @public
1487
1487
  */
1488
- id?: string;
1488
+ id?: string | undefined;
1489
1489
  /**
1490
1490
  * <p>The name for this pattern.</p>
1491
1491
  * @public
1492
1492
  */
1493
- name?: string;
1493
+ name?: string | undefined;
1494
1494
  /**
1495
1495
  * <p>The description of the recommendation. This explains a potential
1496
1496
  * inefficiency in a profiled application.</p>
1497
1497
  * @public
1498
1498
  */
1499
- description?: string;
1499
+ description?: string | undefined;
1500
1500
  /**
1501
1501
  * <p>
1502
1502
  * A string that contains the steps recommended to address the potential inefficiency.
1503
1503
  * </p>
1504
1504
  * @public
1505
1505
  */
1506
- resolutionSteps?: string;
1506
+ resolutionSteps?: string | undefined;
1507
1507
  /**
1508
1508
  * <p>A list of frame names that were searched during the analysis that generated
1509
1509
  * a recommendation.</p>
1510
1510
  * @public
1511
1511
  */
1512
- targetFrames?: string[][];
1512
+ targetFrames?: string[][] | undefined;
1513
1513
  /**
1514
1514
  * <p>
1515
1515
  * The percentage of time an application spends in one method that triggers
@@ -1518,14 +1518,14 @@ export interface Pattern {
1518
1518
  * </p>
1519
1519
  * @public
1520
1520
  */
1521
- thresholdPercent?: number;
1521
+ thresholdPercent?: number | undefined;
1522
1522
  /**
1523
1523
  * <p>
1524
1524
  * A list of the different counters used to determine if there is a match.
1525
1525
  * </p>
1526
1526
  * @public
1527
1527
  */
1528
- countersToAggregate?: string[];
1528
+ countersToAggregate?: string[] | undefined;
1529
1529
  }
1530
1530
  /**
1531
1531
  * <p>The part of a profile that contains a recommendation found during analysis.</p>
@@ -1536,17 +1536,17 @@ export interface Match {
1536
1536
  * <p>The target frame that triggered a match.</p>
1537
1537
  * @public
1538
1538
  */
1539
- targetFramesIndex?: number;
1539
+ targetFramesIndex?: number | undefined;
1540
1540
  /**
1541
1541
  * <p>The location in the profiling graph that contains a recommendation found during analysis.</p>
1542
1542
  * @public
1543
1543
  */
1544
- frameAddress?: string;
1544
+ frameAddress?: string | undefined;
1545
1545
  /**
1546
1546
  * <p>The value in the profile data that exceeded the recommendation threshold.</p>
1547
1547
  * @public
1548
1548
  */
1549
- thresholdBreachValue?: number;
1549
+ thresholdBreachValue?: number | undefined;
1550
1550
  }
1551
1551
  /**
1552
1552
  * <p>A potential improvement that was found from analyzing the profiling data.</p>
@@ -1672,7 +1672,7 @@ export interface ListFindingsReportsRequest {
1672
1672
  * </note>
1673
1673
  * @public
1674
1674
  */
1675
- nextToken?: string;
1675
+ nextToken?: string | undefined;
1676
1676
  /**
1677
1677
  * <p>The maximum number of report results returned by <code>ListFindingsReports</code>
1678
1678
  * in paginated output. When this parameter is used, <code>ListFindingsReports</code> only returns
@@ -1682,14 +1682,14 @@ export interface ListFindingsReportsRequest {
1682
1682
  * <code>nextToken</code> value.</p>
1683
1683
  * @public
1684
1684
  */
1685
- maxResults?: number;
1685
+ maxResults?: number | undefined;
1686
1686
  /**
1687
1687
  * <p>A <code>Boolean</code> value indicating whether to only return reports from daily profiles. If set
1688
1688
  * to <code>True</code>, only analysis data from daily profiles is returned. If set to <code>False</code>,
1689
1689
  * analysis data is returned from smaller time windows (for example, one hour).</p>
1690
1690
  * @public
1691
1691
  */
1692
- dailyReportsOnly?: boolean;
1692
+ dailyReportsOnly?: boolean | undefined;
1693
1693
  }
1694
1694
  /**
1695
1695
  * <p>The structure representing the ListFindingsReportsResponse.</p>
@@ -1708,7 +1708,7 @@ export interface ListFindingsReportsResponse {
1708
1708
  * results to return.</p>
1709
1709
  * @public
1710
1710
  */
1711
- nextToken?: string;
1711
+ nextToken?: string | undefined;
1712
1712
  }
1713
1713
  /**
1714
1714
  * @public
@@ -1779,7 +1779,7 @@ export interface ListProfileTimesRequest {
1779
1779
  * </p>
1780
1780
  * @public
1781
1781
  */
1782
- orderBy?: OrderBy;
1782
+ orderBy?: OrderBy | undefined;
1783
1783
  /**
1784
1784
  * <p>The maximum number of profile time results returned by <code>ListProfileTimes</code>
1785
1785
  * in paginated output. When this parameter is used, <code>ListProfileTimes</code> only returns
@@ -1790,7 +1790,7 @@ export interface ListProfileTimesRequest {
1790
1790
  * </p>
1791
1791
  * @public
1792
1792
  */
1793
- maxResults?: number;
1793
+ maxResults?: number | undefined;
1794
1794
  /**
1795
1795
  * <p>The <code>nextToken</code> value returned from a previous paginated
1796
1796
  * <code>ListProfileTimes</code> request where <code>maxResults</code> was used and the results
@@ -1803,7 +1803,7 @@ export interface ListProfileTimesRequest {
1803
1803
  * </note>
1804
1804
  * @public
1805
1805
  */
1806
- nextToken?: string;
1806
+ nextToken?: string | undefined;
1807
1807
  }
1808
1808
  /**
1809
1809
  * <p>
@@ -1818,7 +1818,7 @@ export interface ProfileTime {
1818
1818
  * 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.</p>
1819
1819
  * @public
1820
1820
  */
1821
- start?: Date;
1821
+ start?: Date | undefined;
1822
1822
  }
1823
1823
  /**
1824
1824
  * <p>The structure representing the listProfileTimesResponse.</p>
@@ -1839,7 +1839,7 @@ export interface ListProfileTimesResponse {
1839
1839
  * results to return. </p>
1840
1840
  * @public
1841
1841
  */
1842
- nextToken?: string;
1842
+ nextToken?: string | undefined;
1843
1843
  }
1844
1844
  /**
1845
1845
  * <p>The structure representing the listProfilingGroupsRequest.</p>
@@ -1858,7 +1858,7 @@ export interface ListProfilingGroupsRequest {
1858
1858
  * </note>
1859
1859
  * @public
1860
1860
  */
1861
- nextToken?: string;
1861
+ nextToken?: string | undefined;
1862
1862
  /**
1863
1863
  * <p>The maximum number of profiling groups results returned by <code>ListProfilingGroups</code>
1864
1864
  * in paginated output. When this parameter is used, <code>ListProfilingGroups</code> only returns
@@ -1869,7 +1869,7 @@ export interface ListProfilingGroupsRequest {
1869
1869
  * </p>
1870
1870
  * @public
1871
1871
  */
1872
- maxResults?: number;
1872
+ maxResults?: number | undefined;
1873
1873
  /**
1874
1874
  * <p>A <code>Boolean</code> value indicating whether to include a description. If <code>true</code>,
1875
1875
  * then a list of
@@ -1880,7 +1880,7 @@ export interface ListProfilingGroupsRequest {
1880
1880
  * a list of profiling group names is returned.</p>
1881
1881
  * @public
1882
1882
  */
1883
- includeDescription?: boolean;
1883
+ includeDescription?: boolean | undefined;
1884
1884
  }
1885
1885
  /**
1886
1886
  * <p>The structure representing the listProfilingGroupsResponse.</p>
@@ -1913,7 +1913,7 @@ export interface ListProfilingGroupsResponse {
1913
1913
  * </p>
1914
1914
  * @public
1915
1915
  */
1916
- profilingGroups?: ProfilingGroupDescription[];
1916
+ profilingGroups?: ProfilingGroupDescription[] | undefined;
1917
1917
  /**
1918
1918
  * <p>The <code>nextToken</code> value to include in a future <code>ListProfilingGroups</code> request.
1919
1919
  * When the results of a <code>ListProfilingGroups</code> request exceed <code>maxResults</code>, this
@@ -1921,7 +1921,7 @@ export interface ListProfilingGroupsResponse {
1921
1921
  * results to return. </p>
1922
1922
  * @public
1923
1923
  */
1924
- nextToken?: string;
1924
+ nextToken?: string | undefined;
1925
1925
  }
1926
1926
  /**
1927
1927
  * <p>The structure representing the postAgentProfileRequest.</p>
@@ -1948,7 +1948,7 @@ export interface PostAgentProfileRequest {
1948
1948
  * accidental submission of duplicate profiling data if there are failures and retries. </p>
1949
1949
  * @public
1950
1950
  */
1951
- profileToken?: string;
1951
+ profileToken?: string | undefined;
1952
1952
  /**
1953
1953
  * <p>
1954
1954
  * The format of the submitted profiling data. The format maps to the
@@ -2017,7 +2017,7 @@ export interface PutPermissionRequest {
2017
2017
  * </p>
2018
2018
  * @public
2019
2019
  */
2020
- revisionId?: string;
2020
+ revisionId?: string | undefined;
2021
2021
  }
2022
2022
  /**
2023
2023
  * <p>The structure representing the <code>putPermissionResponse</code>.</p>
@@ -2065,7 +2065,7 @@ export interface RemoveNotificationChannelResponse {
2065
2065
  * <p>The new notification configuration for this profiling group.</p>
2066
2066
  * @public
2067
2067
  */
2068
- notificationConfiguration?: NotificationConfiguration;
2068
+ notificationConfiguration?: NotificationConfiguration | undefined;
2069
2069
  }
2070
2070
  /**
2071
2071
  * <p>
@@ -2148,7 +2148,7 @@ export interface SubmitFeedbackRequest {
2148
2148
  * <p>Optional feedback about this anomaly.</p>
2149
2149
  * @public
2150
2150
  */
2151
- comment?: string;
2151
+ comment?: string | undefined;
2152
2152
  }
2153
2153
  /**
2154
2154
  * <p>The structure representing the SubmitFeedbackResponse.</p>
@@ -10,7 +10,7 @@ export declare const EventPublisher: {
10
10
  export type EventPublisher =
11
11
  (typeof EventPublisher)[keyof typeof EventPublisher];
12
12
  export interface Channel {
13
- id?: string;
13
+ id?: string | undefined;
14
14
  uri: string | undefined;
15
15
  eventPublishers: EventPublisher[] | undefined;
16
16
  }
@@ -19,10 +19,10 @@ export interface AddNotificationChannelsRequest {
19
19
  channels: Channel[] | undefined;
20
20
  }
21
21
  export interface NotificationConfiguration {
22
- channels?: Channel[];
22
+ channels?: Channel[] | undefined;
23
23
  }
24
24
  export interface AddNotificationChannelsResponse {
25
- notificationConfiguration?: NotificationConfiguration;
25
+ notificationConfiguration?: NotificationConfiguration | undefined;
26
26
  }
27
27
  export declare class ConflictException extends __BaseException {
28
28
  readonly name: "ConflictException";
@@ -79,7 +79,7 @@ export type AgentParameterField =
79
79
  export interface AgentConfiguration {
80
80
  shouldProfile: boolean | undefined;
81
81
  periodInSeconds: number | undefined;
82
- agentParameters?: Partial<Record<AgentParameterField, string>>;
82
+ agentParameters?: Partial<Record<AgentParameterField, string>> | undefined;
83
83
  }
84
84
  export interface AgentOrchestrationConfig {
85
85
  profilingEnabled: boolean | undefined;
@@ -92,8 +92,8 @@ export declare const AggregationPeriod: {
92
92
  export type AggregationPeriod =
93
93
  (typeof AggregationPeriod)[keyof typeof AggregationPeriod];
94
94
  export interface AggregatedProfileTime {
95
- start?: Date;
96
- period?: AggregationPeriod;
95
+ start?: Date | undefined;
96
+ period?: AggregationPeriod | undefined;
97
97
  }
98
98
  export declare const FeedbackType: {
99
99
  readonly Negative: "Negative";
@@ -106,8 +106,8 @@ export interface UserFeedback {
106
106
  export interface AnomalyInstance {
107
107
  id: string | undefined;
108
108
  startTime: Date | undefined;
109
- endTime?: Date;
110
- userFeedback?: UserFeedback;
109
+ endTime?: Date | undefined;
110
+ userFeedback?: UserFeedback | undefined;
111
111
  }
112
112
  export declare const MetricType: {
113
113
  readonly AggregatedRelativeTotalTime: "AggregatedRelativeTotalTime";
@@ -130,11 +130,11 @@ export interface FrameMetric {
130
130
  }
131
131
  export interface BatchGetFrameMetricDataRequest {
132
132
  profilingGroupName: string | undefined;
133
- startTime?: Date;
134
- endTime?: Date;
135
- period?: string;
136
- targetResolution?: AggregationPeriod;
137
- frameMetrics?: FrameMetric[];
133
+ startTime?: Date | undefined;
134
+ endTime?: Date | undefined;
135
+ period?: string | undefined;
136
+ targetResolution?: AggregationPeriod | undefined;
137
+ frameMetrics?: FrameMetric[] | undefined;
138
138
  }
139
139
  export interface TimestampStructure {
140
140
  value: Date | undefined;
@@ -152,26 +152,26 @@ export interface BatchGetFrameMetricDataResponse {
152
152
  frameMetricData: FrameMetricDatum[] | undefined;
153
153
  }
154
154
  export interface GetFindingsReportAccountSummaryRequest {
155
- nextToken?: string;
156
- maxResults?: number;
157
- dailyReportsOnly?: boolean;
155
+ nextToken?: string | undefined;
156
+ maxResults?: number | undefined;
157
+ dailyReportsOnly?: boolean | undefined;
158
158
  }
159
159
  export interface FindingsReportSummary {
160
- id?: string;
161
- profilingGroupName?: string;
162
- profileStartTime?: Date;
163
- profileEndTime?: Date;
164
- totalNumberOfFindings?: number;
160
+ id?: string | undefined;
161
+ profilingGroupName?: string | undefined;
162
+ profileStartTime?: Date | undefined;
163
+ profileEndTime?: Date | undefined;
164
+ totalNumberOfFindings?: number | undefined;
165
165
  }
166
166
  export interface GetFindingsReportAccountSummaryResponse {
167
167
  reportSummaries: FindingsReportSummary[] | undefined;
168
- nextToken?: string;
168
+ nextToken?: string | undefined;
169
169
  }
170
170
  export interface ListTagsForResourceRequest {
171
171
  resourceArn: string | undefined;
172
172
  }
173
173
  export interface ListTagsForResourceResponse {
174
- tags?: Record<string, string>;
174
+ tags?: Record<string, string> | undefined;
175
175
  }
176
176
  export declare const MetadataField: {
177
177
  readonly AGENT_ID: "AgentId";
@@ -187,8 +187,8 @@ export declare const MetadataField: {
187
187
  export type MetadataField = (typeof MetadataField)[keyof typeof MetadataField];
188
188
  export interface ConfigureAgentRequest {
189
189
  profilingGroupName: string | undefined;
190
- fleetInstanceId?: string;
191
- metadata?: Partial<Record<MetadataField, string>>;
190
+ fleetInstanceId?: string | undefined;
191
+ metadata?: Partial<Record<MetadataField, string>> | undefined;
192
192
  }
193
193
  export interface ConfigureAgentResponse {
194
194
  configuration: AgentConfiguration | undefined;
@@ -201,25 +201,25 @@ export type ComputePlatform =
201
201
  (typeof ComputePlatform)[keyof typeof ComputePlatform];
202
202
  export interface CreateProfilingGroupRequest {
203
203
  profilingGroupName: string | undefined;
204
- computePlatform?: ComputePlatform;
205
- clientToken?: string;
206
- agentOrchestrationConfig?: AgentOrchestrationConfig;
207
- tags?: Record<string, string>;
204
+ computePlatform?: ComputePlatform | undefined;
205
+ clientToken?: string | undefined;
206
+ agentOrchestrationConfig?: AgentOrchestrationConfig | undefined;
207
+ tags?: Record<string, string> | undefined;
208
208
  }
209
209
  export interface ProfilingStatus {
210
- latestAgentProfileReportedAt?: Date;
211
- latestAggregatedProfile?: AggregatedProfileTime;
212
- latestAgentOrchestratedAt?: Date;
210
+ latestAgentProfileReportedAt?: Date | undefined;
211
+ latestAggregatedProfile?: AggregatedProfileTime | undefined;
212
+ latestAgentOrchestratedAt?: Date | undefined;
213
213
  }
214
214
  export interface ProfilingGroupDescription {
215
- name?: string;
216
- agentOrchestrationConfig?: AgentOrchestrationConfig;
217
- arn?: string;
218
- createdAt?: Date;
219
- updatedAt?: Date;
220
- profilingStatus?: ProfilingStatus;
221
- computePlatform?: ComputePlatform;
222
- tags?: Record<string, string>;
215
+ name?: string | undefined;
216
+ agentOrchestrationConfig?: AgentOrchestrationConfig | undefined;
217
+ arn?: string | undefined;
218
+ createdAt?: Date | undefined;
219
+ updatedAt?: Date | undefined;
220
+ profilingStatus?: ProfilingStatus | undefined;
221
+ computePlatform?: ComputePlatform | undefined;
222
+ tags?: Record<string, string> | undefined;
223
223
  }
224
224
  export interface CreateProfilingGroupResponse {
225
225
  profilingGroup: ProfilingGroupDescription | undefined;
@@ -249,36 +249,36 @@ export interface GetPolicyResponse {
249
249
  }
250
250
  export interface GetProfileRequest {
251
251
  profilingGroupName: string | undefined;
252
- startTime?: Date;
253
- period?: string;
254
- endTime?: Date;
255
- maxDepth?: number;
256
- accept?: string;
252
+ startTime?: Date | undefined;
253
+ period?: string | undefined;
254
+ endTime?: Date | undefined;
255
+ maxDepth?: number | undefined;
256
+ accept?: string | undefined;
257
257
  }
258
258
  export interface GetProfileResponse {
259
259
  profile: Uint8Array | undefined;
260
260
  contentType: string | undefined;
261
- contentEncoding?: string;
261
+ contentEncoding?: string | undefined;
262
262
  }
263
263
  export interface GetRecommendationsRequest {
264
264
  profilingGroupName: string | undefined;
265
265
  startTime: Date | undefined;
266
266
  endTime: Date | undefined;
267
- locale?: string;
267
+ locale?: string | undefined;
268
268
  }
269
269
  export interface Pattern {
270
- id?: string;
271
- name?: string;
272
- description?: string;
273
- resolutionSteps?: string;
274
- targetFrames?: string[][];
275
- thresholdPercent?: number;
276
- countersToAggregate?: string[];
270
+ id?: string | undefined;
271
+ name?: string | undefined;
272
+ description?: string | undefined;
273
+ resolutionSteps?: string | undefined;
274
+ targetFrames?: string[][] | undefined;
275
+ thresholdPercent?: number | undefined;
276
+ countersToAggregate?: string[] | undefined;
277
277
  }
278
278
  export interface Match {
279
- targetFramesIndex?: number;
280
- frameAddress?: string;
281
- thresholdBreachValue?: number;
279
+ targetFramesIndex?: number | undefined;
280
+ frameAddress?: string | undefined;
281
+ thresholdBreachValue?: number | undefined;
282
282
  }
283
283
  export interface Recommendation {
284
284
  allMatchesCount: number | undefined;
@@ -299,13 +299,13 @@ export interface ListFindingsReportsRequest {
299
299
  profilingGroupName: string | undefined;
300
300
  startTime: Date | undefined;
301
301
  endTime: Date | undefined;
302
- nextToken?: string;
303
- maxResults?: number;
304
- dailyReportsOnly?: boolean;
302
+ nextToken?: string | undefined;
303
+ maxResults?: number | undefined;
304
+ dailyReportsOnly?: boolean | undefined;
305
305
  }
306
306
  export interface ListFindingsReportsResponse {
307
307
  findingsReportSummaries: FindingsReportSummary[] | undefined;
308
- nextToken?: string;
308
+ nextToken?: string | undefined;
309
309
  }
310
310
  export declare const OrderBy: {
311
311
  readonly TIMESTAMP_ASCENDING: "TimestampAscending";
@@ -317,31 +317,31 @@ export interface ListProfileTimesRequest {
317
317
  startTime: Date | undefined;
318
318
  endTime: Date | undefined;
319
319
  period: AggregationPeriod | undefined;
320
- orderBy?: OrderBy;
321
- maxResults?: number;
322
- nextToken?: string;
320
+ orderBy?: OrderBy | undefined;
321
+ maxResults?: number | undefined;
322
+ nextToken?: string | undefined;
323
323
  }
324
324
  export interface ProfileTime {
325
- start?: Date;
325
+ start?: Date | undefined;
326
326
  }
327
327
  export interface ListProfileTimesResponse {
328
328
  profileTimes: ProfileTime[] | undefined;
329
- nextToken?: string;
329
+ nextToken?: string | undefined;
330
330
  }
331
331
  export interface ListProfilingGroupsRequest {
332
- nextToken?: string;
333
- maxResults?: number;
334
- includeDescription?: boolean;
332
+ nextToken?: string | undefined;
333
+ maxResults?: number | undefined;
334
+ includeDescription?: boolean | undefined;
335
335
  }
336
336
  export interface ListProfilingGroupsResponse {
337
337
  profilingGroupNames: string[] | undefined;
338
- profilingGroups?: ProfilingGroupDescription[];
339
- nextToken?: string;
338
+ profilingGroups?: ProfilingGroupDescription[] | undefined;
339
+ nextToken?: string | undefined;
340
340
  }
341
341
  export interface PostAgentProfileRequest {
342
342
  profilingGroupName: string | undefined;
343
343
  agentProfile: Uint8Array | undefined;
344
- profileToken?: string;
344
+ profileToken?: string | undefined;
345
345
  contentType: string | undefined;
346
346
  }
347
347
  export interface PostAgentProfileResponse {}
@@ -349,7 +349,7 @@ export interface PutPermissionRequest {
349
349
  profilingGroupName: string | undefined;
350
350
  actionGroup: ActionGroup | undefined;
351
351
  principals: string[] | undefined;
352
- revisionId?: string;
352
+ revisionId?: string | undefined;
353
353
  }
354
354
  export interface PutPermissionResponse {
355
355
  policy: string | undefined;
@@ -360,7 +360,7 @@ export interface RemoveNotificationChannelRequest {
360
360
  channelId: string | undefined;
361
361
  }
362
362
  export interface RemoveNotificationChannelResponse {
363
- notificationConfiguration?: NotificationConfiguration;
363
+ notificationConfiguration?: NotificationConfiguration | undefined;
364
364
  }
365
365
  export interface RemovePermissionRequest {
366
366
  profilingGroupName: string | undefined;
@@ -375,7 +375,7 @@ export interface SubmitFeedbackRequest {
375
375
  profilingGroupName: string | undefined;
376
376
  anomalyInstanceId: string | undefined;
377
377
  type: FeedbackType | undefined;
378
- comment?: string;
378
+ comment?: string | undefined;
379
379
  }
380
380
  export interface SubmitFeedbackResponse {}
381
381
  export interface UpdateProfilingGroupRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codeguruprofiler",
3
3
  "description": "AWS SDK for JavaScript Codeguruprofiler 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-codeguruprofiler",
@@ -20,44 +20,44 @@
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",
60
- "@smithy/util-stream": "^3.2.1",
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
+ "@smithy/util-stream": "^3.3.0",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "@types/uuid": "^9.0.1",
63
63
  "tslib": "^2.6.2",