purchase_reserved_nodes_offering
async
¶
purchase_reserved_nodes_offering(
reserved_nodes_offering_id: String,
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = 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/async_memory_db.py
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 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 | |