@aws-sdk/client-codeguruprofiler 3.31.0 → 3.35.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 +39 -0
- package/{dist/cjs → dist-cjs}/CodeGuruProfiler.js +0 -0
- package/dist-cjs/CodeGuruProfiler.js.map +1 -0
- package/{dist/cjs → dist-cjs}/CodeGuruProfilerClient.js +14 -14
- package/dist-cjs/CodeGuruProfilerClient.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/AddNotificationChannelsCommand.js +5 -5
- package/dist-cjs/commands/AddNotificationChannelsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/BatchGetFrameMetricDataCommand.js +5 -5
- package/dist-cjs/commands/BatchGetFrameMetricDataCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ConfigureAgentCommand.js +5 -5
- package/dist-cjs/commands/ConfigureAgentCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/CreateProfilingGroupCommand.js +5 -5
- package/dist-cjs/commands/CreateProfilingGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteProfilingGroupCommand.js +5 -5
- package/dist-cjs/commands/DeleteProfilingGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeProfilingGroupCommand.js +5 -5
- package/dist-cjs/commands/DescribeProfilingGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetFindingsReportAccountSummaryCommand.js +5 -5
- package/dist-cjs/commands/GetFindingsReportAccountSummaryCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetNotificationConfigurationCommand.js +5 -5
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +5 -5
- package/dist-cjs/commands/GetPolicyCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetProfileCommand.js +5 -5
- package/dist-cjs/commands/GetProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/GetRecommendationsCommand.js +5 -5
- package/dist-cjs/commands/GetRecommendationsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListFindingsReportsCommand.js +5 -5
- package/dist-cjs/commands/ListFindingsReportsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListProfileTimesCommand.js +5 -5
- package/dist-cjs/commands/ListProfileTimesCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListProfilingGroupsCommand.js +5 -5
- package/dist-cjs/commands/ListProfilingGroupsCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +5 -5
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PostAgentProfileCommand.js +5 -5
- package/dist-cjs/commands/PostAgentProfileCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/PutPermissionCommand.js +5 -5
- package/dist-cjs/commands/PutPermissionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveNotificationChannelCommand.js +5 -5
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/RemovePermissionCommand.js +5 -5
- package/dist-cjs/commands/RemovePermissionCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/SubmitFeedbackCommand.js +5 -5
- package/dist-cjs/commands/SubmitFeedbackCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +5 -5
- package/dist-cjs/commands/TagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +5 -5
- package/dist-cjs/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/commands/UpdateProfilingGroupCommand.js +5 -5
- package/dist-cjs/commands/UpdateProfilingGroupCommand.js.map +1 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -1
- package/dist-cjs/endpoints.js.map +1 -0
- package/dist-cjs/index.js +35 -0
- package/dist-cjs/index.js.map +1 -0
- package/{dist/cjs → dist-cjs}/models/index.js +1 -1
- package/{dist/cjs → dist-cjs}/models/index.js.map +1 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -0
- package/dist-cjs/models/models_0.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/GetFindingsReportAccountSummaryPaginator.js +0 -0
- package/dist-cjs/pagination/GetFindingsReportAccountSummaryPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js.map +1 -1
- package/{dist/cjs → dist-cjs}/pagination/ListFindingsReportsPaginator.js +0 -0
- package/dist-cjs/pagination/ListFindingsReportsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListProfileTimesPaginator.js +0 -0
- package/dist-cjs/pagination/ListProfileTimesPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/pagination/ListProfilingGroupsPaginator.js +0 -0
- package/dist-cjs/pagination/ListProfilingGroupsPaginator.js.map +1 -0
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +116 -116
- package/dist-cjs/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +5 -4
- package/dist-cjs/runtimeConfig.browser.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +10 -9
- package/dist-cjs/runtimeConfig.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +1 -1
- package/dist-cjs/runtimeConfig.native.js.map +1 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -1
- package/dist-cjs/runtimeConfig.shared.js.map +1 -0
- package/{dist/es → dist-es}/CodeGuruProfiler.js +1 -26
- package/dist-es/CodeGuruProfiler.js.map +1 -0
- package/{dist/es → dist-es}/CodeGuruProfilerClient.js +2 -32
- package/dist-es/CodeGuruProfilerClient.js.map +1 -0
- package/{dist/es → dist-es}/commands/AddNotificationChannelsCommand.js +4 -29
- package/dist-es/commands/AddNotificationChannelsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/BatchGetFrameMetricDataCommand.js +4 -31
- package/dist-es/commands/BatchGetFrameMetricDataCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ConfigureAgentCommand.js +4 -33
- package/dist-es/commands/ConfigureAgentCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/CreateProfilingGroupCommand.js +4 -29
- package/dist-es/commands/CreateProfilingGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DeleteProfilingGroupCommand.js +4 -29
- package/dist-es/commands/DeleteProfilingGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/DescribeProfilingGroupCommand.js +4 -34
- package/dist-es/commands/DescribeProfilingGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetFindingsReportAccountSummaryCommand.js +4 -35
- package/dist-es/commands/GetFindingsReportAccountSummaryCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetNotificationConfigurationCommand.js +4 -29
- package/dist-es/commands/GetNotificationConfigurationCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetPolicyCommand.js +4 -31
- package/dist-es/commands/GetPolicyCommand.js.map +1 -0
- package/dist-es/commands/GetProfileCommand.js +40 -0
- package/dist-es/commands/GetProfileCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/GetRecommendationsCommand.js +4 -40
- package/dist-es/commands/GetRecommendationsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListFindingsReportsCommand.js +4 -29
- package/dist-es/commands/ListFindingsReportsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListProfileTimesCommand.js +4 -30
- package/dist-es/commands/ListProfileTimesCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListProfilingGroupsCommand.js +4 -35
- package/dist-es/commands/ListProfilingGroupsCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
- package/dist-es/commands/ListTagsForResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/PostAgentProfileCommand.js +4 -35
- package/dist-es/commands/PostAgentProfileCommand.js.map +1 -0
- package/dist-es/commands/PutPermissionCommand.js +40 -0
- package/dist-es/commands/PutPermissionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/RemoveNotificationChannelCommand.js +4 -29
- package/dist-es/commands/RemoveNotificationChannelCommand.js.map +1 -0
- package/dist-es/commands/RemovePermissionCommand.js +40 -0
- package/dist-es/commands/RemovePermissionCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/SubmitFeedbackCommand.js +4 -30
- package/dist-es/commands/SubmitFeedbackCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
- package/dist-es/commands/TagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -31
- package/dist-es/commands/UntagResourceCommand.js.map +1 -0
- package/{dist/es → dist-es}/commands/UpdateProfilingGroupCommand.js +4 -29
- package/dist-es/commands/UpdateProfilingGroupCommand.js.map +1 -0
- package/{dist/es → dist-es}/endpoints.js +1 -1
- package/dist-es/endpoints.js.map +1 -0
- package/{dist/es → dist-es}/index.js +0 -0
- package/dist-es/index.js.map +1 -0
- package/{dist/es → dist-es}/models/index.js +0 -0
- package/dist-es/models/index.js.map +1 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -291
- package/dist-es/models/models_0.js.map +1 -0
- package/{dist/es → dist-es}/pagination/GetFindingsReportAccountSummaryPaginator.js +16 -28
- package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js +0 -0
- package/{dist/es → dist-es}/pagination/Interfaces.js.map +1 -1
- package/{dist/es → dist-es}/pagination/ListFindingsReportsPaginator.js +16 -28
- package/dist-es/pagination/ListFindingsReportsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListProfileTimesPaginator.js +16 -28
- package/dist-es/pagination/ListProfileTimesPaginator.js.map +1 -0
- package/{dist/es → dist-es}/pagination/ListProfilingGroupsPaginator.js +16 -28
- package/dist-es/pagination/ListProfilingGroupsPaginator.js.map +1 -0
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +580 -585
- package/dist-es/protocols/Aws_restJson1.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -4
- package/dist-es/runtimeConfig.browser.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.js +2 -5
- package/dist-es/runtimeConfig.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -3
- package/dist-es/runtimeConfig.native.js.map +1 -0
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -4
- package/dist-es/runtimeConfig.shared.js.map +1 -0
- 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/{dist/types → dist-types}/index.d.ts +0 -0
- package/{dist/types → 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 +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodeGuruProfiler.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/CodeGuruProfilerClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AddNotificationChannelsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetFrameMetricDataCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ConfigureAgentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/CreateProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DeleteProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/DescribeProfilingGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetFindingsReportAccountSummaryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetNotificationConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/GetRecommendationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListFindingsReportsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListProfileTimesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListProfilingGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PostAgentProfileCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/PutPermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/RemovePermissionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/SubmitFeedbackCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateProfilingGroupCommand.d.ts +2 -2
- 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 → dist-types}/ts3.4/models/models_0.d.ts +0 -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 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +50 -50
- package/{CodeGuruProfiler.ts → src/CodeGuruProfiler.ts} +2 -1
- package/{CodeGuruProfilerClient.ts → src/CodeGuruProfilerClient.ts} +58 -57
- package/{commands → src/commands}/AddNotificationChannelsCommand.ts +8 -7
- package/{commands → src/commands}/BatchGetFrameMetricDataCommand.ts +8 -7
- package/{commands → src/commands}/ConfigureAgentCommand.ts +8 -7
- package/{commands → src/commands}/CreateProfilingGroupCommand.ts +8 -7
- package/{commands → src/commands}/DeleteProfilingGroupCommand.ts +8 -7
- package/{commands → src/commands}/DescribeProfilingGroupCommand.ts +8 -7
- package/{commands → src/commands}/GetFindingsReportAccountSummaryCommand.ts +8 -7
- package/{commands → src/commands}/GetNotificationConfigurationCommand.ts +8 -7
- package/{commands → src/commands}/GetPolicyCommand.ts +8 -7
- package/{commands → src/commands}/GetProfileCommand.ts +8 -7
- package/{commands → src/commands}/GetRecommendationsCommand.ts +8 -7
- package/{commands → src/commands}/ListFindingsReportsCommand.ts +8 -7
- package/{commands → src/commands}/ListProfileTimesCommand.ts +8 -7
- package/{commands → src/commands}/ListProfilingGroupsCommand.ts +8 -7
- package/{commands → src/commands}/ListTagsForResourceCommand.ts +8 -7
- package/{commands → src/commands}/PostAgentProfileCommand.ts +8 -7
- package/{commands → src/commands}/PutPermissionCommand.ts +8 -7
- package/{commands → src/commands}/RemoveNotificationChannelCommand.ts +8 -7
- package/{commands → src/commands}/RemovePermissionCommand.ts +8 -7
- package/{commands → src/commands}/SubmitFeedbackCommand.ts +8 -7
- package/{commands → src/commands}/TagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UntagResourceCommand.ts +8 -7
- package/{commands → src/commands}/UpdateProfilingGroupCommand.ts +8 -7
- package/{endpoints.ts → src/endpoints.ts} +1 -1
- package/{index.ts → src/index.ts} +0 -0
- package/{models → src/models}/index.ts +0 -0
- package/{models → src/models}/models_0.ts +0 -0
- package/{pagination → src/pagination}/GetFindingsReportAccountSummaryPaginator.ts +2 -1
- package/{pagination → src/pagination}/Interfaces.ts +2 -1
- package/{pagination → src/pagination}/ListFindingsReportsPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListProfileTimesPaginator.ts +2 -1
- package/{pagination → src/pagination}/ListProfilingGroupsPaginator.ts +2 -1
- package/{protocols → src/protocols}/Aws_restJson1.ts +46 -45
- package/{runtimeConfig.browser.ts → src/runtimeConfig.browser.ts} +3 -2
- package/{runtimeConfig.native.ts → src/runtimeConfig.native.ts} +1 -0
- package/{runtimeConfig.shared.ts → src/runtimeConfig.shared.ts} +2 -1
- package/{runtimeConfig.ts → src/runtimeConfig.ts} +4 -3
- package/tsconfig.es.json +1 -3
- package/tsconfig.json +7 -7
- package/tsconfig.types.json +9 -0
- package/dist/cjs/CodeGuruProfiler.js.map +0 -1
- 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.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.map +0 -1
- package/dist/cjs/commands/RemoveNotificationChannelCommand.js.map +0 -1
- 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 +0 -35
- package/dist/cjs/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/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 +0 -136
- 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 +0 -90
- package/dist/es/commands/PutPermissionCommand.js.map +0 -1
- package/dist/es/commands/RemoveNotificationChannelCommand.js.map +0 -1
- package/dist/es/commands/RemovePermissionCommand.js +0 -73
- 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.map +0 -1
- 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/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
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { CodeGuruProfiler } from "../CodeGuruProfiler";
|
|
3
3
|
import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
|
|
4
4
|
import { GetFindingsReportAccountSummaryCommand, } from "../commands/GetFindingsReportAccountSummaryCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetFindingsReportAccountSummaryCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.getFindingsReportAccountSummary.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateGetFindingsReportAccountSummary(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof CodeGuruProfiler)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof CodeGuruProfilerClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetFindingsReportAccountSummaryPaginator.js","sourceRoot":"","sources":["../../src/pagination/GetFindingsReportAccountSummaryPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,sCAAsC,GAGvC,MAAM,oDAAoD,CAAC;AAM5D,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAkD;IAClD,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,sCAAsC,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAApF,WAAO,SAA6E,EAAC;;;;CACtF,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAkD;IAClD,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,+BAA+B,OAAtC,MAAM,iBAAiC,KAAK,UAAK,IAAI,KAAC;wBAAnE,WAAO,SAA4D,EAAC;;;;CACrE,CAAC;AACF,MAAM,UAAiB,uCAAuC,CAC5D,MAA+C,EAC/C,KAAkD;IAClD,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"Interfaces.js","sourceRoot":"","sources":["../../src/pagination/Interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { CodeGuruProfiler } from "../CodeGuruProfiler";
|
|
3
3
|
import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
|
|
4
4
|
import { ListFindingsReportsCommand, } from "../commands/ListFindingsReportsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListFindingsReportsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listFindingsReports.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateListFindingsReports(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof CodeGuruProfiler)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof CodeGuruProfilerClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListFindingsReportsPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListFindingsReportsPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,0BAA0B,GAG3B,MAAM,wCAAwC,CAAC;AAMhD,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,0BAA0B,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAAxE,WAAO,SAAiE,EAAC;;;;CAC1E,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,mBAAmB,OAA1B,MAAM,iBAAqB,KAAK,UAAK,IAAI,KAAC;wBAAvD,WAAO,SAAgD,EAAC;;;;CACzD,CAAC;AACF,MAAM,UAAiB,2BAA2B,CAChD,MAA+C,EAC/C,KAAsC;IACtC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { CodeGuruProfiler } from "../CodeGuruProfiler";
|
|
3
3
|
import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
|
|
4
4
|
import { ListProfileTimesCommand, } from "../commands/ListProfileTimesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListProfileTimesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listProfileTimes.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateListProfileTimes(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof CodeGuruProfiler)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof CodeGuruProfilerClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListProfileTimesPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListProfileTimesPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,uBAAuB,GAGxB,MAAM,qCAAqC,CAAC;AAM7C,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAmC;IACnC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,uBAAuB,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAArE,WAAO,SAA8D,EAAC;;;;CACvE,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAmC;IACnC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,gBAAgB,OAAvB,MAAM,iBAAkB,KAAK,UAAK,IAAI,KAAC;wBAApD,WAAO,SAA6C,EAAC;;;;CACtD,CAAC;AACF,MAAM,UAAiB,wBAAwB,CAC7C,MAA+C,EAC/C,KAAmC;IACnC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { CodeGuruProfiler } from "../CodeGuruProfiler";
|
|
3
3
|
import { CodeGuruProfilerClient } from "../CodeGuruProfilerClient";
|
|
4
4
|
import { ListProfilingGroupsCommand, } from "../commands/ListProfilingGroupsCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListProfilingGroupsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listProfilingGroups.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,32 +44,30 @@ export function paginateListProfilingGroups(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof CodeGuruProfiler)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof CodeGuruProfiler)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof CodeGuruProfilerClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof CodeGuruProfilerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected CodeGuruProfiler | CodeGuruProfilerClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListProfilingGroupsPaginator.js","sourceRoot":"","sources":["../../src/pagination/ListProfilingGroupsPaginator.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EACL,0BAA0B,GAG3B,MAAM,wCAAwC,CAAC;AAMhD,IAAM,sBAAsB,GAAG,UAC7B,MAA8B,EAC9B,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,IAAI,OAAX,MAAM,iBAAM,IAAI,0BAA0B,CAAC,KAAK,CAAC,UAAK,IAAI,KAAC;wBAAxE,WAAO,SAAiE,EAAC;;;;CAC1E,CAAC;AAIF,IAAM,gBAAgB,GAAG,UACvB,MAAwB,EACxB,KAAsC;IACtC,cAAY;SAAZ,UAAY,EAAZ,qBAAY,EAAZ,IAAY;QAAZ,6BAAY;;;;;wBAGL,WAAM,MAAM,CAAC,mBAAmB,OAA1B,MAAM,iBAAqB,KAAK,UAAK,IAAI,KAAC;wBAAvD,WAAO,SAAgD,EAAC;;;;CACzD,CAAC;AACF,MAAM,UAAiB,2BAA2B,CAChD,MAA+C,EAC/C,KAAsC;IACtC,6BAA2B;SAA3B,UAA2B,EAA3B,qBAA2B,EAA3B,IAA2B;QAA3B,4CAA2B;;;;;;;oBAGvB,KAAK,GAAuC,MAAM,CAAC,aAAa,IAAI,SAAS,CAAC;oBAC9E,OAAO,GAAG,IAAI,CAAC;;;yBAEZ,OAAO;oBACZ,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC;oBACxB,KAAK,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;yBAClC,CAAA,MAAM,CAAC,MAAM,YAAY,gBAAgB,CAAA,EAAzC,cAAyC;oBACpC,mBAAM,gBAAgB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAA3E,IAAI,GAAG,SAAoE,CAAC;;;yBACnE,CAAA,MAAM,CAAC,MAAM,YAAY,sBAAsB,CAAA,EAA/C,cAA+C;oBACjD,mBAAM,sBAAsB,8BAAC,MAAM,CAAC,MAAM,EAAE,KAAK,UAAK,mBAAmB,MAAC;;oBAAjF,IAAI,GAAG,SAA0E,CAAC;;wBAElF,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;2CAElF,IAAI;wBAAV,sBAAU;;oBAAV,SAAU,CAAC;oBACX,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC;oBACvB,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC;;2CAGb,SAAS;yBAAhB,sBAAiB;;;;CAClB"}
|