getCredentials function
args Arguments passed to this invoke. Arguments for getCredentials.
options Invoke options controlling this call.
Implementation
Future<GetCredentialsResult> getCredentials(
GetCredentialsArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'aws:ecr/getCredentials:getCredentials',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetCredentialsResult.fromMap(result);
}