// Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus
// to get a summary of which member accounts are protected by the specified policy.
Returns an array of PolicyComplianceStatus objects. Use PolicyComplianceStatus
to get a summary of which member accounts are protected by the specified policy.
// Returns an array of PolicyComplianceStatus objects . Use PolicyComplianceStatus // to get a summary of which member accounts are protected by the specified policy .
func (c *Client) ListComplianceStatus(ctx context.Context, params *ListComplianceStatusInput, optFns ...func(*Options)) (*ListComplianceStatusOutput, error) {
	if params == nil {
		params = &ListComplianceStatusInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListComplianceStatus", params, optFns, addOperationListComplianceStatusMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListComplianceStatusOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListComplianceStatus ( ctx context . Context , params * ListComplianceStatusInput , optFns ... func ( * Options ) ) ( * ListComplianceStatusOutput , error ) { if params == nil { params = & ListComplianceStatusInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListComplianceStatusMiddlewares ) if err != nil { return nil , err } out := result . ( * ListComplianceStatusOutput ) out . ResultMetadata = metadata return out , nil }
Returns an array of PolicyComplianceStatus objects.
Returns an array of PolicyComplianceStatus objects .