deleteCloudFrontOriginAccessIdentity2018_06_18 method

Future<void> deleteCloudFrontOriginAccessIdentity2018_06_18(
  1. {@required String id,
  2. String ifMatch}

Delete an origin access identity.

May throw AccessDenied. May throw InvalidIfMatchVersion. May throw NoSuchCloudFrontOriginAccessIdentity. May throw PreconditionFailed. May throw CloudFrontOriginAccessIdentityInUse.

Parameter id : The origin access identity's ID.

Parameter ifMatch : The value of the ETag header you received from a previous GET or PUT request. For example: E2QWRUHAPOMQZL.


Future<void> deleteCloudFrontOriginAccessIdentity2018_06_18({
  @_s.required String id,
  String ifMatch,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final headers = <String, String>{};
  ifMatch?.let((v) => headers['If-Match'] = v.toString());
  await _protocol.send(
    method: 'DELETE',
    headers: headers,
    exceptionFnMap: _exceptionFns,