rotateEncryptionKey method

Future<RotateEncryptionKeyResult> rotateEncryptionKey(
  1. {@required String clusterIdentifier}

Rotates the encryption keys for a cluster.

May throw ClusterNotFoundFault. May throw InvalidClusterStateFault. May throw DependentServiceRequestThrottlingFault.

Parameter clusterIdentifier : The unique identifier of the cluster that you want to rotate the encryption keys for.

Constraints: Must be the name of valid cluster that has encryption enabled.


Future<RotateEncryptionKeyResult> rotateEncryptionKey({
  @_s.required String clusterIdentifier,
}) async {
  ArgumentError.checkNotNull(clusterIdentifier, 'clusterIdentifier');
    isRequired: true,
  final $request = <String, dynamic>{};
  $request['ClusterIdentifier'] = clusterIdentifier;
  final $result = await _protocol.send(
    action: 'RotateEncryptionKey',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['RotateEncryptionKeyMessage'],
    shapes: shapes,
    resultWrapper: 'RotateEncryptionKeyResult',
  return RotateEncryptionKeyResult.fromXml($result);