put_maintenance_start_time
async
¶
put_maintenance_start_time(
gateway_arn: GatewayArn,
hour_of_day: HourOfDay,
minute_of_hour: MinuteOfHour,
*,
config_overrides: Optional[AsyncBackupGatewayClientConfig] = None,
day_of_week: Optional[DayOfWeek] = None,
day_of_month: Optional[DayOfMonth] = None,
) -> PutMaintenanceStartTimeOutput
Set the maintenance start time for a gateway.
Parameters:
-
gateway_arn(GatewayArn) –The Amazon Resource Name (ARN) for the gateway, used to specify its maintenance start time.
-
hour_of_day(HourOfDay) –The hour of the day to start maintenance on a gateway.
-
minute_of_hour(MinuteOfHour) –The minute of the hour to start maintenance on a gateway.
-
day_of_week(Optional[DayOfWeek], default:None) –The day of the week to start maintenance on a gateway.
-
day_of_month(Optional[DayOfMonth], default:None) –The day of the month start maintenance on a gateway.
Valid values range from
SundaytoSaturday.
Raises:
-
InternalServerException–The operation did not succeed because an internal error occurred. Try again later.
-
ThrottlingException–TPS has been limited to protect against intentional or unintentional high request volumes.
-
ValidationException–The operation did not succeed because a validation error occurred.
-
ConflictException–The operation cannot proceed because it is not supported.
-
ResourceNotFoundException–A resource that is required for the action wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_gateway/_services/async_backup_gateway.py
886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 | |