@aws-sdk/client-codeguruprofiler 3.34.0 → 3.37.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.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CodeGuruProfiler.js +0 -26
- package/dist-cjs/CodeGuruProfilerClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AddNotificationChannelsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchGetFrameMetricDataCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ConfigureAgentCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/CreateProfilingGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteProfilingGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeProfilingGroupCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/GetFindingsReportAccountSummaryCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetNotificationConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -29
- package/dist-cjs/commands/GetProfileCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetRecommendationsCommand.js +2 -38
- package/{dist/cjs → dist-cjs}/commands/ListFindingsReportsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListProfileTimesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListProfilingGroupsCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/PostAgentProfileCommand.js +2 -33
- package/dist-cjs/commands/PutPermissionCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveNotificationChannelCommand.js +2 -27
- package/dist-cjs/commands/RemovePermissionCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/SubmitFeedbackCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdateProfilingGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -292
- package/{dist/cjs → dist-cjs}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListFindingsReportsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListProfileTimesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListProfilingGroupsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +3 -9
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CodeGuruProfiler.js +0 -1
- package/{dist/es → dist-es}/CodeGuruProfilerClient.js +1 -2
- package/{dist/es → dist-es}/commands/AddNotificationChannelsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchGetFrameMetricDataCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ConfigureAgentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateProfilingGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteProfilingGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeProfilingGroupCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetFindingsReportAccountSummaryCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetNotificationConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetProfileCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetRecommendationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListFindingsReportsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListProfileTimesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListProfilingGroupsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PostAgentProfileCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutPermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveNotificationChannelCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemovePermissionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/SubmitFeedbackCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateProfilingGroupCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListFindingsReportsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListProfileTimesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListProfilingGroupsPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CodeGuruProfiler.d.ts +1 -1
- package/{dist/types → dist-types}/CodeGuruProfilerClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AddNotificationChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetFrameMetricDataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ConfigureAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetFindingsReportAccountSummaryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetNotificationConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetRecommendationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListFindingsReportsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProfileTimesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListProfilingGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PostAgentProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutPermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemovePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SubmitFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListFindingsReportsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListProfileTimesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodeGuruProfiler.d.ts +25 -249
- package/{dist/types → dist-types}/ts3.4/CodeGuruProfilerClient.d.ts +32 -119
- package/{dist/types → dist-types}/ts3.4/commands/AddNotificationChannelsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ConfigureAgentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateProfilingGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRecommendationsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListFindingsReportsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListProfileTimesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PostAgentProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPermissionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +937 -0
- package/{dist/types → dist-types}/ts3.4/pagination/GetFindingsReportAccountSummaryPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListFindingsReportsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListProfileTimesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListProfilingGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +3 -7
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CodeGuruProfiler.ts +0 -1004
- package/CodeGuruProfilerClient.ts +0 -362
- package/commands/AddNotificationChannelsCommand.ts +0 -94
- package/commands/BatchGetFrameMetricDataCommand.ts +0 -96
- package/commands/ConfigureAgentCommand.ts +0 -98
- package/commands/CreateProfilingGroupCommand.ts +0 -94
- package/commands/DeleteProfilingGroupCommand.ts +0 -94
- package/commands/DescribeProfilingGroupCommand.ts +0 -99
- package/commands/GetFindingsReportAccountSummaryCommand.ts +0 -108
- package/commands/GetNotificationConfigurationCommand.ts +0 -99
- package/commands/GetPolicyCommand.ts +0 -96
- package/commands/GetProfileCommand.ts +0 -165
- package/commands/GetRecommendationsCommand.ts +0 -105
- package/commands/ListFindingsReportsCommand.ts +0 -94
- package/commands/ListProfileTimesCommand.ts +0 -95
- package/commands/ListProfilingGroupsCommand.ts +0 -100
- package/commands/ListTagsForResourceCommand.ts +0 -96
- package/commands/PostAgentProfileCommand.ts +0 -100
- package/commands/PutPermissionCommand.ts +0 -119
- package/commands/RemoveNotificationChannelCommand.ts +0 -97
- package/commands/RemovePermissionCommand.ts +0 -102
- package/commands/SubmitFeedbackCommand.ts +0 -95
- package/commands/TagResourceCommand.ts +0 -96
- package/commands/UntagResourceCommand.ts +0 -96
- package/commands/UpdateProfilingGroupCommand.ts +0 -94
- package/dist/cjs/CodeGuruProfiler.js.map +0 -1
- package/dist/cjs/CodeGuruProfilerClient.js +0 -66
- package/dist/cjs/CodeGuruProfilerClient.js.map +0 -1
- package/dist/cjs/commands/AddNotificationChannelsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
- package/dist/cjs/commands/ConfigureAgentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateProfilingGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteProfilingGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeProfilingGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
- package/dist/cjs/commands/GetNotificationConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetProfileCommand.js +0 -132
- package/dist/cjs/commands/GetProfileCommand.js.map +0 -1
- package/dist/cjs/commands/GetRecommendationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListFindingsReportsCommand.js.map +0 -1
- package/dist/cjs/commands/ListProfileTimesCommand.js.map +0 -1
- package/dist/cjs/commands/ListProfilingGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PostAgentProfileCommand.js.map +0 -1
- package/dist/cjs/commands/PutPermissionCommand.js +0 -86
- package/dist/cjs/commands/PutPermissionCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +0 -1
- package/dist/cjs/commands/RemovePermissionCommand.js +0 -69
- package/dist/cjs/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/cjs/commands/SubmitFeedbackCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateProfilingGroupCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListFindingsReportsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListProfileTimesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListProfilingGroupsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CodeGuruProfiler.js.map +0 -1
- package/dist/es/CodeGuruProfilerClient.js.map +0 -1
- package/dist/es/commands/AddNotificationChannelsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetFrameMetricDataCommand.js.map +0 -1
- package/dist/es/commands/ConfigureAgentCommand.js.map +0 -1
- package/dist/es/commands/CreateProfilingGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteProfilingGroupCommand.js.map +0 -1
- package/dist/es/commands/DescribeProfilingGroupCommand.js.map +0 -1
- package/dist/es/commands/GetFindingsReportAccountSummaryCommand.js.map +0 -1
- package/dist/es/commands/GetNotificationConfigurationCommand.js.map +0 -1
- package/dist/es/commands/GetPolicyCommand.js.map +0 -1
- package/dist/es/commands/GetProfileCommand.js.map +0 -1
- package/dist/es/commands/GetRecommendationsCommand.js.map +0 -1
- package/dist/es/commands/ListFindingsReportsCommand.js.map +0 -1
- package/dist/es/commands/ListProfileTimesCommand.js.map +0 -1
- package/dist/es/commands/ListProfilingGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PostAgentProfileCommand.js.map +0 -1
- package/dist/es/commands/PutPermissionCommand.js.map +0 -1
- package/dist/es/commands/RemoveNotificationChannelCommand.js.map +0 -1
- package/dist/es/commands/RemovePermissionCommand.js.map +0 -1
- package/dist/es/commands/SubmitFeedbackCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateProfilingGroupCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -32
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/GetFindingsReportAccountSummaryPaginator.js.map +0 -1
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListFindingsReportsPaginator.js.map +0 -1
- package/dist/es/pagination/ListProfileTimesPaginator.js.map +0 -1
- package/dist/es/pagination/ListProfilingGroupsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ConfigureAgentCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetPolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetProfileCommand.d.ts +0 -106
- package/dist/types/ts3.4/commands/GetRecommendationsCommand.d.ts +0 -46
- package/dist/types/ts3.4/commands/ListProfileTimesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListProfilingGroupsCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PostAgentProfileCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/PutPermissionCommand.d.ts +0 -60
- package/dist/types/ts3.4/commands/RemovePermissionCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/SubmitFeedbackCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2337
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2721
- package/pagination/GetFindingsReportAccountSummaryPaginator.ts +0 -58
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListFindingsReportsPaginator.ts +0 -58
- package/pagination/ListProfileTimesPaginator.ts +0 -58
- package/pagination/ListProfilingGroupsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -3595
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { GetProfileRequest, GetProfileResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetProfileCommand,
|
|
5
|
-
serializeAws_restJson1GetProfileCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetProfileCommandInput extends GetProfileRequest {}
|
|
21
|
-
export interface GetProfileCommandOutput extends GetProfileResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Gets the aggregated profile of a profiling group for a specified time range.
|
|
26
|
-
* Amazon CodeGuru Profiler collects posted agent profiles for a profiling group
|
|
27
|
-
* into aggregated profiles.
|
|
28
|
-
* </p>
|
|
29
|
-
*
|
|
30
|
-
* <note>
|
|
31
|
-
* <p>
|
|
32
|
-
* Because aggregated profiles expire over time <code>GetProfile</code> is not idempotent.
|
|
33
|
-
* </p>
|
|
34
|
-
* </note>
|
|
35
|
-
*
|
|
36
|
-
* <p>
|
|
37
|
-
* Specify the time range for the requested aggregated profile using 1 or 2 of the following parameters: <code>startTime</code>,
|
|
38
|
-
* <code>endTime</code>, <code>period</code>. The maximum time range allowed is 7 days. If you specify all 3 parameters,
|
|
39
|
-
* an exception is thrown. If you specify only <code>period</code>, the latest aggregated profile is returned.
|
|
40
|
-
* </p>
|
|
41
|
-
*
|
|
42
|
-
* <p>
|
|
43
|
-
* Aggregated profiles are available with aggregation periods of 5 minutes, 1 hour, and 1 day, aligned to
|
|
44
|
-
* UTC. The aggregation period of an aggregated profile determines how long it is retained. For more
|
|
45
|
-
* information, see <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_AggregatedProfileTime.html">
|
|
46
|
-
* <code>AggregatedProfileTime</code>
|
|
47
|
-
* </a>. The aggregated profile's aggregation period determines how long
|
|
48
|
-
* it is retained by CodeGuru Profiler.
|
|
49
|
-
* </p>
|
|
50
|
-
*
|
|
51
|
-
* <ul>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>
|
|
54
|
-
* If the aggregation period is 5 minutes, the aggregated profile is retained for 15 days.
|
|
55
|
-
* </p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>
|
|
59
|
-
* If the aggregation period is 1 hour, the aggregated profile is retained for 60 days.
|
|
60
|
-
* </p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>
|
|
64
|
-
* If the aggregation period is 1 day, the aggregated profile is retained for 3 years.
|
|
65
|
-
* </p>
|
|
66
|
-
* </li>
|
|
67
|
-
* </ul>
|
|
68
|
-
*
|
|
69
|
-
* <p>There are two use cases for calling <code>GetProfile</code>.</p>
|
|
70
|
-
* <ol>
|
|
71
|
-
* <li>
|
|
72
|
-
* <p>
|
|
73
|
-
* If you want to return an aggregated profile that already exists, use
|
|
74
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ListProfileTimes.html">
|
|
75
|
-
* <code>ListProfileTimes</code>
|
|
76
|
-
* </a> to
|
|
77
|
-
* view the time ranges of existing aggregated profiles. Use them in a <code>GetProfile</code> request to return a specific,
|
|
78
|
-
* existing aggregated profile.
|
|
79
|
-
* </p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>
|
|
83
|
-
* If you want to return an aggregated profile for a time range that doesn't align with an existing aggregated profile,
|
|
84
|
-
* then CodeGuru Profiler makes a best effort to combine existing aggregated profiles from the requested time
|
|
85
|
-
* range and return them as one aggregated profile.
|
|
86
|
-
* </p>
|
|
87
|
-
*
|
|
88
|
-
* <p> If aggregated profiles do not exist for the full time range requested, then
|
|
89
|
-
* aggregated profiles for a smaller time range are returned. For example, if the
|
|
90
|
-
* requested time range is from 00:00 to 00:20, and the existing aggregated profiles are
|
|
91
|
-
* from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 are returned. </p>
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* </li>
|
|
95
|
-
* </ol>
|
|
96
|
-
* @example
|
|
97
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
98
|
-
* ```javascript
|
|
99
|
-
* import { CodeGuruProfilerClient, GetProfileCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
100
|
-
* // const { CodeGuruProfilerClient, GetProfileCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
101
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
102
|
-
* const command = new GetProfileCommand(input);
|
|
103
|
-
* const response = await client.send(command);
|
|
104
|
-
* ```
|
|
105
|
-
*
|
|
106
|
-
* @see {@link GetProfileCommandInput} for command's `input` shape.
|
|
107
|
-
* @see {@link GetProfileCommandOutput} for command's `response` shape.
|
|
108
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
109
|
-
*
|
|
110
|
-
*/
|
|
111
|
-
export class GetProfileCommand extends $Command<
|
|
112
|
-
GetProfileCommandInput,
|
|
113
|
-
GetProfileCommandOutput,
|
|
114
|
-
CodeGuruProfilerClientResolvedConfig
|
|
115
|
-
> {
|
|
116
|
-
// Start section: command_properties
|
|
117
|
-
// End section: command_properties
|
|
118
|
-
|
|
119
|
-
constructor(readonly input: GetProfileCommandInput) {
|
|
120
|
-
// Start section: command_constructor
|
|
121
|
-
super();
|
|
122
|
-
// End section: command_constructor
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
resolveMiddleware(
|
|
129
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
130
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
131
|
-
options?: __HttpHandlerOptions
|
|
132
|
-
): Handler<GetProfileCommandInput, GetProfileCommandOutput> {
|
|
133
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
134
|
-
|
|
135
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
136
|
-
|
|
137
|
-
const { logger } = configuration;
|
|
138
|
-
const clientName = "CodeGuruProfilerClient";
|
|
139
|
-
const commandName = "GetProfileCommand";
|
|
140
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
141
|
-
logger,
|
|
142
|
-
clientName,
|
|
143
|
-
commandName,
|
|
144
|
-
inputFilterSensitiveLog: GetProfileRequest.filterSensitiveLog,
|
|
145
|
-
outputFilterSensitiveLog: GetProfileResponse.filterSensitiveLog,
|
|
146
|
-
};
|
|
147
|
-
const { requestHandler } = configuration;
|
|
148
|
-
return stack.resolve(
|
|
149
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
150
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
151
|
-
handlerExecutionContext
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
private serialize(input: GetProfileCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
156
|
-
return serializeAws_restJson1GetProfileCommand(input, context);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetProfileCommandOutput> {
|
|
160
|
-
return deserializeAws_restJson1GetProfileCommand(output, context);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// Start section: command_body_extra
|
|
164
|
-
// End section: command_body_extra
|
|
165
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { GetRecommendationsRequest, GetRecommendationsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1GetRecommendationsCommand,
|
|
5
|
-
serializeAws_restJson1GetRecommendationsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface GetRecommendationsCommandInput extends GetRecommendationsRequest {}
|
|
21
|
-
export interface GetRecommendationsCommandOutput extends GetRecommendationsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Recommendation.html">
|
|
27
|
-
* <code>Recommendation</code>
|
|
28
|
-
* </a>
|
|
29
|
-
* objects that contain recommendations for a profiling group for a given time period. A list of
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_Anomaly.html">
|
|
31
|
-
* <code>Anomaly</code>
|
|
32
|
-
* </a>
|
|
33
|
-
* objects that contains details about anomalies detected in the profiling group for the same time period is also
|
|
34
|
-
* returned.
|
|
35
|
-
* </p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CodeGuruProfilerClient, GetRecommendationsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
40
|
-
* // const { CodeGuruProfilerClient, GetRecommendationsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
41
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
42
|
-
* const command = new GetRecommendationsCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link GetRecommendationsCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link GetRecommendationsCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class GetRecommendationsCommand extends $Command<
|
|
52
|
-
GetRecommendationsCommandInput,
|
|
53
|
-
GetRecommendationsCommandOutput,
|
|
54
|
-
CodeGuruProfilerClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: GetRecommendationsCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<GetRecommendationsCommandInput, GetRecommendationsCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CodeGuruProfilerClient";
|
|
79
|
-
const commandName = "GetRecommendationsCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: GetRecommendationsRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: GetRecommendationsResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: GetRecommendationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restJson1GetRecommendationsCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRecommendationsCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1GetRecommendationsCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { ListFindingsReportsRequest, ListFindingsReportsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListFindingsReportsCommand,
|
|
5
|
-
serializeAws_restJson1ListFindingsReportsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListFindingsReportsCommandInput extends ListFindingsReportsRequest {}
|
|
21
|
-
export interface ListFindingsReportsCommandOutput extends ListFindingsReportsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>List the available reports for a given profiling group and time range.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeGuruProfilerClient, ListFindingsReportsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
29
|
-
* // const { CodeGuruProfilerClient, ListFindingsReportsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
30
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
31
|
-
* const command = new ListFindingsReportsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListFindingsReportsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListFindingsReportsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListFindingsReportsCommand extends $Command<
|
|
41
|
-
ListFindingsReportsCommandInput,
|
|
42
|
-
ListFindingsReportsCommandOutput,
|
|
43
|
-
CodeGuruProfilerClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListFindingsReportsCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListFindingsReportsCommandInput, ListFindingsReportsCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CodeGuruProfilerClient";
|
|
68
|
-
const commandName = "ListFindingsReportsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListFindingsReportsRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListFindingsReportsResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: ListFindingsReportsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1ListFindingsReportsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFindingsReportsCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1ListFindingsReportsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { ListProfileTimesRequest, ListProfileTimesResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListProfileTimesCommand,
|
|
5
|
-
serializeAws_restJson1ListProfileTimesCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListProfileTimesCommandInput extends ListProfileTimesRequest {}
|
|
21
|
-
export interface ListProfileTimesCommandOutput extends ListProfileTimesResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists the start times of the available aggregated profiles of a profiling group
|
|
25
|
-
* for an aggregation period within the specified time range.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodeGuruProfilerClient, ListProfileTimesCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
30
|
-
* // const { CodeGuruProfilerClient, ListProfileTimesCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
31
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
32
|
-
* const command = new ListProfileTimesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListProfileTimesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListProfileTimesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListProfileTimesCommand extends $Command<
|
|
42
|
-
ListProfileTimesCommandInput,
|
|
43
|
-
ListProfileTimesCommandOutput,
|
|
44
|
-
CodeGuruProfilerClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListProfileTimesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListProfileTimesCommandInput, ListProfileTimesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CodeGuruProfilerClient";
|
|
69
|
-
const commandName = "ListProfileTimesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListProfileTimesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListProfileTimesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListProfileTimesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListProfileTimesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProfileTimesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListProfileTimesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { ListProfilingGroupsRequest, ListProfilingGroupsResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListProfilingGroupsCommand,
|
|
5
|
-
serializeAws_restJson1ListProfilingGroupsCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListProfilingGroupsCommandInput extends ListProfilingGroupsRequest {}
|
|
21
|
-
export interface ListProfilingGroupsCommandOutput extends ListProfilingGroupsResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of profiling groups. The profiling groups are returned as
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/codeguru/latest/profiler-api/API_ProfilingGroupDescription.html">
|
|
27
|
-
* <code>ProfilingGroupDescription</code>
|
|
28
|
-
* </a>
|
|
29
|
-
* objects.
|
|
30
|
-
* </p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CodeGuruProfilerClient, ListProfilingGroupsCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
35
|
-
* // const { CodeGuruProfilerClient, ListProfilingGroupsCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
36
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
37
|
-
* const command = new ListProfilingGroupsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListProfilingGroupsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListProfilingGroupsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListProfilingGroupsCommand extends $Command<
|
|
47
|
-
ListProfilingGroupsCommandInput,
|
|
48
|
-
ListProfilingGroupsCommandOutput,
|
|
49
|
-
CodeGuruProfilerClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListProfilingGroupsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListProfilingGroupsCommandInput, ListProfilingGroupsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "CodeGuruProfilerClient";
|
|
74
|
-
const commandName = "ListProfilingGroupsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListProfilingGroupsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListProfilingGroupsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: ListProfilingGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1ListProfilingGroupsCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProfilingGroupsCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1ListProfilingGroupsCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { CodeGuruProfilerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeGuruProfilerClient";
|
|
2
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
5
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
21
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>
|
|
25
|
-
* Returns a list of the tags that are assigned to a specified resource.
|
|
26
|
-
* </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CodeGuruProfilerClient, ListTagsForResourceCommand } from "@aws-sdk/client-codeguruprofiler"; // ES Modules import
|
|
31
|
-
* // const { CodeGuruProfilerClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codeguruprofiler"); // CommonJS import
|
|
32
|
-
* const client = new CodeGuruProfilerClient(config);
|
|
33
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodeGuruProfilerClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
43
|
-
ListTagsForResourceCommandInput,
|
|
44
|
-
ListTagsForResourceCommandOutput,
|
|
45
|
-
CodeGuruProfilerClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CodeGuruProfilerClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CodeGuruProfilerClient";
|
|
70
|
-
const commandName = "ListTagsForResourceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|