// Lists private workforce information, including workforce name, Amazon Resource
// Name (ARN), and, if applicable, allowed IP address ranges (CIDRs
// (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)). Allowable
// IP address ranges are the IP addresses that workers can use to access tasks.
// This operation applies only to private workforces.
Lists private workforce information, including workforce name, Amazon Resource
Name (ARN), and, if applicable, allowed IP address ranges (CIDRs
). Allowable
IP address ranges are the IP addresses that workers can use to access tasks.
This operation applies only to private workforces.
// Lists private workforce information including workforce name Amazon Resource // Name ( ARN ) and if applicable allowed IP address ranges ( CIDRs // ( https : // docs . aws . amazon . com / vpc / latest / userguide / VPC_Subnets . html )) . Allowable // IP address ranges are the IP addresses that workers can use to access tasks . // This operation applies only to private workforces .
func (c *Client) DescribeWorkforce(ctx context.Context, params *DescribeWorkforceInput, optFns ...func(*Options)) (*DescribeWorkforceOutput, error) {
	if params == nil {
		params = &DescribeWorkforceInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeWorkforce", params, optFns, addOperationDescribeWorkforceMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeWorkforceOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeWorkforce ( ctx context . Context , params * DescribeWorkforceInput , optFns ... func ( * Options ) ) ( * DescribeWorkforceOutput , error ) { if params == nil { params = & DescribeWorkforceInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeWorkforceMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeWorkforceOutput ) out . ResultMetadata = metadata return out , nil }
Lists private workforce information, including workforce name, Amazon Resource
Name (ARN), and, if applicable, allowed IP address ranges (CIDRs
).
Lists private workforce information including workforce name Amazon Resource Name ( ARN ) and if applicable allowed IP address ranges ( CIDRs ) .