create_performance_monitor
¶
create_performance_monitor(
monitor_name: ResourceName,
targets: PerformanceMonitorTargets,
*,
config_overrides: Optional[NetworkFlowMonitorClientConfig] = None,
scope_arn: Optional[Arn] = None,
client_token: Optional[UuidString] = None,
tags: Optional[TagMap] = None,
) -> CreatePerformanceMonitorOutput
Create a performance monitor to monitor the traffic of the Amazon Virtual Private Clouds (VPCs) that you specify as targets, to determine whether the Amazon Web Services network is causing issues for your workloads. With a performance monitor, you can identify network degradation across paths between Availability Zones and across Amazon Web Services Regions.
Parameters:
-
monitor_name(ResourceName) –The name of the performance monitor.
-
scope_arn(Optional[Arn], default:None) –The Amazon Resource Name (ARN) of the scope for the performance monitor.
-
targets(PerformanceMonitorTargets) –The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.
-
client_token(Optional[UuidString], default:None) –A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. If the token matches a previous request, the service ignores the request without returning an error. Don't reuse the same client token for other API requests.
-
tags(Optional[TagMap], default:None) –The tags for a performance monitor. You can add a maximum of 200 tags.
Raises:
-
AccessDeniedException–You don't have sufficient permission to perform this action.
-
ConflictException–The requested resource is in use.
-
InternalServerException–An internal error occurred.
-
ServiceQuotaExceededException–The request exceeded a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–Invalid request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkflowmonitor/_services/network_flow_monitor.py
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 | |