modifyTrustStore method
Update the ca certificate bundle for the specified trust store.
May throw CaCertificatesBundleNotFoundException.
May throw InvalidCaCertificatesBundleException.
May throw TrustStoreNotFoundException.
Parameter caCertificatesBundleS3Bucket :
The Amazon S3 bucket for the ca certificates bundle.
Parameter caCertificatesBundleS3Key :
The Amazon S3 path for the ca certificates bundle.
Parameter trustStoreArn :
The Amazon Resource Name (ARN) of the trust store.
Parameter caCertificatesBundleS3ObjectVersion :
The Amazon S3 object version for the ca certificates bundle. If undefined
the current version is used.
Implementation
Future<ModifyTrustStoreOutput> modifyTrustStore({
required String caCertificatesBundleS3Bucket,
required String caCertificatesBundleS3Key,
required String trustStoreArn,
String? caCertificatesBundleS3ObjectVersion,
}) async {
final $request = <String, String>{
'CaCertificatesBundleS3Bucket': caCertificatesBundleS3Bucket,
'CaCertificatesBundleS3Key': caCertificatesBundleS3Key,
'TrustStoreArn': trustStoreArn,
if (caCertificatesBundleS3ObjectVersion != null)
'CaCertificatesBundleS3ObjectVersion':
caCertificatesBundleS3ObjectVersion,
};
final $result = await _protocol.send(
$request,
action: 'ModifyTrustStore',
version: '2015-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'ModifyTrustStoreResult',
);
return ModifyTrustStoreOutput.fromXml($result);
}