getPrimaryContactOutput function

Output<GetPrimaryContactResult> getPrimaryContactOutput(
  1. GetPrimaryContactArgs args, {
  2. InvokeOutputOptions? options,
})

Implementation

pulumi.Output<GetPrimaryContactResult> getPrimaryContactOutput(
  GetPrimaryContactArgs args, {
  pulumi.InvokeOutputOptions? options,
}) {
  return pulumi.invokeOutput<Map<String, dynamic>>(
    'aws:account/getPrimaryContact:getPrimaryContact',
    pulumi.Input.mapToInputs(args.toMap()),
    options: options,
  ).apply(GetPrimaryContactResult.fromMap);
}