@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
|
@@ -15,7 +15,7 @@ const serializeAws_restJson1AddNotificationChannelsCommand = async (input, conte
|
|
|
15
15
|
if (labelValue.length <= 0) {
|
|
16
16
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
17
17
|
}
|
|
18
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
18
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
19
19
|
}
|
|
20
20
|
else {
|
|
21
21
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -48,7 +48,7 @@ const serializeAws_restJson1BatchGetFrameMetricDataCommand = async (input, conte
|
|
|
48
48
|
if (labelValue.length <= 0) {
|
|
49
49
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
50
50
|
}
|
|
51
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
51
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
52
52
|
}
|
|
53
53
|
else {
|
|
54
54
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -88,7 +88,7 @@ const serializeAws_restJson1ConfigureAgentCommand = async (input, context) => {
|
|
|
88
88
|
if (labelValue.length <= 0) {
|
|
89
89
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
90
90
|
}
|
|
91
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
91
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
92
92
|
}
|
|
93
93
|
else {
|
|
94
94
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -116,7 +116,7 @@ const serializeAws_restJson1CreateProfilingGroupCommand = async (input, context)
|
|
|
116
116
|
const headers = {
|
|
117
117
|
"content-type": "application/json",
|
|
118
118
|
};
|
|
119
|
-
|
|
119
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/profilingGroups";
|
|
120
120
|
const query = {
|
|
121
121
|
...(input.clientToken !== undefined && { clientToken: input.clientToken }),
|
|
122
122
|
};
|
|
@@ -154,7 +154,7 @@ const serializeAws_restJson1DeleteProfilingGroupCommand = async (input, context)
|
|
|
154
154
|
if (labelValue.length <= 0) {
|
|
155
155
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
156
156
|
}
|
|
157
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
157
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
160
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -180,7 +180,7 @@ const serializeAws_restJson1DescribeProfilingGroupCommand = async (input, contex
|
|
|
180
180
|
if (labelValue.length <= 0) {
|
|
181
181
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
182
182
|
}
|
|
183
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
183
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
186
186
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -200,7 +200,7 @@ exports.serializeAws_restJson1DescribeProfilingGroupCommand = serializeAws_restJ
|
|
|
200
200
|
const serializeAws_restJson1GetFindingsReportAccountSummaryCommand = async (input, context) => {
|
|
201
201
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
202
202
|
const headers = {};
|
|
203
|
-
|
|
203
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/internal/findingsReports";
|
|
204
204
|
const query = {
|
|
205
205
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
206
206
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -229,7 +229,7 @@ const serializeAws_restJson1GetNotificationConfigurationCommand = async (input,
|
|
|
229
229
|
if (labelValue.length <= 0) {
|
|
230
230
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
231
231
|
}
|
|
232
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
232
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
233
233
|
}
|
|
234
234
|
else {
|
|
235
235
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -256,7 +256,7 @@ const serializeAws_restJson1GetPolicyCommand = async (input, context) => {
|
|
|
256
256
|
if (labelValue.length <= 0) {
|
|
257
257
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
258
258
|
}
|
|
259
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
259
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
260
260
|
}
|
|
261
261
|
else {
|
|
262
262
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -285,7 +285,7 @@ const serializeAws_restJson1GetProfileCommand = async (input, context) => {
|
|
|
285
285
|
if (labelValue.length <= 0) {
|
|
286
286
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
287
287
|
}
|
|
288
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
288
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
289
289
|
}
|
|
290
290
|
else {
|
|
291
291
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -319,7 +319,7 @@ const serializeAws_restJson1GetRecommendationsCommand = async (input, context) =
|
|
|
319
319
|
if (labelValue.length <= 0) {
|
|
320
320
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
321
321
|
}
|
|
322
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
322
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
325
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -352,7 +352,7 @@ const serializeAws_restJson1ListFindingsReportsCommand = async (input, context)
|
|
|
352
352
|
if (labelValue.length <= 0) {
|
|
353
353
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
354
354
|
}
|
|
355
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
355
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
358
358
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -387,7 +387,7 @@ const serializeAws_restJson1ListProfileTimesCommand = async (input, context) =>
|
|
|
387
387
|
if (labelValue.length <= 0) {
|
|
388
388
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
389
389
|
}
|
|
390
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
390
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
391
391
|
}
|
|
392
392
|
else {
|
|
393
393
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -416,7 +416,7 @@ exports.serializeAws_restJson1ListProfileTimesCommand = serializeAws_restJson1Li
|
|
|
416
416
|
const serializeAws_restJson1ListProfilingGroupsCommand = async (input, context) => {
|
|
417
417
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
418
418
|
const headers = {};
|
|
419
|
-
|
|
419
|
+
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/profilingGroups";
|
|
420
420
|
const query = {
|
|
421
421
|
...(input.nextToken !== undefined && { nextToken: input.nextToken }),
|
|
422
422
|
...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }),
|
|
@@ -444,7 +444,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
444
444
|
if (labelValue.length <= 0) {
|
|
445
445
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
446
446
|
}
|
|
447
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
447
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
448
448
|
}
|
|
449
449
|
else {
|
|
450
450
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -474,7 +474,7 @@ const serializeAws_restJson1PostAgentProfileCommand = async (input, context) =>
|
|
|
474
474
|
if (labelValue.length <= 0) {
|
|
475
475
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
476
476
|
}
|
|
477
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
477
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
478
478
|
}
|
|
479
479
|
else {
|
|
480
480
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -510,7 +510,7 @@ const serializeAws_restJson1PutPermissionCommand = async (input, context) => {
|
|
|
510
510
|
if (labelValue.length <= 0) {
|
|
511
511
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
512
512
|
}
|
|
513
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
513
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
514
514
|
}
|
|
515
515
|
else {
|
|
516
516
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -520,7 +520,7 @@ const serializeAws_restJson1PutPermissionCommand = async (input, context) => {
|
|
|
520
520
|
if (labelValue.length <= 0) {
|
|
521
521
|
throw new Error("Empty value provided for input HTTP label: actionGroup.");
|
|
522
522
|
}
|
|
523
|
-
resolvedPath = resolvedPath.replace("{actionGroup}",
|
|
523
|
+
resolvedPath = resolvedPath.replace("{actionGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
524
524
|
}
|
|
525
525
|
else {
|
|
526
526
|
throw new Error("No value provided for input HTTP label: actionGroup.");
|
|
@@ -552,7 +552,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
|
|
|
552
552
|
if (labelValue.length <= 0) {
|
|
553
553
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
554
554
|
}
|
|
555
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
555
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
556
556
|
}
|
|
557
557
|
else {
|
|
558
558
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -562,7 +562,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
|
|
|
562
562
|
if (labelValue.length <= 0) {
|
|
563
563
|
throw new Error("Empty value provided for input HTTP label: channelId.");
|
|
564
564
|
}
|
|
565
|
-
resolvedPath = resolvedPath.replace("{channelId}",
|
|
565
|
+
resolvedPath = resolvedPath.replace("{channelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
566
566
|
}
|
|
567
567
|
else {
|
|
568
568
|
throw new Error("No value provided for input HTTP label: channelId.");
|
|
@@ -589,7 +589,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
589
589
|
if (labelValue.length <= 0) {
|
|
590
590
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
591
591
|
}
|
|
592
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
592
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
593
593
|
}
|
|
594
594
|
else {
|
|
595
595
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -599,7 +599,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
599
599
|
if (labelValue.length <= 0) {
|
|
600
600
|
throw new Error("Empty value provided for input HTTP label: actionGroup.");
|
|
601
601
|
}
|
|
602
|
-
resolvedPath = resolvedPath.replace("{actionGroup}",
|
|
602
|
+
resolvedPath = resolvedPath.replace("{actionGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
603
603
|
}
|
|
604
604
|
else {
|
|
605
605
|
throw new Error("No value provided for input HTTP label: actionGroup.");
|
|
@@ -632,7 +632,7 @@ const serializeAws_restJson1SubmitFeedbackCommand = async (input, context) => {
|
|
|
632
632
|
if (labelValue.length <= 0) {
|
|
633
633
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
634
634
|
}
|
|
635
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
635
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
636
636
|
}
|
|
637
637
|
else {
|
|
638
638
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -642,7 +642,7 @@ const serializeAws_restJson1SubmitFeedbackCommand = async (input, context) => {
|
|
|
642
642
|
if (labelValue.length <= 0) {
|
|
643
643
|
throw new Error("Empty value provided for input HTTP label: anomalyInstanceId.");
|
|
644
644
|
}
|
|
645
|
-
resolvedPath = resolvedPath.replace("{anomalyInstanceId}",
|
|
645
|
+
resolvedPath = resolvedPath.replace("{anomalyInstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
646
646
|
}
|
|
647
647
|
else {
|
|
648
648
|
throw new Error("No value provided for input HTTP label: anomalyInstanceId.");
|
|
@@ -674,7 +674,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
674
674
|
if (labelValue.length <= 0) {
|
|
675
675
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
676
676
|
}
|
|
677
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
677
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
678
678
|
}
|
|
679
679
|
else {
|
|
680
680
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -704,7 +704,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
704
704
|
if (labelValue.length <= 0) {
|
|
705
705
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
706
706
|
}
|
|
707
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
707
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
708
708
|
}
|
|
709
709
|
else {
|
|
710
710
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -736,7 +736,7 @@ const serializeAws_restJson1UpdateProfilingGroupCommand = async (input, context)
|
|
|
736
736
|
if (labelValue.length <= 0) {
|
|
737
737
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
738
738
|
}
|
|
739
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}",
|
|
739
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
742
742
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -767,7 +767,7 @@ const deserializeAws_restJson1AddNotificationChannelsCommand = async (output, co
|
|
|
767
767
|
$metadata: deserializeMetadata(output),
|
|
768
768
|
notificationConfiguration: undefined,
|
|
769
769
|
};
|
|
770
|
-
const data =
|
|
770
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
771
771
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
772
772
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
773
773
|
}
|
|
@@ -860,9 +860,9 @@ const deserializeAws_restJson1BatchGetFrameMetricDataCommand = async (output, co
|
|
|
860
860
|
startTime: undefined,
|
|
861
861
|
unprocessedEndTimes: undefined,
|
|
862
862
|
};
|
|
863
|
-
const data =
|
|
863
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
864
864
|
if (data.endTime !== undefined && data.endTime !== null) {
|
|
865
|
-
contents.endTime =
|
|
865
|
+
contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.endTime));
|
|
866
866
|
}
|
|
867
867
|
if (data.endTimes !== undefined && data.endTimes !== null) {
|
|
868
868
|
contents.endTimes = deserializeAws_restJson1ListOfTimestamps(data.endTimes, context);
|
|
@@ -871,10 +871,10 @@ const deserializeAws_restJson1BatchGetFrameMetricDataCommand = async (output, co
|
|
|
871
871
|
contents.frameMetricData = deserializeAws_restJson1FrameMetricData(data.frameMetricData, context);
|
|
872
872
|
}
|
|
873
873
|
if (data.resolution !== undefined && data.resolution !== null) {
|
|
874
|
-
contents.resolution =
|
|
874
|
+
contents.resolution = smithy_client_1.expectString(data.resolution);
|
|
875
875
|
}
|
|
876
876
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
877
|
-
contents.startTime =
|
|
877
|
+
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.startTime));
|
|
878
878
|
}
|
|
879
879
|
if (data.unprocessedEndTimes !== undefined && data.unprocessedEndTimes !== null) {
|
|
880
880
|
contents.unprocessedEndTimes = deserializeAws_restJson1UnprocessedEndTimeMap(data.unprocessedEndTimes, context);
|
|
@@ -947,7 +947,7 @@ const deserializeAws_restJson1ConfigureAgentCommand = async (output, context) =>
|
|
|
947
947
|
$metadata: deserializeMetadata(output),
|
|
948
948
|
configuration: undefined,
|
|
949
949
|
};
|
|
950
|
-
const data =
|
|
950
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
951
951
|
contents.configuration = deserializeAws_restJson1AgentConfiguration(data, context);
|
|
952
952
|
return Promise.resolve(contents);
|
|
953
953
|
};
|
|
@@ -1017,7 +1017,7 @@ const deserializeAws_restJson1CreateProfilingGroupCommand = async (output, conte
|
|
|
1017
1017
|
$metadata: deserializeMetadata(output),
|
|
1018
1018
|
profilingGroup: undefined,
|
|
1019
1019
|
};
|
|
1020
|
-
const data =
|
|
1020
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1021
1021
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
1022
1022
|
return Promise.resolve(contents);
|
|
1023
1023
|
};
|
|
@@ -1171,7 +1171,7 @@ const deserializeAws_restJson1DescribeProfilingGroupCommand = async (output, con
|
|
|
1171
1171
|
$metadata: deserializeMetadata(output),
|
|
1172
1172
|
profilingGroup: undefined,
|
|
1173
1173
|
};
|
|
1174
|
-
const data =
|
|
1174
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1175
1175
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
1176
1176
|
return Promise.resolve(contents);
|
|
1177
1177
|
};
|
|
@@ -1242,9 +1242,9 @@ const deserializeAws_restJson1GetFindingsReportAccountSummaryCommand = async (ou
|
|
|
1242
1242
|
nextToken: undefined,
|
|
1243
1243
|
reportSummaries: undefined,
|
|
1244
1244
|
};
|
|
1245
|
-
const data =
|
|
1245
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1246
1246
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1247
|
-
contents.nextToken =
|
|
1247
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1248
1248
|
}
|
|
1249
1249
|
if (data.reportSummaries !== undefined && data.reportSummaries !== null) {
|
|
1250
1250
|
contents.reportSummaries = deserializeAws_restJson1FindingsReportSummaries(data.reportSummaries, context);
|
|
@@ -1309,7 +1309,7 @@ const deserializeAws_restJson1GetNotificationConfigurationCommand = async (outpu
|
|
|
1309
1309
|
$metadata: deserializeMetadata(output),
|
|
1310
1310
|
notificationConfiguration: undefined,
|
|
1311
1311
|
};
|
|
1312
|
-
const data =
|
|
1312
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1313
1313
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
1314
1314
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
1315
1315
|
}
|
|
@@ -1382,12 +1382,12 @@ const deserializeAws_restJson1GetPolicyCommand = async (output, context) => {
|
|
|
1382
1382
|
policy: undefined,
|
|
1383
1383
|
revisionId: undefined,
|
|
1384
1384
|
};
|
|
1385
|
-
const data =
|
|
1385
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1386
1386
|
if (data.policy !== undefined && data.policy !== null) {
|
|
1387
|
-
contents.policy =
|
|
1387
|
+
contents.policy = smithy_client_1.expectString(data.policy);
|
|
1388
1388
|
}
|
|
1389
1389
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1390
|
-
contents.revisionId =
|
|
1390
|
+
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1391
1391
|
}
|
|
1392
1392
|
return Promise.resolve(contents);
|
|
1393
1393
|
};
|
|
@@ -1531,18 +1531,18 @@ const deserializeAws_restJson1GetRecommendationsCommand = async (output, context
|
|
|
1531
1531
|
profilingGroupName: undefined,
|
|
1532
1532
|
recommendations: undefined,
|
|
1533
1533
|
};
|
|
1534
|
-
const data =
|
|
1534
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1535
1535
|
if (data.anomalies !== undefined && data.anomalies !== null) {
|
|
1536
1536
|
contents.anomalies = deserializeAws_restJson1Anomalies(data.anomalies, context);
|
|
1537
1537
|
}
|
|
1538
1538
|
if (data.profileEndTime !== undefined && data.profileEndTime !== null) {
|
|
1539
|
-
contents.profileEndTime =
|
|
1539
|
+
contents.profileEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.profileEndTime));
|
|
1540
1540
|
}
|
|
1541
1541
|
if (data.profileStartTime !== undefined && data.profileStartTime !== null) {
|
|
1542
|
-
contents.profileStartTime =
|
|
1542
|
+
contents.profileStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.profileStartTime));
|
|
1543
1543
|
}
|
|
1544
1544
|
if (data.profilingGroupName !== undefined && data.profilingGroupName !== null) {
|
|
1545
|
-
contents.profilingGroupName =
|
|
1545
|
+
contents.profilingGroupName = smithy_client_1.expectString(data.profilingGroupName);
|
|
1546
1546
|
}
|
|
1547
1547
|
if (data.recommendations !== undefined && data.recommendations !== null) {
|
|
1548
1548
|
contents.recommendations = deserializeAws_restJson1Recommendations(data.recommendations, context);
|
|
@@ -1616,12 +1616,12 @@ const deserializeAws_restJson1ListFindingsReportsCommand = async (output, contex
|
|
|
1616
1616
|
findingsReportSummaries: undefined,
|
|
1617
1617
|
nextToken: undefined,
|
|
1618
1618
|
};
|
|
1619
|
-
const data =
|
|
1619
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1620
1620
|
if (data.findingsReportSummaries !== undefined && data.findingsReportSummaries !== null) {
|
|
1621
1621
|
contents.findingsReportSummaries = deserializeAws_restJson1FindingsReportSummaries(data.findingsReportSummaries, context);
|
|
1622
1622
|
}
|
|
1623
1623
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1624
|
-
contents.nextToken =
|
|
1624
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1625
1625
|
}
|
|
1626
1626
|
return Promise.resolve(contents);
|
|
1627
1627
|
};
|
|
@@ -1692,9 +1692,9 @@ const deserializeAws_restJson1ListProfileTimesCommand = async (output, context)
|
|
|
1692
1692
|
nextToken: undefined,
|
|
1693
1693
|
profileTimes: undefined,
|
|
1694
1694
|
};
|
|
1695
|
-
const data =
|
|
1695
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1696
1696
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1697
|
-
contents.nextToken =
|
|
1697
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1698
1698
|
}
|
|
1699
1699
|
if (data.profileTimes !== undefined && data.profileTimes !== null) {
|
|
1700
1700
|
contents.profileTimes = deserializeAws_restJson1ProfileTimes(data.profileTimes, context);
|
|
@@ -1769,9 +1769,9 @@ const deserializeAws_restJson1ListProfilingGroupsCommand = async (output, contex
|
|
|
1769
1769
|
profilingGroupNames: undefined,
|
|
1770
1770
|
profilingGroups: undefined,
|
|
1771
1771
|
};
|
|
1772
|
-
const data =
|
|
1772
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1773
1773
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1774
|
-
contents.nextToken =
|
|
1774
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1775
1775
|
}
|
|
1776
1776
|
if (data.profilingGroupNames !== undefined && data.profilingGroupNames !== null) {
|
|
1777
1777
|
contents.profilingGroupNames = deserializeAws_restJson1ProfilingGroupNames(data.profilingGroupNames, context);
|
|
@@ -1831,7 +1831,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1831
1831
|
$metadata: deserializeMetadata(output),
|
|
1832
1832
|
tags: undefined,
|
|
1833
1833
|
};
|
|
1834
|
-
const data =
|
|
1834
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1835
1835
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1836
1836
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
1837
1837
|
}
|
|
@@ -1964,12 +1964,12 @@ const deserializeAws_restJson1PutPermissionCommand = async (output, context) =>
|
|
|
1964
1964
|
policy: undefined,
|
|
1965
1965
|
revisionId: undefined,
|
|
1966
1966
|
};
|
|
1967
|
-
const data =
|
|
1967
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1968
1968
|
if (data.policy !== undefined && data.policy !== null) {
|
|
1969
|
-
contents.policy =
|
|
1969
|
+
contents.policy = smithy_client_1.expectString(data.policy);
|
|
1970
1970
|
}
|
|
1971
1971
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1972
|
-
contents.revisionId =
|
|
1972
|
+
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1973
1973
|
}
|
|
1974
1974
|
return Promise.resolve(contents);
|
|
1975
1975
|
};
|
|
@@ -2047,7 +2047,7 @@ const deserializeAws_restJson1RemoveNotificationChannelCommand = async (output,
|
|
|
2047
2047
|
$metadata: deserializeMetadata(output),
|
|
2048
2048
|
notificationConfiguration: undefined,
|
|
2049
2049
|
};
|
|
2050
|
-
const data =
|
|
2050
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2051
2051
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
2052
2052
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
2053
2053
|
}
|
|
@@ -2120,12 +2120,12 @@ const deserializeAws_restJson1RemovePermissionCommand = async (output, context)
|
|
|
2120
2120
|
policy: undefined,
|
|
2121
2121
|
revisionId: undefined,
|
|
2122
2122
|
};
|
|
2123
|
-
const data =
|
|
2123
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2124
2124
|
if (data.policy !== undefined && data.policy !== null) {
|
|
2125
|
-
contents.policy =
|
|
2125
|
+
contents.policy = smithy_client_1.expectString(data.policy);
|
|
2126
2126
|
}
|
|
2127
2127
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
2128
|
-
contents.revisionId =
|
|
2128
|
+
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
2129
2129
|
}
|
|
2130
2130
|
return Promise.resolve(contents);
|
|
2131
2131
|
};
|
|
@@ -2391,7 +2391,7 @@ const deserializeAws_restJson1UpdateProfilingGroupCommand = async (output, conte
|
|
|
2391
2391
|
$metadata: deserializeMetadata(output),
|
|
2392
2392
|
profilingGroup: undefined,
|
|
2393
2393
|
};
|
|
2394
|
-
const data =
|
|
2394
|
+
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
2395
2395
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
2396
2396
|
return Promise.resolve(contents);
|
|
2397
2397
|
};
|
|
@@ -2470,7 +2470,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
2470
2470
|
};
|
|
2471
2471
|
const data = parsedOutput.body;
|
|
2472
2472
|
if (data.message !== undefined && data.message !== null) {
|
|
2473
|
-
contents.message =
|
|
2473
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2474
2474
|
}
|
|
2475
2475
|
return contents;
|
|
2476
2476
|
};
|
|
@@ -2484,7 +2484,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
2484
2484
|
};
|
|
2485
2485
|
const data = parsedOutput.body;
|
|
2486
2486
|
if (data.message !== undefined && data.message !== null) {
|
|
2487
|
-
contents.message =
|
|
2487
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2488
2488
|
}
|
|
2489
2489
|
return contents;
|
|
2490
2490
|
};
|
|
@@ -2497,7 +2497,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
2497
2497
|
};
|
|
2498
2498
|
const data = parsedOutput.body;
|
|
2499
2499
|
if (data.message !== undefined && data.message !== null) {
|
|
2500
|
-
contents.message =
|
|
2500
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2501
2501
|
}
|
|
2502
2502
|
return contents;
|
|
2503
2503
|
};
|
|
@@ -2511,7 +2511,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2511
2511
|
};
|
|
2512
2512
|
const data = parsedOutput.body;
|
|
2513
2513
|
if (data.message !== undefined && data.message !== null) {
|
|
2514
|
-
contents.message =
|
|
2514
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2515
2515
|
}
|
|
2516
2516
|
return contents;
|
|
2517
2517
|
};
|
|
@@ -2525,7 +2525,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
2525
2525
|
};
|
|
2526
2526
|
const data = parsedOutput.body;
|
|
2527
2527
|
if (data.message !== undefined && data.message !== null) {
|
|
2528
|
-
contents.message =
|
|
2528
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2529
2529
|
}
|
|
2530
2530
|
return contents;
|
|
2531
2531
|
};
|
|
@@ -2538,7 +2538,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2538
2538
|
};
|
|
2539
2539
|
const data = parsedOutput.body;
|
|
2540
2540
|
if (data.message !== undefined && data.message !== null) {
|
|
2541
|
-
contents.message =
|
|
2541
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
2542
2542
|
}
|
|
2543
2543
|
return contents;
|
|
2544
2544
|
};
|
|
@@ -2643,13 +2643,13 @@ const deserializeAws_restJson1AgentConfiguration = (output, context) => {
|
|
|
2643
2643
|
agentParameters: output.agentParameters !== undefined && output.agentParameters !== null
|
|
2644
2644
|
? deserializeAws_restJson1AgentParameters(output.agentParameters, context)
|
|
2645
2645
|
: undefined,
|
|
2646
|
-
periodInSeconds:
|
|
2647
|
-
shouldProfile:
|
|
2646
|
+
periodInSeconds: smithy_client_1.expectInt32(output.periodInSeconds),
|
|
2647
|
+
shouldProfile: smithy_client_1.expectBoolean(output.shouldProfile),
|
|
2648
2648
|
};
|
|
2649
2649
|
};
|
|
2650
2650
|
const deserializeAws_restJson1AgentOrchestrationConfig = (output, context) => {
|
|
2651
2651
|
return {
|
|
2652
|
-
profilingEnabled:
|
|
2652
|
+
profilingEnabled: smithy_client_1.expectBoolean(output.profilingEnabled),
|
|
2653
2653
|
};
|
|
2654
2654
|
};
|
|
2655
2655
|
const deserializeAws_restJson1AgentParameters = (output, context) => {
|
|
@@ -2659,15 +2659,15 @@ const deserializeAws_restJson1AgentParameters = (output, context) => {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
return {
|
|
2661
2661
|
...acc,
|
|
2662
|
-
[key]:
|
|
2662
|
+
[key]: smithy_client_1.expectString(value),
|
|
2663
2663
|
};
|
|
2664
2664
|
}, {});
|
|
2665
2665
|
};
|
|
2666
2666
|
const deserializeAws_restJson1AggregatedProfileTime = (output, context) => {
|
|
2667
2667
|
return {
|
|
2668
|
-
period:
|
|
2668
|
+
period: smithy_client_1.expectString(output.period),
|
|
2669
2669
|
start: output.start !== undefined && output.start !== null
|
|
2670
|
-
?
|
|
2670
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.start))
|
|
2671
2671
|
: undefined,
|
|
2672
2672
|
};
|
|
2673
2673
|
};
|
|
@@ -2689,17 +2689,17 @@ const deserializeAws_restJson1Anomaly = (output, context) => {
|
|
|
2689
2689
|
metric: output.metric !== undefined && output.metric !== null
|
|
2690
2690
|
? deserializeAws_restJson1Metric(output.metric, context)
|
|
2691
2691
|
: undefined,
|
|
2692
|
-
reason:
|
|
2692
|
+
reason: smithy_client_1.expectString(output.reason),
|
|
2693
2693
|
};
|
|
2694
2694
|
};
|
|
2695
2695
|
const deserializeAws_restJson1AnomalyInstance = (output, context) => {
|
|
2696
2696
|
return {
|
|
2697
2697
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2698
|
-
?
|
|
2698
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2699
2699
|
: undefined,
|
|
2700
|
-
id:
|
|
2700
|
+
id: smithy_client_1.expectString(output.id),
|
|
2701
2701
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2702
|
-
?
|
|
2702
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2703
2703
|
: undefined,
|
|
2704
2704
|
userFeedback: output.userFeedback !== undefined && output.userFeedback !== null
|
|
2705
2705
|
? deserializeAws_restJson1UserFeedback(output.userFeedback, context)
|
|
@@ -2721,8 +2721,8 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
2721
2721
|
eventPublishers: output.eventPublishers !== undefined && output.eventPublishers !== null
|
|
2722
2722
|
? deserializeAws_restJson1EventPublishers(output.eventPublishers, context)
|
|
2723
2723
|
: undefined,
|
|
2724
|
-
id:
|
|
2725
|
-
uri:
|
|
2724
|
+
id: smithy_client_1.expectString(output.id),
|
|
2725
|
+
uri: smithy_client_1.expectString(output.uri),
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
2728
2728
|
const deserializeAws_restJson1Channels = (output, context) => {
|
|
@@ -2751,7 +2751,7 @@ const deserializeAws_restJson1EventPublishers = (output, context) => {
|
|
|
2751
2751
|
if (entry === null) {
|
|
2752
2752
|
return null;
|
|
2753
2753
|
}
|
|
2754
|
-
const parsedEntry =
|
|
2754
|
+
const parsedEntry = smithy_client_1.expectString(entry);
|
|
2755
2755
|
if (uniqueValues.has(parsedEntry)) {
|
|
2756
2756
|
throw new TypeError('All elements of the set "com.amazonaws.codeguruprofiler#EventPublishers" must be unique.');
|
|
2757
2757
|
}
|
|
@@ -2773,24 +2773,24 @@ const deserializeAws_restJson1FindingsReportSummaries = (output, context) => {
|
|
|
2773
2773
|
};
|
|
2774
2774
|
const deserializeAws_restJson1FindingsReportSummary = (output, context) => {
|
|
2775
2775
|
return {
|
|
2776
|
-
id:
|
|
2776
|
+
id: smithy_client_1.expectString(output.id),
|
|
2777
2777
|
profileEndTime: output.profileEndTime !== undefined && output.profileEndTime !== null
|
|
2778
|
-
?
|
|
2778
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.profileEndTime))
|
|
2779
2779
|
: undefined,
|
|
2780
2780
|
profileStartTime: output.profileStartTime !== undefined && output.profileStartTime !== null
|
|
2781
|
-
?
|
|
2781
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.profileStartTime))
|
|
2782
2782
|
: undefined,
|
|
2783
|
-
profilingGroupName:
|
|
2784
|
-
totalNumberOfFindings:
|
|
2783
|
+
profilingGroupName: smithy_client_1.expectString(output.profilingGroupName),
|
|
2784
|
+
totalNumberOfFindings: smithy_client_1.expectInt32(output.totalNumberOfFindings),
|
|
2785
2785
|
};
|
|
2786
2786
|
};
|
|
2787
2787
|
const deserializeAws_restJson1FrameMetric = (output, context) => {
|
|
2788
2788
|
return {
|
|
2789
|
-
frameName:
|
|
2789
|
+
frameName: smithy_client_1.expectString(output.frameName),
|
|
2790
2790
|
threadStates: output.threadStates !== undefined && output.threadStates !== null
|
|
2791
2791
|
? deserializeAws_restJson1ThreadStates(output.threadStates, context)
|
|
2792
2792
|
: undefined,
|
|
2793
|
-
type:
|
|
2793
|
+
type: smithy_client_1.expectString(output.type),
|
|
2794
2794
|
};
|
|
2795
2795
|
};
|
|
2796
2796
|
const deserializeAws_restJson1FrameMetricData = (output, context) => {
|
|
@@ -2820,7 +2820,7 @@ const deserializeAws_restJson1FrameMetricValues = (output, context) => {
|
|
|
2820
2820
|
if (entry === null) {
|
|
2821
2821
|
return null;
|
|
2822
2822
|
}
|
|
2823
|
-
return
|
|
2823
|
+
return smithy_client_1.limitedParseDouble(entry);
|
|
2824
2824
|
});
|
|
2825
2825
|
};
|
|
2826
2826
|
const deserializeAws_restJson1ListOfTimestamps = (output, context) => {
|
|
@@ -2835,9 +2835,9 @@ const deserializeAws_restJson1ListOfTimestamps = (output, context) => {
|
|
|
2835
2835
|
};
|
|
2836
2836
|
const deserializeAws_restJson1Match = (output, context) => {
|
|
2837
2837
|
return {
|
|
2838
|
-
frameAddress:
|
|
2839
|
-
targetFramesIndex:
|
|
2840
|
-
thresholdBreachValue:
|
|
2838
|
+
frameAddress: smithy_client_1.expectString(output.frameAddress),
|
|
2839
|
+
targetFramesIndex: smithy_client_1.expectInt32(output.targetFramesIndex),
|
|
2840
|
+
thresholdBreachValue: smithy_client_1.limitedParseDouble(output.thresholdBreachValue),
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
const deserializeAws_restJson1Matches = (output, context) => {
|
|
@@ -2852,11 +2852,11 @@ const deserializeAws_restJson1Matches = (output, context) => {
|
|
|
2852
2852
|
};
|
|
2853
2853
|
const deserializeAws_restJson1Metric = (output, context) => {
|
|
2854
2854
|
return {
|
|
2855
|
-
frameName:
|
|
2855
|
+
frameName: smithy_client_1.expectString(output.frameName),
|
|
2856
2856
|
threadStates: output.threadStates !== undefined && output.threadStates !== null
|
|
2857
2857
|
? deserializeAws_restJson1Strings(output.threadStates, context)
|
|
2858
2858
|
: undefined,
|
|
2859
|
-
type:
|
|
2859
|
+
type: smithy_client_1.expectString(output.type),
|
|
2860
2860
|
};
|
|
2861
2861
|
};
|
|
2862
2862
|
const deserializeAws_restJson1NotificationConfiguration = (output, context) => {
|
|
@@ -2871,20 +2871,20 @@ const deserializeAws_restJson1Pattern = (output, context) => {
|
|
|
2871
2871
|
countersToAggregate: output.countersToAggregate !== undefined && output.countersToAggregate !== null
|
|
2872
2872
|
? deserializeAws_restJson1Strings(output.countersToAggregate, context)
|
|
2873
2873
|
: undefined,
|
|
2874
|
-
description:
|
|
2875
|
-
id:
|
|
2876
|
-
name:
|
|
2877
|
-
resolutionSteps:
|
|
2874
|
+
description: smithy_client_1.expectString(output.description),
|
|
2875
|
+
id: smithy_client_1.expectString(output.id),
|
|
2876
|
+
name: smithy_client_1.expectString(output.name),
|
|
2877
|
+
resolutionSteps: smithy_client_1.expectString(output.resolutionSteps),
|
|
2878
2878
|
targetFrames: output.targetFrames !== undefined && output.targetFrames !== null
|
|
2879
2879
|
? deserializeAws_restJson1TargetFrames(output.targetFrames, context)
|
|
2880
2880
|
: undefined,
|
|
2881
|
-
thresholdPercent:
|
|
2881
|
+
thresholdPercent: smithy_client_1.limitedParseDouble(output.thresholdPercent),
|
|
2882
2882
|
};
|
|
2883
2883
|
};
|
|
2884
2884
|
const deserializeAws_restJson1ProfileTime = (output, context) => {
|
|
2885
2885
|
return {
|
|
2886
2886
|
start: output.start !== undefined && output.start !== null
|
|
2887
|
-
?
|
|
2887
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.start))
|
|
2888
2888
|
: undefined,
|
|
2889
2889
|
};
|
|
2890
2890
|
};
|
|
@@ -2903,12 +2903,12 @@ const deserializeAws_restJson1ProfilingGroupDescription = (output, context) => {
|
|
|
2903
2903
|
agentOrchestrationConfig: output.agentOrchestrationConfig !== undefined && output.agentOrchestrationConfig !== null
|
|
2904
2904
|
? deserializeAws_restJson1AgentOrchestrationConfig(output.agentOrchestrationConfig, context)
|
|
2905
2905
|
: undefined,
|
|
2906
|
-
arn:
|
|
2907
|
-
computePlatform:
|
|
2906
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
2907
|
+
computePlatform: smithy_client_1.expectString(output.computePlatform),
|
|
2908
2908
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2909
|
-
?
|
|
2909
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
|
|
2910
2910
|
: undefined,
|
|
2911
|
-
name:
|
|
2911
|
+
name: smithy_client_1.expectString(output.name),
|
|
2912
2912
|
profilingStatus: output.profilingStatus !== undefined && output.profilingStatus !== null
|
|
2913
2913
|
? deserializeAws_restJson1ProfilingStatus(output.profilingStatus, context)
|
|
2914
2914
|
: undefined,
|
|
@@ -2916,7 +2916,7 @@ const deserializeAws_restJson1ProfilingGroupDescription = (output, context) => {
|
|
|
2916
2916
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
2917
2917
|
: undefined,
|
|
2918
2918
|
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
2919
|
-
?
|
|
2919
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.updatedAt))
|
|
2920
2920
|
: undefined,
|
|
2921
2921
|
};
|
|
2922
2922
|
};
|
|
@@ -2937,16 +2937,16 @@ const deserializeAws_restJson1ProfilingGroupNames = (output, context) => {
|
|
|
2937
2937
|
if (entry === null) {
|
|
2938
2938
|
return null;
|
|
2939
2939
|
}
|
|
2940
|
-
return
|
|
2940
|
+
return smithy_client_1.expectString(entry);
|
|
2941
2941
|
});
|
|
2942
2942
|
};
|
|
2943
2943
|
const deserializeAws_restJson1ProfilingStatus = (output, context) => {
|
|
2944
2944
|
return {
|
|
2945
2945
|
latestAgentOrchestratedAt: output.latestAgentOrchestratedAt !== undefined && output.latestAgentOrchestratedAt !== null
|
|
2946
|
-
?
|
|
2946
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.latestAgentOrchestratedAt))
|
|
2947
2947
|
: undefined,
|
|
2948
2948
|
latestAgentProfileReportedAt: output.latestAgentProfileReportedAt !== undefined && output.latestAgentProfileReportedAt !== null
|
|
2949
|
-
?
|
|
2949
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.latestAgentProfileReportedAt))
|
|
2950
2950
|
: undefined,
|
|
2951
2951
|
latestAggregatedProfile: output.latestAggregatedProfile !== undefined && output.latestAggregatedProfile !== null
|
|
2952
2952
|
? deserializeAws_restJson1AggregatedProfileTime(output.latestAggregatedProfile, context)
|
|
@@ -2955,16 +2955,16 @@ const deserializeAws_restJson1ProfilingStatus = (output, context) => {
|
|
|
2955
2955
|
};
|
|
2956
2956
|
const deserializeAws_restJson1Recommendation = (output, context) => {
|
|
2957
2957
|
return {
|
|
2958
|
-
allMatchesCount:
|
|
2959
|
-
allMatchesSum:
|
|
2958
|
+
allMatchesCount: smithy_client_1.expectInt32(output.allMatchesCount),
|
|
2959
|
+
allMatchesSum: smithy_client_1.limitedParseDouble(output.allMatchesSum),
|
|
2960
2960
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2961
|
-
?
|
|
2961
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2962
2962
|
: undefined,
|
|
2963
2963
|
pattern: output.pattern !== undefined && output.pattern !== null
|
|
2964
2964
|
? deserializeAws_restJson1Pattern(output.pattern, context)
|
|
2965
2965
|
: undefined,
|
|
2966
2966
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2967
|
-
?
|
|
2967
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2968
2968
|
: undefined,
|
|
2969
2969
|
topMatches: output.topMatches !== undefined && output.topMatches !== null
|
|
2970
2970
|
? deserializeAws_restJson1Matches(output.topMatches, context)
|
|
@@ -2988,7 +2988,7 @@ const deserializeAws_restJson1Strings = (output, context) => {
|
|
|
2988
2988
|
if (entry === null) {
|
|
2989
2989
|
return null;
|
|
2990
2990
|
}
|
|
2991
|
-
return
|
|
2991
|
+
return smithy_client_1.expectString(entry);
|
|
2992
2992
|
});
|
|
2993
2993
|
};
|
|
2994
2994
|
const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
@@ -2998,7 +2998,7 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
2998
2998
|
}
|
|
2999
2999
|
return {
|
|
3000
3000
|
...acc,
|
|
3001
|
-
[key]:
|
|
3001
|
+
[key]: smithy_client_1.expectString(value),
|
|
3002
3002
|
};
|
|
3003
3003
|
}, {});
|
|
3004
3004
|
};
|
|
@@ -3009,7 +3009,7 @@ const deserializeAws_restJson1TargetFrame = (output, context) => {
|
|
|
3009
3009
|
if (entry === null) {
|
|
3010
3010
|
return null;
|
|
3011
3011
|
}
|
|
3012
|
-
return
|
|
3012
|
+
return smithy_client_1.expectString(entry);
|
|
3013
3013
|
});
|
|
3014
3014
|
};
|
|
3015
3015
|
const deserializeAws_restJson1TargetFrames = (output, context) => {
|
|
@@ -3029,13 +3029,13 @@ const deserializeAws_restJson1ThreadStates = (output, context) => {
|
|
|
3029
3029
|
if (entry === null) {
|
|
3030
3030
|
return null;
|
|
3031
3031
|
}
|
|
3032
|
-
return
|
|
3032
|
+
return smithy_client_1.expectString(entry);
|
|
3033
3033
|
});
|
|
3034
3034
|
};
|
|
3035
3035
|
const deserializeAws_restJson1TimestampStructure = (output, context) => {
|
|
3036
3036
|
return {
|
|
3037
3037
|
value: output.value !== undefined && output.value !== null
|
|
3038
|
-
?
|
|
3038
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.value))
|
|
3039
3039
|
: undefined,
|
|
3040
3040
|
};
|
|
3041
3041
|
};
|
|
@@ -3052,7 +3052,7 @@ const deserializeAws_restJson1UnprocessedEndTimeMap = (output, context) => {
|
|
|
3052
3052
|
};
|
|
3053
3053
|
const deserializeAws_restJson1UserFeedback = (output, context) => {
|
|
3054
3054
|
return {
|
|
3055
|
-
type:
|
|
3055
|
+
type: smithy_client_1.expectString(output.type),
|
|
3056
3056
|
};
|
|
3057
3057
|
};
|
|
3058
3058
|
const deserializeMetadata = (output) => {
|