purchase_reserved_nodes_offering
¶
purchase_reserved_nodes_offering(
reserved_nodes_offering_id: String,
*,
config_overrides: Optional[MemoryDBClientConfig] = None,
reservation_id: Optional[String] = None,
node_count: Optional[IntegerOptional] = None,
tags: Optional[TagList] = None,
) -> PurchaseReservedNodesOfferingResponse
Allows you to purchase a reserved node offering. Reserved nodes are not eligible for cancellation and are non-refundable.
Parameters:
-
reserved_nodes_offering_id(String) –The ID of the reserved node offering to purchase.
-
reservation_id(Optional[String], default:None) –A customer-specified identifier to track this reservation.
-
node_count(Optional[IntegerOptional], default:None) –The number of node instances to reserve.
-
tags(Optional[TagList], default:None) –A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
Raises:
-
InvalidParameterCombinationException–The specified parameter combination is not valid.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
ReservedNodeAlreadyExistsFault–You already have a reservation with the given identifier.
-
ReservedNodeQuotaExceededFault–The request cannot be processed because it would exceed the user's node quota.
-
ReservedNodesOfferingNotFoundFault–The requested node offering does not exist.
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
TagQuotaPerResourceExceeded–The request cannot be processed because it would exceed the maximum number of tags allowed per resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/memory_db.py
2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 | |